/* =========================================================
   WAKR — Wake up. Actually.
   ========================================================= */

:root {
  /* Palette */
  --bg:        #0B0F1A;
  --surface:   #111827;
  --surface-2: #161D2E;
  --border:    #232D42;
  --accent:    #FF7A00;
  --accent-2:  #FF9F3E;
  --text:      #F0F4FF;
  --muted:     #8A9BBE;
  --green:     #00E676;
  --red:       #FF4569;
  --purple:    #B984FF;

  /* Typography */
  --font-display: "DM Serif Display", ui-serif, Georgia, serif;
  --font-body:    "Satoshi", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;
  --text-hero: 4.75rem;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01" on, "ss02" on;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #0B0F1A; }

/* =========================================================
   UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--sp-6); }
}

.display, .h-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--text);
}
.display em, .h-display em {
  font-style: italic;
  color: var(--accent);
}

.display { font-size: clamp(2.5rem, 7.5vw, var(--text-hero)); }
.h-display { font-size: clamp(2rem, 5vw, var(--text-4xl)); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--sp-8);
}
.section-sub {
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.55;
  margin-top: var(--sp-4);
  max-width: 62ch;
}

.section {
  padding: var(--sp-10) 0;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: var(--sp-8) 0; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), box-shadow 200ms var(--ease-out), opacity 200ms var(--ease-out);
  border: 1px solid transparent;
  user-select: none;
}
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn .arr { transition: transform 250ms var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

.btn-accent {
  background: var(--accent);
  color: #0B0F1A;
  box-shadow:
    0 8px 30px -8px rgba(255, 122, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow:
    0 14px 40px -10px rgba(255, 122, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-accent:active { transform: translateY(0); }

.btn-purple {
  background: var(--purple);
  color: #0B0F1A;
  box-shadow:
    0 8px 30px -8px rgba(185, 132, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-purple:hover {
  background: #CFA3FF;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: rgba(255,255,255,0.03);
}

.btn-flat {
  background: var(--surface-2);
  color: var(--muted);
  border-color: var(--border);
  cursor: default;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 250ms var(--ease-out), border-color 250ms var(--ease-out), backdrop-filter 250ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 15, 26, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--text);
}
.brand-word {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
  margin-right: var(--sp-5);
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 180ms;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: none; }

@media (min-width: 880px) {
  .nav-links { display: inline-flex; }
  .nav-cta { display: inline-flex; }
}

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 240ms var(--ease-out), opacity 200ms var(--ease-out);
}
@media (min-width: 880px) {
  .hamburger { display: none; }
}
body.menu-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(11, 15, 26, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease-out);
}
body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-5);
  padding: var(--sp-8) var(--sp-6);
}
.mm-link {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 360ms var(--ease-out), opacity 360ms var(--ease-out);
  transition-delay: 60ms;
}
body.menu-open .mm-link { transform: translateY(0); opacity: 1; }
body.menu-open .mm-link:nth-child(2) { transition-delay: 120ms; }
body.menu-open .mm-link:nth-child(3) { transition-delay: 180ms; }
body.menu-open .mm-cta {
  transition-delay: 260ms;
  transform: translateY(0);
  opacity: 1;
}
.mm-cta {
  align-self: flex-start;
  margin-top: var(--sp-5);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 360ms var(--ease-out), opacity 360ms var(--ease-out);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + var(--sp-7)) 0 var(--sp-8);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 75% 45%, rgba(255, 122, 0, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 15%, rgba(185, 132, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 122, 0, 0.08), transparent 60%);
  pointer-events: none;
  filter: blur(6px);
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--sp-7); }
}

.hero-left { max-width: 620px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.3);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  margin-top: var(--sp-5);
  max-width: 52ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  color: var(--muted);
  font-size: 0.95rem;
}
.social-proof strong { color: var(--text); }
.avatars { display: inline-flex; }
.av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  border: 2px solid var(--bg);
  margin-left: -8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}
.av:first-child { margin-left: 0; }

/* Hero right */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

/* =========================================================
   PHONE MOCKUP
   ========================================================= */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19.5;
  flex-shrink: 0;
}
.phone-hero { width: clamp(280px, 32vw, 340px); }
.phone-sm { width: 240px; }

