/* RoamFolio — Styles */

/* Variables */
:root {
  --dark:    #050A14;
  --darker:  #000000;
  --navy:    #0A1526;
  --light:   #F5F5F7;
  --gold:    #F4A01A;
  --gold-l:  #FBBF24;
  --blue:    #3B74CE;
  --sky:     #60A8DF;
  --white:   #FFFFFF;
  --t-dark:  #1D1D1F;
  --t-mid:   #6E6E73;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 100px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1200px;
  --nav-h: 62px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Base */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--t-dark);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography */
h1 {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { line-height: 1.7; }
.gold-text { color: var(--gold); }

/* Section labels */
.section-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
}
.section-eyebrow.light { color: var(--sky); }
.section-h2 {
  color: var(--t-dark);
  margin-bottom: 56px;
}
.section-h2.light { color: white; }
.section-sub {
  font-size: 1.05rem;
  color: var(--t-mid);
  max-width: 58ch;
  margin-bottom: 56px;
}
.section-sub.light { color: rgba(255,255,255,0.52); }

/* NAV */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-nav.scrolled {
  background: rgba(5,10,20,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.nav-logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-badge {
  background: rgba(244,160,26,0.12);
  border: 1px solid rgba(244,160,26,0.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: var(--r-xl);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

/* HERO */
.hero {
  min-height: 100svh;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--nav-h) 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,116,206,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,116,206,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 38%, black 28%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 38%, black 28%, transparent 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.g1 {
  top: -80px; left: 18%;
  width: 640px; height: 520px;
  background: radial-gradient(ellipse, rgba(59,116,206,0.22) 0%, transparent 68%);
  filter: blur(60px);
}
.g2 {
  bottom: -80px; right: 12%;
  width: 440px; height: 380px;
  background: radial-gradient(ellipse, rgba(244,160,26,0.10) 0%, transparent 70%);
  filter: blur(80px);
}
.hero-routes {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hr {
  fill: none;
  stroke: rgba(255,255,255,0.055);
  stroke-width: 1.5;
}
.hr-1 {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawLine 3.8s var(--ease) forwards 0.4s;
}
.hr-2 {
  stroke-dasharray: 1900;
  stroke-dashoffset: 1900;
  animation: drawLine 3.8s var(--ease) forwards 0.9s;
}
.hr-3 {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: drawLine 3.8s var(--ease) forwards 1.4s;
}
.hr-dot {
  fill: var(--gold);
  opacity: 0;
  animation: dotFade 0.6s ease forwards;
}
.hd-1 { animation-delay: 2.5s; }
.hd-2 { animation-delay: 3.0s; }
.hd-3 { animation-delay: 2.8s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes dotFade  { to { opacity: 0.55; } }

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-copy { color: white; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.eyebrow-pip {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pip 2.2s ease-in-out infinite;
}
@keyframes pip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.hero-h1 {
  color: white;
  margin-bottom: 22px;
}
.hero-h1 em {
  font-style: italic;
  background: linear-gradient(110deg, #F4A01A 0%, #FBBF24 45%, #FB923C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: rgba(255,255,255,0.58);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 46ch;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.appstore-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
  transition: background 0.22s, border-color 0.22s;
}
.appstore-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.32);
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap 0.2s var(--ease);
}
.arrow-link:hover { gap: 10px; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.app-icon-wrap {
  position: relative;
  width: clamp(200px, 30vw, 340px);
  aspect-ratio: 1;
}
.app-icon-glow {
  position: absolute;
  inset: -35%;
  background: radial-gradient(ellipse, rgba(59,116,206,0.28) 0%, transparent 68%);
  animation: breathe 4.5s ease-in-out infinite;
  border-radius: 50%;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.12); opacity: 1; }
}
.app-icon-img {
  width: 100%; height: 100%;
  border-radius: 22.5%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.09),
    0 28px 80px rgba(0,0,0,0.72),
    0 0 80px rgba(59,116,206,0.18);
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-0.8deg); }
  50%       { transform: translateY(-16px) rotate(0.8deg); }
}

/* Floating tags */
.float-tag {
  position: absolute;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-xl);
  white-space: nowrap;
  pointer-events: none;
}
.f-tag-1 { top: 8%;   left: -12%; animation: floatA 6s ease-in-out infinite; }
.f-tag-2 { top: 48%;  right: -18%; animation: floatA 6s ease-in-out infinite 2.1s; }
.f-tag-3 { bottom: 9%; left: -8%; animation: floatA 6s ease-in-out infinite 1.1s; }
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

/* REVEAL (load) */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* SCROLL REVEAL */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.68s var(--ease),
    transform 0.68s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-scroll-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* MARQUEE */
.marquee-wrap {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-inner { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.mq-sep { color: rgba(255,255,255,0.12) !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* STATS */
.stats-section {
  background: var(--dark);
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--dark);
  padding: 40px 36px;
  text-align: center;
}
.stat-number {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #ffffff 30%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* HOW IT WORKS */
.how-section {
  background: var(--light);
  padding: 120px 0;
}
.how-section .section-h2 { margin-bottom: 56px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 44px 36px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.055);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.11);
}
.step-n {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.step-card h3 { color: var(--t-dark); margin-bottom: 10px; }
.step-card p  { font-size: 0.93rem; color: var(--t-mid); }

/* FEATURES */
.features-section {
  background: var(--navy);
  padding: 120px 0;
}
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feat-large { grid-column: span 2; }
.feat-privacy { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.feat-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition:
    background 0.28s,
    border-color 0.28s,
    transform 0.32s var(--ease);
}
.feat-card:hover {
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.feat-large {
  padding: 44px 40px;
  min-height: 240px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(59,116,206,0.2) 0%, transparent 55%),
    rgba(255,255,255,0.045);
}
.feat-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
}
.feat-card h3 { color: white; margin-bottom: 10px; }
.feat-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.feat-privacy-content h3 { color: white; margin-bottom: 10px; }
.feat-privacy-content p  { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.feat-privacy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.feat-privacy-pills span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--r-xl);
}

/* TRANSPORT MODES */
.modes-section {
  background: var(--darker);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.modes-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,116,206,0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,116,206,0.038) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}
