/* ===========================
   DESIGN SYSTEM TOKENS
   =========================== */
:root {
  --bg-void: #040406;
  --bg-surface: #0B0C10;
  --bg-raised: #111318;
  --bg-border: #181922;
  --bg-hover: #1e2030;
  --accent-emerald: #10B981;
  --accent-emerald-dim: #0d9268;
  --accent-emerald-glow: rgba(16, 185, 129, 0.15);
  --accent-emerald-glow-strong: rgba(16, 185, 129, 0.3);
  --accent-violet: #6366F1;
  --accent-violet-dim: #4f51c7;
  --accent-violet-glow: rgba(99, 102, 241, 0.15);
  --text-primary: #F4F4F5;
  --text-secondary: #94A3B8;
  --text-muted: #4B5563;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-h: 52px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }

/* ===========================
   CUSTOM CURSOR
   =========================== */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--accent-emerald);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-trail {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}

.cursor-trail.expanded {
  width: 60px;
  height: 60px;
  border-color: rgba(99, 102, 241, 0.5);
}

/* ===========================
   PARTICLES CANVAS
   =========================== */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--bg-border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-icon {
  color: var(--accent-emerald);
  font-size: 1rem;
  filter: drop-shadow(0 0 8px var(--accent-emerald));
}

.logo-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(16,185,129,0.5));
}

.logo-accent { color: var(--accent-emerald); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active { color: var(--accent-emerald); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--accent-emerald);
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: #0ea271;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-emerald-glow-strong);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   MOBILE MENU
   =========================== */
/* ── Compact right-side mobile drawer ── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: rgba(10, 12, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -12px 0 48px rgba(0,0,0,0.6);
}

/* Dim backdrop behind drawer */
.mobile-menu::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu.open::before { opacity: 1; }

/* Drawer header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  background: rgba(10, 12, 18, 0.98);
  z-index: 2;
}
.mobile-menu-brand {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .02em;
}
.mobile-menu-brand span { color: var(--accent-emerald); }
.mobile-menu-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

/* Nav links inside drawer */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.75rem;
  flex: 1;
  gap: 2px;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}

.mobile-link-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.18s;
}

.mobile-link:hover,
.mobile-link.active {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}
.mobile-link:hover .mobile-link-icon,
.mobile-link.active .mobile-link-icon {
  background: rgba(16,185,129,0.15);
  border-color: rgba(16,185,129,0.25);
}

/* CTA inside drawer */
.mobile-menu-cta {
  padding: 0.75rem 0.75rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: auto;
}

/* ===========================
   MAIN CONTAINER
   =========================== */
#page-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ===========================
   PAGE TRANSITIONS
   =========================== */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--accent-emerald);
  z-index: 5000;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

.page-transition.enter {
  animation: pageEnter 0.5s var(--ease-out) forwards;
}

.page-transition.exit {
  animation: pageExit 0.5s var(--ease-out) forwards;
}

@keyframes pageEnter {
  0% { transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes pageExit {
  0% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* ===========================
   SECTION BASE
   =========================== */
.page {
  min-height: 100vh;
  padding-top: var(--nav-h);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.page.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===========================
   TYPOGRAPHY
   =========================== */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, var(--accent-emerald), #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-violet {
  background: linear-gradient(135deg, var(--accent-violet), #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-dual {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.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(--accent-emerald);
  margin-bottom: 1rem;
}

.label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-emerald);
}

/* ===========================
   CARDS
   =========================== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(16, 185, 129, 0.1);
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-emerald);
  color: #000;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: none;
  transition: all 0.2s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-emerald-glow-strong);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-border);
  cursor: none;
  transition: all 0.2s var(--ease-out);
}

.btn-secondary:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: var(--accent-emerald-glow);
}

.btn-violet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-violet);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: none;
  transition: all 0.2s;
}

.btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

/* ===========================
   PAGE: HOME HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero_bg.png') center/cover no-repeat;
  opacity: 0.12;
  transform: scale(1.05);
  animation: heroBgFloat 20s ease-in-out infinite alternate;
}

@keyframes heroBgFloat {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-20px, -10px); }
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
  0% { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--accent-emerald-glow);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-emerald);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Counter stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bg-border);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 3rem;
}

.stat-item {
  background: var(--bg-surface);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-emerald);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero right: Globe / Vis */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#globe-canvas {
  border-radius: 50%;
  filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.3));
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  cursor: default;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent-emerald-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.bento-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-2-row { grid-row: span 2; }

