/* ===================================================================
   MathWake — Loud Alarm | Landing Page
   App colors: bg #0D0D12 · accent #FF4C00 · surface #2E2927 · text #F3F3F3
   Font: Poppins (same as app)
=================================================================== */

:root {
  --bg:        #0D0D12;
  --bg-2:      #101017;
  --surface:   #1A1820;
  --surface-2: #2E2927;
  --accent:    #FF4C00;
  --accent-2:  #FF7A33;
  --text:      #F3F3F3;
  --muted:     #9A9097;
  --muted-2:   #6E6168;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.04);
  --glass:     rgba(255,255,255,0.03);
  --radius:    22px;
  --radius-sm: 14px;
  --shadow:    0 30px 80px -20px rgba(0,0,0,0.7);
  --ease:      cubic-bezier(.16,1,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

.grad-text {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 60%, #ffd0bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Aurora background ===== */
.aurora {
  position: fixed; inset: 0; z-index: -2;
  overflow: hidden; pointer-events: none;
}
.aurora__blob { will-change: transform; }
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .5;
}
.aurora__blob--1 {
  width: 560px; height: 560px;
  background: var(--accent);
  top: -180px; left: -120px;
  opacity: .35;
  animation: float1 18s ease-in-out infinite;
}
.aurora__blob--2 {
  width: 480px; height: 480px;
  background: #ff7a33;
  top: 30%; right: -160px;
  opacity: .22;
  animation: float2 22s ease-in-out infinite;
}
.aurora__blob--3 {
  width: 520px; height: 520px;
  background: #3a1f12;
  bottom: -200px; left: 30%;
  opacity: .5;
  animation: float1 26s ease-in-out infinite reverse;
}
.aurora__blob { --py: 0px; }
@keyframes float1 {
  0%   { transform: translate(0, var(--py)) scale(1); }
  50%  { transform: translate(40px, calc(-30px + var(--py))) scale(1.1); }
  100% { transform: translate(0, var(--py)) scale(1); }
}
@keyframes float2 {
  0%   { transform: translate(0, var(--py)) scale(1); }
  50%  { transform: translate(-50px, calc(40px + var(--py))) scale(1.05); }
  100% { transform: translate(0, var(--py)) scale(1); }
}

/* ===== Navbar ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,13,18,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 19px; letter-spacing: .3px;
}
.nav__logo { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 15px; color: var(--muted); font-weight: 500;
  transition: color .25s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: 8px; }
.nav__right { display: flex; align-items: center; gap: 12px; }

/* ===== Language switcher ===== */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--border);
  color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: border-color .25s, background .25s;
}
.lang__btn:hover { border-color: var(--accent); }
.lang__current { letter-spacing: .5px; }
.lang__caret { transition: transform .3s var(--ease); opacity: .7; }
.lang.open .lang__caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 190px; max-height: 0; overflow: hidden;
  background: rgba(20,18,24,.96); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 16px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: max-height .35s var(--ease), opacity .25s, transform .3s var(--ease);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.7); z-index: 120;
}
.lang.open .lang__menu {
  max-height: 460px; opacity: 1; transform: translateY(0); pointer-events: auto;
  padding: 6px;
}
.lang__item {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 11px 14px; border: 0; border-radius: 10px;
  background: none; color: var(--text); font-family: inherit; font-size: 14px;
  cursor: pointer; text-align: left; transition: background .2s;
}
.lang__item:hover { background: rgba(255,255,255,.06); }
.lang__item.active { background: rgba(255,76,0,.14); color: var(--accent); }
.lang__short { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .5px; }
.lang__item.active .lang__short { color: var(--accent); }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: .3s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255,76,0,.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -8px rgba(255,76,0,.7); }
.btn--ghost {
  background: var(--glass); color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 18px 36px; font-size: 17px; }
.btn--block { width: 100%; }