.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg, #1f2638 0%, #0c0f17 60%, #1a2030 100%);
  border-radius: 50px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06),
    inset 0 0 0 6px #050810,
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 20px 40px -20px rgba(255, 122, 0, 0.18),
    0 0 0 1px rgba(255,255,255,0.04);
}
.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 30%, transparent 75%, rgba(255,255,255,0.03) 100%);
  mix-blend-mode: screen;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 3;
}
.phone-sm .phone-notch { width: 78px; height: 22px; top: 12px; border-radius: 12px; }

.phone-side-btn {
  position: absolute;
  background: #111;
  border-radius: 2px;
}
.phone-side-right { right: -2px; top: 150px; width: 3px; height: 70px; }
.phone-side-left-1 { left: -2px; top: 110px; width: 3px; height: 28px; }
.phone-side-left-2 { left: -2px; top: 148px; width: 3px; height: 46px; }
.phone-side-left-3 { left: -2px; top: 206px; width: 3px; height: 46px; }

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.phone-sm .phone-screen { border-radius: 40px; }

/* =========================================================
   ALARM (hero phone)
   ========================================================= */
.alarm-screen {
  width: 100%;
  height: 100%;
  padding: 38px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,122,0,0.18) 0%, transparent 55%),
    linear-gradient(180deg, #0E1322 0%, #080B14 100%);
  color: var(--text);
  position: relative;
}
.alarm-status {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-top: 8px;
}
.alarm-time {
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 10px;
  color: var(--text);
  display: inline-flex;
  align-items: flex-start;
}
.phone-sm .alarm-time { font-size: 3rem; }
.alarm-ampm {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-left: 6px;
  margin-top: 14px;
}
.phone-sm .alarm-ampm { font-size: 0.75rem; margin-top: 8px; }
.alarm-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

/* Pulsing ring */
.alarm-ring {
  position: relative;
  width: 180px;
  height: 180px;
  margin: auto 0;
  display: grid;
  place-items: center;
}
.alarm-ring.sm { width: 130px; height: 130px; }
.ring-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ring-pulse 2.4s var(--ease-out) infinite;
}
.ring-pulse.delay { animation-delay: 1.2s; }
@keyframes ring-pulse {
  0%   { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 0; }
}
.ring-core {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,122,0,0.35) 0%, rgba(255,122,0,0.08) 60%, transparent 80%),
    #111827;
  border: 1.5px solid rgba(255,122,0,0.55);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  box-shadow: 0 0 40px -6px rgba(255,122,0,0.55), inset 0 0 30px rgba(255,122,0,0.2);
}
.phone-sm .ring-core { font-size: 2rem; }

.alarm-cta {
  margin-top: 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--accent);
  padding: 10px 14px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-pill);
  box-shadow: 0 0 20px -6px rgba(255,122,0,0.5);
}
.alarm-meta {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* Floating challenge pills */
.floating-pills {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fp {
  position: absolute;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
  white-space: nowrap;
  opacity: 0;
  animation: fp-in 700ms var(--ease-spring) forwards;
}
.fp-1 { top: 14%;  left: -8%;  animation-delay: 700ms; }
.fp-2 { top: 30%;  right: -14%; animation-delay: 900ms; }
.fp-3 { bottom: 22%; left: -10%; animation-delay: 1100ms; }
.fp-4 { bottom: 10%; right: -4%; animation-delay: 1300ms; }

@keyframes fp-in {
  0%   { opacity: 0; transform: translateY(10px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
  .fp-1 { left: 4%; }
  .fp-2 { right: 2%; }
  .fp-3 { left: 2%; }
  .fp-4 { right: 4%; }
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.step {
  position: relative;
  padding: var(--sp-6);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,0,0.3);
}
.step::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,122,0,0.1), transparent 70%);
  pointer-events: none;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--sp-4);
  font-style: italic;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-3);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.step-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.step-body strong { color: var(--text); font-weight: 600; }

