/* ============================================
   FORWARD FLOW BLOG — NEON EDITORIAL v2
   ULTRA VIBRANT · GLOWY · FUNKY
   ============================================ */

:root {
  --black: #08080c;
  --black-warm: #0e0e14;
  --surface: #141420;
  --surface-2: #1a1a2a;
  --neon: #c8ff2e;
  --neon-dim: #9ecc24;
  --coral: #ff3366;
  --hot-pink: #ff2ecb;
  --electric-blue: #2ef0ff;
  --purple: #7b61ff;
  --amber: #ffc640;
  --ice: #ffffff;
  --mid: #e0e0e8;
  --dim: #b8b8c8;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1280px;
  --glow-neon: 0 0 20px rgba(200, 255, 46, 0.4), 0 0 60px rgba(200, 255, 46, 0.15);
  --glow-pink: 0 0 20px rgba(255, 46, 203, 0.4), 0 0 60px rgba(255, 46, 203, 0.15);
  --glow-blue: 0 0 20px rgba(46, 240, 255, 0.4), 0 0 60px rgba(46, 240, 255, 0.15);
  --glow-purple: 0 0 20px rgba(123, 97, 255, 0.4), 0 0 60px rgba(123, 97, 255, 0.15);
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--ice);
  line-height: 1.55;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}
ul {
  list-style: none;
}
input {
  font: inherit;
}
::selection {
  background: var(--neon);
  color: var(--black);
}

.text-accent {
  color: var(--neon);
  text-shadow: 0 0 30px rgba(200, 255, 46, 0.5);
}

/* ---- GLOBAL GLOW OVERLAY ---- */
.aurora-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(200, 255, 46, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(255, 46, 203, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(46, 240, 255, 0.04) 0%, transparent 50%);
  animation: auroraShift 12s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0% {
    opacity: 0.6;
    filter: hue-rotate(0deg);
  }
  50% {
    opacity: 1;
    filter: hue-rotate(15deg);
  }
  100% {
    opacity: 0.8;
    filter: hue-rotate(-10deg);
  }
}

/* Noise/grain texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ---- FLOATING ORBS ---- */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 255, 46, 0.12), transparent 70%);
  top: 10%;
  left: -5%;
  animation-duration: 18s;
}
.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 46, 203, 0.1), transparent 70%);
  top: 40%;
  right: -5%;
  animation-duration: 22s;
  animation-delay: -7s;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 240, 255, 0.08), transparent 70%);
  bottom: 10%;
  left: 30%;
  animation-duration: 25s;
  animation-delay: -12s;
}
@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(60px, -40px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 50px) scale(0.9);
  }
  75% {
    transform: translate(40px, 30px) scale(1.05);
  }
}

/* ---- DOT GRID CANVAS ---- */
.dot-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 3vw, 48px);
  height: 72px;
  display: flex;
  align-items: center;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--glass-border);
  box-shadow:
    0 4px 40px rgba(200, 255, 46, 0.04),
    0 1px 0 rgba(255, 46, 203, 0.05);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo-img {
  height: 36px;
  width: auto;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mid);
  letter-spacing: 0.05em;
}
.nav-label {
  color: var(--neon);
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(200, 255, 46, 0.5);
}
.nav-divider {
  opacity: 0.3;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 0.85rem;
  color: var(--mid);
  transition:
    color 0.25s,
    text-shadow 0.25s;
}
.nav-link:hover {
  color: var(--ice);
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  background: var(--neon);
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(200, 255, 46, 0.2);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.nav-cta:hover::before {
  transform: translateX(100%);
}
.nav-cta:hover {
  background: #fff;
  box-shadow:
    0 0 40px rgba(200, 255, 46, 0.5),
    0 0 80px rgba(200, 255, 46, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ice);
  transition: 0.3s;
  border-radius: 2px;
}
.nav-toggle.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}
.nav-toggle.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  z-index: 105;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 24px;
  transition: right 0.4s var(--ease);
  border-left: 1px solid var(--glass-border);
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ice);
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
}

