/* ========================================
   JOSMAN PROJECT — Design System 2026
   Dark Mode / Glassmorphism 2.0 / Morado
   ======================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Midnight Blue High-End Surfaces */
  --bg-primary: #050508;
  --bg-secondary: #0A0A12;
  --bg-surface: rgba(0, 122, 255, 0.03);
  --bg-surface-hover: rgba(0, 122, 255, 0.06);
  --bg-glass: rgba(5, 5, 8, 0.75);

  /* Accent — Neon Cyan + Cyber Pink */
  --accent-cyan: #08F7FE;
  /* Neon Cyan */
  --accent-cyan-dim: #00B8D4;
  --accent-morado: #FE53BB;
  /* Cyber Pink */
  --accent-morado-light: #FF80CC;
  --accent-morado-deep: #D40078;
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-morado) 100%);
  --gradient-industrial: linear-gradient(135deg, #0A0A12 0%, #050508 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(0, 122, 255, 0.1) 0%, transparent 60%);

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-accent: var(--accent-cyan);

  /* Glass */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 122, 255, 0.35);
  --glass-blur: 16px;

  /* Spacing & Modern Edges */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Typography Scale */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --text-xs: clamp(0.7rem, 0.8vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.9vw, 0.9rem);
  --text-base: clamp(0.95rem, 1vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1.3vw, 1.3rem);
  --text-xl: clamp(1.3rem, 1.6vw, 1.6rem);
  --text-2xl: clamp(1.6rem, 2.2vw, 2.2rem);
  --text-3xl: clamp(1.8rem, 2.5vw, 2.5rem);
  --text-4xl: clamp(2.2rem, 3.2vw, 3.2rem);
  --text-hero: clamp(2.5rem, 4.5vw, 4rem);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Interactive Background Layer */
#bg-layer {
  position: fixed;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-color: #030305;
  background-image:
    /* 1. Micro-dot Grid (Architectural feel) */
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    /* 2. Organic Noise Texture */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
    /* 3. Ethereal Cyan Glow (Top Left) */
    radial-gradient(circle at 15% 15%, rgba(8, 247, 254, 0.04) 0%, transparent 40%),
    /* 4. Ethereal Pink Glow (Bottom Right) */
    radial-gradient(circle at 85% 85%, rgba(254, 83, 187, 0.03) 0%, transparent 40%);
  background-size: 40px 40px, 200px 200px, cover, cover;
  background-position: center;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  z-index: -2;
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
  filter: contrast(1.1);
}

/* Dark transparent overlay on top of background image */
#bg-layer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(5, 5, 8, 0.4) 0%, rgba(5, 5, 8, 0.75) 80%);
  z-index: 1;
}

#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* Background ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 80vh;
  background: radial-gradient(ellipse at center,
      rgba(0, 122, 255, 0.06) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(ellipse at center,
      rgba(0, 229, 255, 0.06) 0%,
      transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 3vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.section {
  padding: 3rem 0;
  position: relative;
}

.mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(8, 247, 254, 0.25));
}

.text-glow {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(8, 247, 254, 0.35);
  animation: glow-text-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-text-pulse {
  from {
    text-shadow: 0 0 20px rgba(8, 247, 254, 0.2);
  }

  to {
    text-shadow: 0 0 40px rgba(8, 247, 254, 0.4), 0 0 10px rgba(254, 83, 187, 0.3);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

.reveal-delay-4 {
  transition-delay: 400ms;
}

.reveal-delay-5 {
  transition-delay: 500ms;
}

/* --- Glass Card Component --- */
.glass-card {
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 25px rgba(8, 247, 254, 0.3),
    0 0 50px rgba(8, 247, 254, 0.1);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
}

/* .site-header.scrolled removed */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 3vw, 2.5rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform var(--duration-base) var(--ease-out);
}

.logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 10px rgba(8, 247, 254, 0.4));
}

.logo img {
  height: auto;
  width: 135px;
  /* Filtro para aproximar el cian #08F7FE */
  filter: invert(74%) sepia(95%) saturate(2062%) hue-rotate(130deg) brightness(105%) contrast(105%);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 122, 255, 0.4),
    0 0 60px rgba(0, 122, 255, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: var(--text-base);
}

/* ========================================
   HERO SECTION
   ======================================== */
.header-cta .btn-secondary {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
}