/* =========================================================
   CHALLENGES
   ========================================================= */
.tier-block {
  margin-top: var(--sp-7);
}
.tier-block:first-of-type { margin-top: var(--sp-6); }

.tier-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.tier-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
}
.tier-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-4);
}
@media (max-width: 600px) {
  .challenge-grid {
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--sp-5));
    padding: 0 var(--sp-5);
    scroll-padding-left: var(--sp-5);
    -webkit-overflow-scrolling: touch;
  }
  .ch-card { scroll-snap-align: start; }
}
.challenge-grid::-webkit-scrollbar { display: none; }

.ch-card {
  position: relative;
  padding: 1.25rem 1.1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
  overflow: hidden;
}
.ch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms var(--ease-out);
}
.ch-card:hover {
  transform: translateY(-3px);
}
.ch-card:hover::before { opacity: 1; }

.ch-emoji {
  font-size: 1.75rem;
  margin-bottom: var(--sp-3);
}
.ch-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2px;
}
.ch-sub {
  color: var(--muted);
  font-size: 0.82rem;
}
.ch-tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 4px 7px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
}
.tag-free {
  background: rgba(138, 155, 190, 0.12);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* Premium variant */
.ch-prem {
  border-color: rgba(255,122,0,0.35);
  background: linear-gradient(180deg, rgba(255,122,0,0.04), var(--surface) 40%);
  box-shadow: 0 0 30px -15px rgba(255,122,0,0.35);
}
.ch-prem::before {
  background: radial-gradient(circle at 50% 0%, rgba(255,122,0,0.14), transparent 60%);
}
.ch-prem:hover {
  border-color: rgba(255,122,0,0.6);
  box-shadow: 0 10px 40px -10px rgba(255,122,0,0.35);
}
.tag-prem {
  background: rgba(255,122,0,0.15);
  color: var(--accent);
  border: 1px solid rgba(255,122,0,0.35);
}

/* Pro variant */
.ch-pro {
  border-color: rgba(185,132,255,0.4);
  background: linear-gradient(180deg, rgba(185,132,255,0.05), var(--surface) 40%);
  box-shadow: 0 0 30px -15px rgba(185,132,255,0.4);
}
.ch-pro::before {
  background: radial-gradient(circle at 50% 0%, rgba(185,132,255,0.16), transparent 60%);
}
.ch-pro:hover {
  border-color: rgba(185,132,255,0.65);
  box-shadow: 0 10px 40px -10px rgba(185,132,255,0.4);
}
.tag-pro {
  background: rgba(185,132,255,0.15);
  color: var(--purple);
  border: 1px solid rgba(185,132,255,0.4);
}

/* =========================================================
   APP PREVIEW STRIP
   ========================================================= */
.preview {
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,122,0,0.08), transparent 70%),
    var(--bg);
}
.preview-strip {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-7) var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--sp-5);
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
}
.preview-strip::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) {
  .preview-strip {
    justify-content: center;
    overflow: visible;
  }
}
.preview-strip .phone { scroll-snap-align: center; }

/* Inner screens */
.scr {
  width: 100%;
  height: 100%;
  padding: 44px 16px 20px;
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.scr-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding: 0 6px;
}
.sbar-ico { letter-spacing: 2px; font-size: 0.5rem; color: var(--muted); }

