/* -------------------------------------------------
   ChopsBot Design Tokens -- Black & Orange
   ------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #f97316;
  --color-primary-light: #fb923c;
  --color-primary-dark: #ea580c;
  --color-accent: #f59e0b;
  --color-accent-light: #fbbf24;

  --color-bg: #080808;
  --color-bg-alt: #0d0d0d;
  --color-bg-card: #111111;
  --color-bg-card-hover: #161616;

  --color-text: #f5f5f5;
  --color-text-muted: #737373;
  --color-border: rgba(255,255,255,0.06);
  --color-border-hover: rgba(249,115,22,0.4);

  /* Typography */
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width: 1200px;

  /* -- Standard Tokens (auto-injected) -- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --radius-default: 4px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------------
   Base
   ------------------------------------------------- */
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
}

.bg-site { background-color: var(--color-bg); }
.text-site { color: var(--color-text); }

.font-display {
  font-family: var(--font-heading);
}

/* -------------------------------------------------
   Scroll Reveal
   ------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------
   Hero Gradient Orb
   ------------------------------------------------- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-orb-primary {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: orb-drift 10s ease-in-out infinite;
}

.hero-orb-secondary {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  top: 40%;
  right: -100px;
  animation: orb-drift-right 14s ease-in-out infinite;
}

@keyframes orb-drift {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-30px); }
}

@keyframes orb-drift-right {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-40px); }
}

/* -------------------------------------------------
   Gradient Text
   ------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -------------------------------------------------
   Glow Effects
   ------------------------------------------------- */
.glow-border {
  border: 1px solid rgba(249,115,22,0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.glow-border:hover {
  border-color: rgba(249,115,22,0.4);
  box-shadow: 0 0 0 1px rgba(249,115,22,0.1), 0 8px 32px rgba(249,115,22,0.08);
}

.glow-btn {
  box-shadow: 0 0 20px rgba(249,115,22,0.3), 0 4px 12px rgba(0,0,0,0.5);
  transition: box-shadow 0.2s cubic-bezier(0.33,1,0.68,1), transform 0.2s cubic-bezier(0.33,1,0.68,1);
}
.glow-btn:hover {
  box-shadow: 0 0 35px rgba(249,115,22,0.5), 0 8px 24px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}
.glow-btn:active {
  transform: translateY(0);
}

/* -------------------------------------------------
   Grid Mesh Background
   ------------------------------------------------- */
.grid-mesh {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* -------------------------------------------------
   Floating Animation
   ------------------------------------------------- */
.float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* -------------------------------------------------
   Icon Container
   ------------------------------------------------- */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.5em; height: 1.5em; }
.icon-xl { width: 2em; height: 2em; }

/* -------------------------------------------------
   Stat Counter Glow
   ------------------------------------------------- */
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #fdba74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -------------------------------------------------
   Reduced Motion
   ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body { margin: 0; }