:root {
  --bg: #010b13;
  --bg-deep: #000508;
  --surface: #071521;
  --surface-2: #0c1f32;
  --surface-elevated: rgba(12, 31, 50, 0.72);
  --border: rgba(77, 195, 255, 0.14);
  --border-strong: rgba(77, 195, 255, 0.28);
  --text: #f4f9ff;
  --muted: #8eb4d4;
  --muted-soft: #6a8faa;
  --accent: #00aeef;
  --accent-bright: #4dc3ff;
  --accent-deep: #0072ff;
  --green: #00e676;
  --red: #ff3b5c;
  --glow: rgba(0, 174, 239, 0.28);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(0, 114, 255, 0.18);
  --card-bg: linear-gradient(168deg, rgba(16, 40, 62, 0.94) 0%, rgba(8, 22, 36, 0.92) 48%, rgba(5, 14, 24, 0.96) 100%);
  --card-bg-accent: linear-gradient(168deg, rgba(0, 174, 239, 0.16) 0%, rgba(8, 22, 36, 0.92) 42%, rgba(0, 114, 255, 0.1) 100%);
  --card-bg-elevated: linear-gradient(168deg, rgba(18, 44, 68, 0.96) 0%, rgba(10, 26, 42, 0.94) 50%, rgba(6, 16, 28, 0.98) 100%);
  --card-highlight: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 55%);
  --card-border: rgba(77, 195, 255, 0.18);
  --card-border-strong: rgba(77, 195, 255, 0.32);
  --card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 10px 32px rgba(0, 0, 0, 0.28);
  --card-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 36px rgba(0, 114, 255, 0.14);
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --container: min(1160px, calc(100% - 2.5rem));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: var(--container); margin: 0 auto; }

.center { text-align: center; }

/* ── Background parallax ── */
.parallax-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.parallax-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}

.parallax-orb--1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
}

.parallax-orb--2 {
  width: 400px;
  height: 400px;
  top: 42%;
  right: -160px;
  background: radial-gradient(circle, var(--accent-deep) 0%, transparent 68%);
}

.parallax-grid {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 130%;
  height: 50%;
  transform: translateX(-50%) perspective(520px) rotateX(74deg);
  background-image:
    linear-gradient(rgba(0, 174, 239, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 239, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to top, black, transparent 88%);
  will-change: transform;
}

.site-shell { position: relative; z-index: 1; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(1, 11, 19, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px var(--glow));
}

.site-header .logo img {
  width: 56px;
  height: 56px;
}

.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.logo-text small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--muted-soft);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover { color: var(--accent-bright); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(7, 21, 33, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-sm { padding: 0.62rem 1.1rem; font-size: 0.84rem; }

.btn-lg { padding: 1rem 1.75rem; font-size: 0.95rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 114, 255, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(0, 174, 239, 0.4);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(7, 21, 33, 0.55);
}

.btn-ghost:hover {
  border-color: var(--accent-bright);
  background: rgba(0, 174, 239, 0.08);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.35rem;
}

.btn-icon .ic {
  width: 1.05em;
  height: 1.05em;
}

.btn-android {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  vertical-align: middle;
  opacity: 0.95;
}

.btn-android .ic {
  width: 18px;
  height: 18px;
}

/* react-icons inline SVGs */
.ic {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.download-btn {
  gap: 0.35rem;
}

/* ── Typography ── */
.eyebrow {
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.65rem);
  font-weight: 800;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

h1 span, h2 span {
  background: linear-gradient(135deg, var(--accent-bright), #7dd3fc 45%, var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead, .section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-top: 1rem;
}

.section-sub { margin-inline: auto; }

.section { padding: 5.5rem 0; }

.section-head { margin-bottom: 2.5rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 174, 239, 0.08);
  color: var(--accent-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* ── Hero ── */
.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy .lead { margin: 1.25rem 0 1.75rem; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.metric {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background:
    var(--card-highlight),
    var(--card-bg);
  box-shadow: var(--card-shadow);
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-bright);
}

.metric span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted-soft);
  font-size: 0.88rem;
}

.avatars { display: flex; }

.avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-deep);
  margin-left: -9px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-bright));
}

