/* ═══════════════════════════════════════════════════════════════════════════════
   AI THINKING MACHINE — Ultra-Premium Design System
   Version: 3.0.0 | Architecture: Atomic CSS + Glass Morphism + Aurora System
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   § 0. FONT IMPORTS
   ───────────────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────────────────────────────────────────────
   § 1. CUSTOM PROPERTIES — Design Tokens
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  /* ── Color Palette ── */
  --color-bg-deep:        #030014;
  --color-bg-elevated:    #0a0a1a;
  --color-bg-surface:     #0f0f23;
  --color-bg-hover:       #161630;

  --color-indigo:         #818cf8;
  --color-violet:         #a78bfa;
  --color-cyan:           #22d3ee;
  --color-emerald:        #34d399;
  --color-rose:           #fb7185;
  --color-amber:          #fbbf24;

  --color-text-primary:   #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted:     #64748b;
  --color-text-faint:     #475569;

  /* ── Glass System ── */
  --glass-bg:             rgba(15, 15, 35, 0.6);
  --glass-bg-hover:       rgba(15, 15, 35, 0.75);
  --glass-bg-solid:       rgba(15, 15, 35, 0.85);
  --glass-blur:           blur(20px) saturate(180%);
  --glass-blur-heavy:     blur(40px) saturate(200%);
  --glass-border:         rgba(255, 255, 255, 0.06);
  --glass-border-hover:   rgba(255, 255, 255, 0.12);
  --glass-border-active:  rgba(129, 140, 248, 0.3);

  /* ── Gradients ── */
  --gradient-primary:     linear-gradient(135deg, var(--color-indigo), var(--color-violet));
  --gradient-secondary:   linear-gradient(135deg, var(--color-cyan), var(--color-emerald));
  --gradient-tertiary:    linear-gradient(135deg, var(--color-rose), var(--color-amber));
  --gradient-aurora:      linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #1e1b4b 50%, #0c4a6e 75%, #1e1b4b 100%);
  --gradient-hero-text:   linear-gradient(135deg, var(--color-indigo), var(--color-violet), var(--color-cyan), var(--color-indigo));
  --gradient-conic:       conic-gradient(from 0deg, var(--color-indigo), var(--color-violet), var(--color-cyan), var(--color-emerald), var(--color-indigo));

  /* ── Typography ── */
  --font-sans:            'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:            'JetBrains Mono', 'Fira Code', monospace;

  --fs-xs:                0.75rem;
  --fs-sm:                0.875rem;
  --fs-base:              1rem;
  --fs-lg:                1.125rem;
  --fs-xl:                1.25rem;
  --fs-2xl:               1.5rem;
  --fs-3xl:               1.875rem;
  --fs-4xl:               2.25rem;
  --fs-5xl:               3rem;
  --fs-hero:              clamp(2.5rem, 5vw, 4.5rem);

  --fw-light:             300;
  --fw-regular:           400;
  --fw-medium:            500;
  --fw-semibold:          600;
  --fw-bold:              700;
  --fw-extrabold:         800;
  --fw-black:             900;

  --lh-tight:             1.2;
  --lh-normal:            1.6;
  --lh-relaxed:           1.75;

  /* ── Spacing ── */
  --space-1:              0.25rem;
  --space-2:              0.5rem;
  --space-3:              0.75rem;
  --space-4:              1rem;
  --space-5:              1.25rem;
  --space-6:              1.5rem;
  --space-8:              2rem;
  --space-10:             2.5rem;
  --space-12:             3rem;
  --space-16:             4rem;
  --space-20:             5rem;
  --space-24:             6rem;
  --space-32:             8rem;

  /* ── Radius ── */
  --radius-sm:            6px;
  --radius-md:            10px;
  --radius-lg:            16px;
  --radius-xl:            24px;
  --radius-full:          9999px;

  /* ── Shadows ── */
  --shadow-sm:            0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:            0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg:            0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl:            0 16px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow-indigo:   0 0 20px rgba(129, 140, 248, 0.3), 0 0 60px rgba(129, 140, 248, 0.1);
  --shadow-glow-cyan:     0 0 20px rgba(34, 211, 238, 0.3), 0 0 60px rgba(34, 211, 238, 0.1);
  --shadow-glow-emerald:  0 0 20px rgba(52, 211, 153, 0.3), 0 0 60px rgba(52, 211, 153, 0.1);
  --shadow-glow-rose:     0 0 20px rgba(251, 113, 133, 0.3), 0 0 60px rgba(251, 113, 133, 0.1);

  /* ── Transitions ── */
  --ease-out-expo:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:       cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring:          cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast:      150ms var(--ease-out-expo);
  --transition-base:      250ms var(--ease-out-expo);
  --transition-slow:      400ms var(--ease-out-expo);
  --transition-slower:    600ms var(--ease-out-expo);

  /* ── Layout ── */
  --navbar-height:        64px;
  --sidebar-width:        260px;
  --right-panel-width:    320px;
  --container-max:        1280px;
  --container-narrow:     960px;

  /* ── Z-Index ── */
  --z-bg:                 -1;
  --z-base:               1;
  --z-dropdown:           100;
  --z-sticky:             200;
  --z-navbar:             500;
  --z-sidebar:            600;
  --z-modal:              900;
  --z-toast:              1000;
  --z-tooltip:            1100;
}