.bento-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.bento-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Milestone Ticker */
.ticker-wrapper {
  overflow: hidden;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.ticker-track {
  display: flex;
  gap: 2rem;
  animation: ticker 30s linear infinite;
  width: max-content;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  flex-shrink: 0;
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .label { justify-content: center; }

/* ===========================
   PAGE: PLANS
   =========================== */
.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 3rem;
}

.toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.toggle-label.active { color: var(--text-primary); }

.toggle-switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: var(--bg-raised);
  border: 1px solid var(--bg-border);
  border-radius: 16px;
  cursor: none;
  transition: border-color 0.2s;
}

.toggle-switch:hover { border-color: var(--accent-emerald); }

.toggle-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-emerald);
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 0 10px var(--accent-emerald-glow-strong);
}

.toggle-switch.equity .toggle-knob { transform: translateX(28px); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.plan-card.featured {
  border-color: var(--accent-emerald);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(16, 185, 129, 0.05) 100%);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.1), 0 24px 64px rgba(0,0,0,0.5);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-emerald);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 0 0 8px 8px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding-top: 1rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.plan-price span {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bg-border);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.plan-features li::before {
  content: '✓';
  width: 18px;
  height: 18px;
  background: var(--accent-emerald-glow);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: none;
}

.plan-cta.primary {
  background: var(--accent-emerald);
  color: #000;
}

.plan-cta.primary:hover {
  background: #0ea271;
  box-shadow: 0 8px 24px var(--accent-emerald-glow-strong);
}

.plan-cta.secondary {
  border: 1px solid var(--bg-border);
  color: var(--text-secondary);
}

.plan-cta.secondary:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* ===========================
   PAGE: PORTFOLIO
   =========================== */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--bg-border);
  background: transparent;
  color: var(--text-secondary);
  cursor: none;
  transition: all 0.2s;
}

.filter-tab:hover, .filter-tab.active {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: var(--accent-emerald-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: none;
  transition: all 0.3s var(--ease-out);
}

.portfolio-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.portfolio-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: transform 0.3s;
}

.portfolio-card:hover .portfolio-thumb-inner { transform: scale(1.1); }

.portfolio-play-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  opacity: 0;
  transition: opacity 0.2s;
}

.portfolio-card:hover .portfolio-play-btn { opacity: 1; }

.portfolio-info {
  padding: 1.25rem;
}

.portfolio-niche {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 6px;
}

.portfolio-channel {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.portfolio-metrics {
  display: flex;
  gap: 1rem;
}

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

.metric-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metric-key {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   PORTFOLIO PAGE — HORIZONTAL CARD REDESIGN
   ============================================= */

/* ── Stat bar above filters ── */
.pf-stat-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.pf-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 2rem;
}

.pf-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-emerald);
  line-height: 1;
}

.pf-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pf-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--bg-border);
  flex-shrink: 0;
}

/* ── Rank badge (injected by JS after sorting) ── */
.pf-rank {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2px 6px;
  margin-bottom: 6px;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.pf-card:nth-child(1) .pf-rank,
.pf-rank-1 { color: #FFD700; border-color: rgba(255,215,0,0.3); background: rgba(255,215,0,0.1); }
.pf-card:nth-child(2) .pf-rank { color: #C0C0C0; border-color: rgba(192,192,192,0.3); }
.pf-card:nth-child(3) .pf-rank { color: #CD7F32; border-color: rgba(205,127,50,0.3); }

/* ── Live YouTube data loading skeleton ── */
@keyframes yt-shimmer {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}

.yt-loading {
  animation: yt-shimmer 1.4s ease-in-out infinite;
  color: var(--text-muted) !important;
  min-width: 40px;
  display: inline-block;
}

/* ── Live data pulse after update ── */
@keyframes yt-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.yt-live {
  animation: yt-pop 0.4s ease-out;
  color: var(--accent-emerald) !important;
  transition: color 0.5s ease;
}

/* ── Live dot on brand panel ── */
.yt-live-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  animation: yt-shimmer 2s ease-in-out infinite;
}

/* ── Horizontal cards list ── */
.pf-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Single horizontal card ── */
.pf-card {
  display: flex;
  align-items: stretch;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s;
  position: relative;
}

.pf-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent, #10B981);
  opacity: 0;
  transition: opacity 0.25s;
}

.pf-card:hover {
  transform: translateY(-3px) translateX(2px);
  box-shadow: 0 18px 56px rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.08);
}

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

/* ── Left brand panel ── */
.pf-brand {
  width: 210px;
  min-width: 210px;
  padding: 1.5rem 1.25rem;
  background: var(--card-bg, linear-gradient(135deg,#064e3b,#0a2e1f));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pf-brand::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  pointer-events: none;
}

.pf-brand-niche {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

.pf-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
}

/* ── Category badge ── */
.pf-cat-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  width: fit-content;
}

.cat-top    { background: rgba(16,185,129,0.25); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.cat-breakout { background: rgba(249,115,22,0.2); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }
.cat-consistent { background: rgba(99,102,241,0.2); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.3); }

/* ── Right body ── */
.pf-body {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

/* ── Metrics + visit btn row ── */
.pf-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 12px;
}

.pf-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.pf-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 1rem;
}

.pf-metric:first-child { padding-left: 0; }

.pf-metric-div {
  width: 1px;
  height: 28px;
  background: var(--bg-border);
  flex-shrink: 0;
}

.pf-metric-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pf-metric-green { color: var(--accent-emerald) !important; }

.pf-metric-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

/* ── Visit Channel button ── */
.pf-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--accent, rgba(16,185,129,0.4));
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent, var(--accent-emerald));
  background: rgba(0,0,0,0.25);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.pf-card:hover .pf-visit-btn {
  /* Keep text readable: dark background with a faint accent border glow */
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--accent, rgba(16,185,129,0.7));
  box-shadow: 0 0 12px rgba(16,185,129,0.15);
  /* text color stays as --accent, DO NOT change it */
}

