/* ═══════════════════════════════════════════════════
   Quant Pattern — Marketing Landing Page
   Premium Theme with Light/Dark Mode + Glassmorphism
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties — DARK MODE (default) ── */
:root {
  --bg-deep: #06080f;
  --bg-primary: #0a0e1a;
  --bg-card: rgba(15, 20, 40, 0.7);
  --bg-card-solid: #0f1428;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-input: rgba(10, 14, 26, 0.8);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(102, 126, 234, 0.3);

  --blue-primary: #667eea;
  --blue-light: #7c94f4;
  --purple-primary: #764ba2;
  --purple-deep: #4a1d8a;
  --gold-primary: #f6d365;
  --gold-warm: #fda085;
  --cyan-accent: #4dd0e1;
  --green-accent: #69f0ae;
  --red-accent: #ff5252;

  --text-primary: #f0f2f8;
  --text-secondary: #a0a8c8;
  --text-muted: #6b7199;
  --text-on-gradient: #fff;

  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f6d365 100%);
  --gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-gold: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  --gradient-card: linear-gradient(145deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);

  --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-btn: 0 4px 20px rgba(102, 126, 234, 0.4);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.2);

  --overlay-quote: rgba(102, 126, 234, 0.1);
  --star-color: #fff;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg-deep: #f4f6fb;
  --bg-primary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(102, 126, 234, 0.04);
  --bg-input: rgba(240, 242, 248, 0.9);
  --border-glass: rgba(102, 126, 234, 0.12);
  --border-glow: rgba(102, 126, 234, 0.25);

  --text-primary: #1a1d2e;
  --text-secondary: #4a5070;
  --text-muted: #7a80a0;
  --text-on-gradient: #fff;

  --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.1);
  --shadow-card: 0 4px 24px rgba(102, 126, 234, 0.08);
  --shadow-btn: 0 4px 16px rgba(102, 126, 234, 0.25);
  --shadow-soft: 0 2px 8px rgba(102, 126, 234, 0.06);

  --overlay-quote: rgba(102, 126, 234, 0.06);
  --star-color: rgba(102, 126, 234, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s ease, color 0.4s ease;
}

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

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

/* ── Animated Background Stars ── */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

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

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--star-color);
  border-radius: 50%;
  animation: twinkle var(--duration) ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: var(--max-opacity);
    transform: scale(1);
  }
}

/* ── Utility Classes ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

/* ── Fade-In Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* scale-in for stagger children */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-blue);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-blue);
  color: var(--text-on-gradient);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-btn);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--blue-light);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid rgba(102, 126, 234, 0.4);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: var(--blue-primary);
  transform: translateY(-2px);
}

/* ── Theme Toggle Button ── */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: rgba(102, 126, 234, 0.15);
  border: 1.5px solid rgba(102, 126, 234, 0.3);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  padding: 2px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 0 12px rgba(102, 126, 234, 0.2);
}

.theme-toggle-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-blue);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(24px);
  background: var(--gradient-gold);
  box-shadow: 0 2px 8px rgba(246, 211, 101, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

[data-theme="light"] .hero-bg-glow {
  opacity: 0.12;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--blue-primary);
  top: -150px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--purple-primary);
  bottom: -100px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: var(--gold-primary);
  top: 50%;
  left: 50%;
  opacity: 0.1;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-30px) rotate(3deg);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(105, 240, 174, 0.1);
  border: 1px solid rgba(105, 240, 174, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-accent);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease-out;
}

[data-theme="light"] .hero-badge {
  background: rgba(105, 240, 174, 0.15);
  color: #2e7d32;
  border-color: rgba(46, 125, 50, 0.3);
}

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

[data-theme="light"] .hero-badge .pulse-dot {
  background: #2e7d32;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .line-break {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-ctas .btn-primary {
  padding: 16px 36px;
  font-size: 1rem;
}

.hero-ctas .btn-outline {
  padding: 16px 36px;
  font-size: 1rem;
}

.hero-stats-mini {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-item .stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
}

[data-theme="light"] .hero-stat-item .stat-number {
  color: #b8860b;
}

.hero-stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Hero Right — Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-chart-card {
  width: 100%;
  max-width: 480px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  transition: all var(--transition-smooth);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-symbol {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.chart-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-accent);
  background: rgba(105, 240, 174, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
}

[data-theme="light"] .chart-change {
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.1);
}

.chart-svg {
  width: 100%;
  height: 160px;
}

.chart-line {
  fill: none;
  stroke: url(#chartGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  fill: url(#areaGradient);
  opacity: 0.3;
}

.prediction-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--gradient-gold);
  color: #1a1a2e;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(246, 211, 101, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.chart-indicators {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.indicator-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.indicator-tag.astro {
  background: rgba(118, 75, 162, 0.2);
  color: #c89eff;
  border: 1px solid rgba(118, 75, 162, 0.3);
}

