

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

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

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

:root {
  
  --primary: hsl(220, 45%, 15%);
  --primary-light: hsl(220, 35%, 22%);
  --primary-dark: hsl(220, 50%, 10%);
  --primary-rgb: 20, 31, 51;

  
  --accent: hsl(38, 92%, 52%);
  --accent-hover: hsl(38, 92%, 44%);
  --accent-light: hsl(38, 92%, 92%);
  --accent-rgb: 230, 164, 14;

  
  --bg: hsl(0, 0%, 100%);
  --surface: hsl(220, 18%, 97%);
  --surface-alt: hsl(220, 14%, 94%);
  --surface-hover: hsl(220, 14%, 91%);
  --border: hsl(220, 14%, 88%);
  --border-light: hsl(220, 14%, 93%);

  
  --text: hsl(220, 25%, 14%);
  --text-secondary: hsl(220, 12%, 42%);
  --text-muted: hsl(220, 10%, 58%);
  --text-light: hsl(220, 10%, 72%);
  --text-on-dark: hsl(0, 0%, 98%);
  --text-on-accent: hsl(220, 45%, 10%);

  
  --success: hsl(152, 60%, 40%);
  --warning: hsl(38, 95%, 50%);
  --danger: hsl(0, 72%, 55%);
  --info: hsl(210, 75%, 55%);

  
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-accent: 0 4px 20px rgba(var(--accent-rgb), 0.35);

  
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;

  
  --container-max: 1440px;
  --header-height: 72px;
  --top-bar-height: 38px;
  --nav-height: 48px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 1600px) {
  .container {
    padding: 0 var(--space-2xl);
    max-width: 1560px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: var(--text-md);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: var(--text-2xl);
  }
  .section-desc {
    font-size: var(--text-base);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after {
  left: 150%;
}
.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--accent);
  color: var(--text-on-accent);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}
.btn--primary:hover {
  background: #f19b16; 
  border-color: #f19b16;
  box-shadow: 0 6px 16px rgba(243, 156, 18, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

.btn--accent {
  background: var(--accent);
  color: var(--text-on-accent);
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(243, 156, 18, 0.2);
}
.btn--accent:hover {
  background: #f19b16;
  border-color: #f19b16;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.25);
}

.btn--white {
  background: white;
  color: var(--primary);
  border-color: white;
}
.btn--white:hover {
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover {
  background: var(--surface-alt);
  border-color: var(--border-hover);
}

.btn--lg {
  padding: 14px 28px;
  font-size: var(--text-md);
}

.btn--sm {
  padding: 8px 16px;
  font-size: var(--text-sm);
}

.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

::selection {
  background: var(--accent);
  color: var(--text-on-accent);
}

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

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-in {
  animation: fadeInUp 0.6s var(--ease) both;
}

.animate-in:nth-child(1) { animation-delay: 0ms; }
.animate-in:nth-child(2) { animation-delay: 60ms; }
.animate-in:nth-child(3) { animation-delay: 120ms; }
.animate-in:nth-child(4) { animation-delay: 180ms; }
.animate-in:nth-child(5) { animation-delay: 240ms; }
.animate-in:nth-child(6) { animation-delay: 300ms; }
.animate-in:nth-child(7) { animation-delay: 360ms; }
.animate-in:nth-child(8) { animation-delay: 420ms; }
.animate-in:nth-child(9) { animation-delay: 480ms; }
.animate-in:nth-child(10) { animation-delay: 540ms; }
