@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Syne:wght@700;800&display=swap');

/* ============================================================
   ROOT VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary: #e8b84b;
  --color-primary-dark: #c99a2e;
  --color-primary-light: #f5d07a;
  --color-primary-glow: rgba(232, 184, 75, 0.25);

  --color-secondary: #8b5cf6;
  --color-secondary-dark: #6d28d9;
  --color-secondary-light: #a78bfa;

  --color-accent: #06b6d4;
  --color-accent-dark: #0891b2;

  /* Backgrounds */
  --color-bg: #0a0a0f;
  --color-bg-2: #111118;
  --color-bg-3: #16161f;
  --color-bg-card: #1a1a26;
  --color-bg-card-hover: #1f1f2e;
  --color-bg-elevated: #22223a;

  /* Surfaces */
  --color-surface: #1e1e2e;
  --color-surface-2: #252538;
  --color-surface-3: #2d2d48;

  /* Text */
  --color-text: #f0f0f8;
  --color-text-muted: #9494b0;
  --color-text-subtle: #5c5c7a;
  --color-text-inverse: #0a0a0f;

  /* Borders */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.15);
  --color-border-primary: rgba(232, 184, 75, 0.3);

  /* Status */
  --color-success: #10b981;
  --color-success-bg: rgba(16, 185, 129, 0.1);
  --color-warning: #f59e0b;
  --color-warning-bg: rgba(245, 158, 11, 0.1);
  --color-error: #ef4444;
  --color-error-bg: rgba(239, 68, 68, 0.1);
  --color-info: #06b6d4;
  --color-info-bg: rgba(6, 182, 212, 0.1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #e8b84b 0%, #c99a2e 100%);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #16161f 40%, #1a1024 100%);
  --gradient-card: linear-gradient(145deg, #1a1a26 0%, #16161f 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(232, 184, 75, 0.15) 0%, transparent 70%);
  --gradient-shimmer: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;

  --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;

  --leading-tight: 1.2;
  --leading-snug: 1.4;
  --leading-normal: 1.6;
  --leading-relaxed: 1.7;
  --leading-loose: 1.9;

  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.7), 0 8px 24px rgba(0,0,0,0.6);
  --shadow-primary: 0 4px 20px rgba(232, 184, 75, 0.3), 0 2px 8px rgba(232, 184, 75, 0.2);
  --shadow-primary-lg: 0 8px 32px rgba(232, 184, 75, 0.4), 0 4px 16px rgba(232, 184, 75, 0.25);
  --shadow-secondary: 0 4px 20px rgba(139, 92, 246, 0.3);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(0,0,0,0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --container-content: 800px;
  --header-height: 70px;
  --header-height-scrolled: 60px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); }
h6 { font-size: var(--text-sm); }

p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

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

em {
  font-style: italic;
  color: var(--color-primary-light);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ============================================================
   FOCUS STYLES
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-2);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface-3);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-shimmer);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f5d07a 0%, #e8b84b 100%);
  box-shadow: var(--shadow-primary-lg);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--color-primary-glow);
  color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border-strong);
}

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

.btn-accent {
  background: var(--gradient-secondary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-secondary);
}

.btn-accent:hover {
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

.btn-icon {
  padding: var(--space-3);
  aspect-ratio: 1;
  border-radius: var(--radius-md);
}

/* Legacy button aliases */
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--color-primary-glow);
  color: var(--color-primary-light);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
}

.btn-register:hover {
  box-shadow: var(--shadow-primary-lg);
  transform: translateY(-2px);
  color: var(--color-text-inverse);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(10, 10, 15, 0.97);
  border-bottom-color: var(--color-border-primary);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232, 184, 75, 0.05);
}

.site-header .container,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}

.site-header .brand,
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.site-header .brand:hover {
  opacity: 0.85;
}

.site-header .brand img {
  height: 36px;
  width: auto;
}

/* Nav */
.site-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: var(--space-6) var(--space-4);
  flex-direction: column;
  gap: var(--space-6);
  overflow-y: auto;
  z-index: 999;
  border-top: 1px solid var(--color-border);
}

.site-nav.open {
  display: flex;
}