/* ── Divider ── */
.pf-divider {
  height: 1px;
  background: var(--bg-border);
  margin-bottom: 12px;
}

/* ── Review row ── */
.pf-review-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  min-width: 0;
}

.pf-stars-block {
  flex-shrink: 0;
  min-width: 130px;
}

.pf-reviewer {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.pf-review-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

/* ── Star row (shared) ── */
.star-row {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 4px;
}

.star-score {
  font-size: 0.78rem;
  font-weight: 700;
  color: #F59E0B;
  margin-left: 4px;
}

/* ── Responsive: mobile stack ── */
@media (max-width: 700px) {
  .pf-card { flex-direction: column; }
  .pf-brand { width: 100%; min-width: unset; flex-direction: row; align-items: center; padding: 1rem; gap: 12px; }
  .pf-brand-niche { display: none; }
  .pf-cat-badge { margin-top: 0; }
  .pf-top-row { flex-wrap: wrap; gap: 0.75rem; }
  .pf-metric { padding: 0 0.75rem; }
  .pf-review-row { flex-direction: column; gap: 0.5rem; }
  .pf-stat-bar { gap: 0.5rem; padding: 1rem; }
  .pf-stat { padding: 0 1rem; }
  .pf-stat-sep { display: none; }
}

/* ===========================
   PAGE: SYNDICATION
   =========================== */
.syndication-hero {
  text-align: center;
  padding: 5rem 0 3rem;
}

.flow-diagram {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin: 3rem 0;
}

.flow-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.flow-node {
  background: var(--bg-raised);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  transition: all 0.3s;
  position: relative;
}

.flow-node.highlighted {
  border-color: var(--accent-emerald);
  background: linear-gradient(135deg, var(--bg-raised), var(--accent-emerald-glow));
  box-shadow: 0 0 32px var(--accent-emerald-glow);
}

.flow-node-icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.flow-node-title { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; }
.flow-node-sub { font-size: 0.75rem; color: var(--text-muted); }

.flow-arrow {
  color: var(--accent-emerald);
  font-size: 1.5rem;
  flex-shrink: 0;
  animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

.rpm-chart {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.rpm-bars {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  height: 200px;
  padding: 1rem 0;
}

.rpm-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.rpm-bar-container {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.rpm-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 1s var(--ease-out);
  min-height: 4px;
}

.rpm-bar.us { background: var(--accent-emerald); }
.rpm-bar.uk { background: var(--accent-violet); }
.rpm-bar.ca { background: #f59e0b; }

.rpm-label { font-size: 0.8rem; font-weight: 600; }
.rpm-value { font-size: 0.75rem; color: var(--text-muted); }

.rpm-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.rpm-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.rpm-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* Metrics Table */
.metrics-table {
  width: 100%;
  border-collapse: collapse;
}

.metrics-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--bg-border);
}

.metrics-table td {
  padding: 14px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--bg-border);
  color: var(--text-secondary);
}

.metrics-table tr:hover td { background: var(--bg-raised); color: var(--text-primary); }
.metrics-table td:first-child { color: var(--text-primary); font-weight: 500; }
.metrics-table td.highlight { color: var(--accent-emerald); font-weight: 600; }

/* ===========================
   PAGE: ONBOARDING
   =========================== */
.onboarding-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.step-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: none;
  transition: all 0.2s;
  margin-bottom: 4px;
}

.step-item:hover { background: var(--bg-raised); }

.step-item.active {
  background: var(--accent-emerald-glow);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 2px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s;
}

.step-item.active .step-num, .step-item.done .step-num {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #000;
}

.step-label { font-size: 0.875rem; font-weight: 500; }
.step-sub { font-size: 0.75rem; color: var(--text-muted); }

