/* ============================================================
   CogentCore.ai — Design System & Stylesheet
   ============================================================ */

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

:root {
  --navy-deep:   #040D22;
  --navy:        #0D1B3E;
  --navy-mid:    #132247;
  --navy-light:  #1E3564;
  --navy-card:   #0F1E45;
  --cyan:        #00C8D7;
  --cyan-bright: #00E8F8;
  --cyan-dim:    rgba(0,200,215,0.12);
  --cyan-glow:   rgba(0,200,215,0.25);
  --white:       #FFFFFF;
  --gray-50:     #F6F8FC;
  --gray-100:    #EDF1F9;
  --gray-200:    #D8E1EF;
  --gray-400:    #9AAAC4;
  --gray-600:    #5E7090;
  --text-dark:   #0D1B3E;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --shadow-card: 0 4px 24px rgba(13,27,62,0.12);
  --shadow-glow: 0 0 40px rgba(0,200,215,0.18);
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 560px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,200,215,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ── Layout Containers ───────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 60px;
}
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-sub { margin: 16px auto 0; }
.section-header.left .section-sub { margin-top: 16px; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(4, 13, 34, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.navbar.scrolled .navbar-inner {
  border-color: rgba(255,255,255,0.07);
}

.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-actions .btn { padding: 9px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  outline: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,200,215,0.12) 0%, transparent 65%);
  border-radius: 50%;
  top: -100px; right: -150px;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,53,100,0.8) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -50px; left: -50px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,215,0.1);
  border: 1px solid rgba(0,200,215,0.25);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--cyan); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-channels-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 10px;
}
.hero-channels-preview span {
  flex: 0 0 100%;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.channel-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,200,215,0.1);
  border: 1px solid rgba(0,200,215,0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
  transition: var(--transition);
}
.channel-chip i { font-size: 0.72rem; }
.channel-chip:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Hero Visual — channel orbit */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-container {
  position: relative;
  width: 480px;
  height: 480px;
  flex-shrink: 0;
}

.orbit-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: linear-gradient(135deg, #1A3060 0%, #0D1B3E 100%);
  border: 2px solid rgba(0,200,215,0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow:
    0 0 0 6px rgba(0,200,215,0.08),
    0 0 50px rgba(0,200,215,0.45),
    0 0 20px rgba(0,200,215,0.25),
    inset 0 0 30px rgba(0,200,215,0.08);
}
.orbit-hub-img {
  width: 68px;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0,200,215,0.7));
}


/* Rings */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(0,200,215,0.18);
  transform: translate(-50%, -50%);
  animation: ring-spin linear infinite;
}
.ring-1 {
  width: 230px; height: 230px;
  animation-duration: 18s;
}
.ring-2 {
  width: 400px; height: 400px;
  animation-duration: 28s;
  animation-direction: reverse;
}

/* Channel icons on orbit */
.orbit-icon {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transform-origin: center center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.orbit-icon:hover {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5), 0 8px 32px rgba(0,0,0,0.6);
  z-index: 20;
  filter: brightness(1.18);
}

/* Counter-rotate icons so they stay upright */
.ring-1 .orbit-icon { animation: ring-spin-reverse 18s linear infinite; }
.ring-2 .orbit-icon { animation: ring-spin 28s linear infinite; }

/* Position icons on ring-1 (4 icons — 0°, 90°, 180°, 270°) */
.ring-1 .i0 { top: calc(50% - 26px); left: -26px; }
.ring-1 .i1 { top: -26px; left: calc(50% - 26px); }
.ring-1 .i2 { top: calc(50% - 26px); right: -26px; }
.ring-1 .i3 { bottom: -26px; left: calc(50% - 26px); }

