/* ============================================================
   SPORTIFYR — Marketing Site Styles
   Dark theme | Inter (display + body) + Instrument Serif (editorial italic accent)
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  --navy-950: #060B18;
  --navy-900: #0A0F1E;
  --navy-800: #111827;
  --navy-700: #1C2537;
  --navy-600: #243048;
  --navy-500: #2E3D5C;
  --lime: #C8FF3E;
  --lime-hover: #D4FF6A;
  --lime-dim: rgba(200, 255, 62, 0.10);
  --lime-border: rgba(200, 255, 62, 0.22);
  --coral: #FF5733;
  --coral-dim: rgba(255, 87, 51, 0.10);
  --coral-border: rgba(255, 87, 51, 0.22);
  --sky: #3DAFE8;
  --sky-dim: rgba(61, 175, 232, 0.10);
  --sky-border: rgba(61, 175, 232, 0.22);
  --purple: #9B5DE5;
  --purple-dim: rgba(155, 93, 229, 0.10);
  --purple-border: rgba(155, 93, 229, 0.22);
  --neutral-100: #F4F5F7;
  --neutral-300: #C8CDD6;
  --neutral-400: #9AA0AC;
  --neutral-450: #8E97A4;   /* AA-compliant on navy-950 at small sizes (~5.5:1) */
  --neutral-500: #6B7280;   /* decorative only — fails AA below 14px */
  --white: #FFFFFF;
  --card-border: rgba(255, 255, 255, 0.07);
  --card-border-hover: rgba(255, 255, 255, 0.13);
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 28px rgba(200, 255, 62, 0.30);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-800); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--neutral-500); }

/* ---- Background Orbs ---- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0;
  animation: orb-fade-in 1.8s ease forwards;
}

@keyframes orb-fade-in {
  to { opacity: 1; }
}

.orb-a {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200, 255, 62, 0.06) 0%, transparent 70%);
  top: -300px;
  left: -300px;
  animation-delay: 0.2s;
}

.orb-b {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(61, 175, 232, 0.05) 0%, transparent 70%);
  top: 40%;
  right: -260px;
  animation-delay: 0.5s;
}

.orb-c {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(155, 93, 229, 0.04) 0%, transparent 70%);
  bottom: 5%;
  left: 25%;
  animation-delay: 0.8s;
}

/* ---- Layout ---- */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Focus States (WCAG AA) ---- */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 280ms ease, background 280ms ease;
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  transition: all 260ms ease;
}

.site-header.is-floating .nav-wrap {
  margin: 10px 16px 0;
  padding: 14px 20px;
  background: rgba(6, 11, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--lime);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-400);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

/* Nav CTA */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-nav-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--lime);
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.btn-nav-cta:hover {
  background: var(--lime-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 260ms ease, opacity 180ms ease;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 340ms ease, opacity 240ms ease, padding 240ms ease;
  background: rgba(6, 11, 24, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 24px;
}

.mobile-nav.is-open {
  max-height: 420px;
  opacity: 1;
  padding: 20px 24px;
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--neutral-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 160ms ease;
}

.mobile-nav a:hover {
  color: var(--white);
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav .btn-mobile-cta {
  margin-top: 16px;
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--lime);
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav .btn-mobile-cta:hover {
  background: var(--lime-hover);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 128px 24px 72px;
  position: relative;
  overflow: hidden;
}

.hero-grid-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 360px);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-300);
  letter-spacing: 0.4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(200, 255, 62, 0.5);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 24px;
  text-wrap: balance;
  font-feature-settings: "ss01", "cv11";
}

.hero-headline em {
  display: block;
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: 1.04em;
  margin-top: 0.05em;
  opacity: 0.92;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 400;
  color: var(--neutral-300);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 0 36px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--lime);
  border: none;
  border-radius: var(--radius-xl);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--lime-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-300);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.hero-device-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 680px;
}