.step-content {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.step-panel { display: none; }
.step-panel.active { display: block; }

.step-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.code-block {
  background: var(--bg-void);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--accent-emerald);
  margin: 1rem 0;
}

/* ===========================
   PAGE: CALCULATOR
   =========================== */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.calc-inputs {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.input-group {
  margin-bottom: 2rem;
}

.input-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}

.input-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-emerald);
}

.slider-input {
  width: 100%;
  height: 4px;
  background: var(--bg-raised);
  border-radius: 2px;
  outline: none;
  border: none;
  cursor: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: none;
  box-shadow: 0 0 0 4px var(--accent-emerald-glow);
  transition: box-shadow 0.2s;
}

.slider-input::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 8px var(--accent-emerald-glow);
}

.niche-select {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: none;
  outline: none;
  transition: border-color 0.2s;
}

.niche-select:focus { border-color: var(--accent-emerald); }

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.result-card.primary-result {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, var(--bg-surface), var(--accent-emerald-glow));
}

.result-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.result-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-emerald);
  line-height: 1;
}

.result-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

#growth-chart-canvas {
  width: 100%;
  height: 200px;
}

/* ===========================
   PAGE: ABOUT
   =========================== */
.pipeline-steps {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 0;
}

.pipeline-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
}

.pipeline-step::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 30px;
  color: var(--accent-emerald);
  font-size: 1.2rem;
  opacity: 0.6;
}

.pipeline-step:last-child::after { display: none; }

.pipeline-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--accent-emerald-glow);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
  transition: all 0.3s;
}

.pipeline-step:hover .pipeline-icon {
  background: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--accent-emerald-glow-strong);
}

.pipeline-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.team-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-emerald-glow), var(--accent-violet-glow));
  border: 2px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}

.team-name { font-size: 0.875rem; font-weight: 600; margin-bottom: 4px; }
.team-specialty { font-size: 0.75rem; color: var(--text-muted); }

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.safety-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.safety-icon { font-size: 2rem; margin-bottom: 1rem; }
.safety-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.safety-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }

/* ===========================
   PAGE: LEGAL
   =========================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--bg-border);
}

.legal-section:last-child { border-bottom: none; }

.legal-h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.legal-h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--accent-emerald);
}

.legal-p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 1rem 0;
}

.legal-list li {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-list li::before {
  content: '›';
  color: var(--accent-emerald);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
  cursor: none;
}

.footer-links a:hover { color: var(--accent-emerald); }

.footer-bottom {
  border-top: 1px solid var(--bg-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright { font-size: 0.8rem; color: var(--text-muted); }
.footer-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-emerald);
}

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 900;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.6);
}

.wa-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ===========================
   GRADIENT DIVIDERS
   =========================== */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bg-border), transparent);
  margin: 0;
}

/* ===========================
   GLOW CARDS
   =========================== */
.glow-card {
  position: relative;
}

.glow-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-violet));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.glow-card:hover::after { opacity: 0.4; }

/* ===========================
   ANIMATED COUNTER
   =========================== */
.counter-num {
  font-variant-numeric: tabular-nums;
}

/* ===========================
   TOOLTIP
   =========================== */
.tooltip-wrapper { position: relative; }

.tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-raised);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}

.tooltip-wrapper:hover .tooltip { opacity: 1; }

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calculator-grid { grid-template-columns: 1fr; }
  /* Syndication pipeline */
  .syndi-pipeline-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ===========================
   RESPONSIVE — MOBILE BASE (≤768px)
   =========================== */