/* ─────────────────────────────────────────────────────────────────────────────
   § 2. KEYFRAME ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */

/* 1. Aurora — dreamy background gradient shift */
@keyframes aurora {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
}

/* 2. Float — weightless hover for badges & cards */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(0.5deg);
  }
  66% {
    transform: translateY(-6px) rotate(-0.5deg);
  }
}

/* 3. Shimmer — luxurious light sweep across surfaces */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  100% {
    transform: translateX(200%) skewX(-15deg);
  }
}

/* 4. Pulse Glow — breathing neon aura */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.2),
                0 0 40px rgba(129, 140, 248, 0.1);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 30px rgba(129, 140, 248, 0.4),
                0 0 80px rgba(129, 140, 248, 0.2);
    opacity: 0.92;
  }
}

/* 5. Slide Up — entrance from below */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 6. Slide Down — entrance from above */
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 7. Scale In — zoom entrance */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 8. Border Rotate — animated conic gradient border */
@keyframes borderRotate {
  0% {
    --border-angle: 0deg;
  }
  100% {
    --border-angle: 360deg;
  }
}

/* 9. Marquee Scroll — continuous horizontal scroll */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 10. Typewriter — cursor blink */
@keyframes typewriter {
  0%, 49% {
    border-right-color: var(--color-indigo);
  }
  50%, 100% {
    border-right-color: transparent;
  }
}

/* 11. Ripple — click feedback expansion */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* 12. Morph Blob — organic shape morphing */
@keyframes morphBlob {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
  }
  75% {
    border-radius: 60% 30% 60% 40% / 70% 40% 50% 60%;
  }
}

/* 13. Gradient Shift — hero text color animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 14. Count Up — for animated counters */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 15. Spin Slow — decorative rotation */
@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ── Extra polished keyframes ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes dashDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes skeletonPulse {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 3. RESET & BASE STYLES
   ───────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
}

::selection {
  background: rgba(129, 140, 248, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 4. BACKGROUND LAYERS — Aurora, Noise, Grid
   ───────────────────────────────────────────────────────────────────────────── */

.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  overflow: hidden;
}

.aurora-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: aurora 8s ease-in-out infinite;
  will-change: background-position;
}

.aurora-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 40% at 70% 60%, rgba(167, 139, 250, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 30% 70%, rgba(52, 211, 153, 0.04) 0%, transparent 50%);
  background-size: 300% 300%;
  animation: aurora 12s ease-in-out infinite reverse;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 5. LAYOUT CONTAINERS
   ───────────────────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-padding {
  padding: var(--space-32) 0;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 6. NAVBAR
   ───────────────────────────────────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: var(--z-navbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  background: rgba(3, 0, 20, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(3, 0, 20, 0.75);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
              0 1px 0 rgba(129, 140, 248, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xl);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.85;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  color: #fff;
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.3);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
  padding: var(--space-2) 0;
}

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

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

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Language Selector */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-selector select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-8) var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.lang-selector select:hover {
  border-color: var(--glass-border-hover);
  color: var(--color-text-primary);
  background: var(--glass-bg-hover);
}

.lang-selector select:focus {
  border-color: var(--glass-border-active);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.1);
}

.lang-selector::after {
  content: '▾';
  position: absolute;
  right: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 7. BUTTONS
   ───────────────────────────────────────────────────────────────────────────── */

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 2px 12px rgba(129, 140, 248, 0.25);
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%) skewX(-15deg);
  animation: shimmer 2s infinite;
  animation-delay: 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-indigo);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(129, 140, 248, 0.2);
}

.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-secondary:hover {
  color: var(--color-text-primary);
  border-color: var(--color-indigo);
  background: rgba(129, 140, 248, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.1);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--fs-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.btn-icon:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--color-text-primary);
  transform: translateY(-1px);
}

/* Ripple Effect Container */
.ripple-container {
  position: relative;
  overflow: hidden;
}

.ripple-container .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 8. HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-indigo);
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: var(--radius-full);
  width: fit-content;
  animation: float 6s ease-in-out infinite;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-indigo);
  animation: pulseGlow 2s ease-in-out infinite;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.hero-title .highlight {
  background: var(--gradient-hero-text);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

.hero-description {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--glass-border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero-stat-value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: countUp 0.8s var(--ease-out-expo) forwards;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--fw-medium);
}

.hero-stat + .hero-stat {
  padding-left: var(--space-8);
  border-left: 1px solid var(--glass-border);
}