.avatars span:first-child { margin-left: 0; }

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phone frames with real screenshots */
.phone-frame {
  position: relative;
  width: min(100%, 240px);
  padding: 10px;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(165deg, #1a3048 0%, #0a1520 100%);
  box-shadow:
    var(--shadow-md),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 40px rgba(0, 174, 239, 0.12);
  will-change: transform;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  border-radius: 999px;
  background: #050f18;
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.phone-frame--back {
  position: absolute;
  right: 8%;
  top: 6%;
  transform: rotate(7deg);
  opacity: 0.88;
  z-index: 1;
  width: min(52%, 210px);
}

.phone-frame--front {
  position: absolute;
  right: 28%;
  top: 14%;
  transform: rotate(-4deg);
  z-index: 2;
  width: min(58%, 240px);
}

.phone-frame--solo {
  width: min(100%, 260px);
  margin: 0 auto;
}

.phone-frame--download {
  width: min(100%, 240px);
}

.phone-frame--solo::before {
  width: 64px;
  height: 18px;
  top: 10px;
}

.hero-float {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border-strong);
  background:
    var(--card-highlight),
    rgba(1, 11, 19, 0.92);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--card-shadow);
  will-change: transform;
}

.hero-float span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-float strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--green);
}

.hero-float--1 { left: 0; bottom: 22%; }
.hero-float--2 { right: 0; bottom: 8%; }

/* ── Logo strip ── */
.logo-strip {
  padding: 1.25rem 0 2rem;
  border-block: 1px solid var(--border);
  background: rgba(7, 21, 33, 0.35);
}

.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.logo-strip-inner span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Features ── */
.features { background: linear-gradient(180deg, transparent, rgba(0, 114, 255, 0.04), transparent); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background:
    var(--card-highlight),
    var(--card-bg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px) saturate(120%);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(0, 174, 239, 0.08), transparent 42%);
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--card-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.feature-card--accent {
  background:
    var(--card-highlight),
    var(--card-bg-accent);
  border-color: var(--card-border-strong);
}

.feature-card--accent::before {
  background: radial-gradient(circle at 100% 0%, rgba(0, 174, 239, 0.18), transparent 48%);
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--accent-bright);
  background:
    linear-gradient(145deg, rgba(0, 174, 239, 0.18), rgba(0, 114, 255, 0.08));
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-icon .ic {
  width: 22px;
  height: 22px;
}

.feature-card h3 { position: relative; z-index: 1; margin-bottom: 0.6rem; }
.feature-card p { position: relative; z-index: 1; color: var(--muted); font-size: 0.94rem; }

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background:
    var(--card-highlight),
    var(--card-bg);
  box-shadow: var(--card-shadow);
  min-height: 180px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1.35rem;
  right: 1.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 195, 255, 0.35), transparent);
}

.step-card:hover {
  border-color: var(--card-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

.step-card h3 { margin-bottom: 0.55rem; }
.step-card p { color: var(--muted); font-size: 0.9rem; }

/* ── Security ── */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.checklist {
  list-style: none;
  margin-top: 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.security-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background:
    var(--card-highlight),
    radial-gradient(circle at 50% 24%, rgba(0, 174, 239, 0.12), transparent 58%),
    var(--card-bg-elevated);
  box-shadow: var(--card-shadow);
}

/* ── FAQ ── */
.faq-grid {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background:
    var(--card-highlight),
    var(--card-bg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--card-border-strong);
  box-shadow: var(--card-shadow-hover);
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-item p a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Download ── */
.download {
  padding-top: 2rem;
}

.download-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border-strong);
  background:
    var(--card-highlight),
    radial-gradient(circle at 100% 0%, rgba(0, 174, 239, 0.16), transparent 44%),
    radial-gradient(circle at 0% 100%, rgba(0, 114, 255, 0.1), transparent 40%),
    var(--card-bg-elevated);
  box-shadow: var(--card-shadow-hover);
}

.download-copy .lead {
  margin-bottom: 1.25rem;
}

.download-steps {
  list-style: none;
  margin-bottom: 1.5rem;
}

.download-steps li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.download-steps li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-bright);
  font-weight: 700;
}