.mode-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  padding: 26px 22px;
  transition:
    background 0.28s,
    border-color 0.28s,
    transform 0.32s var(--ease);
}
.mode-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-5px);
}
.mode-emoji {
  font-size: 1.9rem;
  margin-bottom: 14px;
  display: block;
}
.mode-route-wrap {
  margin: 14px 0;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}
.mode-card.routes-visible .mode-route-wrap {
  clip-path: inset(0 0% 0 0);
}
.route-svg { width: 100%; height: 28px; display: block; overflow: visible; }
.mode-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}
.mode-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.55;
}

/* PRIVACY STRIP */
.privacy-strip {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}
.privacy-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}
.privacy-icon-wrap {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}
.privacy-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.privacy-text strong {
  color: white;
  font-size: 1.08rem;
  font-weight: 700;
  display: block;
}
.privacy-text span {
  color: rgba(255,255,255,0.46);
  font-size: 0.9rem;
}

/* CTA */
.cta-section {
  background: var(--dark);
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 720px; height: 520px;
  background: radial-gradient(ellipse, rgba(244,160,26,0.10) 0%, rgba(59,116,206,0.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.cta-routes-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.cta-container { position: relative; z-index: 1; }
.cta-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: block;
}
.cta-h2 {
  color: white;
  margin-bottom: 18px;
}
.cta-sub {
  color: rgba(255,255,255,0.52);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0 auto 40px;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--r-xl);
  margin-bottom: 18px;
  transition: background 0.22s, border-color 0.22s;
}
.cta-badge:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.22);
}
.cta-fine {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.26);
  margin: 0;
  max-width: none;
}

/* FOOTER */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-logo img { width: 24px; height: 24px; border-radius: 6px; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  color: rgba(255,255,255,0.36);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  color: rgba(255,255,255,0.26);
  font-size: 0.85rem;
  max-width: none;
}