/* ===== Hero ===== */
.hero { padding: 150px 0 80px; position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 50px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--muted);
  margin-bottom: 26px;
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,76,0,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,76,0,.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,76,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,76,0,0); }
}
.hero__title {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800; line-height: 1.05; letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 34px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__proof { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 16px; }
.hero__proof span { color: var(--muted); font-size: 14px; font-style: italic; }

/* ===== Phone mockup ===== */
.hero__visual {
  position: relative; display: flex; justify-content: center;
  perspective: 1600px;
}
.phone {
  position: relative; width: 310px; height: 638px;
  background:
    linear-gradient(135deg, #5a5560 0%, #2b2832 14%, #16141b 32%, #0d0d12 68%, #211e29 86%, #4a4654 100%);
  border-radius: 56px; padding: 12px;
  box-shadow:
    var(--shadow),
    inset 0 0 0 2px rgba(255,255,255,.05),
    inset 0 2px 2px rgba(255,255,255,.22),
    inset 0 -2px 3px rgba(0,0,0,.5),
    0 0 0 1px rgba(0,0,0,.55),
    0 0 0 8px rgba(255,255,255,.012);
  animation: floaty 7s ease-in-out infinite;
  transform: rotateY(-12deg) rotateX(4deg) rotate(1deg);
  transition: transform .6s var(--ease);
  transform-style: preserve-3d;
  z-index: 2;
}
/* polished titanium rail highlight around the frame */
.phone::before {
  content: ''; position: absolute; inset: 2px; border-radius: 54px; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.28) 0%, transparent 18%, transparent 82%, rgba(255,255,255,.16) 100%);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 2px; z-index: 5;
}
.phone:hover { transform: rotateY(-4deg) rotateX(2deg) rotate(0deg); }
@keyframes floaty { 50% { transform: rotateY(-12deg) rotateX(4deg) rotate(1deg) translateY(-16px); } }

/* titanium side buttons */
.phone__btn {
  position: absolute; background: linear-gradient(180deg, #4a4652 0%, #2c2832 40%, #14121a 100%);
  border-radius: 3px; z-index: 4;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.2), -1px 0 1px rgba(0,0,0,.4);
}
.phone__btn--silent  { left: -3px; top: 118px; width: 3px; height: 30px; }
.phone__btn--vol-up  { left: -3px; top: 168px; width: 3px; height: 54px; }
.phone__btn--vol-down{ left: -3px; top: 234px; width: 3px; height: 54px; }
.phone__btn--power   { right: -3px; top: 196px; width: 3px; height: 84px; }

.phone__screen {
  width: 100%; height: 100%; border-radius: 44px;
  background:
    radial-gradient(130% 60% at 50% -8%, rgba(255,76,0,.22), transparent 55%),
    radial-gradient(100% 50% at 50% 110%, rgba(255,76,0,.1), transparent 60%),
    linear-gradient(180deg, #0d0d12, #15131a 60%, #100e15);
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
/* subtle screen sheen */
.phone__screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 44px;
  background: linear-gradient(125deg, rgba(255,255,255,.07) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.03) 100%);
}

/* dynamic island */
.phone__island {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  height: 30px; min-width: 116px; padding: 0 13px; z-index: 6;
  background: #000; border-radius: 100px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 1px 2px rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
/* front camera lens */
.island__cam {
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b3a52 0%, #0a0e16 60%, #000 100%);
  box-shadow: inset 0 0 0 1px rgba(80,120,180,.35), 0 0 3px rgba(60,110,190,.4);
}
.island__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .35; } }
.island__wave { display: flex; align-items: center; gap: 3px; height: 14px; }
.island__wave i {
  width: 3px; border-radius: 2px; background: var(--accent);
  animation: eq 1s ease-in-out infinite;
}
.island__wave i:nth-child(1){ height: 6px;  animation-delay: 0s;   }
.island__wave i:nth-child(2){ height: 13px; animation-delay: .15s; }
.island__wave i:nth-child(3){ height: 9px;  animation-delay: .3s;  }
.island__wave i:nth-child(4){ height: 5px;  animation-delay: .45s; }
@keyframes eq { 50% { transform: scaleY(.4); } }