.indicator-tag.technical {
  background: rgba(102, 126, 234, 0.2);
  color: var(--blue-light);
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.indicator-tag.ai {
  background: rgba(246, 211, 101, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(246, 211, 101, 0.3);
}

[data-theme="light"] .indicator-tag.astro {
  background: rgba(118, 75, 162, 0.1);
  color: #6a1b9a;
}

[data-theme="light"] .indicator-tag.technical {
  background: rgba(102, 126, 234, 0.1);
  color: #3949ab;
}

[data-theme="light"] .indicator-tag.ai {
  background: rgba(246, 211, 101, 0.15);
  color: #b8860b;
}

/* Floating elements */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.float-zodiac {
  font-size: 2.5rem;
  opacity: 0.15;
  animation: floatSpin 20s linear infinite;
}

[data-theme="light"] .float-zodiac {
  opacity: 0.1;
}

@keyframes floatSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ═══════════════════════════════════════
   MARQUEE / SOCIAL PROOF RIBBON
   ═══════════════════════════════════════ */
.social-proof-ribbon {
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  opacity: 0.5;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════
   STATS SECTION
   ═══════════════════════════════════════ */
.stats-section {
  padding: 80px 0;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(102, 126, 234, 0.03) 50%,
      transparent 100%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 0 0 4px 4px;
}

.stat-card:nth-child(1)::before {
  background: var(--gradient-blue);
}

.stat-card:nth-child(2)::before {
  background: var(--gradient-gold);
}

.stat-card:nth-child(3)::before {
  background: linear-gradient(135deg, var(--cyan-accent), var(--green-accent));
}

.stat-card:nth-child(4)::before {
  background: linear-gradient(135deg, var(--purple-primary), var(--blue-primary));
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: none;
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.2) rotate(-5deg);
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card:nth-child(1) .stat-value {
  color: var(--blue-light);
}

.stat-card:nth-child(2) .stat-value {
  color: var(--gold-primary);
}

.stat-card:nth-child(3) .stat-value {
  color: var(--green-accent);
}

.stat-card:nth-child(4) .stat-value {
  color: var(--cyan-accent);
}

[data-theme="light"] .stat-card:nth-child(1) .stat-value {
  color: #3949ab;
}

[data-theme="light"] .stat-card:nth-child(2) .stat-value {
  color: #b8860b;
}

[data-theme="light"] .stat-card:nth-child(3) .stat-value {
  color: #2e7d32;
}

[data-theme="light"] .stat-card:nth-child(4) .stat-value {
  color: #00838f;
}

.stat-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-period {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-glass);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
}

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */
.how-it-works {
  text-align: center;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(102, 126, 234, 0.3),
      rgba(118, 75, 162, 0.3),
      rgba(246, 211, 101, 0.3),
      transparent);
}

.step-card {
  padding: 40px 28px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover .step-number {
  transform: scale(1.15);
}

.step-card:nth-child(1) .step-number {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.05));
  border: 2px solid rgba(102, 126, 234, 0.4);
  color: var(--blue-light);
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.2), rgba(118, 75, 162, 0.05));
  border: 2px solid rgba(118, 75, 162, 0.4);
  color: #c89eff;
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, rgba(246, 211, 101, 0.2), rgba(246, 211, 101, 0.05));
  border: 2px solid rgba(246, 211, 101, 0.4);
  color: var(--gold-primary);
}

[data-theme="light"] .step-card:nth-child(2) .step-number {
  color: #6a1b9a;
}

[data-theme="light"] .step-card:nth-child(3) .step-number {
  color: #b8860b;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
  transform: translateY(-4px);
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════ */
.testimonials {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  padding: 32px 24px;
  text-align: left;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--overlay-quote);
  line-height: 1;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(102, 126, 234, 0.3);
}

.testimonial-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-top: 16px;
  color: var(--gold-primary);
  font-size: 0.85rem;
}

[data-theme="light"] .testimonial-stars {
  color: #f59e0b;
}

.testimonial-flag {
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════
   DIGITAL SERVICES
   ═══════════════════════════════════════ */
.services {
  text-align: center;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 4px 4px 0 0;
  transition: width var(--transition-smooth);
}

.service-card:hover::after {
  width: 60%;
}

.service-card:nth-child(1)::after {
  background: var(--gradient-blue);
}

.service-card:nth-child(2)::after {
  background: var(--gradient-gold);
}

.service-card:nth-child(3)::after {
  background: linear-gradient(135deg, var(--green-accent), var(--cyan-accent));
}

.service-card:nth-child(4)::after {
  background: linear-gradient(135deg, var(--purple-primary), var(--blue-primary));
}

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-features {
  list-style: none;
  margin-top: 16px;
  text-align: left;
}

.service-features li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✦';
  color: var(--blue-light);
  font-size: 0.65rem;
}

/* ═══════════════════════════════════════
   LEAD CAPTURE / CONTACT FORM
   ═══════════════════════════════════════ */
.contact-section {
  text-align: center;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-wrapper {
  max-width: 680px;
  margin: 60px auto 0;
  padding: 48px;
  position: relative;
}

.contact-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), transparent, rgba(246, 211, 101, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.submit-btn {
  width: 100%;
  padding: 16px 32px;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Success State */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: scaleIn 0.5s ease-out;
}

.form-success.show {
  display: block;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.success-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--blue-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: rgba(102, 126, 234, 0.15);
  border-color: var(--border-glow);
  transform: translateY(-3px) scale(1.05);
}

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

/* ═══════════════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  backdrop-filter: blur(20px);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-bounce);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats-mini {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 8, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  [data-theme="light"] .nav-links {
    background: rgba(244, 246, 251, 0.97);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats-mini {
    gap: 24px;
    flex-wrap: wrap;
  }

  .steps-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-container::before {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 32px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .social-proof-ribbon {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 2.4rem;
  }
}