/* ---- TICKER ---- */
.ticker {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  padding: 14px 0;
  background: linear-gradient(
    90deg,
    var(--neon),
    #a0ff2e,
    var(--hot-pink),
    var(--electric-blue),
    var(--neon)
  );
  background-size: 300% 100%;
  animation: tickerGradient 8s linear infinite;
  color: var(--black);
  overflow: hidden;
  white-space: nowrap;
  box-shadow:
    0 4px 30px rgba(200, 255, 46, 0.3),
    0 0 60px rgba(255, 46, 203, 0.15);
}
@keyframes tickerGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}
.ticker-track {
  display: inline-flex;
  gap: 32px;
  animation: tickerScroll 30s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ticker-track span {
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  z-index: 2;
  padding: 100px clamp(20px, 3vw, 48px) 80px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(200, 255, 46, 0.5);
}
.eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(200, 255, 46, 0.6);
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.hero-title span {
  display: block;
  font-size: clamp(5rem, 12vw, 11rem);
  text-transform: uppercase;
}
.hero-title-accent {
  color: var(--neon);
  -webkit-text-stroke: 0;
  text-shadow:
    0 0 40px rgba(200, 255, 46, 0.5),
    0 0 100px rgba(200, 255, 46, 0.2);
  animation: heroGlow 3s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% {
    text-shadow:
      0 0 40px rgba(200, 255, 46, 0.5),
      0 0 100px rgba(200, 255, 46, 0.2);
  }
  50% {
    text-shadow:
      0 0 60px rgba(200, 255, 46, 0.7),
      0 0 140px rgba(200, 255, 46, 0.3),
      0 0 200px rgba(255, 46, 203, 0.1);
  }
  100% {
    text-shadow:
      0 0 40px rgba(200, 255, 46, 0.5),
      0 0 100px rgba(200, 255, 46, 0.2);
  }
}
.hero-title-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ice);
  transition: all 0.5s;
}
.hero-title-outline:hover {
  -webkit-text-stroke: 2px var(--hot-pink);
  filter: drop-shadow(0 0 20px rgba(255, 46, 203, 0.5));
}

.hero-right p {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 360px;
}
.hero-meta {
  display: flex;
  gap: 32px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
}
.hero-meta-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 24px rgba(200, 255, 46, 0.5);
}
.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-top: 4px;
}

.hero-scroll-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: var(--dim);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--hot-pink));
  box-shadow: 0 0 8px var(--neon);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% {
    left: -100%;
  }
  50% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

/* ---- FEATURED ---- */
.featured {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 3vw, 48px) 80px;
  max-width: var(--container);
  margin: 0 auto;
}
.featured-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.label-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(200, 255, 46, 0.4);
}
.label-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
  padding-top: 6px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--glass);
  transition: all 0.5s var(--ease);
  position: relative;
}
/* Animated gradient border */
.featured-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    var(--neon),
    var(--hot-pink),
    var(--electric-blue),
    var(--purple),
    var(--neon)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  animation: borderRotate 4s linear infinite;
}
@keyframes borderRotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
.featured-card:hover::before {
  opacity: 1;
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(200, 255, 46, 0.1),
    0 0 120px rgba(255, 46, 203, 0.05);
}

.featured-visual {
  position: relative;
  min-height: 380px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-visual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(200, 255, 46, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 46, 203, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(46, 240, 255, 0.06) 0%, transparent 40%);
}
.featured-visual-text {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  color: var(--neon);
  opacity: 0.2;
  position: relative;
  z-index: 1;
  animation: visualPulse 4s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(200, 255, 46, 0.5);
}
@keyframes visualPulse {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
    text-shadow: 0 0 40px rgba(200, 255, 46, 0.3);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.02);
    text-shadow:
      0 0 80px rgba(200, 255, 46, 0.7),
      0 0 120px rgba(255, 46, 203, 0.2);
  }
}
.featured-visual-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(200, 255, 46, 0.15);
  border-radius: 50%;
  animation: ringExpand 6s ease-in-out infinite;
  box-shadow:
    0 0 20px rgba(200, 255, 46, 0.05),
    inset 0 0 20px rgba(200, 255, 46, 0.03);
}
.featured-visual-ring-2 {
  width: 300px;
  height: 300px;
  animation-delay: -3s;
  border-color: rgba(255, 46, 203, 0.1);
  box-shadow:
    0 0 20px rgba(255, 46, 203, 0.05),
    inset 0 0 20px rgba(255, 46, 203, 0.03);
}
@keyframes ringExpand {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.featured-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.featured-top time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
}
.cat-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 4px;
  background: var(--neon);
  color: var(--black);
  box-shadow: 0 0 12px rgba(200, 255, 46, 0.3);
}
.cat-pill-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ice);
  border: 1px solid var(--glass-border);
  box-shadow: none;
}

.featured-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.featured-content p {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 440px;
}