@media (max-width: 768px) {
  /* ── Global layout ── */
  .container { padding: 0 1rem; }
  .section   { padding: 3.5rem 0; }
  html, body  { overflow-x: hidden; max-width: 100vw; }

  /* ── Nav ── */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; cursor: pointer; }
  .nav-inner { padding: 0 1rem; }

  /* ── Cursors off on touch ── */
  .cursor, .cursor-trail { display: none; }
  body { cursor: auto; }
  .btn-primary, .btn-secondary, .btn-violet, .plan-cta,
  .filter-tab, .toggle-switch, .slider-input, .niche-select,
  .step-item, .nav-link, .mobile-link, .nav-hamburger { cursor: pointer; }

  /* ── Hero section ── */
  .hero { min-height: auto; padding-bottom: 3rem; overflow: hidden; }
  #globe-canvas { display: none !important; }  /* hide bleed-causing canvas */

  /* ── Stats bar: wrap to 2×2 on very small, keep 4 across otherwise */
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { padding: .75rem; }
  .stat-number { font-size: 1.4rem; }

  /* ── Section padding on mobile ── */
  .section { padding: 2.5rem 0; }

  /* ── 3-step process bar ── */
  .home-step-bar {
    flex-direction: column !important;
    max-width: 100% !important;
    border-radius: var(--radius-md) !important;
  }
  .home-step-bar > div { flex-direction: row !important; gap: 12px !important; padding: .85rem 1rem !important; }

  /* ── Bento grid ── */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }

  /* ── Plans / package cards grid ── */
  .plans-grid  { grid-template-columns: 1fr; }
  .home-packages-grid { grid-template-columns: 1fr !important; }
  /* Remove featured card lift on mobile */
  .home-packages-grid .featured-card { transform: none !important; }

  /* ── Syndication pipeline grid ── */
  .syndi-pipeline-grid,
  .home-pipeline-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }

  /* ── Portfolio grid ── */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* ── Portfolio row on home page ── */
  .home-pf-row {
    flex-wrap: wrap !important;
    gap: .6rem !important;
  }
  .home-pf-row > div { min-width: 0; }

  /* ── Section headers ── */
  .section-header { text-align: center; }
  .display-lg { font-size: clamp(1.6rem, 5vw, 2.5rem); }

  /* ── Cards ── */
  .card { padding: 1.25rem; }
  .card:hover { transform: none; }

  /* ── Buttons: stack on mobile ── */
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }

  /* ── CTA button row ── */
  .home-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .home-cta-row a { width: 100% !important; justify-content: center !important; text-align: center; box-sizing: border-box; }

  /* ── Stats bar row on hero ── */
  .home-stats-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    max-width: 100% !important;
  }
  .home-stats-row .divider { display: none !important; }

  /* ── Onboarding ── */
  .onboarding-wrapper { grid-template-columns: 1fr; }
  .step-sidebar { position: static; }

  /* ── Syndication flow ── */
  .flow-nodes { flex-direction: column; }

  /* ── About page ── */
  .pipeline-steps { flex-direction: column; }
  .pipeline-step::after { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }

  /* ── Calculator ── */
  .calc-wrapper { grid-template-columns: 1fr; }
  .calc-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   RESPONSIVE — SMALL PHONES (≤480px)
   =========================== */
@media (max-width: 480px) {
  .container { padding: 0 .85rem; }
  .section   { padding: 2rem 0; }

  .display-lg { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* Syndication pipeline: single column on small phones */
  .syndi-pipeline-grid,
  .home-pipeline-grid { grid-template-columns: 1fr !important; }

  /* Stats: single column */
  .home-stats-row { grid-template-columns: 1fr 1fr !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  /* Bento tags in Finance card */
  .bento-tags-row { flex-wrap: wrap; gap: 5px !important; }

  /* Team grid: single column */
  .team-grid { grid-template-columns: 1fr; }

  /* Calculator stats */
  .calc-stats-grid { grid-template-columns: 1fr; }
  .crp-value { font-size: 1.8rem; }

  /* Plan cards — make featured not transform */
  .home-packages-grid .card { transform: none !important; }

  /* Ticker ── reduce font size */
  .ticker-item { font-size: .78rem; }

  /* Section label */
  .label { font-size: 0.68rem; }
}

/* ===========================
   ANIMATIONS — popIn (success modal)
   =========================== */
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.82) translateY(12px); }
  60%  { opacity: 1; transform: scale(1.04) translateY(-4px); }
  100% { opacity: 1; transform: scale(1)    translateY(0); }
}

/* ===========================
   PORTFOLIO — REVIEW BAR (minimized top bar)
   =========================== */
.pf-review-bar {
  width: 100%;
  background: linear-gradient(135deg, var(--bg-surface), rgba(16,185,129,0.04));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: all 0.35s var(--ease-out);
}

/* Collapsed pill header */
.pf-review-bar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  user-select: none;
}

.pf-review-bar-header:hover {
  background: rgba(16,185,129,0.04);
}

.pf-review-bar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.pf-review-bar-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.pf-review-bar-sublabel {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pf-review-bar-chevron {
  color: var(--accent-emerald);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.pf-review-bar.open .pf-review-bar-chevron {
  transform: rotate(180deg);
}

/* Expanded body */
.pf-review-bar-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
  padding: 0 1.25rem;
}

.pf-review-bar.open .pf-review-bar-body {
  max-height: 600px;
  padding: 0 1.25rem 1.25rem;
}

/* Compact 2-col form inside bar */
.pf-review-bar-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bg-border);
}

.pf-review-bar-form .form-full { grid-column: span 2; }

.pf-review-bar .review-input {
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
}

.pf-review-bar .review-textarea { min-height: 70px; }

/* Star picker inside bar */
.pf-review-bar .star-picker {
  justify-content: flex-start;
  gap: 4px;
}

.pf-review-bar .star-btn { font-size: 1.1rem; padding: 2px 4px; }

@media (max-width: 600px) {
  .pf-review-bar-form { grid-template-columns: 1fr; }
  .pf-review-bar-form .form-full { grid-column: span 1; }
}