/* Dashboard */
.scr-dashboard { background: linear-gradient(180deg, #0C111E, #070A12); }
.scr-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 4px;
}
.scr-greet {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
}
.streak-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,122,0,0.15);
  border: 1px solid rgba(255,122,0,0.4);
  color: var(--accent);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 0.8rem;
}
.energy-card {
  background: linear-gradient(145deg, #141c2f, #0e1422);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}
.energy-lab {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.energy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.energy-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green);
  line-height: 1;
}
.energy-bar {
  flex: 1;
  height: 6px;
  background: rgba(138,155,190,0.15);
  border-radius: 3px;
  overflow: hidden;
}
.energy-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), #59ffa6);
  border-radius: 3px;
}
.energy-sub { font-size: 0.6rem; color: var(--muted); }

.scr-sect-head {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 10px 4px 8px;
}
.alarm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
}
.ar-time {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}
.ar-time span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: 3px;
}
.ar-dim { color: var(--muted); }
.ar-sub { font-size: 0.6rem; color: var(--muted); margin-top: 3px; }
.toggle {
  width: 32px;
  height: 18px;
  border-radius: 10px;
  background: rgba(138,155,190,0.2);
  position: relative;
  transition: background 200ms;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 200ms var(--ease-out);
}
.toggle.on { background: var(--accent); }
.toggle.on::after { transform: translateX(14px); }

/* Active alarm (small) */
.scr-active {
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,122,0,0.2), transparent 60%),
    linear-gradient(180deg, #0D1221, #070A12);
}

/* Push-up */
.scr-pushup { background: linear-gradient(180deg, #0C111E, #070A12); align-items: center; text-align: center; }
.pu-lab {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--accent);
  margin-top: 8px;
}
.pu-progress {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 14px auto 12px;
  display: grid;
  place-items: center;
}
.pu-count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--text);
}
.pu-count strong {
  font-size: 2.4rem;
  font-weight: 400;
}
.pu-count span {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-body);
  margin-left: 3px;
}
.pu-hint {
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.cam-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,122,0,0.15), transparent 70%),
    #0a0e18;
  border: 1px dashed rgba(255,122,0,0.5);
  border-radius: 10px;
  display: grid;
  place-items: center;
  position: relative;
}
.cam-dots {
  display: flex;
  gap: 6px;
}
.cam-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: bounce 1.4s infinite ease-in-out;
}
.cam-dots span:nth-child(2) { animation-delay: 0.15s; background: var(--accent-2); }
.cam-dots span:nth-child(3) { animation-delay: 0.3s; background: var(--accent); }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.6; }
  40% { transform: scale(1); opacity: 1; }
}
.cam-label {
  position: absolute;
  bottom: 8px;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 800;
}

/* Streak */
.scr-streak { background: linear-gradient(180deg, #0E1322 0%, #0A0D18 100%); }
.streak-hero {
  text-align: center;
  padding: 16px 0 10px;
}
.flame { font-size: 2rem; margin-bottom: 4px; }
.streak-big {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent);
}
.streak-cap {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}
.weekdots {
  display: flex;
  justify-content: space-between;
  margin: 14px 8px 14px;
}
.wd {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(138,155,190,0.12);
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 700;
  border: 1px solid var(--border);
}
.wd.on {
  background: var(--accent);
  color: #0B0F1A;
  border-color: var(--accent);
  box-shadow: 0 0 12px -2px rgba(255,122,0,0.55);
}
.barchart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  margin-top: 8px;
  padding: 0 4px;
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), #c05500);
  border-radius: 4px 4px 2px 2px;
  height: var(--h);
  min-height: 6px;
}
.bar.dim {
  background: rgba(138,155,190,0.2);
}

/* =========================================================
   PRICING
   ========================================================= */