.featured-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}
.read-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon);
  transition:
    gap 0.3s,
    text-shadow 0.3s;
  text-shadow: 0 0 8px rgba(200, 255, 46, 0.3);
}
.featured-card:hover .read-cta {
  gap: 14px;
  text-shadow: 0 0 16px rgba(200, 255, 46, 0.6);
}
.read-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dim);
}

/* ---- BENTO GRID ---- */
.blog-bento {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 3vw, 48px) 100px;
  max-width: var(--container);
  margin: 0 auto;
}
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--glass);
  transition: all 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 30px color-mix(in srgb, var(--accent) 30%, transparent);
}
.bento-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transition:
    opacity 0.4s,
    height 0.6s var(--ease);
}
.bento-card:hover .bento-card-bg {
  opacity: 1;
  height: 100%;
}

.bento-card-inner {
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: color 0.4s;
}

.bento-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dim);
  margin-bottom: 20px;
  transition: color 0.4s;
}
.bento-card:hover .bento-num {
  color: var(--black);
}

.bento-body {
  flex: 1;
}
.bento-body .cat-pill-dark {
  margin-bottom: 14px;
  display: inline-block;
  transition: all 0.4s;
}
.bento-card:hover .cat-pill-dark {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 0, 0, 0.2);
}

.bento-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: color 0.4s;
}
.bento-card:hover .bento-body h3 {
  color: var(--black);
}

.bento-body p {
  color: var(--mid);
  font-size: 0.88rem;
  line-height: 1.6;
  transition: color 0.4s;
}
.bento-card:hover .bento-body p {
  color: rgba(0, 0, 0, 0.6);
}

.bento-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dim);
  transition: all 0.4s;
}
.bento-card:hover .bento-footer {
  color: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Bento variants */
.bento-tall {
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}
.bento-wide-inner {
  flex-direction: row !important;
  align-items: center;
  gap: 40px;
}
.bento-wide-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.bento-wide-left .bento-num {
  margin-bottom: 0;
}
.bento-wide-center {
  flex: 1;
}
.bento-wide-center h3 {
  font-size: 1.8rem;
}
.bento-wide-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}
.bento-stat {
  text-align: right;
}
.bento-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 30px rgba(200, 255, 46, 0.5);
  transition:
    color 0.4s,
    text-shadow 0.4s;
}
.bento-card:hover .bento-stat-num {
  color: var(--black);
  text-shadow: none;
}
.bento-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  transition: color 0.4s;
}
.bento-card:hover .bento-stat-label {
  color: rgba(0, 0, 0, 0.5);
}

/* ---- AGENT STORIES ---- */
.stories {
  position: relative;
  z-index: 2;
  padding: 80px clamp(20px, 3vw, 48px) 100px;
  max-width: var(--container);
  margin: 0 auto;
}
.stories-header {
  margin-bottom: 48px;
}
.stories-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Glowing divider before stories */
.stories::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 80px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon),
    var(--hot-pink),
    var(--electric-blue),
    transparent
  );
  box-shadow:
    0 0 20px rgba(200, 255, 46, 0.3),
    0 0 40px rgba(255, 46, 203, 0.15);
}

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

.story-card {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--glass);
  transition: all 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 30px color-mix(in srgb, var(--accent) 30%, transparent);
}
.story-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transition:
    opacity 0.4s,
    height 0.6s var(--ease);
}
.story-card:hover .story-card-bg {
  opacity: 1;
  height: 100%;
}

.story-card-inner {
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.story-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
  box-shadow: 0 0 16px rgba(200, 255, 46, 0.1);
}
.story-card:nth-child(1) .story-avatar {
  box-shadow: 0 0 16px rgba(200, 255, 46, 0.2);
}
.story-card:nth-child(2) .story-avatar {
  box-shadow: 0 0 16px rgba(0, 229, 160, 0.2);
}
.story-card:nth-child(3) .story-avatar {
  box-shadow: 0 0 16px rgba(255, 51, 102, 0.2);
}
.story-card:hover .story-avatar {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: none;
}
.story-meta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.story-meta-col .bento-num {
  margin-bottom: 0;
}

.story-body {
  flex: 1;
}
.story-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
  transition: color 0.4s;
}
.story-card:hover .story-body h3 {
  color: var(--black);
}

.story-quote {
  color: var(--mid);
  font-size: 0.88rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
  transition: color 0.4s;
}
.story-card:hover .story-quote {
  color: rgba(0, 0, 0, 0.55);
}