/* status bar */
.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 26px 0; z-index: 5; position: relative;
}
.statusbar__time { font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.statusbar__icons { display: flex; align-items: center; gap: 6px; fill: var(--text); }
.statusbar__batt {
  width: 22px; height: 11px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 3px; padding: 1.5px; position: relative;
}
.statusbar__batt::after {
  content: ''; position: absolute; right: -3px; top: 3px;
  width: 2px; height: 4px; background: rgba(255,255,255,.5); border-radius: 0 2px 2px 0;
}
.statusbar__batt i {
  display: block; height: 100%; width: 80%;
  background: var(--text); border-radius: 1.5px;
}

/* ring screen */
.ring {
  flex: 1; text-align: center; padding: 14px 22px 26px; width: 100%; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring__pulse {
  position: relative; width: 70px; height: 70px; margin-bottom: 10px;
  display: grid; place-items: center;
}
.ring__ripple {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0;
  animation: ripple 2.4s ease-out infinite;
}
.ring__ripple:nth-child(2) { animation-delay: 1.2s; }
@keyframes ripple {
  0%   { transform: scale(.6); opacity: .7; }
  100% { transform: scale(2.2); opacity: 0; }
}
.ring__bell {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(160deg, rgba(255,76,0,.25), rgba(255,76,0,.06));
  border: 1px solid rgba(255,76,0,.4);
  display: grid; place-items: center;
  animation: shake-bell .8s ease-in-out infinite;
}
.ring__bell img { width: 30px; height: 30px; }
@keyframes shake-bell {
  0%,100% { transform: rotate(0); }
  20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }  80% { transform: rotate(4deg); }
}
.ring__time {
  font-size: 56px; font-weight: 700; letter-spacing: 0; line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(255,76,0,.25);
}
.ring__label {
  color: var(--accent); font-weight: 600; letter-spacing: 3px;
  font-size: 11px; margin: 6px 0 22px;
  display: inline-flex; align-items: center; gap: 7px;
}
.ring__live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: blink 1.2s infinite;
}
.ring__task {
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: 22px; padding: 18px 16px; backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
}
.ring__chip {
  display: inline-block;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 14px;
  box-shadow: 0 6px 16px -6px rgba(255,76,0,.7);
}
.ring__math { font-size: 23px; font-weight: 600; transition: opacity .3s ease; }
.ring__q { color: var(--accent); }
.ring__display {
  margin: 14px auto 0; width: 100%; max-width: 180px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,76,0,.3);
  border-radius: 12px; padding: 10px; color: var(--text);
  font-size: 22px; font-weight: 700; letter-spacing: 3px;
  font-variant-numeric: tabular-nums;
  transition: opacity .3s ease, border-color .25s ease, background .25s ease; position: relative;
}
/* blinking caret only while typing */
.ring__display.typing::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  margin-left: 6px; width: 2px; height: 22px; background: var(--accent);
  animation: blink 1s steps(2) infinite;
}
.ring__display:empty::before {
  content: '·  ·  ·'; color: var(--muted-2); letter-spacing: 4px; font-weight: 600;
}
.ring__display.correct { border-color: #2ec27e; background: rgba(46,194,126,.16); color: #6ff0b0; }
.ring__hint { margin-top: 16px; font-size: 11px; color: var(--muted-2); transition: opacity .3s ease; }

.phone-glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: var(--accent); filter: blur(140px); opacity: .3; z-index: 1;
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse { 50% { opacity: .45; transform: scale(1.1); } }
.phone-reflection {
  position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%) scaleY(-1);
  width: 240px; height: 120px;
  background: linear-gradient(180deg, rgba(255,76,0,.18), transparent);
  filter: blur(26px); opacity: .5; border-radius: 50%; z-index: 0;
}

/* ===== Trust strip ===== */
.strip {
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  background: rgba(255,255,255,.015);
}
.strip__inner {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
  padding: 32px 24px;
}
.strip__item { text-align: center; }
.strip__item strong {
  display: block; font-size: 34px; font-weight: 800;
}
.strip__item span { font-size: 13px; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 110px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015), transparent); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block; color: var(--accent); font-weight: 600;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.section__head h2 {
  font-size: clamp(30px, 4.5vw, 46px); font-weight: 800;
  letter-spacing: -.5px; line-height: 1.1; margin-bottom: 16px;
}
.section__head p { color: var(--muted); font-size: 17px; }

/* ===== Feature cards ===== */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .45s var(--ease), border-color .35s, background .35s, box-shadow .45s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255,76,0,.1), transparent 50%);
  opacity: 0; transition: opacity .35s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,76,0,.35);
  box-shadow: 0 24px 50px -26px rgba(255,76,0,.5);
}
.card:hover::before { opacity: 1; }
.card:hover .card__icon { transform: translateY(-2px) scale(1.06) rotate(-3deg); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(160deg, rgba(255,76,0,.18), rgba(255,76,0,.05));
  border: 1px solid rgba(255,76,0,.2); margin-bottom: 18px;
  transition: transform .4s var(--ease);
}
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; position: relative; }