/* ── Hero Visual ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hero-visual .glow-ring {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: conic-gradient(from var(--border-angle, 0deg),
    var(--color-indigo),
    var(--color-violet),
    var(--color-cyan),
    var(--color-emerald),
    var(--color-indigo)
  ) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  animation: spinSlow 20s linear infinite;
  opacity: 0.4;
}

.hero-visual .glow-ring::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(129, 140, 248, 0.1),
    rgba(167, 139, 250, 0.05),
    rgba(34, 211, 238, 0.1),
    rgba(52, 211, 153, 0.05),
    rgba(129, 140, 248, 0.1)
  );
  filter: blur(30px);
  animation: spinSlow 20s linear infinite reverse;
}

.hero-visual .floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  animation: float 6s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  z-index: 2;
}

.hero-visual .floating-card:nth-child(1) {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hero-visual .floating-card:nth-child(2) {
  bottom: 15%;
  left: 5%;
  animation-delay: -2s;
}

.hero-visual .floating-card:nth-child(3) {
  top: 50%;
  right: -5%;
  animation-delay: -4s;
}

.hero-visual .floating-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.hero-visual .mockup-container {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-visual .mockup-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient-primary);
  opacity: 0.3;
  filter: blur(20px);
  z-index: -1;
}

.hero-visual .mockup-container img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: auto;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 9. PARTNERS MARQUEE
   ───────────────────────────────────────────────────────────────────────────── */

.marquee-section {
  overflow: hidden;
  padding: var(--space-10) 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg-deep) 0%, transparent 100%);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg-deep) 0%, transparent 100%);
}

.marquee-label {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.marquee-track {
  display: flex;
  gap: var(--space-8);
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.marquee-item:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--color-text-primary);
}

.marquee-item img,
.marquee-item svg {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.marquee-item:hover img,
.marquee-item:hover svg {
  opacity: 1;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 10. SECTION COMMON ELEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-indigo);
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.section-title {
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 11. FEATURES SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.features-section {
  padding: var(--space-32) 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 0 0 var(--radius-full) var(--radius-full);
  transition: width var(--transition-slow);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(129, 140, 248, 0.05);
  background: var(--glass-bg-hover);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card .icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: var(--fs-xl);
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.3);
  transition: all var(--transition-base);
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-indigo);
}

.feature-card .icon-wrapper.secondary {
  background: var(--gradient-secondary);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.3);
}

.feature-card:hover .icon-wrapper.secondary {
  box-shadow: var(--shadow-glow-cyan);
}

.feature-card .icon-wrapper.tertiary {
  background: var(--gradient-tertiary);
  box-shadow: 0 4px 16px rgba(251, 113, 133, 0.3);
}

.feature-card:hover .icon-wrapper.tertiary {
  box-shadow: var(--shadow-glow-rose);
}

.feature-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 12. INTERACTIVE SIMULATOR
   ───────────────────────────────────────────────────────────────────────────── */

.simulator-section {
  padding: var(--space-32) 0;
}

.simulator-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  overflow: hidden;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.simulator-control-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.simulator-control-group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.simulator-val {
  font-family: var(--font-mono);
  font-weight: var(--fw-medium);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: var(--fs-lg);
}

/* Custom Range Slider */
.simulator-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.simulator-slider::-webkit-slider-track {
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg,
    var(--color-indigo) 0%,
    var(--color-violet) 50%,
    var(--color-bg-elevated) 50%
  );
}

.simulator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 3px solid var(--color-bg-deep);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.4);
  transition: all var(--transition-base);
}

.simulator-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: var(--shadow-glow-indigo);
}

.simulator-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 3px solid var(--color-bg-deep);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.4);
}

.simulator-slider::-moz-range-track {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-bg-elevated);
  border: none;
}

/* Simulator Results */
.simulator-results {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  justify-content: center;
}

.sim-metric {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.sim-metric:hover {
  border-color: var(--glass-border-hover);
  background: rgba(0, 0, 0, 0.3);
}

.sim-metric-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--fw-medium);
}

.sim-metric-val {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  font-family: var(--font-mono);
  color: var(--color-text-primary);
  transition: all var(--transition-base);
}

.sim-metric-val.profit {
  color: var(--color-emerald);
  text-shadow: 0 0 30px rgba(52, 211, 153, 0.3);
}

.sim-metric-val.loss {
  color: var(--color-rose);
  text-shadow: 0 0 30px rgba(251, 113, 133, 0.3);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 13. ECOSYSTEM SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.ecosystem-section {
  padding: var(--space-32) 0;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.ecosystem-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.ecosystem-image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.ecosystem-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.ecosystem-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

.check-item::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  background: rgba(52, 211, 153, 0.1);
  color: var(--color-emerald);
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.2);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 14. HOW IT WORKS / STEPS
   ───────────────────────────────────────────────────────────────────────────── */

.steps-section {
  padding: var(--space-32) 0;
}

.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  flex: 1;
  padding: var(--space-6);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
  position: relative;
  z-index: 1;
}

.step-item:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: var(--fw-extrabold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.3);
  flex-shrink: 0;
}

.step-item h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.step-item p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: var(--space-10);
  flex-shrink: 0;
}

.step-connector::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  opacity: 0.4;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 15. PRICING SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.pricing-section {
  padding: var(--space-32) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: all var(--transition-slow);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--glass-border-hover);
}