.header-cta .btn-secondary:hover {
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  border-radius: 0;
  transform: translateY(-2px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Hero ambient orb */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float-orb 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-40px, 30px) scale(1.1);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
  width: fit-content;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* Micro Social Proof under CTA */
.micro-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.micro-proof-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.micro-proof-stars {
  display: flex;
  gap: 2px;
  color: #FFD700;
  font-size: 0.85rem;
}

.micro-proof-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.micro-proof-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.5;
}

.micro-proof-logos svg {
  height: 18px;
  width: auto;
  fill: var(--text-secondary);
}

/* Hero Demo / Playground */
.hero-demo {
  position: relative;
  z-index: 2;
}

.playground {
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--accent-cyan-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(8, 247, 254, 0.1);
  position: relative;
}

/* Subtle Scanline Effect */
.playground::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.1) 50%),
    linear-gradient(90deg,
      rgba(255, 0, 0, 0.02),
      rgba(0, 255, 0, 0.01),
      rgba(0, 0, 255, 0.02));
  background-size: 100% 3px, 3px 100%;
  pointer-events: none;
  z-index: 10;
  opacity: 0.5;
}

.playground-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}

.playground-dots {
  display: flex;
  gap: 6px;
}

.playground-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.playground-dots span:nth-child(1) {
  background: #FF5F57;
}

.playground-dots span:nth-child(2) {
  background: #FEBC2E;
}

.playground-dots span:nth-child(3) {
  background: #28C840;
}

.playground-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.playground-body {
  padding: 1.5rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.playground-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.playground-input .prompt-symbol {
  color: var(--accent-cyan);
  font-weight: 700;
}

.playground-output {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.playground-output-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.typewriter-text {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.8;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent-cyan);
  margin-left: 2px;
  animation: blink-cursor 0.8s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink-cursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Skeleton shimmer */
.skeleton {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.04) 25%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-line {
  height: 12px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-line:nth-child(1) {
  width: 95%;
}

.skeleton-line:nth-child(2) {
  width: 80%;
}

.skeleton-line:nth-child(3) {
  width: 90%;
}

.skeleton-line:nth-child(4) {
  width: 60%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ========================================
   SECTION: HOW IT WORKS (Cómo Funciona)
   ======================================== */
.how-it-works {
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* BAB: Before-After-Bridge layout */
.bab-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1000px;
  align-items: stretch;
}

.bab-card {
  padding: 2.2rem;
  flex: 1;
  border: 1px solid var(--glass-border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.bab-card.before {
  border-color: rgba(255, 82, 82, 0.15);
}

.bab-card.before:hover {
  box-shadow: inset 0 0 30px rgba(255, 82, 82, 0.05),
    0 0 20px rgba(255, 82, 82, 0.1);
  border-color: rgba(255, 82, 82, 0.3);
}

.bab-card.after {
  border-color: rgba(8, 247, 254, 0.15);
}

.bab-card.after:hover {
  box-shadow: 0 0 40px rgba(8, 247, 254, 0.15);
  border-color: var(--accent-cyan);
  transform: scale(1.02);
}

.bab-card.before {
  border: 1px solid rgba(255, 82, 82, 0.2);
  background: rgba(255, 82, 82, 0.04);
}

.bab-card.after {
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.04);
}

.bab-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bab-card.before .bab-label {
  color: #FF5252;
}

.bab-card.after .bab-label {
  color: var(--accent-cyan);
}

.bab-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bab-list li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.bab-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 0.45rem;
}

.bab-card.before .bab-list li::before {
  background: #FF5252;
}

.bab-card.after .bab-list li::before {
  background: var(--accent-cyan);
}

.bab-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 1rem;
}

.bab-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(8, 247, 254, 0.4);
  position: relative;
  z-index: 2;
  animation: bridge-pulse 2s infinite;
}

@keyframes bridge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(8, 247, 254, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(8, 247, 254, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(8, 247, 254, 0);
  }
}

.bab-bridge-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Steps (Bento Grid) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  display: none;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(8, 247, 254, 0.05);
  /* Cyan dim background */
  border: 1px solid rgba(8, 247, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-cyan);
  transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-cyan);
  filter: drop-shadow(0 0 5px rgba(8, 247, 254, 0.4));
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(8, 247, 254, 0.1);
  filter: drop-shadow(0 0 10px rgba(8, 247, 254, 0.3));
}