/* ===========================
   UNCLASSED GRID RESPONSIVE HELPERS
   =========================== */
/* Home testimonials grid */
.home-testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.5rem; }
/* Syndication mini stats */
.syndi-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }
/* Calculator results 2-col */
.calc-results-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 768px) {
  .home-testimonials-grid { grid-template-columns: 1fr; }
  .syndi-stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .calc-results-2col { grid-template-columns: 1fr; }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── New calculator plan-picker layout ── */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.calc-left {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.calc-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-raised);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 1.25rem;
}
.calc-tab-btn {
  flex: 1; padding: 8px 12px; font-size: 0.78rem; font-weight: 600;
  font-family: var(--font-body); border: none;
  border-radius: calc(var(--radius-md) - 2px);
  background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.calc-tab-btn.active { background: var(--accent-emerald); color: #000; }
.calc-plan-group { display: flex; flex-direction: column; gap: 10px; }
.calc-plan-group.hidden { display: none; }
.calc-plan-card {
  display: flex; align-items: stretch;
  border: 1px solid var(--bg-border); border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-plan-card:hover { border-color: rgba(16,185,129,0.4); }
.calc-plan-card.active {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 1px var(--accent-emerald), 0 4px 24px rgba(16,185,129,0.15);
}
.cpc-left {
  background: var(--bg-raised); padding: 0.9rem 1rem; min-width: 80px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; border-right: 1px solid var(--bg-border); flex-shrink: 0;
}
.calc-plan-card.active .cpc-left { background: rgba(16,185,129,0.08); }
.cpc-price {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--accent-emerald); line-height: 1; text-align: center;
}
.cpc-price span { font-size: 0.65rem; font-weight: 500; color: var(--text-muted); display: block; }
.cpc-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.cpc-right { padding: 0.75rem 1rem; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.cpc-row { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }
.cpc-row.hi { color: var(--text-primary); font-weight: 500; }
.calc-rpm-badge {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-raised); border: 1px solid var(--bg-border);
  border-radius: var(--radius-md); padding: 0.75rem 1rem; margin-top: 1rem;
}
.calc-right { display: flex; flex-direction: column; gap: 1rem; }
.calc-result-header {
  background: var(--bg-surface); border: 1px solid var(--bg-border);
  border-radius: var(--radius-md); padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.crh-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.crh-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--accent-emerald); }
.calc-result-primary {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.04));
  border: 1px solid rgba(16,185,129,0.25); border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem; text-align: center;
}
.crp-label { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.crp-value { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--accent-emerald); line-height: 1; }
.calc-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.csg-card {
  background: var(--bg-surface); border: 1px solid var(--bg-border);
  border-radius: var(--radius-md); padding: 1rem; text-align: center;
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.csg-icon { font-size: 1.2rem; margin-bottom: 4px; }
.csg-val { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.csg-lbl { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.calc-guarantee {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: rgba(16,185,129,0.05); border: 1px solid rgba(16,185,129,0.18);
  border-radius: var(--radius-md); padding: 1rem 1.1rem;
}
.cg-icon { font-size: 1.4rem; flex-shrink: 0; }
@media (max-width: 900px) { .calc-wrapper { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .calc-stats-grid { grid-template-columns: 1fr; } .crp-value { font-size: 1.8rem; } }

/* ─────────────────────────────────────────────
   REVIEW FORM
───────────────────────────────────────────── */
.review-form-group {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.25rem;
}
.review-label {
  font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.07em;
}
.review-input {
  width: 100%; box-sizing: border-box;
  background: var(--bg-raised); border: 1px solid var(--bg-border);
  border-radius: var(--radius-md); padding: 0.75rem 1rem;
  color: var(--text-primary); font-size: 0.875rem; font-family: var(--font-body);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.review-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
.review-input::placeholder { color: var(--text-muted); }
.review-textarea { resize: vertical; min-height: 100px; }
.review-char-count {
  font-size: 0.72rem; color: var(--text-muted); text-align: right;
  transition: color 0.2s;
}
.review-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-md); padding: 0.65rem 1rem;
  font-size: 0.83rem; color: #f87171; margin-bottom: 0.75rem;
}

/* Star picker */
.star-picker {
  display: flex; align-items: center; gap: 6px;
}
.star-btn {
  background: none; border: none; cursor: pointer;
  font-size: 1.75rem; color: var(--bg-border); line-height: 1;
  padding: 2px; transition: color 0.12s, transform 0.12s;
  -webkit-text-stroke: 1px var(--bg-border);
}
.star-btn.lit {
  color: #F59E0B;
  -webkit-text-stroke: 1px #F59E0B;
  transform: scale(1.15);
}
.star-btn:hover { transform: scale(1.25); }
.star-picker-label {
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  margin-left: 6px; min-width: 70px; letter-spacing: 0.04em;
  transition: color 0.15s;
}
.star-btn.lit ~ .star-picker-label,
.star-picker:hover .star-picker-label {
  color: #F59E0B;
}

/* Success modal pop animation */
@keyframes popIn {
  from { opacity: 0; transform: scale(0.85) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 640px) {
  .star-btn { font-size: 1.4rem; }
}

/* ─────────────────────────────────────────────
   INSTAGRAM VERIFIED BUSINESS HIGHLIGHT
───────────────────────────────────────────── */
.ig-highlight-widget {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  margin-bottom: 1.25rem;
  width: fit-content;
  backdrop-filter: blur(8px);
}
.ig-highlight-widget:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(225, 48, 108, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(225,48,108,0.2);
}

/* Story ring */
.ig-ring-wrap {
  position: relative; flex-shrink: 0;
}
.ig-ring {
  width: 46px; height: 46px; border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  animation: igSpin 4s linear infinite;
}
@keyframes igSpin {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
.ig-avatar-wrap {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg-base);
  padding: 2px; box-sizing: border-box;
  overflow: hidden;
}
.ig-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; object-position: top center;
  display: block;
}

/* Meta Verified badge on avatar */
.ig-verified-badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--bg-base);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--bg-base);
}