.billing-toggle {
  position: relative;
  display: inline-flex;
  padding: 4px;
  margin-top: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  isolation: isolate;
}
.bt-opt {
  position: relative;
  z-index: 2;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  border-radius: var(--r-pill);
  transition: color 200ms;
}
.bt-opt.active { color: #0B0F1A; }
.bt-save {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-left: 4px;
}
.bt-opt.active .bt-save { color: #0B0F1A; opacity: 0.6; }
.bt-slider {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background: var(--accent);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 14px -4px rgba(255,122,0,0.55);
  transition: transform 320ms var(--ease-spring), width 320ms var(--ease-spring);
}
.billing-toggle[data-bill="yearly"] .bt-slider {
  transform: translateX(100%);
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 900px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: var(--sp-5); }
}

.price-card {
  position: relative;
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.price-card:hover { transform: translateY(-4px); }

.pc-featured {
  border-color: rgba(255,122,0,0.5);
  background: linear-gradient(180deg, rgba(255,122,0,0.06), var(--surface) 50%);
  box-shadow: 0 20px 60px -30px rgba(255,122,0,0.5);
}
.pc-featured::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,122,0,0.18), transparent 55%);
  pointer-events: none;
}
.pc-pro {
  border-color: rgba(185,132,255,0.45);
  background: linear-gradient(180deg, rgba(185,132,255,0.05), var(--surface) 50%);
  box-shadow: 0 20px 60px -30px rgba(185,132,255,0.45);
}
.pc-pro::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(185,132,255,0.16), transparent 55%);
  pointer-events: none;
}

.pc-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  background: var(--accent);
  color: #0B0F1A;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 14px -2px rgba(255,122,0,0.6);
}

.pc-head { position: relative; z-index: 1; margin-bottom: var(--sp-5); }
.pc-tier {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}
.pc-price {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.pc-curr {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--muted);
  margin-right: 2px;
}
.pc-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.pc-per {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}
.pc-tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.pc-feats {
  position: relative;
  z-index: 1;
  flex: 1;
  margin-bottom: var(--sp-6);
}
.pc-feats li {
  padding: 8px 0;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 22px;
}
.pc-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  transform-origin: 0 0;
}
.pc-pro .pc-feats li::before { border-color: var(--purple); }
.pc-feats li strong { font-weight: 700; }
.pc-dim { color: var(--muted); font-weight: 400; }

.pc-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  justify-content: center;
}

/* =========================================================
   WAITLIST
   ========================================================= */
.waitlist {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
}
.wl-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,122,0,0.22), transparent 70%),
    radial-gradient(ellipse 30% 30% at 20% 80%, rgba(185,132,255,0.1), transparent 70%);
  pointer-events: none;
}
.wl-inner {
  position: relative;
  max-width: 720px;
}
.wl-head { margin-top: var(--sp-2); }
.wl-sub { margin: var(--sp-4) auto 0; text-align: center; }

.wl-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin: var(--sp-7) auto 0;
  max-width: 520px;
}
@media (min-width: 620px) {
  .wl-form { grid-template-columns: 1fr auto; }
}
.wl-form input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--r-pill);
  font-size: 1rem;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}
.wl-form input::placeholder { color: var(--muted); }
.wl-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,122,0,0.15);
}
.wl-form.error input {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(255,69,105,0.15);
}
.wl-form button { padding: 1rem 1.5rem; }

.wl-error {
  color: var(--red);
  font-size: 0.9rem;
  margin-top: var(--sp-3);
  min-height: 1.2em;
}

.wl-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  max-width: 520px;
  margin: var(--sp-6) auto 0;
  padding: var(--sp-5);
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.3);
  border-radius: var(--r-xl);
  text-align: left;
}
.wl-success.show { display: flex; }
.wl-success-check {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #0B0F1A;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.wl-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-6);
}
.bp {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  padding: var(--sp-8) 0 var(--sp-6);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.foot-inner {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 720px) {
  .foot-inner { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .foot-links { justify-self: center; }
  .foot-copy { justify-self: end; }
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot-tag {
  color: var(--muted);
  font-size: 0.85rem;
}
.foot-links {
  display: flex;
  gap: var(--sp-5);
}
.foot-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 200ms;
}
.foot-links a:hover { color: var(--text); }
.foot-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 780ms var(--ease-out), transform 780ms var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