.hero-device-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 62, 0.18) 0%, rgba(61, 175, 232, 0.08) 42%, transparent 72%);
  filter: blur(24px);
}

.hero-device {
  position: relative;
  width: min(100%, 330px);
  height: auto;
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.5));
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Stats strip */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-stat {
  padding: 0 40px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-450);
  margin-top: 6px;
  letter-spacing: 0.4px;
  display: block;
}

/* ============================================================
   SECTION BASE
   ============================================================ */

.section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.section-inner {
  margin-bottom: 56px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-300);
  letter-spacing: 0.4px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-title em {
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  opacity: 0.92;
}

.section-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--neutral-300);
  line-height: 1.55;
  max-width: 540px;
}

/* ============================================================
   APP PREVIEW MOCKUPS
   ============================================================ */

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mockup-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(11, 16, 26, 0.96));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.mockup-card img {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.42));
}

.mockup-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.mockup-card p {
  color: var(--neutral-400);
  line-height: 1.65;
  font-size: 14px;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--navy-800);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 62, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--neutral-100);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.feature-card:hover .feature-icon {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--card-border-hover);
  color: var(--white);
}

/* Subtle accent on hover only — restraint over rainbow */
.feature-card:hover .feature-icon.icon-lime   { color: var(--lime); }
.feature-card:hover .feature-icon.icon-sky    { color: var(--sky); }
.feature-card:hover .feature-icon.icon-coral  { color: var(--coral); }
.feature-card:hover .feature-icon.icon-purple { color: var(--purple); }

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--neutral-300);
  line-height: 1.6;
}

/* ============================================================
   DAY AS A RIVER
   ============================================================ */

.river-section {
  padding: 96px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 16, 30, 0.6) 50%, transparent 100%);
  position: relative;
  z-index: 1;
}

.river-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.river-content {
  order: 1;
}

.river-visual {
  order: 2;
}

.river-device-stack {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.river-phone {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.44));
}

.river-phone-main {
  width: min(100%, 330px);
  z-index: 2;
  transform: translateX(-36px);
}

.river-phone-accent {
  width: min(82%, 260px);
  right: 10px;
  bottom: 32px;
  z-index: 1;
  opacity: 0.95;
}

.river-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-300);
  letter-spacing: 0.4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.river-badge::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}

.river-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
  text-wrap: balance;
}

.river-desc {
  font-size: 16px;
  color: var(--neutral-400);
  line-height: 1.75;
  margin-bottom: 36px;
}

.river-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.river-bullets li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.river-bullet-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--sky-dim);
  border: 1px solid var(--sky-border);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.river-bullet-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.river-bullet-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.river-bullet-text span {
  font-size: 14px;
  color: var(--neutral-400);
  line-height: 1.6;
}

/* River timeline mockup */
.river-mockup {
  background: var(--navy-800);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.river-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--lime));
  opacity: 0.7;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-header-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.mockup-date {
  font-size: 12px;
  color: var(--neutral-500);
  font-weight: 500;
}

/* Timeline axis labels */
.timeline-axis {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}

.timeline-axis span {
  font-size: 10px;
  color: var(--neutral-500);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Timeline tracks */
.timeline-tracks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-track {
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--neutral-500);
  width: 28px;
  flex-shrink: 0;
  text-align: right;
}

