/* ============================================
   AgentXLair — styles.css
   Tomorrowland / Space Mountain meets AI
   ============================================ */

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

:root {
  /* Dark theme (default) */
  --bg-primary: #070B14;
  --bg-secondary: #0C1222;
  --bg-card: rgba(12, 18, 34, 0.65);
  --bg-card-border: rgba(0, 240, 255, 0.12);
  --bg-card-hover: rgba(0, 240, 255, 0.06);
  --text-primary: #E8ECF4;
  --text-secondary: #8B92A8;
  --text-muted: #5A6178;
  --accent-cyan: #00F0FF;
  --accent-violet: #8B5CF6;
  --accent-pink: #FF6B9D;
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);
  --glow-violet: 0 0 20px rgba(139, 92, 246, 0.3);
  --glass-bg: rgba(12, 18, 34, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 16px;
  --nav-bg: rgba(7, 11, 20, 0.8);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(255, 255, 255, 0.12);
  --footer-bg: #060A12;
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
  --grid-color: rgba(0, 240, 255, 0.03);
}

[data-theme="light"] {
  --bg-primary: #FAFBFF;
  --bg-secondary: #F0F2F8;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-border: rgba(139, 92, 246, 0.12);
  --bg-card-hover: rgba(139, 92, 246, 0.04);
  --text-primary: #1A1D2B;
  --text-secondary: #555B72;
  --text-muted: #8B92A8;
  --glow-cyan: 0 0 12px rgba(0, 200, 220, 0.15);
  --glow-violet: 0 0 12px rgba(139, 92, 246, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-blur: 12px;
  --nav-bg: rgba(250, 251, 255, 0.85);
  --input-bg: rgba(0, 0, 0, 0.04);
  --input-border: rgba(0, 0, 0, 0.1);
  --footer-bg: #F0F2F8;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --grid-color: rgba(139, 92, 246, 0.04);
}

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Subtle grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-pink); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── News Ticker ───────────────────────────── */
.ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  height: 32px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.08), rgba(139, 92, 246, 0.08));
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  overflow: hidden;
  font-size: 0.78rem;
}

[data-theme="light"] .ticker {
  background: linear-gradient(90deg, rgba(0, 200, 220, 0.06), rgba(139, 92, 246, 0.06));
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(0, 240, 255, 0.1);
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scroll 400s linear infinite;
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
}

.ticker-content a {
  color: var(--text-secondary) !important;
  text-decoration: none;
  transition: color 0.2s;
}
.ticker-content a:hover { color: var(--accent-cyan) !important; }

.ticker-sep {
  display: inline-block;
  margin: 0 24px;
  color: var(--accent-violet);
  opacity: 0.5;
}

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

/* Pause on hover */
.ticker:hover .ticker-content { animation-play-state: paused; }

@media (max-width: 640px) {
  .ticker-label { padding: 0 10px; font-size: 0.62rem; }
  .ticker { height: 28px; font-size: 0.72rem; }
}

/* ── Stars ─────────────────────────────────── */
.stars {
  position: fixed;
  top: 0; left: 0;
  width: 1px; height: 1px;
  z-index: 0;
  pointer-events: none;
  animation: twinkle 4s ease-in-out infinite alternate;
}

[data-theme="light"] .stars { opacity: 0.15; }

@keyframes twinkle {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* ── Navigation ────────────────────────────── */
.nav {
  position: fixed;
  top: 32px; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

@media (max-width: 640px) {
  .nav { top: 28px; }
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 1px 0 var(--glass-border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent-cyan) !important; }
.nav-link--mobile-cta { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.3s;
  font-size: 1rem;
}
.theme-toggle:hover { transform: rotate(30deg); }
.theme-toggle-icon { transition: transform 0.4s; display: block; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-overlay-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-overlay-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary) !important;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--glow {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #070B14;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), 0 0 40px rgba(139, 92, 246, 0.15);
}
.btn--glow:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(139, 92, 246, 0.25);
  transform: translateY(-1px);
  color: #070B14;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--bg-card-border);
  color: var(--text-primary);
}
.btn--outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.btn--sm { padding: 8px 20px; font-size: 0.85rem; }

/* Pills / Tags */
.pill {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.pill--cyan { background: rgba(0, 240, 255, 0.12); color: var(--accent-cyan); }
.pill--violet { background: rgba(139, 92, 246, 0.12); color: var(--accent-violet); }
.pill--pink { background: rgba(255, 107, 157, 0.12); color: var(--accent-pink); }

.meta-text { font-size: 0.82rem; color: var(--text-muted); }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

.hero-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title--accent {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-form { margin-bottom: 24px; }

.hero-form-row {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.hero-input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-input::placeholder { color: var(--text-muted); }
.hero-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Floating orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.orb--cyan {
  width: 400px; height: 400px;
  background: var(--accent-cyan);
  top: 10%; left: 5%;
}
.orb--violet {
  width: 350px; height: 350px;
  background: var(--accent-violet);
  top: 30%; right: 5%;
  animation-delay: -3s;
}
.orb--pink {
  width: 250px; height: 250px;
  background: var(--accent-pink);
  bottom: 10%; left: 40%;
  animation-delay: -5s;
}

[data-theme="light"] .orb { opacity: 0.12; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* ── Sections ──────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}

.section--alt { background: var(--bg-secondary); }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Featured Card ─────────────────────────── */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 48px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.featured-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}

.featured-card-image { border-radius: 12px; overflow: hidden; }

.featured-card-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(139, 92, 246, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.featured-card-icon {
  font-size: 3rem;
  opacity: 0.3;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.featured-card-body { display: flex; flex-direction: column; justify-content: center; }
.featured-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.featured-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.featured-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ── Article Grid ──────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}

.article-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.article-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.article-card-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* ── Ghost Mascot ──────────────────────────── */
.ghost {
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.2));
  transition: transform 0.4s ease;
}
.ghost:hover { transform: scale(1.05); pointer-events: auto; }

/* Fixed wrapper: follows user down the page (desktop only) */
.ghost-wrap {
  position: fixed;
  right: 60px;
  bottom: 60px;
  z-index: 90;
}

.ghost--fixed {
  width: 140px;
  opacity: 0.8;
  animation: ghost-float 5s ease-in-out infinite;
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
  pointer-events: auto;
}
.ghost--fixed:hover { opacity: 1; transform: scale(1.08); }

/* Popup menu */
.ghost-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 16px;
  min-width: 220px;
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 240, 255, 0.1);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.ghost-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.ghost-menu-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.ghost-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}
.ghost-menu-item:hover {
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-cyan) !important;
}

