:root {
  --bg-deep: #0d0018;
  --bg-primary: #1a0033;
  --bg-card: #1e0040;
  --purple: #6b21a8;
  --purple-light: #9333ea;
  --magenta: #c026d3;
  --peach: #fb923c;
  --text-primary: #f5f0ff;
  --text-secondary: #c4b5d6;
  --text-muted: #7c5c9e;
  --grad: linear-gradient(135deg, #9333ea 0%, #c026d3 50%, #fb923c 100%);
  --grad-glow: linear-gradient(135deg, #a855f7 0%, #d946ef 50%, #fb923c 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(147,51,234,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,51,234,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}

body::after {
  content: '';
  position: fixed; top: -20%; left: -20%;
  width: 80vw; height: 80vh;
  background: radial-gradient(ellipse at center, rgba(147,51,234,0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.glow-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}

.display-font { font-family: 'Cormorant Garamond', Georgia, serif; }

.btn-cta {
  background: var(--grad); color: #fff;
  font-family: 'Raleway', sans-serif; font-weight: 600;
  letter-spacing: 0.06em; border: none; cursor: pointer;
  position: relative; overflow: hidden; transition: all 0.35s ease;
}
.btn-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-glow); opacity: 0; transition: opacity 0.35s ease;
}
.btn-cta:hover::before { opacity: 1; }
.btn-cta:hover {
  box-shadow: 0 0 40px rgba(192,38,211,0.6), 0 0 80px rgba(251,146,60,0.25);
  transform: translateY(-2px);
}
.btn-cta span { position: relative; z-index: 1; }

.btn-outline {
  border: 1px solid rgba(147,51,234,0.5); color: var(--text-primary);
  font-family: 'Raleway', sans-serif; font-weight: 500;
  letter-spacing: 0.05em; cursor: pointer; background: transparent;
  transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.btn-outline:hover {
  border-color: rgba(192,38,211,0.8); background: rgba(192,38,211,0.08);
  box-shadow: 0 0 20px rgba(192,38,211,0.2);
}

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

.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

.hr-grad {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147,51,234,0.4), rgba(192,38,211,0.4), transparent);
  border: none;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes keyRotate {
  0%, 100% { transform: rotate(-8deg); }
  50%       { transform: rotate(8deg); }
}
.key-icon { animation: keyRotate 4s ease-in-out infinite; display: inline-block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up  { opacity: 0; animation: fadeUp 0.8s ease forwards; }
.delay-1  { animation-delay: 0.10s; }
.delay-2  { animation-delay: 0.25s; }
.delay-3  { animation-delay: 0.40s; }
.delay-4  { animation-delay: 0.55s; }

.nav-blur {
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  background: rgba(13,0,24,0.7);
  border-bottom: 1px solid rgba(147,51,234,0.15);
}

.form-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(147,51,234,0.3);
  color: var(--text-primary); font-family: 'Raleway', sans-serif;
  transition: all 0.3s ease; width: 100%;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  outline: none; border-color: rgba(192,38,211,0.7);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 20px rgba(192,38,211,0.15);
}
.form-input.error-field { border-color: rgba(251,113,133,0.7) !important; }

.field-label {
  display: block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.5rem;
}
.error-msg {
  font-size: 0.72rem; color: #fb7185;
  margin-top: 0.35rem; display: block;
}

.phone-masked { font-family: 'Raleway', monospace; letter-spacing: 0.05em; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

@media (max-width: 640px) {
  h1 { font-size: clamp(2rem, 8vw, 3.5rem) !important; }
  h2 { font-size: clamp(1.8rem, 6vw, 2.5rem) !important; }
}
