/* ─────────────────────────────────────────────────────────────
   FINCULTURE — DESIGN SYSTEM PREMIUM v3.0
   Modern, elegant, with smooth animations & micro-interactions
   ───────────────────────────────────────────────────────────── */

/* ── DESIGN TOKENS ── */
:root {
  /* Colors: Clean, professional palette */
  --c-primary: #3b6fff;        /* Vibrant but trustworthy blue */
  --c-primary-dark: #2d4fb8;
  --c-primary-light: #e8f0ff;
  
  --c-success: #10b981;        /* Calm green */
  --c-warning: #f59e0b;        /* Warm amber */
  --c-error: #ef4444;          /* Clean red */
  
  /* Neutral palette - refined monochrome */
  --c-bg: #ffffff;             /* Pure white */
  --c-surface: #f9fafb;        /* Subtle off-white */
  --c-surface-alt: #f3f4f6;    /* Slightly deeper */
  --c-border: #e5e7eb;         /* Minimal borders */
  --c-text: #111827;           /* Deep black for text */
  --c-text-secondary: #6b7280; /* Warm gray */
  --c-text-tertiary: #9ca3af;  /* Light gray */
  
  /* Dark mode palette */
  --c-dark-bg: #0f172a;
  --c-dark-surface: #1e293b;
  --c-dark-surface-alt: #334155;
  --c-dark-border: #475569;
  --c-dark-text: #f1f5f9;
  --c-dark-text-secondary: #cbd5e1;
  --c-dark-text-tertiary: #94a3b8;
  
  /* Typography - quality first */
  --font-family-serif: 'Instrument Serif', serif;
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --type-h1: clamp(2.25rem, 2rem + 2vw, 3.5rem);
  --type-h2: clamp(1.875rem, 1.75rem + 1.5vw, 2.5rem);
  --type-h3: clamp(1.5rem, 1.375rem + 0.75vw, 1.875rem);
  --type-h4: 1.25rem;
  --type-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --type-sm: 0.9375rem;
  --type-xs: 0.8125rem;
  
  --type-weight-light: 300;
  --type-weight-regular: 400;
  --type-weight-medium: 500;
  --type-weight-semibold: 600;
  --type-weight-bold: 700;
  
  /* Spacing system - 8px base */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Radius - subtle, modern */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Layout */
  --container-max: 1280px;
  --container-gap: clamp(1rem, 4vw, 3rem);
  
  /* Motion - smooth, professional */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows - subtle depth */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Dark mode shadows */
  --shadow-dark-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-dark-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-dark-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

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

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

/* Stagger utilities */
.fade-in-stagger > * {
  animation: slideUp var(--transition-base) ease-out both;
}
.fade-in-stagger > *:nth-child(1) { animation-delay: 0ms; }
.fade-in-stagger > *:nth-child(2) { animation-delay: 50ms; }
.fade-in-stagger > *:nth-child(3) { animation-delay: 100ms; }
.fade-in-stagger > *:nth-child(4) { animation-delay: 150ms; }
.fade-in-stagger > *:nth-child(5) { animation-delay: 200ms; }

[data-theme="light"] {
  --bg: var(--c-bg);
  --surface: var(--c-surface);
  --surface-alt: var(--c-surface-alt);
  --border: var(--c-border);
  --text: var(--c-text);
  --text-secondary: var(--c-text-secondary);
  --text-tertiary: var(--c-text-tertiary);
  --shadow-sm: var(--shadow-sm);
  --shadow-md: var(--shadow-md);
  --shadow-lg: var(--shadow-lg);
}

[data-theme="dark"] {
  --bg: var(--c-dark-bg);
  --surface: var(--c-dark-surface);
  --surface-alt: var(--c-dark-surface-alt);
  --border: var(--c-dark-border);
  --text: var(--c-dark-text);
  --text-secondary: var(--c-dark-text-secondary);
  --text-tertiary: var(--c-dark-text-tertiary);
  --shadow-sm: var(--shadow-dark-sm);
  --shadow-md: var(--shadow-dark-md);
  --shadow-lg: var(--shadow-dark-lg);
}

/* ── RESET & DEFAULTS ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family-sans);
  font-size: var(--type-base);
  color: var(--text);
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(59, 111, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-serif);
  font-weight: var(--type-weight-semibold);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--type-h1); }
h2 { font-size: var(--type-h2); }
h3 { font-size: var(--type-h3); }
h4 { font-size: var(--type-h4); }

p, li {
  text-wrap: pretty;
  line-height: 1.7;
}

strong {
  font-weight: var(--type-weight-semibold);
  color: var(--text);
}

a {
  color: var(--c-primary);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  transition: width var(--transition-base);
}

a:hover {
  color: var(--c-primary-dark);
}

a:hover::after {
  width: 100%;
}

button, [role="button"] {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
  transition: all var(--transition-base);
}

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

/* Selection */
::selection {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── SKIP LINK ── */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-2) var(--space-4);
  background: var(--c-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: var(--type-xs);
  font-weight: var(--type-weight-medium);
}

.skip-to-content:focus {
  top: var(--space-4);
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-gap);
}

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-base);
  animation: slideDown var(--transition-slow) ease-out;
}

.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: var(--type-weight-semibold);
  letter-spacing: -0.02em;
  color: var(--text);
  transition: all var(--transition-fast);
}

.logo:hover .logo-text {
  color: var(--c-primary);
}

.logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.nav-link {
  font-size: var(--type-sm);
  font-weight: var(--type-weight-regular);
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--c-primary);
  font-weight: var(--type-weight-medium);
}

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: rotate(20deg) scale(1.05);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 5rem var(--space-4) var(--space-8);
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
  animation: slideIn 0.3s ease-out;
}

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