/* Position icons on ring-2 (6 icons — every 60°) */
.ring-2 .i0   { top: calc(50% - 26px); left: -26px; }    /* left */
.ring-2 .i60  { top: 1px; left: 74px; }                   /* upper-left */
.ring-2 .i120 { top: 1px; right: 74px; }                  /* upper-right */
.ring-2 .i180 { top: calc(50% - 26px); right: -26px; }   /* right */
.ring-2 .i240 { bottom: 1px; right: 74px; }               /* lower-right */
.ring-2 .i300 { bottom: 1px; left: 74px; }                /* lower-left */

/* ── CHANNELS SECTION ────────────────────────────────────── */
.channels {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0B1737 55%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
}
/* Blueprint grid overlay */
.channels::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,215,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,215,0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
/* Central glow */
.channels::after {
  content: '';
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(0,200,215,0.09) 0%, transparent 58%);
  border-radius: 50%;
  pointer-events: none;
}
.channels .container { position: relative; z-index: 1; }
.channels .section-title { color: var(--white); }
.channels .section-sub  { color: rgba(255,255,255,0.58); }

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

.channel-card {
  background: linear-gradient(145deg,
    var(--ch-bg, rgba(0,200,215,0.28)) 0%,
    rgba(5, 9, 24, 0.96) 68%
  );
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* Full-width colored top accent */
.channel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--ch-color, var(--cyan));
  opacity: 1;
}
/* Subtle color bloom in top-left corner */
.channel-card::after {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--ch-bg, rgba(0,200,215,0.35)) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.channel-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg,
    var(--ch-bg, rgba(0,200,215,0.38)) 0%,
    rgba(5, 9, 24, 0.98) 65%
  );
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px var(--ch-color, var(--cyan));
  border-color: var(--ch-color, var(--cyan));
}
.channel-card:hover .ch-icon { transform: scale(1.12) rotate(-4deg); }

.ch-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ch-color, var(--cyan));
  margin-bottom: 18px;
  transition: transform 0.3s;
}
.channel-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.channel-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ── PLATFORM FEATURES ───────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--navy-deep);
}
.features .section-title { color: var(--white); }

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

.feature-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.4s ease;
}
.feature-card:hover { border-color: rgba(0,200,215,0.25); transform: translateY(-4px); }
.feature-card:hover::after { width: 100%; }

.feature-icon {
  width: 56px; height: 56px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,200,215,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 24px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ── HOW IT WORKS ────────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(135deg, #07102A 0%, #0E1E44 45%, #060D20 100%);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(0,200,215,0.028) 0px,
    rgba(0,200,215,0.028) 1px,
    transparent 1px,
    transparent 52px
  );
  pointer-events: none;
}
.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,200,215,0.07) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.how-it-works .container { position: relative; z-index: 1; }
.how-it-works .section-title { color: var(--white); }
.how-it-works .section-sub  { color: rgba(255,255,255,0.58); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 18px);
  right: calc(16.67% + 18px);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-dim) 100%);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px; height: 72px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(0,200,215,0.2);
  border-radius: 50%;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.step p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}

/* ── STATS ───────────────────────────────────────────────── */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,215,0.08) 0%, transparent 65%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
}

.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}


/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  background: var(--navy-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,200,215,0.1) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-title .accent { color: var(--cyan); }

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.trust-item i { color: var(--cyan); font-size: 0.85rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #020810;
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--cyan);
  color: var(--navy-deep);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--cyan); }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes ring-spin-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

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

/* ── MOBILE MENU ─────────────────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--cyan); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  background: none; border: none;
  transition: color 0.2s;
}
.nav-mobile-close:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — replaces the sparse block at end of style.css
══════════════════════════════════════════════════════════ */