.site-header .nav-links,
.nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.site-header .nav-links li a,
.nav-list li a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.site-header .nav-links li a:hover,
.nav-list li a:hover {
  color: var(--color-text);
  background: var(--color-surface);
  border-color: var(--color-border);
}

.site-header .nav-links li a.active,
.nav-list li a.active {
  color: var(--color-primary);
  background: var(--color-primary-glow);
  border-color: var(--color-border-primary);
}

.header-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

/* Hamburger */
.hamburger,
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.hamburger:hover,
.nav-toggle:hover {
  background: var(--color-surface-2);
  border-color: var(--color-border-primary);
}

.hamburger span,
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1),
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2),
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3),
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 998;
  padding: var(--space-6) var(--space-4);
  flex-direction: column;
  gap: var(--space-6);
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
}

.mobile-menu.open {
  display: flex;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + var(--space-12));
  padding-bottom: var(--space-16);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(232, 184, 75, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, var(--text-5xl));
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  padding: var(--space-2) var(--space-3);
  background: var(--color-primary-glow);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-full);
  width: fit-content;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-content > p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-medium);
}

.hero-highlights li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--color-success);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  flex-shrink: 0;
}

.hero-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(232, 184, 75, 0.1);
  border: 1px solid var(--color-border);
  position: relative;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,15,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   CTA BUTTON & CTA SECTION
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-primary-lg);
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232, 184, 75, 0.5);
  color: var(--color-text-inverse);
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-section {
  padding: var(--space-16) var(--space-4);
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.cta-section .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-primary-lg);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.cta-section .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(232, 184, 75, 0.5);
  color: var(--color-text-inverse);
}

/* ============================================================
   CONTENT ARTICLE
   ============================================================ */
article.content {
  max-width: var(--container-content);
  margin-inline: auto;
  padding: var(--space-8) var(--space-4);
}

article.content h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

article.content h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

article.content h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

article.content p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

article.content ul,
article.content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

article.content ul {
  list-style: none;
  padding-left: 0;
}

article.content ul li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

article.content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

article.content ol {
  list-style: decimal;
}

article.content ol li {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-2);
}

article.content ol li::marker {
  color: var(--color-primary);
  font-weight: var(--font-semibold);
}

article.content li {
  font-size: var(--text-base);
}

article.content strong {
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

article.content em {
  font-style: italic;
  color: var(--color-primary-light);
}

article.content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(232, 184, 75, 0.4);
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
}

article.content a:hover {
  color: var(--color-primary-light);
  text-decoration-color: var(--color-primary-light);
}

/* Tables */
article.content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

article.content thead {
  background: var(--color-surface-3);
}

article.content thead th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border-primary);
  white-space: nowrap;
}

article.content tbody tr {
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--color-border);
}

article.content tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

article.content tbody tr:hover {
  background: var(--color-surface);
}

article.content tbody tr:last-child {
  border-bottom: none;
}

article.content th,
article.content td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: middle;
  color: var(--color-text-muted);
}

article.content th {
  color: var(--color-primary);
  font-weight: var(--font-semibold);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  margin-bottom: var(--space-3);
}

.faq-item:hover {
  border-color: var(--color-border-strong);
}

.faq-item.open {
  border-color: var(--color-border-primary);
  box-shadow: 0 0 0 1px rgba(232, 184, 75, 0.1), var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-5);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
  font-family: var(--font-primary);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--color-text-subtle);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: transform var(--transition-base), background var(--transition-fast);
}