.ghost-menu-icon { font-size: 1rem; }

@keyframes ghost-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(2deg); }
  75% { transform: translateY(6px) rotate(-1deg); }
}

/* CTA section: peeking from bottom-right */
.ghost--cta {
  position: absolute;
  bottom: -10px;
  right: 32px;
  width: 72px;
  opacity: 0.6;
  z-index: 1;
  animation: ghost-float 6s ease-in-out infinite;
  animation-delay: -2s;
}

/* Footer: small next to logo */
.ghost--footer {
  width: 36px;
  opacity: 0.5;
  margin-top: 8px;
  animation: ghost-float 7s ease-in-out infinite;
  animation-delay: -4s;
}

@media (max-width: 640px) {
  .ghost-wrap { display: none; }
  .ghost--cta { width: 52px; right: 16px; }
}

/* ── Promo Banner ──────────────────────────── */
.promo-section { padding: 40px 0; }

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 32px 36px;
  text-decoration: none !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: border-color 0.3s, box-shadow 0.3s;
}
.promo-banner:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-card), var(--glow-violet);
}

.promo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.15;
  pointer-events: none;
}
.promo-glow--1 { width: 200px; height: 200px; background: var(--accent-violet); top: -60px; left: -40px; }
.promo-glow--2 { width: 160px; height: 160px; background: var(--accent-pink); bottom: -50px; right: -30px; }

.promo-body { flex: 1; position: relative; }

.promo-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #070B14;
  background: var(--accent-pink);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.promo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.promo-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.promo-cta { flex-shrink: 0; position: relative; }

@media (max-width: 640px) {
  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
}

/* ── Video Grid ────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: var(--shadow-card), var(--glow-violet);
}

.video-card-thumb { position: relative; }

.video-card-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 107, 157, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 56px; height: 56px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transition: transform 0.3s, background 0.3s;
}
.video-card:hover .play-btn {
  transform: scale(1.1);
  background: rgba(139, 92, 246, 0.4);
}

.video-duration {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.video-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 20px 24px 8px;
}

.video-card-link {
  display: block;
  padding: 0 24px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-violet);
}

/* ── About ─────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-text strong { color: var(--text-primary); }

.about-quote {
  border-left: 3px solid var(--accent-violet);
  padding: 16px 0 16px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.about-links { display: flex; gap: 12px; margin-top: 8px; }

.about-photo-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-card);
}

/* ── CTA Section ───────────────────────────── */
.section--cta { padding: 60px 0 100px; }

.cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}
.cta-orb--1 { width: 300px; height: 300px; background: var(--accent-cyan); top: -80px; left: -60px; }
.cta-orb--2 { width: 250px; height: 250px; background: var(--accent-pink); bottom: -60px; right: -40px; }

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-form { position: relative; margin-bottom: 16px; }

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
}

/* ── Footer ────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 280px; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; }

.footer-links { display: flex; gap: 56px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary) !important;
}
.footer-col a:hover { color: var(--accent-cyan) !important; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Toast ─────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent-cyan);
  color: #070B14;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Scroll Reveal ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children in grids */
.article-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.article-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.article-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.article-grid .reveal:nth-child(5) { transition-delay: 0.4s; }

.video-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.video-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { order: -1; max-width: 320px; margin: 0 auto; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 36px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-form-row { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 8px; }

  .section { padding: 60px 0; }

  .article-grid, .video-grid { grid-template-columns: 1fr; }

  .cta-card { padding: 48px 24px; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links { flex-wrap: wrap; }
}

@media (min-width: 641px) {
  .hamburger { display: none; }
}