/* Info text */
.ig-info { display: flex; flex-direction: column; gap: 2px; }
.ig-name-row { display: flex; align-items: center; gap: 6px; }
.ig-username {
  font-family: var(--font-display); font-size: 0.82rem;
  font-weight: 700; color: var(--text-primary); white-space: nowrap;
}
.ig-meta-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(24,119,242,0.15); border: 1px solid rgba(24,119,242,0.3);
  border-radius: 20px; padding: 1px 7px;
  font-size: 0.62rem; font-weight: 700; color: #60a5fa;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.ig-sub-label {
  font-size: 0.68rem; color: var(--text-muted);
  white-space: nowrap;
}

/* Instagram icon */
.ig-logo-wrap {
  margin-left: 2px; flex-shrink: 0; opacity: 0.85;
  transition: opacity 0.2s;
}
.ig-highlight-widget:hover .ig-logo-wrap { opacity: 1; }

@media (max-width: 480px) {
  .ig-sub-label { display: none; }
  .ig-username  { font-size: 0.78rem; }
}

/* ─────────────────────────────────────────────
   HERO STEP LIST
───────────────────────────────────────────── */
.hero-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.75rem;
}

.hero-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  letter-spacing: 0;
}

.hero-step-num.final {
  background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(16,185,129,0.08));
  border-color: rgba(16,185,129,0.5);
  color: var(--accent-emerald);
  box-shadow: 0 0 12px rgba(16,185,129,0.25);
}

.hero-step-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-step-final .hero-step-text {
  font-size: 1.5rem;
}

.hero-step-arrow {
  padding-left: 11px;
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0.5;
  line-height: 1;
  margin: 2px 0;
}

/* Social highlights row (IG + FB side by side) */
.social-highlights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.social-highlights-row .ig-highlight-widget {
  margin-bottom: 0;
}

/* Facebook ring — blue gradient instead of IG pink */
.fb-ring {
  background: linear-gradient(45deg, #1877F2, #42A5F5, #1877F2, #0D47A1) !important;
  animation: none !important;
}
.fb-highlight-widget:hover {
  border-color: rgba(24,119,242,0.5) !important;
  box-shadow: 0 8px 32px rgba(24,119,242,0.2) !important;
}

@media (max-width: 600px) {
  .hero-step-text  { font-size: 1.1rem; }
  .hero-step-final .hero-step-text { font-size: 1.2rem; }
  .social-highlights-row { flex-direction: column; }
}

/* ─────────────────────────────────────────────
   FOUNDER CARD — LIQUID GLASS SPLIT ANIMATION
───────────────────────────────────────────── */

/* Outer wrapper keeps layout stable */
.founder-split-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  min-height: 56px;
  position: relative;
}

/* The scene holds the original pill card + two split halves */
.founder-split-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Original pill card ── */
.founder-main-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  padding: 8px 20px 8px 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.25s,
    border-color 0.25s,
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.35s ease;
  will-change: transform, opacity;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}

.founder-main-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Split state: hide the main card with liquid blur */
.founder-split-scene.split .founder-main-card {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
  filter: blur(6px);
}

/* ── Split halves container ── */
.founder-split-halves {
  position: absolute;
  /* Anchor at the center of the scene */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  width: max-content;
}

/* Show halves when split */
.founder-split-scene.split .founder-split-halves {
  opacity: 1;
  pointer-events: auto;
}