.faq-item.open .faq-question {
  color: var(--color-primary);
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
  background: var(--color-primary);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

.faq-item.open .faq-answer {
  display: block;
}

/* FAQ details/summary (native HTML5) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-list details[open] {
  border-color: var(--color-border-primary);
  box-shadow: 0 0 0 1px rgba(232, 184, 75, 0.08);
}

.faq-list details summary {
  padding: var(--space-5);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color var(--transition-fast);
  user-select: none;
}

.faq-list details summary::-webkit-details-marker {
  display: none;
}

.faq-list details summary::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--color-text-subtle);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: transform var(--transition-base), background var(--transition-fast);
}

.faq-list details[open] summary {
  color: var(--color-primary);
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
  background: var(--color-primary);
}

.faq-list details p {
  padding: var(--space-4) var(--space-5) var(--space-5);
  border-top: 1px solid var(--color-border);
  margin: 0;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
  margin-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

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

.footer-brand .brand img {
  height: 32px;
  width: auto;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  line-height: var(--leading-relaxed);
  max-width: 320px;
}

.footer-links h3 {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

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

.footer-links ul li a {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: var(--space-1) 0;
  display: inline-block;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-6);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  line-height: var(--leading-relaxed);
  padding: var(--space-4);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  text-align: center;
}

/* ============================================================
   SECTION COMPONENTS
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-heading h2 {
  font-size: clamp(1.5rem, 4vw, var(--text-3xl));
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.section-heading p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 580px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

.section-heading .eyebrow {
  margin-bottom: var(--space-3);
  margin-inline: auto;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.info-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  border-color: var(--color-border-primary);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(232, 184, 75, 0.08);
  transform: translateY(-4px);
}

.info-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.info-card:hover img {
  transform: scale(1.03);
}

.info-card-content {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.info-card-content h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.info-card-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: var(--space-1) 0;
  position: relative;
}

.text-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

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

.text-link:hover::after {
  transform: translateX(4px);
}

/* Generic card */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.card-body {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.card-footer {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ============================================================
   FEATURED CATEGORIES
   ============================================================ */
.featured-categories {
  padding: var(--space-16) 0;
  background: var(--color-bg-2);
}

/* ============================================================
   CONTENT SPLIT
   ============================================================ */
.content-split,
.payments-preview {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}

.split-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.split-grid.reverse {
  flex-direction: column-reverse;
}

.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.split-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
}

.split-content h2 {
  font-size: clamp(1.5rem, 4vw, var(--text-3xl));
  font-weight: var(--font-bold);
  color: var(--color-text);
  line-height: var(--leading-snug);
}

.split-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  padding: var(--space-16) 0;
  background: var(--color-bg-2);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.benefit-item {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.benefit-item:hover {
  border-color: var(--color-border-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.benefit-item h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text);
  padding: var(--space-4) var(--space-5) var(--space-2);
}

.benefit-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: 0 var(--space-5) var(--space-5);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--space-12) 0;
  background: linear-gradient(135deg, #1a1024 0%, #16161f 50%, #0a0a0f 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232, 184, 75, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.cta-banner-inner h2 {
  font-size: clamp(1.5rem, 4vw, var(--text-3xl));
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.cta-banner-inner p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 480px;
}

/* ============================================================
   FAQ PREVIEW
   ============================================================ */
.faq-preview {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}

.center-action {
  text-align: center;
  margin-top: var(--space-8);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: var(--color-primary-glow);
  color: var(--color-primary);
  border: 1px solid var(--color-border-primary);
}

.badge-secondary {
  background: rgba(139, 92, 246, 0.12);
  color: var(--color-secondary-light);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-info {
  background: var(--color-info-bg);
  color: var(--color-info);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.badge-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.badge-new {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  border: none;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 184, 75, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(232, 184, 75, 0); }
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
}

.alert-success {
  background: var(--color-success-bg);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}

.alert-success .alert-content {
  color: #6ee7b7;
}

.alert-warning {
  background: var(--color-warning-bg);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--color-warning);
}

.alert-warning .alert-content {
  color: #fcd34d;
}

.alert-error {
  background: var(--color-error-bg);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--color-error);
}

.alert-error .alert-content {
  color: #fca5a5;
}

.alert-info {
  background: var(--color-info-bg);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--color-info);
}

.alert-info .alert-content {
  color: #67e8f9;
}

