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

:root {
  --primary: #EFE422;
  --primary-dark: #C9BF00;
  --primary-light: #F7F06E;
  --primary-rgb: 239, 228, 34;
  --accent: #FF6B35;
  --accent-hover: #FF8B5E;
  --accent-dark: #E55520;
  --bg-dark: #08282D;
  --bg-darker: #051C20;
  --bg-card: #0C3239;
  --bg-card-hover: #0F3E47;
  --bg-surface: #103A42;
  --bg-elevated: #134650;
  --text-primary: #F0F4F5;
  --text-secondary: #8AACB3;
  --text-muted: #5E8A93;
  --text-on-primary: #08282D;
  --success: #00E68A;
  --success-bg: rgba(0, 230, 138, 0.12);
  --warning: #FFB84D;
  --warning-bg: rgba(255, 184, 77, 0.12);
  --danger: #FF4D6A;
  --danger-bg: rgba(255, 77, 106, 0.12);
  --info: #4DC9F6;
  --info-bg: rgba(77, 201, 246, 0.12);
  --gradient-hero: linear-gradient(155deg, #051C20 0%, #08282D 35%, #0C3239 65%, #0A2E34 100%);
  --gradient-cta: linear-gradient(135deg, #EFE422 0%, #FFB84D 50%, #FF6B35 100%);
  --gradient-cta-hover: linear-gradient(135deg, #F7F06E 0%, #FFCF7A 50%, #FF8B5E 100%);
  --gradient-gold: linear-gradient(135deg, #EFE422, #FFD700, #FF6B35);
  --gradient-card: linear-gradient(180deg, rgba(239, 228, 34, 0.06) 0%, rgba(8, 40, 45, 0.95) 100%);
  --gradient-glow: radial-gradient(circle, rgba(239, 228, 34, 0.25) 0%, transparent 70%);
  --border-subtle: rgba(239, 228, 34, 0.1);
  --border-medium: rgba(239, 228, 34, 0.2);
  --border-strong: rgba(239, 228, 34, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(239, 228, 34, 0.15);
  --shadow-cta: 0 6px 24px rgba(239, 228, 34, 0.3);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-primary: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-overlay: 900;
  --z-modal: 1000;
  --z-toast: 1100;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

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

ul, ol {
  list-style: none;
}

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { font-size: 1rem; line-height: 1.7; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-dark), var(--bg-elevated));
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}

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

::selection {
  background: rgba(var(--primary-rgb), 0.3);
  color: var(--text-primary);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========================================
   SITE HEADER
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(8, 40, 45, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(5, 28, 32, 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 60px rgba(var(--primary-rgb), 0.05);
  border-bottom-color: var(--border-medium);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  gap: 1rem;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
  flex-shrink: 0;
}

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

.site-header .nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.site-header .nav-links li a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
}

.site-header .nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.site-header .nav-links li a:hover,
.site-header .nav-links li a.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.site-header .nav-links li a:hover::after,
.site-header .nav-links li a.active::after {
  width: 60%;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

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

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  background: var(--gradient-cta);
  color: var(--text-on-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
}

.btn-register::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-cta-hover);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.45);
}

.btn-register:hover::before {
  opacity: 1;
}

.btn-register span,
.btn-register:not(:empty) {
  position: relative;
  z-index: 1;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  background: var(--gradient-cta);
  color: var(--text-on-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-cta-hover);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.5), 0 0 60px rgba(var(--primary-rgb), 0.15);
}

.cta-button:hover::before {
  opacity: 1;
}

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

.cta-button:active::after {
  width: 300px;
  height: 300px;
}

/* ========================================
   HAMBURGER
   ======================================== */

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: calc(var(--z-modal) + 1);
  background: none;
  border: none;
  border-radius: var(--radius-xs);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: rgba(var(--primary-rgb), 0.1);
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-darker) 100%);
  z-index: var(--z-modal);
  transition: right var(--transition-smooth);
  padding: 5.5rem 1.75rem 2rem;
  border-left: 1px solid var(--border-medium);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-color: var(--border-subtle);
  transform: translateX(4px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 7rem 1.25rem 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80vw;
  height: 80vw;
  background: var(--gradient-glow);
  border-radius: 50%;
  animation: hero-ambient 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 65%);
  border-radius: 50%;
  animation: hero-ambient 12s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes hero-ambient {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  100% { transform: scale(1.15) translate(3%, -3%); opacity: 0.8; }
}

.hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, #fff 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   ARTICLE CONTENT
   ======================================== */

article.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

article.content h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 0.6rem;
}

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

article.content h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

article.content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

article.content ul,
article.content ol {
  margin-bottom: 1.25rem;
  padding-left: 0;
}

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

article.content ol {
  list-style: none;
  counter-reset: ol-counter;
}

article.content ol li {
  counter-increment: ol-counter;
}

article.content ol li::before {
  content: counter(ol-counter) '.';
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.6rem;
  font-size: 0.9rem;
}

article.content li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.65;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.04);
}

article.content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4);
}

article.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

article.content thead {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.08));
}

article.content tbody tr {
  transition: background var(--transition-fast);
}

article.content tbody tr:nth-child(even) {
  background: rgba(var(--primary-rgb), 0.03);
}

article.content tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.08);
}

article.content th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  border-bottom: 2px solid var(--border-medium);
}

article.content td {
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

article.content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.3);
  transition: all var(--transition-base);
  padding-bottom: 1px;
}

article.content a:hover {
  color: var(--primary-light);
  border-bottom-color: var(--primary);
  text-shadow: 0 0 12px rgba(var(--primary-rgb), 0.3);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  position: relative;
  padding: 5rem 1.25rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(var(--primary-rgb), 0.06) 50%, var(--bg-dark) 100%);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  animation: cta-pulse 6s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.cta-section h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

.cta-section .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  background: var(--gradient-cta);
  color: var(--text-on-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-cta), 0 0 40px rgba(var(--primary-rgb), 0.2);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.cta-section .btn-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-cta);
  border-radius: inherit;
  z-index: -1;
  filter: blur(12px);
  opacity: 0.4;
  transition: opacity var(--transition-base);
}

.cta-section .btn-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 48px rgba(var(--primary-rgb), 0.5), 0 0 80px rgba(var(--primary-rgb), 0.2);
}

.cta-section .btn-cta:hover::before {
  opacity: 0.7;
}

.cta-section .btn-cta:active {
  transform: translateY(-1px) scale(1);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: all var(--transition-base);
}

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

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--primary);
  transition: all var(--transition-base);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: linear-gradient(180deg, var(--bg-darker) 0%, #030F12 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.25rem 1.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: 1px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-xs);
  transition: all var(--transition-base);
}

.footer-nav a:hover {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.footer-disclaimer {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  padding: 1.25rem;
  background: rgba(var(--primary-rgb), 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(138, 172, 179, 0.4);
  padding-top: 1rem;
}

/* ========================================
   REUSABLE COMPONENTS
   ======================================== */

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card-body {
  padding: 1.5rem;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(var(--primary-rgb), 0.04);
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.15);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(0, 230, 138, 0.25);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(255, 184, 77, 0.25);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(255, 77, 106, 0.25);
}

.badge-info {
  background: var(--info-bg);
  color: var(--info);
  border: 1px solid rgba(77, 201, 246, 0.25);
}

.badge-live {
  background: var(--danger);
  color: #fff;
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 106, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255, 77, 106, 0); }
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.925rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border-color: rgba(0, 230, 138, 0.2);
}

.alert-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: rgba(255, 184, 77, 0.2);
}

.alert-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: rgba(255, 77, 106, 0.2);
}

.alert-info {
  background: var(--info-bg);
  color: var(--info);
  border-color: rgba(77, 201, 246, 0.2);
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  outline: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--border-medium);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
  background: var(--bg-card-hover);
}