.mobile-nav a {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--type-base);
  transition: all var(--transition-fast);
}

.mobile-nav a:hover {
  background: var(--surface);
  color: var(--text);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.25rem;
  font-size: var(--type-sm);
  font-weight: var(--type-weight-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 111, 255, 0.25);
}

.btn-primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 28px rgba(59, 111, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0px) scale(0.98);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 111, 255, 0.12);
}

.btn-secondary:active {
  transform: translateY(0px) scale(0.98);
}

.btn-ghost {
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--c-primary);
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 111, 255, 0.1);
}

.btn-ghost:active {
  transform: translateY(0px) scale(0.98);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-12);
  padding: var(--space-16) var(--container-gap);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.footer-section h3 {
  font-size: var(--type-sm);
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--type-sm);
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--c-primary);
}

.footer-bottom {
  padding: var(--space-8) var(--container-gap);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--type-xs);
  color: var(--text-tertiary);
}

/* ── CARDS & BOXES ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(135deg, rgba(59, 111, 255, 0.02) 0%, transparent 100%);
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  border-color: var(--c-primary);
  box-shadow: 0 20px 40px rgba(59, 111, 255, 0.15);
  transform: translateY(-4px) scale(1.01);
}

.card-minimal {
  background: transparent;
  border: none;
  padding: 0;
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-8);
}

.tab-button {
  padding: var(--space-4) var(--space-6);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: var(--type-sm);
  font-weight: var(--type-weight-medium);
  transition: all var(--transition-base);
  position: relative;
}

.tab-button:hover {
  color: var(--text);
}

.tab-button.active {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

/* ── STAT CARDS ── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--c-primary);
  box-shadow: 0 8px 16px rgba(59, 111, 255, 0.1);
  transform: translateY(-2px);
}

.stat-value {
  font-size: var(--type-h3);
  font-weight: var(--type-weight-semibold);
  color: var(--c-primary);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--type-sm);
  color: var(--text-secondary);
}

/* ── BADGE & TAGS ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.75rem;
  font-size: var(--type-xs);
  font-weight: var(--type-weight-medium);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--c-primary) 10%, var(--surface));
  color: var(--c-primary);
}

/* ── DISCLAIMER ── */
.disclaimer {
  background: color-mix(in srgb, var(--c-warning) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c-warning) 20%, var(--border));
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
  font-size: var(--type-sm);
  line-height: 1.8;
}

.disclaimer strong {
  color: var(--c-warning);
  font-weight: var(--type-weight-semibold);
}

/* ── SECTIONS & LAYOUT ── */
.section {
  padding: var(--space-16) var(--container-gap);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(59, 111, 255, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section.alt {
  background: var(--surface);
}

/* ── FORMS & INPUTS ── */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="range"],
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  transition: all var(--transition-base);
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
textarea:hover,
select:hover {
  border-color: var(--text-secondary);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(59, 111, 255, 0.1);
}

input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--surface);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(59, 111, 255, 0.3);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(59, 111, 255, 0.4);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-primary);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(59, 111, 255, 0.3);
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(59, 111, 255, 0.4);
}

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

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--type-base);
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto;
}

/* ── GRID ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

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

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

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

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

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

.fade-in {
  animation: fadeIn var(--transition-base) ease-out both;
}

.slide-up {
  animation: slideUp var(--transition-base) ease-out both;
}

.slide-down {
  animation: slideDown var(--transition-base) ease-out both;
}

.scale-in {
  animation: scaleIn var(--transition-base) ease-out both;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Stagger children */
.fade-in-stagger > * {
  animation: slideUp var(--transition-base) ease-out both;
}

.fade-in-stagger > :nth-child(1) { animation-delay: 0ms; }
.fade-in-stagger > :nth-child(2) { animation-delay: 50ms; }
.fade-in-stagger > :nth-child(3) { animation-delay: 100ms; }
.fade-in-stagger > :nth-child(4) { animation-delay: 150ms; }
.fade-in-stagger > :nth-child(5) { animation-delay: 200ms; }
.fade-in-stagger > :nth-child(n+6) { animation-delay: 250ms; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--text-tertiary); }
.text-secondary { color: var(--text-secondary); }

.mt-small { margin-top: var(--space-4); }
.mt-medium { margin-top: var(--space-8); }
.mt-large { margin-top: var(--space-16); }

.mb-small { margin-bottom: var(--space-4); }
.mb-medium { margin-bottom: var(--space-8); }
.mb-large { margin-bottom: var(--space-16); }

.px-container { padding: 0 var(--container-gap); }
.py-small { padding: var(--space-4) 0; }
.py-medium { padding: var(--space-8) 0; }
.py-large { padding: var(--space-16) 0; }

/* Transition utilities */
.transition-fast { transition: all var(--transition-fast); }
.transition-base { transition: all var(--transition-base); }
.transition-slow { transition: all var(--transition-slow); }

/* Transform utilities */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:translate-y-2:hover { transform: translateY(-2px); }
.hover\:translate-y-4:hover { transform: translateY(-4px); }

/* Opacity utilities */
.hover\:opacity-75:hover { opacity: 0.75; }
.hover\:opacity-90:hover { opacity: 0.9; }

/* Responsive */
@media (max-width: 768px) {
  :root {
    --space-4: 0.75rem;
    --space-8: 1.5rem;
    --space-12: 2rem;
    --space-16: 3rem;
    --space-20: 3.5rem;
  }
  
  .section {
    padding: var(--space-12) var(--container-gap);
  }
}

/* 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;
  }
}