/* ── Tablet ≤ 1024px ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .channels-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .orbit-container { width: 400px; height: 400px; }
}

/* ── Large phone / small tablet ≤ 860px ──────────────────── */
@media (max-width: 860px) {
  /* Navbar */
  .nav-links, .nav-actions { display: none; }
  .nav-toggle  { display: flex; }
  .nav-mobile  { display: flex; }

  /* Section spacing */
  .channels, .features, .how-it-works, .cta-section { padding: 72px 0; }
  .stats { padding: 60px 0; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 20px 64px;
  }
  .hero-visual { display: none; }
  .hero-sub    { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-title, .hero-badge { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-channels-preview { justify-content: center; }
  .hero-channels-preview span { text-align: center; }

  /* Channels */
  .channels-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  /* How it works */
  .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-grid::before { display: none; }

  /* CTA */
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-trust   { flex-direction: column; gap: 12px; }
}

/* ── Orbit visible on tablets 641–860px ──────────────────── */
@media (min-width: 641px) and (max-width: 860px) {
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  /* Scale orbit to 290px via explicit element sizing */
  .orbit-container { width: 290px; height: 290px; }
  .orbit-hub       { width: 76px; height: 76px; }
  .orbit-hub-img   { width: 44px; }
  .orbit-icon      { width: 38px; height: 38px; font-size: 0.9rem; }

  /* Ring sizes */
  .ring-1 { width: 140px; height: 140px; }
  .ring-2 { width: 252px; height: 252px; }

  /* ring-1 icon positions (r=70px, icon half=19px) */
  .ring-1 .i0 { top: calc(50% - 19px); left: -19px; }
  .ring-1 .i1 { top: -19px; left: calc(50% - 19px); }
  .ring-1 .i2 { top: calc(50% - 19px); right: -19px; }
  .ring-1 .i3 { bottom: -19px; left: calc(50% - 19px); }

  /* ring-2 icon positions (r=126px, icon half=19px)
     60deg offset: x = 126*0.5=63, y = 126*0.866=109 → top=126-109-19=−2≈0, left=63-19=44 */
  .ring-2 .i0   { top: calc(50% - 19px); left: -19px; }
  .ring-2 .i60  { top: 0; left: 44px; }
  .ring-2 .i120 { top: 0; right: 44px; }
  .ring-2 .i180 { top: calc(50% - 19px); right: -19px; }
  .ring-2 .i240 { bottom: 0; right: 44px; }
  .ring-2 .i300 { bottom: 0; left: 44px; }
}

/* ── Phone ≤ 640px ───────────────────────────────────────── */
@media (max-width: 640px) {
  /* Typography */
  .section-title { font-size: clamp(1.55rem, 6.5vw, 2.2rem); }
  .cta-title     { font-size: clamp(1.7rem, 7vw, 2.4rem); }

  /* Section spacing */
  .channels, .features, .how-it-works, .cta-section { padding: 56px 0; }
  .stats { padding: 48px 0; }
  .section-header { margin-bottom: 40px; }

  /* Hero */
  .hero-inner { padding: 48px 16px 56px; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 280px; }

  /* Channels */
  .channels-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .channel-card  { padding: 20px 16px; }
  .ch-icon       { width: 46px; height: 46px; font-size: 1.2rem; margin-bottom: 14px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card  { padding: 28px 20px; }
  .feature-icon  { width: 48px; height: 48px; font-size: 1.3rem; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num   { font-size: 2.4rem; }

  /* Footer */
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ── Small phone ≤ 480px ─────────────────────────────────── */
@media (max-width: 480px) {
  /* Container */
  .container { padding: 0 16px; }

  /* Section spacing */
  .channels, .features, .how-it-works, .cta-section { padding: 48px 0; }
  .stats { padding: 40px 0; }
  .section-header { margin-bottom: 32px; }

  /* Navbar */
  .nav-logo img { height: 28px; }
  .navbar { padding: 0 16px; }

  /* Hero */
  .hero-inner { padding: 40px 16px 48px; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }

  /* Channels — single column */
  .channels-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-num   { font-size: 2rem; }
  .stat-label { font-size: 0.8rem; }

  /* Steps */
  .step-num { width: 60px; height: 60px; font-size: 1.25rem; margin-bottom: 20px; }

  /* CTA */
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer */
  .footer-bottom { font-size: 0.75rem; }
  .footer-inner  { gap: 28px; }
}