.form-input::placeholder {
  color: var(--text-muted);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%238AACB3' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  position: relative;
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.4rem;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Tabs */
.tabs {
  display: flex;
  overflow-x: auto;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
  margin-bottom: -2px;
}

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

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

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: tab-fade-in 0.3s ease;
}

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

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

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

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(var(--primary-rgb), 0.1);
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-smooth);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.modal-close:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Tooltips */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
  z-index: var(--z-toast);
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 2rem 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-base);
}

.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.page-link.active {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(var(--primary-rgb), 0.3);
}

.page-link.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 1rem 0;
  font-size: 0.85rem;
}

.breadcrumb-item {
  color: var(--text-muted);
}

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

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

.breadcrumb-separator {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* Lists */
.list-styled {
  list-style: none;
}

.list-styled li {
  padding: 0.65rem 0 0.65rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.04);
}

.list-styled li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Loading States */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

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

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5rem;
}

.skeleton-heading {
  height: 1.5em;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.skeleton-card {
  height: 200px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.loading-dots {
  display: inline-flex;
  gap: 4px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: loading-bounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(2) { animation-delay: 0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes loading-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Section Headers */
.section-header-left {
  margin-bottom: 2rem;
}

.section-header-left .section-tag {
  margin-bottom: 0.75rem;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

/* Content Dividers */
.divider {
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 2rem 0;
}

.divider-gradient {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 3rem 0;
}

.divider-dashed {
  border: none;
  border-top: 2px dashed var(--border-subtle);
  margin: 2rem 0;
}

/* Code Blocks */
.code-block {
  background: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  font-family: 'Fira Code', 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--primary-light);
  margin: 1.5rem 0;
}

.code-inline {
  background: rgba(var(--primary-rgb), 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  font-family: 'Fira Code', monospace;
  font-size: 0.88em;
  color: var(--primary);
}

/* Stat Blocks */
.stat-block {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all var(--transition-base);
}

.stat-block:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.stat-block-value {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 900;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-block-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  font-weight: 600;
}

/* Testimonial Blocks */
.testimonial-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-block::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(var(--primary-rgb), 0.1);
  line-height: 1;
}

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

.testimonial-block-stars {
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-block-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.testimonial-block-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-block-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-on-primary);
}

.testimonial-block-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-block-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Media Containers */
.media-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

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

.media-container-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 40, 45, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

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

.media-ratio-1-1 {
  aspect-ratio: 1 / 1;
}

/* Secondary Navigation */
.nav-secondary {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.nav-secondary-item {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  transition: all var(--transition-base);
  cursor: pointer;
}

.nav-secondary-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-secondary-item.active {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

/* Charts & Data Visual Containers */
.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 250px;
  position: relative;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.chart-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.chart-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chart-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Progress Bar */
.progress-bar {
  height: 8px;
  background: var(--bg-darker);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0.5rem 0;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  transition: width 1s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  border-radius: var(--radius-full);
}

/* Toggle / Switch */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-darker);
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.toggle input:checked + .toggle-slider {
  background: rgba(var(--primary-rgb), 0.2);
  border-color: var(--primary);
}

.toggle input:checked + .toggle-slider::before {
  background: var(--primary);
  transform: translateX(22px);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

/* Tag / Chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: var(--border-medium);
  color: var(--primary);
}

.tag-removable::after {
  content: '×';
  margin-left: 0.25rem;
  cursor: pointer;
  opacity: 0.6;
}

.tag-removable:hover::after {
  opacity: 1;
}

/* Toast / Notification */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-toast);
  min-width: 280px;
  max-width: 400px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Avatar Group */
.avatar-group {
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-group .avatar + .avatar {
  margin-left: -12px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cta);
  color: var(--text-on-primary);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

/* Accordion (generic) */
.accordion-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--bg-card);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: all var(--transition-base);
}

.accordion-trigger:hover {
  background: rgba(var(--primary-rgb), 0.04);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.accordion-body-inner {
  padding: 0 1.25rem 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-item.open .accordion-body {
  max-height: 600px;
}

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

/* Feature Grid Helper */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Utility spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }

/* ========================================
   RESPONSIVE - TABLET (768px)
   ======================================== */

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  h1 { font-size: 2.75rem; }

  .site-header .container {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  article.content {
    padding: 3.5rem 2rem;
  }

  article.content h2 {
    font-size: 2rem;
  }

  article.content h3 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 8rem 2rem 4rem;
  }

  .faq-item {
    margin-bottom: 0.85rem;
  }

  .faq-question {
    padding: 1.25rem 1.75rem;
    font-size: 1.1rem;
  }

  .faq-answer {
    padding: 0 1.75rem;
  }

  .faq-item.open .faq-answer {
    padding: 0 1.75rem 1.5rem;
  }

  .cta-section {
    padding: 6rem 2rem;
  }

  .site-footer {
    padding: 4rem 2rem 2rem;
  }

  .footer-nav {
    gap: 0.75rem 2rem;
  }

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

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-login,
  .btn-register {
    padding: 0.6rem 1.4rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   RESPONSIVE - DESKTOP (1024px)
   ======================================== */

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .site-header .nav-links {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.25rem; }

  .hero {
    padding: 10rem 2rem 5rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
  }

  article.content {
    padding: 4rem 2rem;
  }

  .cta-section {
    padding: 7rem 2rem;
  }

  .cta-section .btn-cta {
    font-size: 1.15rem;
    padding: 1.1rem 3rem;
  }

  .site-footer {
    padding: 5rem 2rem 2rem;
  }

  .footer-nav {
    gap: 1rem 2.5rem;
  }

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

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

  .faq-question {
    font-size: 1.15rem;
    padding: 1.35rem 2rem;
  }

  .faq-answer {
    padding: 0 2rem;
  }

  .faq-item.open .faq-answer {
    padding: 0 2rem 1.5rem;
  }
}

/* ========================================
   RESPONSIVE - LARGE (1280px)
   ======================================== */

@media (min-width: 1280px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .site-header,
  .site-footer,
  .mobile-menu,
  .hamburger,
  .cta-button,
  .btn-login,
  .btn-register,
  .cta-section,
  .nav-secondary,
  .toast,
  .modal-overlay,
  .live-ticker,
  .hero-particles,
  .hero-glow,
  .final-cta-bg,
  .overlay {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #1a1a1a !important;
    font-size: 12pt;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

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

  article.content h2,
  article.content h3 {
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
    page-break-after: avoid;
  }

  article.content p,
  article.content li,
  article.content td {
    color: #333 !important;
  }

  article.content a {
    color: #1a1a1a !important;
    text-decoration: underline !important;
  }

  article.content a::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }

  article.content table {
    border: 1px solid #ccc;
  }

  article.content th,
  article.content td {
    border: 1px solid #ccc;
    padding: 0.5rem;
  }

  article.content th {
    background: #f0f0f0 !important;
    color: #1a1a1a !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: none !important;
  }

  .hero h1 {
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
    font-size: 24pt;
  }
}

/* ========================================
   ANIMATION UTILITIES
   ======================================== */

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

@keyframes fade-in-anim {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes glow-border {
  0%, 100% { border-color: var(--border-subtle); }
  50% { border-color: var(--primary); }
}

.animate-fade-up { animation: fade-up 0.6s ease forwards; }
.animate-fade-in { animation: fade-in-anim 0.5s ease forwards; }
.animate-slide-right { animation: slide-in-right 0.6s ease forwards; }
.animate-slide-left { animation: slide-in-left 0.6s ease forwards; }
.animate-scale-in { animation: scale-in 0.4s ease forwards; }

/* Delay helpers */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

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

  .hero::before,
  .hero::after {
    animation: none !important;
  }
}