.download-steps strong { color: var(--text); }

.download-meta {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.download-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── CTA band ── */
.cta-band {
  padding: 0 0 5rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border-strong);
  background:
    var(--card-highlight),
    radial-gradient(circle at 0% 0%, rgba(0, 174, 239, 0.18), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(0, 114, 255, 0.12), transparent 42%),
    var(--card-bg-elevated);
  box-shadow: var(--card-shadow-hover);
}

.cta-inner p {
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: 48ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0, 5, 8, 0.4), #000508);
  padding: 4rem 0 2rem;
  color: var(--muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand { max-width: 320px; }

.footer-logo { margin-bottom: 1rem; }

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted-soft);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(7, 21, 33, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  background: rgba(0, 174, 239, 0.08);
}

.footer-social .ic {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted-soft);
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent-bright); }

.footer-note {
  font-size: 0.82rem;
  color: var(--muted-soft);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0 0.75rem;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal a {
  color: var(--muted-soft);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text); }

.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted-soft);
  opacity: 0.85;
  max-width: 90ch;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 68px;
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(1, 11, 19, 0.96);
    backdrop-filter: blur(16px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 10px;
  }

  .nav a:hover { background: rgba(0, 174, 239, 0.08); }

  .header-cta .btn-ghost { display: none; }

  .hero-grid,
  .security-grid,
  .download-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 400px;
    margin-top: 1rem;
  }

  .phone-frame--back {
    right: 2%;
    width: 46%;
  }

  .phone-frame--front {
    right: 22%;
    width: 52%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-metrics { grid-template-columns: 1fr; }
  .feature-grid,
  .steps-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .phone-frame--back {
    right: 0;
    top: 4%;
    width: 48%;
  }

  .phone-frame--front {
    right: 18%;
    top: 12%;
    width: 54%;
  }

  .hero-float--1 { left: 0; bottom: 10%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-parallax] { transform: none !important; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Referral registration page ── */
.register-page .register-shell {
  min-height: 100vh;
}

.register-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.register-main {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 4rem;
}

.register-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  align-items: start;
}

.register-card,
.register-side-card,
.register-success-card {
  background:
    var(--card-highlight),
    var(--card-bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px) saturate(120%);
  box-shadow: var(--card-shadow);
}

.register-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0.35rem 0 0.75rem;
}

.register-intro .lead {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.inviter-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.22);
}

.inviter-banner strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
}

.inviter-banner p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.inviter-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 230, 118, 0.18);
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.register-alert {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 59, 92, 0.1);
  border: 1px solid rgba(255, 59, 92, 0.28);
  color: #ffb3c1;
  font-size: 0.88rem;
}

.register-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-field .optional {
  font-weight: 500;
  opacity: 0.75;
}

.form-field input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
}

.form-field input:focus {
  outline: 2px solid rgba(77, 195, 255, 0.35);
  border-color: var(--accent-bright);
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted-soft);
}

.register-submit {
  width: 100%;
  margin-top: 0.35rem;
}

.register-footnote {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.register-footnote a {
  color: var(--accent-bright);
  text-decoration: underline;
}

.register-side-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.register-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.register-steps li {
  margin-bottom: 0.65rem;
}

.register-steps strong {
  color: var(--text);
}

.register-success {
  padding: 2rem 0 4rem;
}

.register-success-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 230, 118, 0.15);
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 800;
}

.success-meta {
  color: var(--muted);
  margin: 0.5rem 0 1.25rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .register-layout {
    grid-template-columns: 1fr;
  }
}
