/* ===================================
   NEURAL FOCO - DESIGN SYSTEM
   Professional AI Implementation Company
   =================================== */

/* ===================================
   CSS VARIABLES & TOKENS
   =================================== */
:root {
  /* Brand Colors - Based on Logo */
  --color-primary-cyan: #00CED1;
  --color-primary-purple: #8B5CF6;
  --color-dark-bg: #0A0E27;
  --color-secondary-dark: #1A1F3A;
  --color-accent-blue: #3B82F6;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary-cyan) 0%, var(--color-primary-purple) 100%);
  --gradient-dark: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-secondary-dark) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(0, 206, 209, 0.15) 0%, transparent 70%);

  /* Text Colors */
  --color-text-light: #FFFFFF;
  --color-text-gray: #A0AEC0;
  --color-text-muted: #718096;

  /* UI Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Typography — Space Grotesk (display/headings) · DM Sans (body) · JetBrains Mono (code) */
  --font-display: 'Space Grotesk', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow-cyan: 0 0 30px rgba(0, 206, 209, 0.5);
  --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.5);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* ─── 8px Spacing Grid ───────────────────────────────────────── */
  --s-1: 0.5rem;    /* 8px  */
  --s-2: 1rem;      /* 16px */
  --s-3: 1.5rem;    /* 24px */
  --s-4: 2rem;      /* 32px */
  --s-5: 2.5rem;    /* 40px */
  --s-6: 3rem;      /* 48px */
  --s-8: 4rem;      /* 64px */
  --s-10: 5rem;     /* 80px */
  --s-12: 6rem;     /* 96px */
  --s-16: 8rem;     /* 128px */

  /* ─── Typographic Scale — Major Third (×1.25) from 16px ─────── */
  /* Existing variable names preserved; values tightened for rhythm */
  /* --text-xs … --text-7xl keep backward-compat with other pages  */

  /* ─── Semantic Color Tokens ──────────────────────────────────── */
  --brand-cyan: var(--color-primary-cyan);
  --brand-purple: var(--color-primary-purple);

  --color-surface-base:    var(--color-dark-bg);
  --color-surface-raised:  var(--color-secondary-dark);
  --color-surface-glass:   rgba(255, 255, 255, 0.04);
  --color-border-subtle:   rgba(255, 255, 255, 0.07);
  --color-border-default:  rgba(255, 255, 255, 0.13);
  --color-border-accent:   rgba(0, 206, 209, 0.4);
  --color-text-primary:    var(--color-text-light);
  --color-text-secondary:  var(--color-text-gray);
  --color-text-tertiary:   var(--color-text-muted);

  /* Enhanced glow tokens */
  --glow-cyan:   0 0 40px rgba(0, 206, 209, 0.25), 0 0 80px rgba(0, 206, 209, 0.1);
  --glow-purple: 0 0 40px rgba(139, 92, 246, 0.25), 0 0 80px rgba(139, 92, 246, 0.1);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-dark-bg);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--text-6xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--text-5xl);
}

h3 {
  font-size: var(--text-4xl);
}

h4 {
  font-size: var(--text-3xl);
}

h5 {
  font-size: var(--text-2xl);
}

h6 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-gray);
}

a {
  color: var(--color-primary-cyan);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-purple);
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--spacing-2xl) 0;
}

.section-lg {
  padding: 6rem 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-light);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-cyan), var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-cyan);
  border: 2px solid var(--color-primary-cyan);
}

.btn-outline:hover {
  background: var(--color-primary-cyan);
  color: var(--color-dark-bg);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-light);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--text-sm);
}

/* ===================================
   CARDS
   =================================== */
.card {
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.card-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.card-gradient {
  background: var(--gradient-dark);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
}

.card-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-light);
}

.card-text {
  color: var(--color-text-gray);
  margin-bottom: var(--spacing-md);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 14, 39, 0.95);
  box-shadow: var(--shadow-xl);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.nav-logo {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-xl);
  list-style: none;
}

.nav-link {
  color: var(--color-text-gray);
  font-weight: 500;
  transition: color var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-text-light);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0.5;
  animation: pulse 4s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

/* Hero title — sized via .hero-grid override below; no CSS animation (handled by Framer Motion) */
.hero-title {
  font-size: var(--text-7xl);
  margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-gray);
  margin-bottom: var(--spacing-2xl);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ===================================
   FORMS
   =================================== */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-light);
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Select dropdown styling - improved for better visibility */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300CED1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 3rem;
  cursor: pointer;
}