/* ===== Missions ===== */
.missions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.mission {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease);
}
.mission:hover {
  transform: translateY(-8px);
  border-color: rgba(255,76,0,.35);
  box-shadow: 0 24px 50px -26px rgba(255,76,0,.5);
}
.mission:hover img { transform: scale(1.08); }
.mission img {
  transition: transform .4s var(--ease);
  width: 60px; height: 60px; margin: 0 auto 16px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.5));
}
.mission h4 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.mission p { color: var(--muted); font-size: 14px; }
.mission__tag {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 100px;
  z-index: 2;
}
.mission--featured {
  border-color: rgba(255,76,0,.4);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255,76,0,.14), transparent 60%),
    var(--surface);
  box-shadow: 0 0 0 1px rgba(255,76,0,.12), 0 18px 40px -20px rgba(255,76,0,.4);
}
.mission--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px; background: linear-gradient(140deg, rgba(255,76,0,.6), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.mission--featured img { animation: featPulse 3s var(--ease) infinite; }
@keyframes featPulse { 50% { transform: translateY(-4px) scale(1.04); } }
.mission--featured:hover { border-color: rgba(255,76,0,.7); }

/* ===== Camera Missions Spotlight ===== */
.spotlight { overflow: hidden; }
.spotlight__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.badge--accent {
  background: rgba(255,76,0,.12);
  border-color: rgba(255,76,0,.35);
  color: #ffb599; font-weight: 600;
}
.spotlight__title {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 700;
  line-height: 1.08; margin: 18px 0 16px;
}
.spotlight__sub { color: var(--muted); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
.spotlight__list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.spotlight__list li { display: flex; gap: 14px; align-items: flex-start; }
.spotlight__ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.spotlight__list strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.spotlight__list span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.spotlight__visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.spotlight__phone {
  position: relative; width: 290px; padding: 28px 22px 22px;
  border-radius: 32px; border: 1px solid rgba(255,76,0,.3);
  background:
    radial-gradient(130% 90% at 50% 0%, rgba(255,76,0,.18), transparent 65%),
    var(--surface);
  box-shadow: 0 40px 90px -40px rgba(255,76,0,.55);
  text-align: center;
}
.spotlight__cam {
  position: relative; aspect-ratio: 1; border-radius: 22px;
  background: var(--surface-2); display: grid; place-items: center; margin-bottom: 16px;
  overflow: hidden;
}
.spotlight__cam img { width: 96px; height: 96px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); }
.spotlight__frame {
  position: absolute; inset: 18%; border: 2px solid rgba(255,76,0,.8);
  border-radius: 14px; animation: scanFrame 2.4s var(--ease) infinite;
}
@keyframes scanFrame { 0%,100% { transform: scale(.92); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
.spotlight__pill {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(255,76,0,.92); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .5px; padding: 4px 12px; border-radius: 100px; z-index: 2;
}
.spotlight__caption { color: var(--muted); font-size: 14px; font-weight: 500; }
.spotlight__chip {
  position: absolute; background: var(--surface);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 9px 16px; font-size: 13px; font-weight: 600;
  box-shadow: 0 16px 30px -16px rgba(0,0,0,.7);
  animation: chipFloat 4s var(--ease) infinite;
}
.spotlight__chip--1 { top: 14%; right: -2%; }
.spotlight__chip--2 { bottom: 12%; left: -2%; animation-delay: -2s; }
@keyframes chipFloat { 50% { transform: translateY(-10px); } }

/* ===== Hero highlight ===== */
.hero__highlight {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 6px 0 24px; padding: 9px 16px 9px 9px;
  background: rgba(255,76,0,.08); border: 1px solid rgba(255,76,0,.28);
  border-radius: 100px; font-size: 14px; color: var(--text); font-weight: 500;
}
.hero__hl-tag {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 100px;
}

/* ===== Steps ===== */
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 220px; max-width: 300px; text-align: center; padding: 0 14px;
}
.step__num {
  width: 60px; height: 60px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 50%;
  font-size: 24px; font-weight: 700; color: #fff;
  background: linear-gradient(160deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px -8px rgba(255,76,0,.6);
}
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step__line {
  flex: 0 0 60px; height: 2px; margin-top: 30px;
  background: linear-gradient(90deg, var(--accent), transparent);
  align-self: flex-start;
}

/* ===== Pricing ===== */
.plans {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 820px; margin: 0 auto;
}
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px; position: relative;
}
.plan--pro {
  background: linear-gradient(165deg, rgba(255,76,0,.12), var(--surface));
  border-color: rgba(255,76,0,.4);
  box-shadow: 0 24px 60px -20px rgba(255,76,0,.35);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 6px 16px; border-radius: 100px;
}
.plan__name { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.plan__price { font-size: 40px; font-weight: 800; margin-bottom: 24px; }
.plan__price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan__list { list-style: none; margin-bottom: 28px; }
.plan__list li {
  padding: 10px 0 10px 28px; position: relative; color: var(--muted);
  border-bottom: 1px solid var(--border-2); font-size: 15px;
}
.plan__list li strong { color: var(--text); font-weight: 600; }
.plan__list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 4px 24px;
  transition: border-color .3s;
}
.faq__item[open] { border-color: rgba(255,76,0,.35); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-weight: 600; font-size: 16px; position: relative; padding-right: 36px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--accent); transition: transform .3s var(--ease); font-weight: 300;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--muted); padding: 0 0 20px; font-size: 15px; }