/* --- Scanner Light Animation --- */
.step-card::after,
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--accent-cyan) 50%,
      transparent 100%);
  box-shadow: 0 0 15px var(--accent-cyan),
    0 0 30px rgba(8, 247, 254, 0.4);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}

.step-card:hover::after,
.testimonial-card:hover::after,
.cta-box:hover::after {
  opacity: 1;
  animation: scanner-light 2s linear infinite;
}

@keyframes scanner-light {
  0% {
    top: 100%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 0%;
    opacity: 0;
  }
}

.hero-content h1 {
  font-size: var(--text-hero);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.step-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   SECTION: SOCIAL PROOF
   ======================================== */
.social-proof {
  position: relative;
}

.social-proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-metric {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
}

.testimonial-metric-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
  position: relative;
  padding-left: 1.2rem;
  border-left: 3px solid var(--accent-cyan-dim);
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(8, 247, 254, 0.05);
  border: 1px solid rgba(8, 247, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.testimonial-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-cyan);
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ========================================
   SECTION: CTA / CONVERSION FOOTER
   ======================================== */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
}

.cta-box {
  padding: clamp(3rem, 5vw, 5rem);
  border-radius: var(--radius-xl);
  text-align: center;
  background: linear-gradient(135deg,
      rgba(8, 247, 254, 0.05) 0%,
      rgba(8, 247, 254, 0.02) 100%);
  border: 1px solid rgba(8, 247, 254, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-box:hover {
  border-color: rgba(8, 247, 254, 0.4);
  box-shadow: 0 0 30px rgba(8, 247, 254, 0.1);
}

/* Pseudo-element for the scanner light effect */
.cta-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--accent-cyan) 50%,
      transparent 100%);
  box-shadow: 0 0 15px var(--accent-cyan),
    0 0 30px rgba(8, 247, 254, 0.4);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}

.cta-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Lead Qualifier Form UI */
.lead-qualifier {
  max-width: 750px;
  margin: 0 auto 3rem;
  min-height: 250px;
  /* Prevent layout jump */
  position: relative;
}

.form-step {
  display: none;
  animation: slideUpFade 0.4s var(--ease-out);
}

.form-step.active {
  display: block;
}

.step-label {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.service-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-chip:hover {
  background: rgba(8, 247, 254, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(8, 247, 254, 0.2);
}

.chip-icon {
  font-size: 1.2rem;
}

.back-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.back-link:hover {
  color: var(--accent-cyan);
}

/* Advanced Form Layout */
.cta-form-advanced {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-textarea {
  width: 100%;
  min-height: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  resize: vertical;
  transition: all 0.3s ease;
}

.cta-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(8, 247, 254, 0.02);
  box-shadow: 0 0 15px rgba(8, 247, 254, 0.1);
}

.form-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.form-row .cta-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-row .cta-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(8, 247, 254, 0.02);
  box-shadow: 0 0 15px rgba(8, 247, 254, 0.1);
}

.cta-button {
  background: var(--gradient-primary);
  color: #000;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(8, 247, 254, 0.4);
  filter: brightness(1.1);
}

/* Privacy Consent Styling */
.privacy-consent {
  margin-bottom: 2rem;
  text-align: left;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(8, 247, 254, 0.2);
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
}

.checkbox-container:hover input~.checkmark {
  border-color: rgba(8, 247, 254, 0.5);
  background-color: rgba(8, 247, 254, 0.05);
}

.checkbox-container input:checked~.checkmark {
  background-color: rgba(8, 247, 254, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(8, 247, 254, 0.3);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--accent-cyan);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text a {
  color: var(--accent-cyan);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.checkbox-text a:hover {
  opacity: 0.8;
}

.usp-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(8, 247, 254, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(8, 247, 254, 0.15);
  margin-bottom: 2rem;
}

.step-header {
  text-align: center;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }

  .form-row .cta-button {
    width: 100%;
  }
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cta-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Email form inline */
.email-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 460px;
  margin: 0 auto 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out);
}

.email-form:focus-within {
  border-color: var(--accent-morado-light);
  box-shadow: 0 0 20px rgba(156, 39, 176, 0.15);
}

.email-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.email-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.email-form .btn {
  border-radius: 50px;
  flex-shrink: 0;
  margin: 4px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
  opacity: 0.6;
}

.footer-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
  position: relative;
  padding-left: 3.5rem;
  align-items: center;
}

