/* ==========================================================================
   Arrow Rival — Neon Cyberpunk Landing Page
   Fonts: Russo One (headings) + Chakra Petch (body)
   ========================================================================== */

:root {
  --bg-deep: #0a0a1a;
  --bg-card: #12122e;
  --bg-glass: #161638;
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff00aa;
  --neon-orange: #ff8c00;
  --neon-purple: #7c3aed;
  --neon-green: #32cd32;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.1);
  --glow-cyan: 0 0 16px rgba(0, 245, 255, 0.3);
  --glow-magenta: 0 0 16px rgba(255, 0, 170, 0.3);
  --font-display: 'Russo One', sans-serif;
  --font-body: 'Chakra Petch', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --transition: 200ms ease;
  --z-bg: 0;
  --z-content: 10;
  --z-hud: 50;
  --z-dock: 40;
  --z-modal: 60;
  --dock-height: 72px;
  --hud-height: 64px;
}

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

html {
  scroll-padding-top: calc(var(--hud-height) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-height) + 24px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--neon-cyan);
  color: var(--bg-deep);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---- Tunnel background (static CSS, GPU-friendly) ---- */
.tunnel {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(0, 245, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 85%, rgba(255, 0, 170, 0.1), transparent 50%),
    radial-gradient(ellipse 45% 35% at 5% 70%, rgba(124, 58, 237, 0.12), transparent 50%),
    linear-gradient(180deg, #080818 0%, #0e0e28 45%, #0a0a1a 100%);
}

.tunnel__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 170, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}

/* ---- Energy scroll rail ---- */
.energy-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: calc(var(--z-hud) + 1);
  background: rgba(255, 255, 255, 0.06);
}
.energy-rail__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-orange));
  transition: width 80ms linear;
}

/* ---- HUD top bar ---- */
.hud-bar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: var(--z-hud);
  transition: transform var(--transition), opacity var(--transition);
}
.hud-bar--hidden { transform: translateY(-120%); opacity: 0; }

.hud-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: opacity var(--transition);
}
.hud-brand:hover { opacity: 0.85; }

.hud-brand__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.hud-brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.hud-brand__sub {
  display: block;
  font-size: 0.7rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hud-nav {
  display: none;
  gap: 4px;
}
.hud-nav__link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.hud-nav__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  transition: background var(--transition), border-color var(--transition);
}
.hud-menu-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 245, 255, 0.3);
}

/* ---- Mobile menu ---- */
.mobile-menu {
  position: fixed;
  top: calc(var(--hud-height) + 24px);
  left: 12px;
  right: 12px;
  z-index: calc(var(--z-hud) - 1);
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transform-origin: top center;
  animation: menuSlide 250ms ease;
}
.mobile-menu[hidden] { display: none; }

@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mobile-menu__list { margin-bottom: 16px; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.mobile-menu__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}
.mobile-menu__link svg { width: 20px; height: 20px; color: var(--neon-cyan); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn--neon {
  padding: 10px 20px;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: var(--glow-cyan);
}
.btn--neon:hover {
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.45);
}

.btn--sm { padding: 8px 16px; font-size: 0.8rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--store {
  padding: 12px 22px;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn--store:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}
.btn--store-alt {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(255, 0, 170, 0.15));
  border-color: rgba(0, 245, 255, 0.3);
}
.btn--store-alt:hover {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.25), rgba(255, 0, 170, 0.25));
}

.btn__store-icon { flex-shrink: 0; }

/* ---- Hero ---- */
.hero {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--hud-height) + 48px) 20px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: var(--radius-pill);
}
.hero__badge svg { width: 16px; height: 16px; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero__title-line { display: block; }
.hero__title-line--glow {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-magenta) 50%, var(--neon-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
}
.stat-pill svg { width: 14px; height: 14px; color: var(--neon-magenta); }

/* Phone frame */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: min(280px, 75vw);
}
.phone-frame__bezel {
  position: relative;
  z-index: 2;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.1);
}
.phone-frame__screen {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 390 / 844;
  object-fit: cover;
}
.phone-frame__glow {
  position: absolute;
  inset: -15%;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.18) 0%, rgba(255, 0, 170, 0.1) 45%, transparent 70%);
  opacity: 0.85;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid;
}
.float-chip svg { width: 16px; height: 16px; }
.float-chip--cyan {
  top: 8%;
  left: -8%;
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.12);
  border-color: rgba(0, 245, 255, 0.35);
}
.float-chip--magenta {
  top: 40%;
  right: -12%;
  color: var(--neon-magenta);
  background: rgba(255, 0, 170, 0.12);
  border-color: rgba(255, 0, 170, 0.35);
}
.float-chip--orange {
  bottom: 12%;
  left: -4%;
  color: var(--neon-orange);
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.35);
}

/* ---- Section shared ---- */
.section-head { margin-bottom: 36px; }
.section-head--center { text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 10px;
}
.section-desc {
  color: var(--text-muted);
  max-width: 520px;
}
.section-head--center .section-desc { margin: 0 auto; }

