/* ==========================================================================
   VIOLETFOX DIGITAL MARKETING AGENCY — CORE DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette - Dark Luxury + Electric Violet */
  --bg-void: #040207;
  --bg-deep: #07050e;
  --bg-surface: #0d0a18;
  --bg-surface-elevated: #140f24;
  --bg-surface-glass: rgba(14, 10, 26, 0.72);
  --bg-card: rgba(18, 13, 33, 0.65);
  --bg-card-hover: rgba(28, 20, 52, 0.85);

  /* Violet & Purple Accents */
  --violet-deep: #3b1066;
  --violet-dark: #581c87;
  --violet-primary: #7c3aed;
  --violet-electric: #a855f7;
  --violet-bright: #c084fc;
  --violet-lavender: #e9d5ff;
  --violet-light: #f3e8ff;

  /* Accent Glows & Gradients */
  --gradient-brand: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  --gradient-hero-text: linear-gradient(135deg, #ffffff 30%, #c084fc 70%, #a855f7 100%);
  --gradient-dark-radial: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.22) 0%, rgba(7, 5, 14, 0) 70%);
  --gradient-card-glow: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168, 85, 247, 0.12), transparent 40%);

  --glow-subtle: 0 0 20px rgba(168, 85, 247, 0.2);
  --glow-primary: 0 0 40px rgba(124, 58, 237, 0.35);
  --glow-intense: 0 0 70px rgba(168, 85, 247, 0.5);

  /* Border & Dividers */
  --border-subtle: rgba(168, 85, 247, 0.12);
  --border-medium: rgba(168, 85, 247, 0.28);
  --border-bright: rgba(192, 132, 252, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Typography */
  --text-pure: #ffffff;
  --text-primary: #f8f6fc;
  --text-secondary: #d1c8e2;
  --text-muted: #958ba8;
  --text-dim: #605575;

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout & Spacing */
  --container-max: 1320px;
  --container-narrow: 1080px;
  --container-padding: clamp(16px, 4vw, 40px);
  --section-padding: clamp(60px, 8vw, 130px);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);

  /* Z-Index */
  --z-base: 1;
  --z-elevated: 10;
  --z-sticky: 100;
  --z-overlay: 500;
  --z-modal: 1000;
  --z-cursor: 9999;
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--bg-void);
  color: var(--text-primary);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background-color: var(--bg-void);
  color: var(--text-primary);
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Ambient Live Stage */
.live-ambient-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.blob-1 {
  top: -15%;
  left: 10%;
  width: clamp(350px, 45vw, 750px);
  height: clamp(350px, 45vw, 750px);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.32) 0%, rgba(88, 28, 135, 0.14) 50%, transparent 70%);
  filter: blur(60px);
  animation: auroraFloat1 18s ease-in-out infinite alternate;
}

.blob-2 {
  bottom: -10%;
  right: -5%;
  width: clamp(320px, 40vw, 680px);
  height: clamp(320px, 40vw, 680px);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.26) 0%, rgba(59, 16, 102, 0.15) 50%, transparent 70%);
  filter: blur(70px);
  animation: auroraFloat2 22s ease-in-out infinite alternate;
}

.blob-3 {
  top: 45%;
  left: -8%;
  width: clamp(280px, 35vw, 550px);
  height: clamp(280px, 35vw, 550px);
  background: radial-gradient(circle, rgba(192, 132, 252, 0.2) 0%, rgba(124, 58, 237, 0.09) 50%, transparent 70%);
  filter: blur(65px);
  animation: auroraFloat3 16s ease-in-out infinite alternate;
}

.live-cursor-spotlight {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(124, 58, 237, 0.04) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.08s ease-out, opacity 0.3s;
  filter: blur(25px);
  opacity: 0;
}

.live-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Subtle Geometric Grid Lines Overlay */
.ambient-grid {
  position: fixed;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(168, 85, 247, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 85%);
  animation: gridPulse 8s infinite ease-in-out;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-pure);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.2rem, 6.5vw, 4.8rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.25;
}

h4 {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.3;
}

p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  font-weight: 400;
  overflow-wrap: break-word;
}

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

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

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

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Containers & Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  position: relative;
  z-index: var(--z-base);
}

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

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
  z-index: var(--z-base);
}

.section-header {
  margin-bottom: clamp(32px, 5vw, 64px);
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 16px;
  max-width: 100%;
  box-sizing: border-box;
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  background-color: var(--violet-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--violet-bright);
  animation: pulseDot 2s infinite ease-in-out;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 620px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #c084fc 70%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-violet-gradient {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-violet {
  color: var(--violet-bright);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.35);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.7);
}

/* Selection */
::selection {
  background: rgba(124, 58, 237, 0.45);
  color: #ffffff;
}
