/* ═══════════════════════════════
   VOICEGAB DESIGN SYSTEM v1.0
═══════════════════════════════ */

:root {
  /* Colors */
  --bg-primary:    #080B14;
  --bg-secondary:  #0D1117;
  --bg-card:       #111827;
  --bg-elevated:   #1A2035;

  --accent:        #7C3AED;
  --accent-glow:   #8B5CF6;
  --accent-deep:   #6D28D9;
  --accent-pink:   #EC4899;
  --accent-cyan:   #06B6D4;

  --text-primary:   #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted:     #6B7280;

  --gradient-brand: linear-gradient(135deg, #7C3AED 0%, #EC4899 60%, #06B6D4 100%);
  --gradient-card:  linear-gradient(145deg, rgba(124,58,237,0.12) 0%, rgba(6,182,212,0.04) 100%);
  --gradient-glow:  radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124,58,237,0.3), transparent 70%);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-section: clamp(80px, 10vw, 120px);
  --space-card:    32px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Glass */
  --glass-bg:     rgba(255,255,255,0.03);
  --glass-border: 1px solid rgba(255,255,255,0.07);
  --glass-blur:   blur(20px);

  /* Shadows */
  --shadow-glow:   0 0 80px rgba(124,58,237,0.25);
  --shadow-card:   0 4px 32px rgba(0,0,0,0.4);
  --shadow-button: 0 4px 24px rgba(124,58,237,0.5);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Typography ─── */
.font-display { font-family: var(--font-display); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 700; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p  { color: var(--text-secondary); font-size: 17px; line-height: 1.75; }

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

.text-muted { color: var(--text-muted); font-size: 14px; }
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-glow);
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

/* ─── Sections ─── */
section { padding: var(--space-section) 0; position: relative; }

/* ─── Glass Card ─── */
.card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.25);
}

/* ─── Grid System ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─── Utility ─── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