.story-author strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.4s;
}
.story-card:hover .story-author strong {
  color: var(--black);
}
.story-author span {
  font-size: 0.75rem;
  color: var(--dim);
  transition: color 0.4s;
}
.story-card:hover .story-author span {
  color: rgba(0, 0, 0, 0.4);
}

.story-card .bento-footer .read-cta {
  transition:
    gap 0.3s,
    color 0.4s;
}
.story-card:hover .bento-footer .read-cta {
  gap: 12px;
  color: var(--black);
}
.story-card:hover .bento-footer {
  color: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 0, 0, 0.1);
}
.story-card:hover .cat-pill-dark {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--black);
}

/* ---- SUBSCRIBE ---- */
.subscribe {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 3vw, 48px) 100px;
  max-width: var(--container);
  margin: 0 auto;
}
.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--glass);
  position: relative;
  overflow: hidden;
}
/* Animated top border */
.subscribe-inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--neon),
    var(--hot-pink),
    var(--electric-blue),
    var(--neon)
  );
  background-size: 200% 100%;
  animation: subscribeBorder 4s linear infinite;
  box-shadow: 0 0 20px rgba(200, 255, 46, 0.3);
}
@keyframes subscribeBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
/* Internal glow */
.subscribe-inner::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(200, 255, 46, 0.06), transparent 70%);
  pointer-events: none;
}

.subscribe-left h2 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.subscribe-right p {
  color: var(--mid);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
}
.subscribe-form input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--ice);
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  font-size: 0.9rem;
}
.subscribe-form input:focus {
  border-color: var(--neon);
  box-shadow:
    0 0 16px rgba(200, 255, 46, 0.2),
    inset 0 0 8px rgba(200, 255, 46, 0.05);
}
.subscribe-form input::placeholder {
  color: var(--dim);
}

.subscribe-form button {
  padding: 14px 24px;
  background: var(--neon);
  color: var(--black);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(200, 255, 46, 0.2);
  position: relative;
  overflow: hidden;
}
.subscribe-form button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.subscribe-form button:hover::before {
  transform: translateX(100%);
}
.subscribe-form button:hover {
  background: #fff;
  box-shadow:
    0 0 40px rgba(200, 255, 46, 0.5),
    0 0 80px rgba(200, 255, 46, 0.2);
}

.subscribe-ok {
  display: none;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(200, 255, 46, 0.5);
}
.subscribe-form.done ~ .subscribe-ok {
  display: block;
}

/* ---- FOOTER ---- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  padding: 40px clamp(20px, 3vw, 48px);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.5;
}
.footer-left p {
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 8px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--dim);
  transition:
    color 0.25s,
    text-shadow 0.25s;
}
.footer-links a:hover {
  color: var(--neon);
  text-shadow: 0 0 12px rgba(200, 255, 46, 0.4);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social a {
  color: var(--dim);
  transition:
    color 0.3s,
    transform 0.3s,
    filter 0.3s;
  display: flex;
}
.footer-social a:hover {
  color: var(--neon);
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(200, 255, 46, 0.5));
}
.footer-right span {
  font-size: 0.75rem;
  color: var(--dim);
  font-family: var(--font-mono);
}

/* ---- ANIMATIONS ---- */
.anim-in {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.anim-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title span {
    font-size: clamp(4rem, 10vw, 7rem);
  }
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-visual {
    min-height: 240px;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento-tall {
    grid-row: span 1;
  }
  .bento-wide {
    grid-column: span 2;
  }
  .bento-wide-inner {
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start !important;
  }
  .bento-wide-right {
    align-items: flex-start;
  }
  .stories-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stories-grid .story-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }
  .subscribe-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .nav-center,
  .nav-right {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .ticker {
    margin-top: 72px;
  }
  .hero {
    padding: 60px 20px 60px;
  }
  .hero-title span {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .featured {
    padding: 0 20px 60px;
  }
  .featured-content {
    padding: 28px;
  }
  .featured-content h2 {
    font-size: 1.8rem;
  }

  .blog-bento {
    padding: 0 20px 60px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
  }
  .bento-wide-inner {
    flex-direction: column !important;
  }

  .stories {
    padding: 60px 20px 60px;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .stories-grid .story-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .subscribe {
    padding: 0 20px 60px;
  }
  .subscribe-inner {
    padding: 32px 24px;
  }
  .subscribe-form {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }

  .orb {
    display: none;
  }
}