/* ============================================================
   FORMS & INPUTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.form-label .required {
  color: var(--color-error);
  margin-left: var(--space-1);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder {
  color: var(--color-text-subtle);
}

.form-control:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-2);
}

.form-control:focus {
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-control.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px var(--color-error-bg);
}

.form-control.success {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-bg);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239494b0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 16px;
  padding-right: var(--space-10);
}

.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group .form-control {
  flex: 1;
}

.input-group .input-prefix,
.input-group .input-suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-subtle);
  pointer-events: none;
  font-size: var(--text-sm);
}

.input-group .input-prefix {
  left: var(--space-4);
}

.input-group .input-suffix {
  right: var(--space-4);
}

.input-group .form-control:has(~ .input-prefix) {
  padding-left: var(--space-10);
}

.input-group .form-control + .input-suffix {
  padding-right: var(--space-10);
}

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tab-list {
  display: flex;
  gap: var(--space-1);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-1);
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--color-border);
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.tab-trigger {
  flex-shrink: 0;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: none;
  font-family: var(--font-primary);
  white-space: nowrap;
}

.tab-trigger:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.tab-trigger.active {
  background: var(--color-bg-card);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-primary);
}

.tab-panel {
  display: none;
  animation: fade-in var(--transition-base);
}

.tab-panel.active {
  display: block;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ACCORDION (Generic)
   ============================================================ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  transition: border-color var(--transition-fast);
}

.accordion-item.open {
  border-color: var(--color-border-primary);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
  font-family: var(--font-primary);
}

.accordion-trigger:hover {
  color: var(--color-primary);
}

.accordion-content {
  display: none;
  padding: 0 var(--space-5) var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

.accordion-item.open .accordion-content {
  display: block;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-spring);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.modal-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--text-lg);
  line-height: 1;
}

.modal-close:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.modal-body {
  padding: var(--space-6);
}

.modal-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* ============================================================
   TOOLTIPS
   ============================================================ */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::before,
[data-tooltip]::after {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 100;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface-3);
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  white-space: nowrap;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

[data-tooltip]::after {
  content: '';
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-surface-3);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  opacity: 1;
}

.tooltip {
  position: relative;
  display: inline-flex;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.page-item {
  display: flex;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.page-link:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.page-item.active .page-link {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

.page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-subtle);
}

.breadcrumb-item a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--color-primary);
}

.breadcrumb-item.active {
  color: var(--color-text);
  font-weight: var(--font-medium);
}

.breadcrumb-separator {
  color: var(--color-text-subtle);
  font-size: var(--text-xs);
}

/* ============================================================
   STAT BLOCKS
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--color-border-primary);
  transform: translateY(-2px);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-medium);
}

.stat-change {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  margin-top: var(--space-1);
}

.stat-change.positive {
  color: var(--color-success);
}

.stat-change.negative {
  color: var(--color-error);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--color-border-primary);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.testimonial-stars span {
  color: var(--color-primary);
  font-size: var(--text-sm);
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border-primary);
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

/* ============================================================
   MEDIA CONTAINERS
   ============================================================ */
.media-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.media-container img,
.media-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-container.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.media-container.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.media-container.ratio-square {
  aspect-ratio: 1;
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,15,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.media-caption {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: var(--font-medium);
}

/* ============================================================
   CODE BLOCKS
   ============================================================ */
code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875em;
  background: var(--color-surface-2);
  color: var(--color-primary-light);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

pre {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  overflow-x: auto;
  margin-bottom: var(--space-4);
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   LOADING STATES
   ============================================================ */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--color-surface) 25%, var(--color-surface-2) 50%, var(--color-surface) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 1em;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-sm);
}

.skeleton-text.short {
  width: 40%;
}

.skeleton-text.medium {
  width: 65%;
}

.skeleton-text.long {
  width: 90%;
}

.skeleton-circle {
  border-radius: 50%;
}

.skeleton-image {
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border-strong);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner-sm {
  width: 16px;
  height: 16px;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  z-index: 10;
}

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--space-6);
  gap: var(--space-4);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.empty-state-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.empty-state-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 320px;
  line-height: var(--leading-relaxed);
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-8) 0;
}

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
  margin: var(--space-8) 0;
}

.divider-primary {
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  margin: var(--space-8) 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.divider-text span {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ============================================================
   CHARTS & DATA VISUALS
   ============================================================ */
.chart-container {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.chart-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.chart-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.progress-bar {
  height: 6px;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

.progress-fill.secondary {
  background: var(--gradient-secondary);
}

.progress-fill.success {
  background: var(--color-success);
}

/* ============================================================
   SECONDARY NAVIGATION
   ============================================================ */
.secondary-nav {
  background: var(--color-bg-2);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.secondary-nav::-webkit-scrollbar {
  display: none;
}

.secondary-nav-list {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  min-width: max-content;
}

.secondary-nav-list li a {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.secondary-nav-list li a:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-border-strong);
}

.secondary-nav-list li a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ============================================================
   TABLES (Standalone)
   ============================================================ */
.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 500px;
}

.table thead {
  background: var(--color-surface-3);
}

.table thead th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border-primary);
  white-space: nowrap;
}

.table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

.table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.table tbody tr:hover {
  background: var(--color-surface);
}

.table tbody tr:last-child {
  border-bottom: none;
}

.table td {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-muted);
  vertical-align: middle;
}