.track-lane {
  flex: 1;
  height: 34px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.track-event {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
}

.track-event-label {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Track colors */
.track-event.sky {
  background: rgba(61, 175, 232, 0.25);
  border: 1px solid rgba(61, 175, 232, 0.35);
}
.track-event.sky .track-event-label { color: var(--sky); }

.track-event.lime {
  background: rgba(200, 255, 62, 0.18);
  border: 1px solid rgba(200, 255, 62, 0.28);
}
.track-event.lime .track-event-label { color: var(--lime); }

.track-event.coral {
  background: rgba(255, 87, 51, 0.20);
  border: 1px solid rgba(255, 87, 51, 0.30);
}
.track-event.coral .track-event-label { color: var(--coral); }

.track-event.purple {
  background: rgba(155, 93, 229, 0.20);
  border: 1px solid rgba(155, 93, 229, 0.30);
}
.track-event.purple .track-event-label { color: var(--purple); }

/* Current time marker */
.timeline-now {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--lime);
  left: 38%;
  box-shadow: 0 0 8px rgba(200, 255, 62, 0.6);
}

.timeline-now::before {
  content: 'NOW';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 1px;
}

/* Alert row */
.mockup-alert {
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(200, 255, 62, 0.06);
  border: 1px solid var(--lime-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-alert-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.mockup-alert-text {
  font-size: 12px;
  color: var(--neutral-300);
  line-height: 1.4;
}

.mockup-alert-text strong {
  color: var(--lime);
  font-weight: 600;
}

/* ============================================================
   INTEGRATIONS
   ============================================================ */

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.integration-card {
  background: var(--navy-800);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.integration-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.integration-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.integration-logo.google {
  background: rgba(66, 133, 244, 0.15);
  border: 1px solid rgba(66, 133, 244, 0.25);
}

.integration-logo.apple {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.integration-logo.teams {
  background: rgba(200, 255, 62, 0.10);
  border: 1px solid var(--lime-border);
}

.integration-logo.weather {
  background: rgba(61, 175, 232, 0.12);
  border: 1px solid var(--sky-border);
}

.integration-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.integration-desc {
  font-size: 14px;
  color: var(--neutral-400);
  line-height: 1.65;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--navy-800);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, var(--navy-800) 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

.pricing-card.featured:hover {
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--navy-950);
  background: var(--lime);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--neutral-300);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.pricing-badge--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.featured .pricing-price {
  color: var(--white);
}

.pricing-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-450);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 14px;
  color: var(--neutral-400);
  line-height: 1.65;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--neutral-300);
  line-height: 1.4;
}

.pricing-features li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--lime-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='%23C8FF3E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

.pricing-best-for {
  font-size: 12px;
  color: var(--neutral-450);
  font-style: italic;
  margin-bottom: 24px;
}

.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  padding: 13px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

.btn-pricing-lime {
  color: var(--navy-950);
  background: var(--lime);
}

.btn-pricing-lime:hover {
  background: var(--lime-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-pricing-outline {
  color: var(--neutral-300);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-pricing-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--navy-800);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.11);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--neutral-500);
  transition: transform 260ms ease, color 200ms ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--lime);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--neutral-400);
  line-height: 1.75;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.cta-inner {
  text-align: center;
  padding: 72px 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 62, 0.4), transparent);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
  text-wrap: balance;
}

.cta-title em {
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  opacity: 0.92;
}

.cta-desc {
  font-size: 17px;
  color: var(--neutral-400);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-inner .waitlist-form {
  margin-bottom: 14px;
}

/* ============================================================
   WAITLIST FORM
   ============================================================ */

.waitlist-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.waitlist-form:focus-within {
  border-color: var(--lime-border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(200, 255, 62, 0.08);
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 0 18px;
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--neutral-450);
}

.waitlist-form button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--lime);
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 22px;
  cursor: pointer;
  transition: var(--transition);
}

.waitlist-form button:hover {
  background: var(--lime-hover);
  box-shadow: var(--shadow-glow);
}

.waitlist-form button:active {
  transform: translateY(1px);
}

.waitlist-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-meta {
  text-align: center;
  font-size: 12px;
  color: var(--neutral-450);
  margin-top: 14px;
  letter-spacing: 0.2px;
}

.waitlist-meta strong {
  color: var(--lime);
  font-weight: 600;
}