/* ── Individual half pill ── */
.founder-half {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 60px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.25s ease;
  /* Start merged/invisible */
  opacity: 0;
  transform: translateX(0) scale(0.6);
  will-change: transform, opacity;
}

/* IG half styling */
.founder-half.ig-half {
  background: linear-gradient(135deg, rgba(240,148,51,0.15), rgba(188,24,136,0.15));
  border-color: rgba(240,148,51,0.25);
}
.founder-half.ig-half:hover {
  border-color: rgba(240,148,51,0.5);
  box-shadow: 0 12px 48px rgba(188,24,136,0.3), 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateX(-6px) scale(1.03) translateY(-2px) !important;
}

/* FB half styling */
.founder-half.fb-half {
  background: linear-gradient(135deg, rgba(24,119,242,0.15), rgba(66,165,245,0.1));
  border-color: rgba(24,119,242,0.25);
}
.founder-half.fb-half:hover {
  border-color: rgba(24,119,242,0.5);
  box-shadow: 0 12px 48px rgba(24,119,242,0.3), 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateX(6px) scale(1.03) translateY(-2px) !important;
}

/* Animate halves into position when split — spread outward from center */
.founder-split-scene.split .founder-half.ig-half {
  opacity: 1;
  transform: translateX(-6px) scale(1);
  transition-delay: 0.04s;
}
.founder-split-scene.split .founder-half.fb-half {
  opacity: 1;
  transform: translateX(6px) scale(1);
  transition-delay: 0.09s;
}

/* Chevron hint on main card */
.founder-chevron-hint {
  margin-left: 2px;
  transition: transform 0.25s ease;
  opacity: 0.4;
}
.founder-main-card:hover .founder-chevron-hint { opacity: 0.7; }

/* Close button (×) on the split view */
.founder-split-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
  backdrop-filter: blur(8px);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.founder-split-scene.split .founder-split-close {
  opacity: 1;
  pointer-events: auto;
}
.founder-split-close:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Profile pic in split cards */
.founder-half-avatar {
  position: relative;
  flex-shrink: 0;
}
.founder-half-avatar-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-half-avatar-ring.ig-ring-half {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  animation: igSpin 4s linear infinite;
}
.founder-half-avatar-ring.fb-ring-half {
  background: linear-gradient(45deg, #1877F2, #42A5F5, #1877F2);
  animation: none;
}
.founder-half-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0b0c10;
  padding: 2px;
  box-sizing: border-box;
  overflow: hidden;
}
.founder-half-avatar-inner img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Verified badge on avatar */
.founder-half-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0b0c10;
}

/* Text inside half */
.founder-half-info { display: flex; flex-direction: column; gap: 1px; }
.founder-half-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.founder-half-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.founder-half-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(24,119,242,0.15);
  border: 1px solid rgba(24,119,242,0.3);
  border-radius: 20px;
  padding: 0px 5px;
  font-size: 0.58rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* External link arrow on hover */
.founder-half-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  color: rgba(255,255,255,0.4);
}
.founder-half:hover .founder-half-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Liquid ripple effect on click */
@keyframes founderLiquidPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.25), inset 0 1px 0 rgba(255,255,255,0.1); }
  60%  { box-shadow: 0 0 0 18px rgba(255,255,255,0), inset 0 1px 0 rgba(255,255,255,0.1); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), inset 0 1px 0 rgba(255,255,255,0.08); }
}
.founder-main-card.liquid-pulse {
  animation: founderLiquidPulse 0.5s ease-out;
}

@media (max-width: 600px) {
  /* On mobile, stack the two halves vertically so they fit */
  .founder-split-halves {
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    width: min(88vw, 300px);
  }
  /* Reset horizontal spread — use vertical slide instead */
  .founder-half {
    opacity: 0;
    transform: translateY(0) scale(0.85);
    padding: 8px 14px 8px 8px;
    gap: 10px;
    white-space: normal;
  }
  .founder-split-scene.split .founder-half.ig-half {
    transform: translateY(-4px) scale(1);
    transition-delay: 0.04s;
  }
  .founder-split-scene.split .founder-half.fb-half {
    transform: translateY(4px) scale(1);
    transition-delay: 0.09s;
  }
  /* Hover overrides for mobile (touch devices — no hover) */
  .founder-half.ig-half:hover { transform: translateY(-4px) scale(1.02) !important; }
  .founder-half.fb-half:hover { transform: translateY(4px) scale(1.02) !important; }
  .founder-half-avatar-ring { width: 30px; height: 30px; }
  .founder-half-name { font-size: 0.75rem; }
  .founder-half-verified-tag { display: none; }
  /* Scene must be tall enough for stacked cards */
  .founder-split-scene { min-height: 90px; }
  .founder-split-wrapper { min-height: 100px; }
}