/* Neural Connection Graphic for Footer Links */
.footer-links::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='26' viewBox='0 0 40 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L14 24H38' stroke='%2308F7FE' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='2' cy='2' r='2' fill='%2308F7FE'%3E%3Canimate attributeName='opacity' values='0.4;1;0.4' dur='3s' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='14' cy='24' r='2' fill='%2308F7FE'%3E%3Canimate attributeName='opacity' values='1;0.4;1' dur='3s' repeatCount='indefinite' /%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  opacity: 0.6;
  pointer-events: none;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(8, 247, 254, 0.5);
  transform: translateY(-1px);
}

/* Off-ramp */
.off-ramp {
  text-align: center;
  padding: 2rem 0 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.off-ramp-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.off-ramp a {
  font-size: var(--text-sm);
  color: var(--accent-cyan);
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.off-ramp a:hover {
  color: var(--accent-morado-light);
}

/* ========================================
   LOGO BAR (Clients)
   ======================================== */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: 3rem 0;
  flex-wrap: wrap;
  opacity: 0.45;
  transition: opacity var(--duration-base) var(--ease-out);
}

.logo-bar:hover {
  opacity: 0.7;
}

.logo-bar svg {
  height: 24px;
  width: auto;
  fill: var(--text-secondary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .micro-proof {
    justify-content: center;
    flex-wrap: wrap;
  }

  .bab-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bab-bridge {
    flex-direction: row;
    writing-mode: horizontal-tb;
    padding: 0.5rem;
  }

  .bab-bridge-text {
    writing-mode: horizontal-tb;
    text-orientation: initial;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .header-cta .btn-secondary {
    display: none;
  }

  .playground-body {
    min-height: 240px;
    padding: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .email-form {
    flex-direction: column;
    border-radius: var(--radius-md);
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .email-form input[type="email"] {
    width: 100%;
    text-align: center;
  }

  .email-form .btn {
    width: 100%;
    border-radius: var(--radius-md);
  }
}

/* ========================================
   GLOW EFFECTS & EXTRAS
   ======================================== */
@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(156, 39, 176, 0.4), 0 0 80px rgba(0, 229, 255, 0.1);
  }
}

.glow {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* Floating particles (CSS only) */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-morado-light);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle linear infinite;
}

.particle:nth-child(odd) {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.particle:nth-child(even) {
  background: var(--accent-morado);
  box-shadow: 0 0 10px var(--accent-morado);
}

.particle:nth-child(1) {
  left: 10%;
  animation-duration: 12s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 25%;
  animation-duration: 15s;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  left: 40%;
  animation-duration: 10s;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  left: 60%;
  animation-duration: 14s;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  left: 80%;
  animation-duration: 11s;
  animation-delay: 3s;
}

.particle:nth-child(6) {
  left: 90%;
  animation-duration: 13s;
  animation-delay: 5s;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* --- Terminal Cursor --- */
.typewriter-cursor {
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background: var(--accent-cyan);
  margin-left: 4px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--accent-cyan);
}

@keyframes blink-cursor {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ========================================
   MARQUEE INFINITE SCROLL
   ======================================== */
.marquee-track {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.marquee-track::before,
.marquee-track::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-track::before {
  left: 0;
  top: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-track::after {
  right: 0;
  top: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-content {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 40s linear infinite;
  list-style: none;
}

/* --- Marquee Item Ghost Mode --- */
.marquee-content li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
  white-space: nowrap;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  filter: grayscale(0);
  opacity: 1;
}

.marquee-content li:hover {
  filter: grayscale(0);
  opacity: 1;
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.tech-icon {
  font-size: 1.4rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1.5rem));
  }
}

/* ========================================
   MODAL SYSTEM (Josman Protocol)
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(8, 247, 254, 0.2);
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s var(--ease-out);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal-content {
  padding: 3rem;
  overflow-y: auto;
  max-height: 85vh;
}

.modal-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.modal-title::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.modal-text {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

.modal-text h3 {
  color: var(--text-primary);
  font-size: var(--text-lg);
  margin: 1.5rem 0 0.8rem;
  font-family: var(--font-mono);
}

.modal-text p {
  margin-bottom: 1rem;
}

.modal-text ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.modal-text li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.modal-text li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(8, 247, 254, 0.1);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(8, 247, 254, 0.2);
}