/* ============================================
   BASE CSS - Variables, Reset, Utilities
   ============================================ */

:root {
  /* Colors */
  --bg-primary: #0f0f10;
  --bg-secondary: #1a1a1b;
  --bg-tertiary: #252526;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #808080;
  
  /* Brand Colors */
  --brand-pink: #ff0099;
  --brand-purple: #9933ff;
  --brand-blue: #00ccff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff0099 0%, #9933ff 50%, #00ccff 100%);
  --gradient-secondary: linear-gradient(135deg, #1a1a1b 0%, #252526 100%);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* 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-glow: 0 0 20px rgba(255, 0, 153, 0.3);
  
  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Font */
  --font-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--brand-pink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-purple);
}

/* ============================================
   Utility Classes
   ============================================ */

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--text-muted) !important;
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

.section-padding-sm {
  padding: var(--spacing-lg) 0;
}

.bg-dark {
  background-color: var(--bg-secondary) !important;
}

.bg-darker {
  background-color: var(--bg-primary) !important;
}

/* ============================================
   Container
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

/* ============================================
   Grid System
   ============================================ */

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -var(--spacing-sm);
}

.col {
  flex: 1;
  padding: 0 var(--spacing-sm);
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}

/* ============================================
   Responsive Utilities
   ============================================ */

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .show-mobile {
    display: none !important;
  }
}

/* ============================================
   Smooth Scroll
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ============================================
   Selection
   ============================================ */

::selection {
  background: var(--brand-pink);
  color: var(--text-primary);
}

::-moz-selection {
  background: var(--brand-pink);
  color: var(--text-primary);
}

/* ============================================
   Scrollbar (Webkit)
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}