/* ---- Modes rail ---- */
.modes {
  position: relative;
  z-index: var(--z-content);
  padding: 80px 0 60px;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.modes .section-head {
  padding: 0 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.modes-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 20px;
  padding: 8px 20px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.modes-rail::-webkit-scrollbar { display: none; }

.mode-card {
  flex: 0 0 min(88vw, 420px);
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.mode-card:hover { border-color: rgba(255, 255, 255, 0.15); }

.mode-card--cyan:hover { box-shadow: var(--glow-cyan); border-color: rgba(0, 245, 255, 0.3); }
.mode-card--magenta:hover { box-shadow: var(--glow-magenta); border-color: rgba(255, 0, 170, 0.3); }
.mode-card--orange:hover { box-shadow: 0 0 20px rgba(255, 140, 0, 0.4); border-color: rgba(255, 140, 0, 0.3); }

.mode-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  border: 2px solid;
}
.mode-card--cyan .mode-card__icon-wrap {
  color: var(--neon-cyan);
  border-color: rgba(0, 245, 255, 0.4);
  background: rgba(0, 245, 255, 0.08);
}
.mode-card--magenta .mode-card__icon-wrap {
  color: var(--neon-magenta);
  border-color: rgba(255, 0, 170, 0.4);
  background: rgba(255, 0, 170, 0.08);
}
.mode-card--orange .mode-card__icon-wrap {
  color: var(--neon-orange);
  border-color: rgba(255, 140, 0, 0.4);
  background: rgba(255, 140, 0, 0.08);
}
.mode-card__icon-wrap svg { width: 28px; height: 28px; }

.mode-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.mode-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.mode-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mode-card__tags li {
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
}

.mode-card__preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}
.mode-card__preview img {
  width: 100%;
  aspect-ratio: 280 / 500;
  object-fit: cover;
}

.modes-rail-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
}
.modes-rail-hint svg { width: 18px; height: 18px; }

/* ---- Perks grid ---- */
.perks {
  position: relative;
  z-index: var(--z-content);
  padding: 60px 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.perk-tile {
  padding: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
  cursor: default;
}
.perk-tile:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.perk-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid;
}
.perk-tile__icon svg { width: 22px; height: 22px; }
.perk-tile__icon--cyan { color: var(--neon-cyan); border-color: rgba(0,245,255,0.3); background: rgba(0,245,255,0.08); }
.perk-tile__icon--magenta { color: var(--neon-magenta); border-color: rgba(255,0,170,0.3); background: rgba(255,0,170,0.08); }
.perk-tile__icon--orange { color: var(--neon-orange); border-color: rgba(255,140,0,0.3); background: rgba(255,140,0,0.08); }
.perk-tile__icon--purple { color: var(--neon-purple); border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.08); }
.perk-tile__icon--green { color: var(--neon-green); border-color: rgba(50,205,50,0.3); background: rgba(50,205,50,0.08); }

.perk-tile__title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
}
.perk-tile__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---- Download ---- */
.download {
  position: relative;
  z-index: var(--z-content);
  padding: 40px 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.download__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.download__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 245, 255, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(255, 0, 170, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.download__content { position: relative; z-index: 1; }

.download__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 12px;
}
.download__desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 480px;
}
.download__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.download__visual img {
  width: min(260px, 70vw);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* ---- Footer ---- */
.site-footer {
  position: relative;
  z-index: var(--z-content);
  padding: 40px 20px 24px;
  border-top: 1px solid var(--border-glass);
  background: rgba(10, 10, 26, 0.8);
}
.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.site-footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.site-footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}
.site-footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: pointer;
}
.site-footer__links a:hover { color: var(--neon-cyan); }
.site-footer__copy {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.6);
}

/* ---- Bottom dock nav ---- */
.dock-nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-dock);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.dock-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
  min-width: 56px;
}
.dock-nav__item svg { width: 20px; height: 20px; }
.dock-nav__item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}
.dock-nav__item--active {
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.08);
}
.dock-nav__item--cta {
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: var(--glow-cyan);
}
.dock-nav__item--cta:hover {
  box-shadow: var(--glow-cyan);
}

/* ---- Modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 250ms ease;
}
.modal[open] { opacity: 1; }
.modal::backdrop { background: transparent; }

.modal__card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 36px 28px 28px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  animation: modalIn 300ms ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.modal__close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}
.modal__close svg { width: 20px; height: 20px; }

.modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.1);
  border: 2px solid rgba(0, 245, 255, 0.3);
}
.modal__icon svg { width: 32px; height: 32px; }

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.modal__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* ---- Reveal animation ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
  .hud-nav { display: flex; }
  .hud-menu-btn { display: none; }
  .btn--sm span { display: inline; }

  .hero {
    grid-template-columns: 1fr 1fr;
    padding: calc(var(--hud-height) + 64px) 40px 64px;
  }
  .hero__visual { order: 2; }
  .hero__content { order: 1; }

  .phone-frame { width: min(300px, 40vw); }

  .modes-rail-hint { display: none; }

  .download__card {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 48px 40px;
  }

  .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
  .site-footer__copy { width: 100%; text-align: center; margin-top: 8px; }
}

@media (min-width: 1024px) {
  .modes-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
  }
  .mode-card {
    flex: unset;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