.table tfoot {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border-strong);
}

.table tfoot td {
  padding: var(--space-3) var(--space-4);
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

/* ============================================================
   LISTS (Standalone)
   ============================================================ */
.list-styled {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.list-styled li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

.list-styled li:last-child {
  border-bottom: none;
}

.list-check li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--font-bold);
  flex-shrink: 0;
  margin-top: 2px;
}

.list-cross li::before {
  content: '✕';
  color: var(--color-error);
  font-weight: var(--font-bold);
  flex-shrink: 0;
  margin-top: 2px;
}

.list-arrow li::before {
  content: '→';
  color: var(--color-primary);
  font-weight: var(--font-bold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   SECTION PADDING UTILITY
   ============================================================ */
.section {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-16) 0;
}

.section-sm {
  padding: var(--space-8) 0;
}

/* ============================================================
   RESPONSIVE: 768px
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --header-height: 76px;
    --header-height-scrolled: 64px;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }

  .container {
    padding-inline: var(--space-6);
  }

  /* Header */
  .hamburger,
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    gap: var(--space-2);
    overflow: visible;
    border: none;
    height: auto;
    flex: 1;
    justify-content: flex-end;
  }

  .site-header .nav-links,
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-1);
  }

  .site-header .nav-links li a,
  .nav-list li a {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-3);
  }

  .header-cta {
    flex-direction: row;
    padding-top: 0;
    border-top: none;
    gap: var(--space-2);
  }

  /* Hero */
  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .hero-content {
    flex: 1;
  }

  .hero-media {
    flex: 1;
  }

  .hero-highlights {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* Cards */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Split */
  .split-grid {
    flex-direction: row;
    align-items: center;
  }

  .split-grid.reverse {
    flex-direction: row;
  }

  .split-media {
    flex: 1;
  }

  .split-content {
    flex: 1;
  }

  .split-media img {
    height: 400px;
  }

  /* Benefits */
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA Banner */
  .cta-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Stat grid */
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* FAQ */
  article.content {
    padding: var(--space-12) var(--space-6);
  }
}

/* ============================================================
   RESPONSIVE: 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-8);
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: var(--text-5xl);
  }

  .hero-media img {
    height: 480px;
  }

  /* Cards */
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-card img {
    height: 220px;
  }

  /* Benefits */
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Split */
  .split-media img {
    height: 460px;
  }

  /* Nav */
  .site-header .nav-links li a,
  .nav-list li a {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-3);
  }

  /* Sections */
  .section {
    padding: var(--space-16) 0;
  }

  .section-lg {
    padding: var(--space-24) 0;
  }
}

/* ============================================================
   RESPONSIVE: 1280px+
   ============================================================ */
@media (min-width: 1280px) {
  .hero-grid {
    gap: var(--space-16);
  }

  .split-grid {
    gap: var(--space-16);
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .hamburger,
  .nav-toggle,
  .site-nav,
  .mobile-menu,
  .hero-actions,
  .cta-banner,
  .cta-section,
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-login,
  .btn-register,
  .cta-button {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero {
    padding-top: var(--space-6);
    min-height: auto;
    background: none;
  }

  .hero h1 {
    color: #000;
    font-size: 24pt;
  }

  article.content {
    max-width: 100%;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #555;
  }

  .card,
  .info-card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--shadow-primary); }
  50% { box-shadow: var(--shadow-primary-lg); }
}

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

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}

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

.animate-slide-up {
  animation: slide-up var(--transition-slow) ease forwards;
}

/* ============================================================
   SELECTION STYLE
   ============================================================ */
::selection {
  background: var(--color-primary-glow);
  color: var(--color-primary-light);
}

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