:root {
  --bg: #070f27;
  --panel: rgba(13, 24, 56, 0.82);
  --line: rgba(131, 161, 255, 0.24);
  --text: #e8f0ff;
  --muted: #9baed9;
  --cyan: #3dd8ff;
  --cyan-soft: #8feaff;
  --orange: #ffae3d;
  --orange-soft: #ffd184;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, rgba(61, 216, 255, 0.16), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 174, 61, 0.14), transparent 36%),
    linear-gradient(170deg, #060d22 0%, #0a1532 48%, #07112a 100%);
  padding-top: var(--header-h);
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0.5rem; z-index: 999;
  background: #0f214f; color: var(--text); border: 1px solid var(--cyan-soft);
  border-radius: 10px; padding: 0.6rem 0.9rem;
}
.skip-link:focus { left: 0.75rem; }

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  padding: 0.8rem 0.9rem 0; transition: padding 220ms ease;
}
.site-header.is-scrolled { padding-top: 0.45rem; }

.header-shell {
  max-width: 1120px; margin-inline: auto; border: 1px solid var(--line);
  border-radius: var(--radius-pill); background: rgba(9, 18, 45, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.58rem 0.78rem 0.58rem 0.92rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand-glow {
  width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid rgba(61, 216, 255, 0.48); color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 28px rgba(61, 216, 255, 0.26);
  overflow: hidden;
}
.brand-glow svg { width: 20px; height: 20px; }
.brand-glow img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { font-size: 0.92rem; font-weight: 700; letter-spacing: 0.02em; }

.nav-desktop { display: none; gap: 1.5rem; }
.nav-link {
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; transition: color 180ms ease;
}
.nav-link:hover { color: var(--cyan-soft); }

.header-actions { display: flex; align-items: center; gap: 0.45rem; }
.menu-toggle {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(10, 20, 49, 0.9); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  max-width: 1120px; margin: 0.58rem auto 0; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: rgba(8, 16, 40, 0.95);
  box-shadow: 0 18px 36px rgba(2, 8, 26, 0.45); padding: 0.8rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav-link { color: var(--muted); font-size: 0.9rem; font-weight: 600; padding: 0.35rem 0.2rem; }
.mobile-nav-link:hover { color: var(--cyan-soft); }

.btn {
  border: none; border-radius: var(--radius-pill); padding: 0.72rem 1.2rem;
  font-family: var(--font); font-size: 0.86rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}
.btn:focus-visible, .menu-toggle:focus-visible, .modal-close:focus-visible {
  outline: 2px solid var(--cyan-soft); outline-offset: 3px;
}
.btn-primary { background: linear-gradient(120deg, #1ad0ff, #18a0ff); color: #02213e; box-shadow: 0 0 28px rgba(61, 216, 255, 0.26); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-store { background: linear-gradient(120deg, var(--orange), #ffcc70); color: #2b1500; box-shadow: 0 0 28px rgba(255, 174, 61, 0.26); }
.btn-store:hover { transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(137, 162, 233, 0.44); background: rgba(12, 25, 60, 0.62); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan-soft); color: var(--cyan-soft); }
.btn-store svg, .btn-ghost svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }

.hero { position: relative; overflow: hidden; padding: 2.4rem 0 3rem; }
.hero-radial { position: absolute; border-radius: 50%; filter: blur(58px); pointer-events: none; opacity: 0.44; }
.hero-radial-left { width: 320px; height: 320px; left: -120px; top: -72px; background: rgba(57, 201, 255, 0.48); }
.hero-radial-right { width: 280px; height: 280px; right: -96px; top: 12%; background: rgba(255, 174, 61, 0.38); }
.hero-grid { display: grid; gap: 1.75rem; align-items: center; }
.eyebrow { margin: 0 0 0.7rem; color: var(--cyan-soft); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-title { margin: 0; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; }
.accent { color: var(--orange-soft); text-shadow: 0 0 18px rgba(255, 174, 61, 0.42); }
.hero-lead { margin: 1rem 0 1.4rem; color: var(--muted); max-width: 40ch; line-height: 1.68; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.72rem; }
.hero-visual { position: relative; }

.status-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.8rem 1rem; border-radius: var(--radius-md); border: 1px solid rgba(86, 127, 255, 0.36);
  background: linear-gradient(160deg, rgba(16, 27, 60, 0.92), rgba(7, 16, 39, 0.95)); margin-bottom: 0.8rem;
}
.status-label { margin: 0; color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em; }
.status-value { margin: 0.2rem 0 0; color: var(--text); font-weight: 600; }
.status-score { color: var(--orange-soft); font-size: 0.88rem; font-weight: 700; }
.hero-status { max-width: 360px; margin-bottom: 1rem; }

.phone-frame {
  margin: 0 auto; position: relative; width: min(340px, 100%);
  border-radius: 34px; border: 1px solid rgba(115, 150, 255, 0.34); padding: 12px;
  background: linear-gradient(155deg, rgba(14, 29, 66, 0.95), rgba(7, 14, 34, 0.95));
  box-shadow: 0 24px 56px rgba(1, 8, 25, 0.58);
}
.phone-notch {
  position: absolute; width: 36%; height: 20px; left: 50%; transform: translateX(-50%);
  top: 11px; border-radius: 0 0 12px 12px; background: rgba(2, 9, 24, 0.96); z-index: 2;
}
.phone-frame img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; border-radius: 24px; }

.pulse-card {
  position: absolute; display: none; align-items: center; gap: 0.4rem;
  border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; padding: 0.42rem 0.75rem;
}
.pulse-card svg { width: 15px; height: 15px; }
.pulse-cyan { border: 1px solid rgba(61, 216, 255, 0.48); color: var(--cyan-soft); background: rgba(7, 34, 56, 0.84); top: 12%; right: 0; }
.pulse-orange { border: 1px solid rgba(255, 174, 61, 0.42); color: var(--orange-soft); background: rgba(55, 27, 4, 0.84); bottom: 10%; left: 0; }

.section { padding: 2.7rem 0; }
.section-head { margin-bottom: 1.35rem; }
.section-kicker { margin: 0 0 0.4rem; color: var(--cyan-soft); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.section-title { margin: 0; font-size: clamp(1.5rem, 3.7vw, 2.2rem); }

.feature-grid, .screen-grid, .faq-list { display: grid; gap: 0.95rem; }
.feature-subsection { margin-top: 2rem; }
.section-head-sub { margin-bottom: 0.9rem; }

.feature-card {
  border: 1px solid rgba(119, 146, 216, 0.26); border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(11, 22, 52, 0.95), rgba(7, 14, 33, 0.95));
  padding: 1.2rem; transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.feature-card:hover { border-color: rgba(143, 234, 255, 0.52); box-shadow: 0 14px 30px rgba(3, 10, 27, 0.45); transform: translateY(-2px); }
.feature-icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.68rem; }
.feature-icon svg { width: 20px; height: 20px; }
.feature-icon.cyan { color: var(--cyan-soft); background: rgba(19, 45, 74, 0.9); border: 1px solid rgba(61, 216, 255, 0.4); }
.feature-icon.orange { color: var(--orange-soft); background: rgba(58, 33, 11, 0.9); border: 1px solid rgba(255, 174, 61, 0.4); }
.feature-card h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.feature-card p, .faq-item p, .download-card p { margin: 0; color: var(--muted); line-height: 1.62; }

.screen-card { margin: 0; border: 1px solid rgba(104, 138, 221, 0.34); border-radius: 18px; padding: 0.36rem; background: rgba(10, 20, 48, 0.8); }
.screen-card img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; border-radius: 14px; }

.faq-item { border: 1px solid rgba(111, 146, 231, 0.28); border-radius: var(--radius-md); background: var(--panel); padding: 1rem 1.05rem; }
.faq-item h3 { margin: 0 0 0.42rem; font-size: 1rem; }

.download-card {
  border: 1px solid rgba(112, 151, 245, 0.3); border-radius: 24px;
  background: linear-gradient(145deg, rgba(11, 25, 58, 0.94), rgba(7, 16, 40, 0.96));
  padding: 1.5rem 1rem; text-align: center;
}
.download-card h2 { margin: 0 0 0.55rem; }
.download-card p { margin: 0 auto 1.15rem; max-width: 42ch; }
.download-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.72rem; }