/* Privacy / Terms pages */
.doc-hero {
  background: var(--dark);
  padding: 120px 0 64px;
  text-align: center;
}
.doc-hero h1 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.doc-hero p  { color: rgba(255,255,255,0.5); margin: 0 auto; }
.doc-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.doc-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #E5E7EB;
  color: var(--t-dark);
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body p  { color: var(--t-mid); margin-bottom: 16px; max-width: none; }
.doc-body ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--t-mid);
  margin-bottom: 16px;
}
.doc-body ul li { margin-bottom: 8px; }
.doc-body strong { color: var(--t-dark); }
.doc-last-updated {
  display: inline-block;
  font-size: 0.82rem;
  color: #6B7280;
  background: #F3F4F6;
  border-radius: 6px;
  padding: 4px 12px;
  margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
    padding-top: 60px;
  }
  .hero-sub    { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual  { order: -1; }
  .app-icon-wrap { width: clamp(160px, 48vw, 260px); }
  .f-tag-1 { left: -5%; }
  .f-tag-2 { right: -8%; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-grid   { grid-template-columns: 1fr; }
  .features-bento { grid-template-columns: 1fr 1fr; }
  .feat-large  { grid-column: span 2; }
  .feat-privacy { grid-column: span 2; grid-template-columns: 1fr; gap: 24px; }
  .feat-privacy-pills { justify-content: flex-start; }
  .modes-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .how-section,
  .features-section,
  .modes-section,
  .cta-section { padding: 88px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-bento { grid-template-columns: 1fr; }
  .feat-large  { grid-column: span 1; min-height: auto; }
  .feat-privacy { grid-column: span 1; grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(5,10,20,0.96);
    backdrop-filter: blur(24px);
    padding: 40px 28px;
    gap: 28px;
    z-index: 199;
  }
  .nav-links.open a { font-size: 1.1rem; color: rgba(255,255,255,0.8); }
  .nav-toggle { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
  .f-tag-1, .f-tag-2, .f-tag-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── PREMIUM EFFECTS ── */

/* Hero cursor spotlight */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px circle at var(--mx, 50%) var(--my, 50%),
    rgba(59,116,206,0.08),
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
  transition: background 0.15s ease;
}

/* Card cursor spotlight glow */
.feat-card,
.mode-card,
.step-card {
  --x: 50%;
  --y: 50%;
  position: relative;
  overflow: hidden;
  transition:
    background 0.28s,
    border-color 0.28s,
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.feat-card::before,
.mode-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--x) var(--y),
    rgba(244,160,26,0.10),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.feat-card:hover::before,
.mode-card:hover::before {
  opacity: 1;
}
.feat-card > *,
.mode-card > * {
  position: relative;
  z-index: 1;
}

/* Gradient border shimmer on hover */
.feat-card::after,
.mode-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(244,160,26,0.4) 0%,
    rgba(59,116,206,0.2) 40%,
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.feat-card:hover::after,
.mode-card:hover::after {
  opacity: 1;
}

/* Step card gradient accent */
.step-card {
  border-top: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--x, 50%) var(--y, 50%),
    rgba(244,160,26,0.07),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.step-card:hover::before { opacity: 1; }
.step-card > * { position: relative; z-index: 1; }
.step-card::after {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(244,160,26,0));
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.35s;
}
.step-card:hover::after { opacity: 1; }

/* Section heading gradient (dark sections) */
.section-h2.light {
  background: linear-gradient(160deg, #ffffff 40%, rgba(255,255,255,0.65) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold gradient text utility */
.gold-text {
  background: linear-gradient(110deg, #F4A01A 0%, #FBBF24 50%, #FB923C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Appstore pill gradient border on hover */
.appstore-pill {
  position: relative;
}
.appstore-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(244,160,26,0.5), rgba(59,116,206,0.3), rgba(244,160,26,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.appstore-pill:hover::before { opacity: 1; }

/* CTA section animated gradient bg */
@keyframes ctaGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.15); }
}
.cta-glow { animation: ctaGlow 6s ease-in-out infinite; }

/* Hero eyebrow shimmer */
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero-eyebrow {
  background: linear-gradient(
    90deg,
    rgba(244,160,26,0.7) 0%,
    rgba(251,191,36,1)   40%,
    rgba(244,160,26,0.7) 60%,
    rgba(251,191,36,0.5) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3.5s linear infinite;
}
.eyebrow-pip {
  -webkit-text-fill-color: initial;
  background: var(--gold);
  background-clip: initial;
  -webkit-background-clip: initial;
  flex-shrink: 0;
}

/* Nav scrolled: add gold accent line */
.site-nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,160,26,0.3), transparent);
}

/* Floating tags glass upgrade */
.float-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Mode card colored accents on hover */
.mode-card:nth-child(1):hover { border-color: rgba(255,255,255,0.25); }
.mode-card:nth-child(2):hover { border-color: rgba(244,160,26,0.4); }
.mode-card:nth-child(3):hover { border-color: rgba(96,168,223,0.4); }
.mode-card:nth-child(4):hover { border-color: rgba(45,212,191,0.4); }
.mode-card:nth-child(5):hover { border-color: rgba(134,239,172,0.4); }
.mode-card:nth-child(6):hover { border-color: rgba(196,181,253,0.4); }
.mode-card:nth-child(7):hover { border-color: rgba(252,165,165,0.4); }
.mode-card:nth-child(8):hover { border-color: rgba(253,230,138,0.4); }

/* Privacy strip text upgrade */
.privacy-text strong {
  background: linear-gradient(110deg, #ffffff, rgba(255,255,255,0.85));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section divider glow line */
.how-section,
.features-section,
.modes-section {
  position: relative;
}
.how-section::before,
.features-section::before,
.modes-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,160,26,0.25), transparent);
}
.modes-section::before {
  background: linear-gradient(90deg, transparent, rgba(59,116,206,0.2), transparent);
  z-index: 2;
}