.waitlist-success {
  display: none;
  text-align: center;
  padding: 18px 24px;
  background: rgba(200, 255, 62, 0.08);
  border: 1px solid var(--lime-border);
  border-radius: var(--radius-xl);
  font-size: 15px;
  color: var(--white);
  max-width: 460px;
  margin: 0 auto;
}

.waitlist-success.is-visible {
  display: block;
}

.waitlist-success strong {
  color: var(--lime);
}

/* ============================================================
   FOUNDER CREDIBILITY STRIP
   ============================================================ */

.hero-credibility {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--neutral-300);
  letter-spacing: 0.1px;
}

.hero-credibility-avatars {
  display: inline-flex;
  align-items: center;
}

.hero-credibility-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--navy-950);
  background: var(--navy-700);
  display: inline-block;
  margin-left: -7px;
  flex-shrink: 0;
}

.hero-credibility-avatar:first-child {
  margin-left: 0;
  background: var(--navy-600);
}

.hero-credibility-avatar:nth-child(2) {
  background: var(--navy-500);
}

.hero-credibility-avatar:nth-child(3) {
  background: var(--navy-600);
}

.hero-credibility em {
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--navy-900);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span {
  color: var(--lime);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-450);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--neutral-300);
}

.footer-copy {
  font-size: 12px;
  color: var(--neutral-450);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll[data-delay="100"] { transition-delay: 100ms; }
.animate-on-scroll[data-delay="150"] { transition-delay: 150ms; }
.animate-on-scroll[data-delay="200"] { transition-delay: 200ms; }
.animate-on-scroll[data-delay="300"] { transition-delay: 300ms; }
.animate-on-scroll[data-delay="400"] { transition-delay: 400ms; }
.animate-on-scroll[data-delay="500"] { transition-delay: 500ms; }

/* ============================================================
   RESPONSIVE — Mobile first (375px → 768px → 1200px)
   ============================================================ */

/* Tablet and below */
@media (max-width: 900px) {
  /* Nav */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .nav-actions .btn-nav-cta {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 120px 24px 64px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 40px;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-device-wrap {
    min-height: auto;
  }

  .mockup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    gap: 0;
  }

  .hero-stat {
    padding: 0 24px;
  }

  /* Sections */
  .section {
    padding: 72px 0;
  }

  .river-section {
    padding: 72px 0;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* River */
  .river-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .river-visual {
    order: -1;
  }

  .river-device-stack {
    min-height: 620px;
  }

  .river-phone-main {
    transform: translateX(-12px);
  }

  .river-phone-accent {
    width: min(74%, 220px);
    right: 0;
    bottom: 12px;
  }

  /* Integrations */
  .integrations-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  /* CTA */
  .cta-inner {
    padding: 56px 28px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Small mobile */
@media (max-width: 540px) {
  .features-grid,
  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    border-top: none;
    padding-top: 32px;
  }

  .hero-stat {
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 24px 0 0;
    width: 100%;
    text-align: center;
  }

  .hero-stat:first-child {
    border-top: none;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-device {
    width: min(100%, 280px);
  }

  .river-device-stack {
    min-height: 560px;
  }

  .river-phone-main {
    position: relative;
    transform: none;
    width: min(100%, 280px);
  }

  .river-phone-accent {
    width: min(66%, 180px);
    right: -4px;
    bottom: 4px;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
    justify-content: center;
  }

  .waitlist-form {
    flex-direction: column;
    border-radius: var(--radius-2xl);
    padding: 10px;
  }

  .waitlist-form input[type="email"] {
    padding: 12px 14px;
  }

  .waitlist-form button {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
  }

  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .site-header.is-floating .nav-wrap {
    margin: 8px 12px 0;
  }

  .footer-links {
    gap: 4px 14px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bg-orb {
    animation: none;
    opacity: 0.5;
  }

  .site-header,
  .btn-primary,
  .btn-ghost,
  .feature-card,
  .integration-card,
  .pricing-card,
  .faq-chevron,
  .hero-device {
    transition: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