/* Featured Pricing Card with Rotating Border */
.pricing-card.featured {
  background: var(--glass-bg-hover);
  border-color: transparent;
  overflow: visible;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: conic-gradient(from var(--border-angle, 0deg),
    var(--color-indigo),
    var(--color-violet),
    var(--color-cyan),
    var(--color-emerald),
    var(--color-indigo)
  );
  z-index: -1;
  animation: spinSlow 4s linear infinite;
}

.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: var(--glass-bg-hover);
  z-index: -1;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.3);
  white-space: nowrap;
}

.tier-name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.tier-price .amount {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-black);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-price .period {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}

.tier-description {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--glass-border);
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

.tier-features li::before {
  content: '✓';
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.1);
  color: var(--color-indigo);
  flex-shrink: 0;
}

.pricing-card.featured .tier-features li::before {
  background: rgba(52, 211, 153, 0.1);
  color: var(--color-emerald);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 16. FOOTER
   ───────────────────────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  padding: var(--space-20) 0 var(--space-8);
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--glass-border);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand .logo {
  margin-bottom: var(--space-2);
}

.footer-brand .tagline {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

.footer-column h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
  position: relative;
  width: fit-content;
}

.footer-links a:hover {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(4px);
}

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

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--color-text-secondary);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 17. MODAL OVERLAYS
   ───────────────────────────────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 0, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 100%;
  max-width: 440px;
  background: var(--glass-bg-solid);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  animation: scaleIn 0.4s var(--ease-out-expo) forwards;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--fs-xl);
  transition: all var(--transition-base);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--color-text-primary);
  background: var(--glass-bg);
  transform: rotate(90deg);
}

.modal-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
}

.modal-subtitle {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--fs-sm);
  transition: all var(--transition-base);
}

.form-input::placeholder {
  color: var(--color-text-faint);
}

.form-input:focus {
  border-color: var(--color-indigo);
  box-shadow:
    0 0 0 3px rgba(129, 140, 248, 0.1),
    0 0 20px rgba(129, 140, 248, 0.05);
  background: rgba(0, 0, 0, 0.4);
}

.form-input:hover {
  border-color: var(--glass-border-hover);
}

.modal-toggle-text {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
}

.modal-toggle-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  font-weight: var(--fw-semibold);
  transition: opacity var(--transition-base);
}

.modal-toggle-text span:hover {
  opacity: 0.8;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 18. TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────────────────────────────── */

.toast-notification {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--glass-bg-solid);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-slow);
  max-width: 400px;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  animation: slideUp 0.6s var(--ease-out-expo) forwards;
}

.toast-notification.success {
  border-left: 3px solid var(--color-emerald);
}

.toast-notification.success .toast-icon {
  color: var(--color-emerald);
}

.toast-notification.error {
  border-left: 3px solid var(--color-rose);
}

.toast-notification.error .toast-icon {
  color: var(--color-rose);
}

.toast-notification.warning {
  border-left: 3px solid var(--color-amber);
}

.toast-icon {
  font-size: var(--fs-xl);
  flex-shrink: 0;
}

.toast-message {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

.toast-close {
  margin-left: auto;
  padding: var(--space-1);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.toast-close:hover {
  color: var(--color-text-primary);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 19. DASHBOARD LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */

.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* ── Sidebar ── */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  z-index: var(--z-sidebar);
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-right: 1px solid var(--glass-border);
  padding: var(--space-6) var(--space-4);
  overflow-y: auto;
  overflow-x: hidden;
  transition: all var(--transition-slow);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-2);
  margin-bottom: var(--space-8);
}

.sidebar-close {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
}

.sidebar-close:hover {
  background: var(--glass-bg);
  color: var(--color-text-primary);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.nav-section-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  padding: var(--space-4) var(--space-4) var(--space-2);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  position: relative;
}

.nav-item:hover {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--color-text-primary);
}

.nav-item.active {
  background: rgba(129, 140, 248, 0.06);
  border-color: rgba(129, 140, 248, 0.1);
  color: var(--color-text-primary);
  border-left: 3px solid var(--color-indigo);
  padding-left: calc(var(--space-4) - 2px);
}

.nav-item .nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-item.active .nav-icon {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-item .nav-badge {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: var(--fw-bold);
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-full);
}

