/* ══════════════════════════════════════════════════════════════════════════
   ASHBORN — Base: Variables, Reset, Utilities, Animations
   ══════════════════════════════════════════════════════════════════════════ */

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

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  /* Core palette */
  --purple:       #b830ff;
  --purple-deep:  #7c1fd4;
  --orange:       #ff7b00;
  --red-lava:     #ff4020;
  --gold:         #d4af37;

  /* Backgrounds */
  --bg-void:      #08080c;
  --bg-surface:   #0d0d14;
  --bg-card:      #12121c;
  --bg-elevated:  #1a1a28;

  /* Text */
  --text-primary: #f5eeff;
  --text-secondary: #b89acc;
  --text-muted:   #6b5a7a;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, var(--purple) 0%, var(--orange) 50%, var(--red-lava) 100%);
  --grad-glow:    linear-gradient(135deg, rgba(184,48,255,0.15) 0%, rgba(255,123,0,0.1) 50%, rgba(255,64,32,0.05) 100%);
  --grad-card:    linear-gradient(145deg, rgba(184,48,255,0.08) 0%, rgba(255,123,0,0.04) 100%);
  --grad-border:  linear-gradient(135deg, rgba(184,48,255,0.3), rgba(255,123,0,0.3), rgba(255,64,32,0.2));

  /* Glass */
  --glass-bg:     rgba(18, 18, 28, 0.6);
  --glass-border: rgba(184, 48, 255, 0.12);
  --glass-blur:   16px;

  /* Sizing */
  --max-width:    1200px;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-xs:    6px;
}

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

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout Utilities ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--purple);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
  background: var(--grad-hero);
  color: white;
  box-shadow: 0 6px 30px rgba(184,48,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(184,48,255,0.5);
}

.btn-secondary {
  background: rgba(184,48,255,0.08);
  border: 1px solid rgba(184,48,255,0.25);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(184,48,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(184,48,255,0.2);
}

/* ── Scroll Reveal ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ────────────────────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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