/* ===== CTA ===== */
.cta {
  padding: 120px 0; text-align: center; position: relative;
}
.cta__inner {
  background: linear-gradient(165deg, rgba(255,76,0,.14), var(--surface));
  border: 1px solid rgba(255,76,0,.3);
  border-radius: 34px; padding: 64px 32px;
  box-shadow: 0 40px 100px -30px rgba(255,76,0,.4);
}
.cta__logo { width: 70px; height: 70px; margin: 0 auto 22px; }
.cta h2 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; margin-bottom: 14px; letter-spacing: -.5px; }
.cta p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 44px 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer__brand img { width: 28px; height: 28px; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { color: var(--muted); font-size: 14px; transition: color .25s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted-2); font-size: 13px; width: 100%; text-align: center; padding-top: 10px; }

/* ===== Legal pages (Privacy / Terms) ===== */
.legal { padding: 130px 0 90px; }
.legal__head { margin-bottom: 48px; }
.legal__head .eyebrow { margin-bottom: 14px; }
.legal__head h1 {
  font-size: clamp(30px, 4.5vw, 46px); font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 12px;
}
.legal__updated { color: var(--muted-2); font-size: 14px; }
.legal__body {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.legal__body h2 {
  font-size: 22px; font-weight: 700; margin: 36px 0 12px;
  letter-spacing: -.3px;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.legal__body p { color: var(--muted); margin-bottom: 14px; }
.legal__body ul { color: var(--muted); margin: 0 0 16px 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--accent); }
.legal__body a:hover { text-decoration: underline; }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__toc {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px;
}
.legal__toc a {
  font-size: 13px; color: var(--muted); padding: 7px 14px;
  border: 1px solid var(--border); border-radius: 999px; transition: all .25s;
}
.legal__toc a:hover { color: var(--accent); border-color: var(--accent); }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 36px; color: var(--muted); font-size: 14px; transition: color .25s;
}
.legal__back:hover { color: var(--accent); }
@media (max-width: 560px) {
  .legal__body { padding: 26px 20px; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0; transform: translateY(34px) scale(.985);
  filter: blur(6px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* directional reveal variants */
.reveal--left  { transform: translateX(-40px) scale(.985); }
.reveal--right { transform: translateX(40px) scale(.985); }
.reveal--scale { transform: scale(.9); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { transform: none; }

/* count-up pop */
.js-count { display: inline-block; }
.js-count.counting { animation: countPop .5s var(--ease); }
@keyframes countPop {
  0% { transform: scale(.7); opacity: .4; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__cta, .hero__proof { justify-content: center; }
  .phone { transform: rotateY(0) rotateX(0) rotate(0); margin-top: 30px; }
  .phone:hover { transform: rotateY(0) rotateX(0) rotate(0); }
  @keyframes floaty { 50% { transform: translateY(-14px); } }
  .cards, .missions { grid-template-columns: repeat(2, 1fr); }
  .spotlight__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .spotlight__copy { display: flex; flex-direction: column; align-items: center; }
  .spotlight__list { text-align: left; }
  .spotlight__visual { min-height: 340px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.show {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 24px;
    background: rgba(13,13,18,.96); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
  }
  .nav__links.show a { padding: 14px 0; border-bottom: 1px solid var(--border-2); }
  .nav__right { margin-left: auto; margin-right: 6px; }
  .lang__btn { padding: 7px 10px; }
  .step__line { display: none; }
}
@media (max-width: 560px) {
  .cards, .missions, .plans { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .section { padding: 80px 0; }
  .strip__item strong { font-size: 28px; }
  .cta__inner { padding: 44px 22px; }
  .spotlight__chip--1 { right: 2%; }
  .spotlight__chip--2 { left: 2%; }
  .hero__highlight { font-size: 13px; }
}

/* ===== App Store badge ===== */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255,255,255,.22);
  color: #fff; text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.appstore-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.45);
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.8);
}
.appstore-badge svg { flex-shrink: 0; }
.appstore-badge__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore-badge__line1 { font-size: 11px; font-weight: 400; letter-spacing: .2px; opacity: .9; }
.appstore-badge__line2 { font-size: 19px; font-weight: 600; letter-spacing: .2px; }
.appstore-badge--lg { padding: 13px 24px; gap: 12px; border-radius: 16px; }
.appstore-badge--lg .appstore-badge__line1 { font-size: 12px; }
.appstore-badge--lg .appstore-badge__line2 { font-size: 22px; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .phone { transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .aurora__blob { --py: 0px !important; }
}