/* ── Sidebar Footer ── */
.sidebar-footer {
  padding-top: var(--space-6);
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.user-profile:hover {
  background: var(--glass-bg);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: #fff;
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-tier {
  display: inline-flex;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(129, 140, 248, 0.1);
  color: var(--color-indigo);
  border-radius: var(--radius-full);
  border: 1px solid rgba(129, 140, 248, 0.2);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 20. MAIN CONTENT AREA
   ───────────────────────────────────────────────────────────────────────────── */

.main-content {
  flex: 1;
  display: flex;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.center-column {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.right-column {
  width: var(--right-panel-width);
  overflow-y: auto;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  border-left: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.15);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.page-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
}

.page-subtitle {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 21. GLASS PANELS & WIDGET CARDS
   ───────────────────────────────────────────────────────────────────────────── */

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
}

.widget-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all var(--transition-base);
}

.widget-card:hover {
  border-color: var(--glass-border-hover);
}

.widget-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

/* Decision Panel */
.decision-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.decision-textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  resize: vertical;
  transition: all var(--transition-base);
}

.decision-textarea::placeholder {
  color: var(--color-text-faint);
}

.decision-textarea:focus {
  border-color: var(--color-indigo);
  box-shadow:
    0 0 0 3px rgba(129, 140, 248, 0.1),
    0 0 20px rgba(129, 140, 248, 0.05);
  background: rgba(0, 0, 0, 0.4);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 22. ENGINE MODE TABS
   ───────────────────────────────────────────────────────────────────────────── */

.engine-modes-bar {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.engine-modes-bar::-webkit-scrollbar {
  display: none;
}

.engine-mode-tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.engine-mode-tab:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

.engine-mode-tab.active {
  background: rgba(129, 140, 248, 0.1);
  border-color: rgba(129, 140, 248, 0.3);
  color: var(--color-text-primary);
  box-shadow: 0 0 15px rgba(129, 140, 248, 0.1);
}

.engine-mode-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 23. FLOW STEP BAR
   ───────────────────────────────────────────────────────────────────────────── */

.flow-step-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.flow-step-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.flow-step-pill.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 12px rgba(129, 140, 248, 0.3);
}

.flow-step-pill.completed {
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--color-emerald);
}

.flow-step-arrow {
  font-size: var(--fs-xs);
  color: var(--color-text-faint);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 24. CIRCULAR SVG GAUGE
   ───────────────────────────────────────────────────────────────────────────── */

.circular-gauge-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.circular-gauge-container svg {
  transform: rotate(-90deg);
}

.circular-gauge-container .gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
}

.circular-gauge-container .gauge-fill {
  fill: none;
  stroke-linecap: round;
  stroke: url(#gaugeGradient);
  transition: stroke-dashoffset 1s var(--ease-out-expo);
}

.gauge-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-center-text .gauge-value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-text-primary);
  display: block;
}

.gauge-center-text .gauge-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 25. ENGINE OUTPUT
   ───────────────────────────────────────────────────────────────────────────── */

.engine-output {
  min-height: 300px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.output-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  gap: var(--space-4);
  color: var(--color-text-faint);
}

.output-placeholder .placeholder-icon {
  font-size: 48px;
  opacity: 0.3;
}

.output-placeholder p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 300px;
}

.output-content {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

.output-content h1,
.output-content h2,
.output-content h3 {
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  margin-top: var(--space-6);
}

.output-content h1 { font-size: var(--fs-2xl); }
.output-content h2 { font-size: var(--fs-xl); }
.output-content h3 { font-size: var(--fs-lg); }

.output-content p {
  margin-bottom: var(--space-4);
}

.output-content ul,
.output-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.output-content li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

.output-content ol li {
  list-style: decimal;
}

.output-content code {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--color-cyan);
}

.output-content pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  overflow-x: auto;
  margin-bottom: var(--space-4);
}

.output-content pre code {
  background: none;
  padding: 0;
}

.output-content blockquote {
  border-left: 3px solid var(--color-indigo);
  padding-left: var(--space-4);
  margin: var(--space-4) 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.output-content strong {
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
}

/* Engine Pulse Loading */
.engine-pulse {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-indigo);
  animation: pulseGlow 1.4s ease-in-out infinite;
}

.pulse-dot:nth-child(2) {
  animation-delay: 0.2s;
  background: var(--color-violet);
}

.pulse-dot:nth-child(3) {
  animation-delay: 0.4s;
  background: var(--color-cyan);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 26. ONBOARDING WIZARD
   ───────────────────────────────────────────────────────────────────────────── */

.onboarding-wizard {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 0, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.onboarding-container {
  width: 100%;
  max-width: 640px;
  background: var(--glass-bg-solid);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  animation: scaleIn 0.5s var(--ease-out-expo) forwards;
  box-shadow: var(--shadow-xl);
}

.onboarding-step-indicator {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-10);
  overflow: hidden;
}

.onboarding-step-indicator .progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.6s var(--ease-out-expo);
}

.onboarding-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.onboarding-subtitle {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: var(--lh-relaxed);
}

.onboarding-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.onboarding-option-card {
  padding: var(--space-6);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.onboarding-option-card:hover {
  border-color: rgba(129, 140, 248, 0.3);
  background: rgba(129, 140, 248, 0.04);
  transform: translateY(-2px);
}

.onboarding-option-card.selected {
  border-color: var(--color-indigo);
  background: rgba(129, 140, 248, 0.08);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.1);
}

.onboarding-option-card .option-icon {
  font-size: 32px;
  margin-bottom: var(--space-3);
}

.onboarding-option-card .option-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.onboarding-option-card .option-desc {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.onboarding-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 27. IMAGE GENERATION VIEW
   ───────────────────────────────────────────────────────────────────────────── */

.image-gen-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.image-gen-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.image-preview-box {
  position: relative;
  aspect-ratio: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-preview-box .placeholder-text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-align: center;
}

.generated-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-3);
}