.site-footer { border-top: 1px solid rgba(102, 134, 209, 0.28); padding: 1.5rem 0 1.9rem; background: rgba(4, 11, 29, 0.72); }
.footer-row { display: flex; flex-direction: column; align-items: center; gap: 0.68rem; text-align: center; }
.footer-row p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem 1.2rem; }
.footer-links a { color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--orange-soft); }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(2, 8, 24, 0.76); z-index: 45;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 46; width: min(410px, calc(100% - 1.4rem)); border-radius: 20px;
  border: 1px solid rgba(112, 145, 235, 0.42); background: linear-gradient(170deg, rgba(11, 25, 59, 0.98), rgba(7, 14, 36, 0.98));
  padding: 1.8rem 1.25rem 1.15rem;
}
.modal[hidden], .modal-overlay[hidden] { display: none !important; }
.modal-close {
  position: absolute; right: 0.78rem; top: 0.74rem; width: 36px; height: 36px;
  border: 1px solid rgba(124, 157, 237, 0.4); border-radius: 10px;
  background: rgba(11, 22, 49, 0.9); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--orange-soft); }
.modal-close svg { width: 16px; height: 16px; }
.modal h2 { margin: 0 0 0.48rem; }
.modal p { margin: 0 0 1rem; color: var(--muted); }

@media (min-width: 880px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.2rem; }
  .hero-status { margin-bottom: 1.1rem; }
  .phone-frame { width: min(400px, 100%); }
  .pulse-card { display: inline-flex; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1120px) {
  .section { padding: 3.2rem 0; }
  .feature-subsection { margin-top: 2.5rem; }
  .download-card { padding: 2rem 1.5rem; }
  .footer-row { flex-direction: row; justify-content: space-between; text-align: left; }
}
