/* ===== DS Laser Hub - Main Stylesheet ===== */
/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables - Color System */
:root {
  /* Background colors */
  --background-50: oklch(0.995 0.001 260);
  --background-100: oklch(0.965 0.003 260);
  --background-200: oklch(0.94 0.003 260);
  --background-300: oklch(0.88 0.004 260);
  --background-400: oklch(0.82 0.005 260);
  --background-500: oklch(0.75 0.006 260);
  --background-600: oklch(0.65 0.006 260);
  --background-700: oklch(0.52 0.006 260);
  --background-800: oklch(0.38 0.006 260);
  --background-900: oklch(0.25 0.005 260);
  --background-950: oklch(0.15 0.004 260);

  /* Primary colors */
  --primary-50: oklch(0.97 0.01 258);
  --primary-100: oklch(0.93 0.02 258);
  --primary-200: oklch(0.86 0.04 258);
  --primary-300: oklch(0.78 0.06 258);
  --primary-400: oklch(0.65 0.08 258);
  --primary-500: oklch(0.30 0.10 258);
  --primary-600: oklch(0.25 0.09 258);
  --primary-700: oklch(0.20 0.08 258);
  --primary-800: oklch(0.16 0.07 258);
  --primary-900: oklch(0.12 0.05 258);
  --primary-950: oklch(0.08 0.03 258);

  /* Accent colors */
  --accent-50: oklch(0.97 0.01 245);
  --accent-100: oklch(0.94 0.015 245);
  --accent-200: oklch(0.88 0.03 245);
  --accent-300: oklch(0.78 0.05 245);
  --accent-400: oklch(0.65 0.07 245);
  --accent-500: oklch(0.42 0.08 245);
  --accent-600: oklch(0.36 0.08 245);
  --accent-700: oklch(0.30 0.07 245);
  --accent-800: oklch(0.24 0.06 245);
  --accent-900: oklch(0.18 0.04 245);
  --accent-950: oklch(0.11 0.03 245);

  /* Foreground colors */
  --foreground-50: oklch(0.98 0.001 0);
  --foreground-100: oklch(0.95 0.002 0);
  --foreground-200: oklch(0.90 0.003 0);
  --foreground-300: oklch(0.82 0.004 0);
  --foreground-400: oklch(0.70 0.005 0);
  --foreground-500: oklch(0.60 0.006 0);
  --foreground-600: oklch(0.50 0.006 0);
  --foreground-700: oklch(0.40 0.005 0);
  --foreground-800: oklch(0.28 0.004 0);
  --foreground-900: oklch(0.18 0.003 0);
  --foreground-950: oklch(0.10 0.002 0);

  /* Fonts */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-label: 'Inter', sans-serif;
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  background-color: var(--background-50);
  color: var(--foreground-950);
  line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--background-300);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--background-400);
}

/* Focus states */
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
}

/* Selection */
::selection {
  background: var(--primary-300);
  color: var(--foreground-950);
}

/* Range input styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  width: 100%;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-500);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--background-50);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  margin-top: -9px;
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary-500);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--background-50);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--background-200);
  border-radius: 3px;
}
input[type="range"]::-moz-range-track {
  height: 6px;
  background: var(--background-200);
  border-radius: 3px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes revealFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-reveal-up {
  animation: revealUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-reveal-fade {
  animation: revealFade 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.7s ease-out forwards;
}

/* Stagger children animations */
.reveal-stagger > * {
  opacity: 0;
}

.reveal-stagger > *:nth-child(1)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards; }
.reveal-stagger > *:nth-child(2)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.10s forwards; }
.reveal-stagger > *:nth-child(3)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.16s forwards; }
.reveal-stagger > *:nth-child(4)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards; }
.reveal-stagger > *:nth-child(5)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards; }
.reveal-stagger > *:nth-child(6)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards; }
.reveal-stagger > *:nth-child(7)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.40s forwards; }
.reveal-stagger > *:nth-child(8)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.46s forwards; }
.reveal-stagger > *:nth-child(9)  { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.52s forwards; }
.reveal-stagger > *:nth-child(10) { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.58s forwards; }
.reveal-stagger > *:nth-child(11) { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.64s forwards; }
.reveal-stagger > *:nth-child(12) { animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.70s forwards; }

/* Shadows */
.shadow-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid oklch(var(--background-200) / 0.4);
}

.shadow-card-hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 20px 56px -12px rgba(0, 0, 0, 0.10);
}

/* Honeypot (anti-spam) */
.hp-field-wrap {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
  user-select: none;
}