.image-gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.image-gallery-item:hover {
  border-color: var(--color-indigo);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.image-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 28. CREDIT PURCHASE CARDS
   ───────────────────────────────────────────────────────────────────────────── */

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.credit-pack-card {
  padding: var(--space-6);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.credit-pack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.credit-pack-card:hover {
  border-color: rgba(129, 140, 248, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.credit-pack-card:hover::before {
  transform: scaleX(1);
}

.credit-pack-amount {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.credit-pack-label {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.credit-pack-price {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.credit-pack-card.popular {
  border-color: rgba(129, 140, 248, 0.3);
}

.credit-pack-card.popular::before {
  transform: scaleX(1);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 29. RTL SUPPORT
   ───────────────────────────────────────────────────────────────────────────── */

body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--glass-border);
}

body.rtl .main-content {
  margin-left: 0;
  margin-right: var(--sidebar-width);
}

body.rtl .right-column {
  border-left: none;
  border-right: 1px solid var(--glass-border);
}

body.rtl .nav-item.active {
  border-left: none;
  border-right: 3px solid var(--color-indigo);
  padding-left: var(--space-4);
  padding-right: calc(var(--space-4) - 2px);
}

body.rtl .feature-card::before {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

body.rtl .check-item {
  flex-direction: row-reverse;
}

body.rtl .nav-links a::after {
  left: auto;
  right: 0;
}

body.rtl .footer-links a:hover {
  transform: translateX(-4px);
}

body.rtl .toast-notification {
  right: auto;
  left: var(--space-8);
}

body.rtl .hero-stat + .hero-stat {
  padding-left: 0;
  border-left: none;
  padding-right: var(--space-8);
  border-right: 1px solid var(--glass-border);
}

body.rtl .marquee-track {
  animation-direction: reverse;
}

body.rtl .lang-selector::after {
  right: auto;
  left: var(--space-3);
}

body.rtl .step-connector::before {
  transform: scaleX(-1);
}

body.rtl .tier-features li {
  flex-direction: row-reverse;
}

body.rtl .flow-step-arrow {
  transform: scaleX(-1);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 30. UTILITY CLASSES
   ───────────────────────────────────────────────────────────────────────────── */

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* Animations */
.fade-in {
  animation: fadeIn 0.6s var(--ease-out-expo) forwards;
  opacity: 0;
}

.slide-up {
  animation: slideUp 0.6s var(--ease-out-expo) forwards;
  opacity: 0;
}

.slide-down {
  animation: slideDown 0.6s var(--ease-out-expo) forwards;
  opacity: 0;
}

.scale-in {
  animation: scaleIn 0.5s var(--ease-out-expo) forwards;
  opacity: 0;
}

.slide-in-right {
  animation: slideInRight 0.6s var(--ease-out-expo) forwards;
  opacity: 0;
}

.slide-in-left {
  animation: slideInLeft 0.6s var(--ease-out-expo) forwards;
  opacity: 0;
}

/* Stagger Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

/* Glow */
.glow {
  box-shadow: var(--shadow-glow-indigo);
}

.glow-cyan {
  box-shadow: var(--shadow-glow-cyan);
}

.glow-emerald {
  box-shadow: var(--shadow-glow-emerald);
}

.glow-rose {
  box-shadow: var(--shadow-glow-rose);
}

/* Glass Quick Class */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* Decorative Blob */
.blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphBlob 8s ease-in-out infinite;
}

/* Typewriter Effect */
.typewriter {
  border-right: 2px solid var(--color-indigo);
  animation: typewriter 1s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 400% 100%;
  animation: skeletonPulse 1.5s ease infinite;
  border-radius: var(--radius-md);
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--glass-border);
}

.divider-gradient {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--glass-border) 20%,
    rgba(129, 140, 248, 0.2) 50%,
    var(--glass-border) 80%,
    transparent 100%
  );
}

/* Text utilities */
.text-primary   { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted     { color: var(--color-text-muted); }
.text-faint     { color: var(--color-text-faint); }
.text-indigo    { color: var(--color-indigo); }
.text-cyan      { color: var(--color-cyan); }
.text-emerald   { color: var(--color-emerald); }
.text-rose      { color: var(--color-rose); }
.text-amber     { color: var(--color-amber); }

/* Font utilities */
.font-mono      { font-family: var(--font-mono); }
.font-sans      { font-family: var(--font-sans); }

/* Weight utilities */
.fw-light       { font-weight: var(--fw-light); }
.fw-regular     { font-weight: var(--fw-regular); }
.fw-medium      { font-weight: var(--fw-medium); }
.fw-semibold    { font-weight: var(--fw-semibold); }
.fw-bold        { font-weight: var(--fw-bold); }
.fw-extrabold   { font-weight: var(--fw-extrabold); }
.fw-black       { font-weight: var(--fw-black); }

/* Size utilities */
.fs-xs   { font-size: var(--fs-xs); }
.fs-sm   { font-size: var(--fs-sm); }
.fs-base { font-size: var(--fs-base); }
.fs-lg   { font-size: var(--fs-lg); }
.fs-xl   { font-size: var(--fs-xl); }
.fs-2xl  { font-size: var(--fs-2xl); }
.fs-3xl  { font-size: var(--fs-3xl); }

/* Flex utilities */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.flex-row    { flex-direction: row; }
.flex-wrap   { flex-wrap: wrap; }
.flex-1      { flex: 1; }
.items-center    { align-items: center; }
.items-start     { align-items: flex-start; }
.items-end       { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }

/* Gap utilities */
.gap-1  { gap: var(--space-1); }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* Spacing utilities */
.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-2  { margin-bottom: var(--space-2); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

.p-2   { padding: var(--space-2); }
.p-4   { padding: var(--space-4); }
.p-6   { padding: var(--space-6); }
.p-8   { padding: var(--space-8); }

/* Width / Height utilities */
.w-full  { width: 100%; }
.h-full  { height: 100%; }
.h-screen { height: 100vh; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Visibility */
.hidden  { display: none; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Border utilities */
.border { border: 1px solid var(--glass-border); }
.border-t { border-top: 1px solid var(--glass-border); }
.border-b { border-bottom: 1px solid var(--glass-border); }
.border-l { border-left: 1px solid var(--glass-border); }
.border-r { border-right: 1px solid var(--glass-border); }

/* Radius utilities */
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Text alignment */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Truncate */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Spin animation utility */
.animate-spin {
  animation: spinSlow 20s linear infinite;
}

.animate-spin-fast {
  animation: spinSlow 3s linear infinite;
}

.animate-pulse {
  animation: pulseGlow 2s ease-in-out infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-breathe {
  animation: breathe 3s ease-in-out infinite;
}

/* Status Indicators */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online {
  background: var(--color-emerald);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.status-dot.offline {
  background: var(--color-text-faint);
}

.status-dot.busy {
  background: var(--color-amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.status-dot.error {
  background: var(--color-rose);
  box-shadow: 0 0 8px rgba(251, 113, 133, 0.5);
}

/* Tag / Chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px 10px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text-secondary);
}

.tag.tag-indigo {
  background: rgba(129, 140, 248, 0.1);
  border-color: rgba(129, 140, 248, 0.2);
  color: var(--color-indigo);
}

.tag.tag-cyan {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.2);
  color: var(--color-cyan);
}

.tag.tag-emerald {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.2);
  color: var(--color-emerald);
}

.tag.tag-rose {
  background: rgba(251, 113, 133, 0.1);
  border-color: rgba(251, 113, 133, 0.2);
  color: var(--color-rose);
}

.tag.tag-amber {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.2);
  color: var(--color-amber);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar .progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.6s var(--ease-out-expo);
}

.progress-bar .progress-fill.secondary {
  background: var(--gradient-secondary);
}

.progress-bar .progress-fill.tertiary {
  background: var(--gradient-tertiary);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input {
  display: none;
}

.toggle-switch .toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.toggle-switch input:checked + .toggle-track {
  background: rgba(129, 140, 248, 0.3);
  border-color: rgba(129, 140, 248, 0.5);
}

.toggle-switch .toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-text-secondary);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked ~ .toggle-thumb {
  left: 23px;
  background: var(--color-indigo);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.4);
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  background: var(--glass-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
  z-index: var(--z-tooltip);
  box-shadow: var(--shadow-md);
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Kbd / Keyboard Key */
.kbd {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-bottom-width: 2px;
  border-radius: 4px;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 0, 20, 0.5);
  z-index: calc(var(--z-sidebar) - 1);
}

.mobile-menu-overlay.active {
  display: block;
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 31. RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────────────────────── */

/* ── 1280px — Large Laptop ── */
@media (max-width: 1280px) {
  .right-column {
    width: 280px;
  }

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-grid .footer-column:last-child {
    display: none;
  }
}

/* ── 1024px — Tablet Landscape ── */
@media (max-width: 1024px) {
  :root {
    --sidebar-width: 0px;
  }

  .right-column {
    display: none;
  }

  .sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-xl);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .main-content {
    margin-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .hero-visual {
    min-height: 350px;
  }

  .simulator-panel {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .steps-container {
    flex-direction: column;
    gap: var(--space-4);
  }

  .step-connector {
    padding-top: 0;
    justify-content: center;
  }

  .step-connector::before {
    width: 2px;
    height: 24px;
  }

  .image-gen-container {
    grid-template-columns: 1fr;
  }

  .onboarding-container {
    max-width: 90%;
    padding: var(--space-8);
  }

  body.rtl .sidebar {
    transform: translateX(100%);
  }

  body.rtl .sidebar.open {
    transform: translateX(0);
  }
}

/* ── 768px — Tablet Portrait ── */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-5);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }

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

  .hero-visual {
    min-height: 280px;
    order: -1;
  }

  .hero-visual .glow-ring {
    width: 260px;
    height: 260px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .hero-stat + .hero-stat {
    padding-left: 0;
    border-left: none;
  }

  .nav-links {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .section-padding {
    padding: var(--space-16) 0;
  }

  .features-section,
  .simulator-section,
  .ecosystem-section,
  .steps-section,
  .pricing-section {
    padding: var(--space-16) 0;
  }

  .modal-content {
    max-width: 90%;
    padding: var(--space-8);
  }

  .onboarding-options-grid {
    grid-template-columns: 1fr;
  }

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

  .marquee-section::before,
  .marquee-section::after {
    width: 60px;
  }
}

/* ── 480px — Mobile ── */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .navbar {
    padding: 0 var(--space-4);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-badge {
    font-size: 10px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: var(--fs-3xl);
  }

  .feature-card {
    padding: var(--space-6);
  }

  .pricing-card {
    padding: var(--space-6);
  }

  .center-column {
    padding: var(--space-4);
  }

  .toast-notification {
    right: var(--space-4);
    left: var(--space-4);
    max-width: none;
  }

  body.rtl .toast-notification {
    right: var(--space-4);
    left: var(--space-4);
  }

  .modal-content {
    max-width: calc(100% - var(--space-8));
    padding: var(--space-6);
  }

  .onboarding-container {
    padding: var(--space-6);
    max-width: calc(100% - var(--space-8));
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .decision-panel {
    padding: var(--space-5);
  }

  .decision-textarea {
    min-height: 100px;
  }

  .marquee-section::before,
  .marquee-section::after {
    width: 30px;
  }

  .engine-modes-bar {
    gap: var(--space-1);
  }

  .engine-mode-tab {
    padding: var(--space-1) var(--space-3);
    font-size: var(--fs-xs);
  }

  .simulator-panel {
    padding: var(--space-6);
  }

  .hero-visual .floating-card {
    padding: var(--space-3) var(--space-4);
    font-size: var(--fs-xs);
  }

  .hero-visual .glow-ring {
    width: 200px;
    height: 200px;
  }
}

/* ── Print Styles ── */
@media print {
  .aurora-bg,
  .noise-overlay,
  .grid-overlay,
  .navbar,
  .sidebar,
  .toast-notification,
  .modal-overlay,
  .onboarding-wizard {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .glass-panel,
  .widget-card,
  .feature-card,
  .pricing-card {
    background: transparent;
    backdrop-filter: none;
    border: 1px solid #ddd;
  }

  .main-content {
    margin-left: 0;
  }

  .gradient-text,
  .hero-title .highlight,
  .logo-text {
    -webkit-text-fill-color: #000;
    color: #000;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 32. REDUCED MOTION PREFERENCES
   ───────────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .aurora-bg::before,
  .aurora-bg::after {
    animation: none;
  }

  .marquee-track {
    animation: none;
  }

  .hero-visual .glow-ring {
    animation: none;
  }

  .hero-visual .floating-card {
    animation: none;
  }

  .btn-primary::before {
    animation: none;
  }

  .hero-badge {
    animation: none;
  }

  .hero-title .highlight {
    animation: none;
  }

  .pulse-dot {
    animation: none;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 33. HIGH CONTRAST MODE
   ───────────────────────────────────────────────────────────────────────────── */

@media (prefers-contrast: high) {
  :root {
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-hover: rgba(255, 255, 255, 0.4);
    --color-text-secondary: #c8d6e5;
    --color-text-muted: #a0aec0;
  }

  .feature-card,
  .pricing-card,
  .glass-panel,
  .widget-card {
    border-width: 2px;
  }

  .nav-links a::after {
    height: 3px;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 34. FOCUS VISIBLE STYLES
   ───────────────────────────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--color-indigo);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--color-indigo);
  outline-offset: 3px;
}

.nav-item:focus-visible {
  outline: 2px solid var(--color-indigo);
  outline-offset: -2px;
}

.form-input:focus-visible {
  outline: none;
  border-color: var(--color-indigo);
  box-shadow:
    0 0 0 3px rgba(129, 140, 248, 0.15),
    0 0 20px rgba(129, 140, 248, 0.08);
}


/* ─────────────────────────────────────────────────────────────────────────────
   § 35. DECORATIVE ELEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.05;
}

.decorative-circle.primary {
  background: radial-gradient(circle, var(--color-indigo), transparent 70%);
}

.decorative-circle.secondary {
  background: radial-gradient(circle, var(--color-cyan), transparent 70%);
}

.decorative-circle.tertiary {
  background: radial-gradient(circle, var(--color-violet), transparent 70%);
}

.decorative-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(129, 140, 248, 0.3),
    transparent
  );
  pointer-events: none;
}

.decorative-dot-grid {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(circle, var(--color-text-faint) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Glow Orb for background accents */
.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.08;
}

.glow-orb.indigo {
  background: var(--color-indigo);
}

.glow-orb.violet {
  background: var(--color-violet);
}

.glow-orb.cyan {
  background: var(--color-cyan);
}

.glow-orb.emerald {
  background: var(--color-emerald);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   END OF DESIGN SYSTEM
   Total: Ultra-premium, award-winning, buttery-smooth CSS.
   ═══════════════════════════════════════════════════════════════════════════════ */