.form-select option {
  background-color: #1A1F3A;
  color: #FFFFFF;
  padding: 12px;
}

.form-select option:disabled {
  color: #718096;
}

.form-select::-ms-expand {
  display: none;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--color-secondary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
  color: var(--color-text-gray);
  font-size: var(--text-sm);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: var(--shadow-glow-cyan);
  }

  50% {
    box-shadow: var(--shadow-glow-purple);
  }
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mt-5 {
  margin-top: var(--spacing-xl);
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mb-5 {
  margin-bottom: var(--spacing-xl);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  :root {
    --text-7xl: 3.5rem;
    --text-6xl: 3rem;
    --text-5xl: 2.5rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --text-7xl: 2.5rem;
    --text-6xl: 2rem;
    --text-5xl: 1.75rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--spacing-2xl);
    transition: left var(--transition-base);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 480px) {
  :root {
    --text-7xl: 2rem;
    --text-6xl: 1.75rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .btn {
    width: 100%;
  }
}

/* ===================================
   NEW DESIGN SYSTEM COMPONENTS v2
   Precision Technical Editorial
   =================================== */

/* ─── SCROLL PROGRESS BAR ─────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: calc(var(--z-fixed) + 5);
  pointer-events: none;
}

/* ─── FRAMER MOTION INITIAL STATES ───────────────────────────────────────── */
/* Elements animated by animations.js start invisible.
   The prefers-reduced-motion fallback makes them visible immediately. */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}

[data-stagger] [data-item] {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.hero-tag,
.hero-right,
.hero-stats {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-stagger] [data-item],
  .hero-tag,
  .hero-right,
  .hero-stats,
  .hero-title .word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ─── SPOTLIGHT CARD (21st.dev pattern) ─────────────────────────────────── */
/* JS sets --spot-x / --spot-y on mousemove; the visual is pure CSS.          */
.spotlight-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--spot-x, -200px) var(--spot-y, -200px),
    rgba(0, 206, 209, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 400ms ease;
  z-index: 0;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* ─── ANIMATED GRADIENT BORDER (21st.dev pattern) ───────────────────────── */
/* CSS @property enables smooth conic-gradient rotation — no JS needed.       */
@property --grad-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.gradient-border-card {
  position: relative;
  background: var(--color-surface-raised);
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--grad-angle),
    transparent 20%,
    var(--brand-cyan) 40%,
    var(--brand-purple) 60%,
    transparent 80%
  );
  animation: spin-border 5s linear infinite;
  z-index: -1;
}

.gradient-border-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  background: var(--color-dark-bg);
  z-index: -1;
}

@keyframes spin-border {
  to { --grad-angle: 360deg; }
}

/* ─── SECTION TAG (§01 style) ────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;            /* 11px — deliberate small scale */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: var(--s-3);
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

/* ─── HERO SPLIT GRID ────────────────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--s-8);
  align-items: flex-end;
  padding: var(--s-16) 0 var(--s-6);
  min-height: calc(90vh - 80px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Override global h1 size with fluid clamp — keeps gradient from global rule */
.hero-grid .hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.word {
  display: inline-block;
  margin-right: 0.2em;
  will-change: transform, opacity, filter;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: var(--s-4);
}

.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--s-2);
}

/* ─── HERO STATS STRIP ───────────────────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--s-6);
  margin-top: var(--s-4);
}

.hero-stat {
  padding: var(--s-4) var(--s-4);
  border-right: 1px solid var(--color-border-subtle);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--s-1);
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ─── STEP NUMBERS ───────────────────────────────────────────────────────── */
/* Replaces emoji section icons — typographic, not decorative                 */
.step-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  margin-bottom: var(--s-3);
  letter-spacing: -0.06em;
  display: block;
}

/* ─── BUTTON SHIMMER (21st.dev pattern) ─────────────────────────────────── */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 55%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 80%
  );
  transform: skewX(-20deg);
  transition: left 0s;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 160%;
  transition: left 0.55s ease-in-out;
}

/* ─── RESPONSIVE — NEW COMPONENTS ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--s-10) 0 var(--s-4);
    gap: var(--s-6);
    align-items: flex-start;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .hero-stat:nth-child(2) {
    border-right: none;
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-top: 1px solid var(--color-border-subtle);
  }
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-tag {
    font-size: 0.625rem;
  }
}
