/* ============================================
   DESIGN TOKENS - Dark Purple-Blue Heist Theme
   Single theme (no light/dark switcher).
   All colors defined as CSS custom properties.
   ============================================ */

:root {
    /* Backgrounds */
    --background: #15102e;
    --background-alt: #1e1b4b;
    --surface: #2a2560;
    --surface-elevated: #312e81;

    /* Foreground */
    --foreground: #f5f3ff;
    --foreground-muted: #c4b5fd;
    --foreground-dim: #94a3b8;

    /* Brand */
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.4);
    --primary-foreground: #000000;

    /* Accent */
    --accent: #facc15;
    --accent-glow: rgba(250, 204, 21, 0.3);
    --accent-foreground: #1e1b4b;

    /* Gold */
    --gold: #fbbf24;
    --gold-dark: #d97706;

    /* Semantic */
    --danger: #f43f5e;
    --success: #22c55e;

    /* Borders */
    --border: #3d3759;
    --border-light: #4c4570;

    /* Typography */
    --font-display: "Bowlby One", "Impact", sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 100px;

    /* Container */
    --container-max: 1200px;

    /* Transitions */
    --transition: 250ms ease-out;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-neon: 0 0 20px var(--primary-glow), 0 0 40px var(--primary-glow);
    --shadow-neon-accent: 0 0 16px var(--accent-glow);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

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

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

p, li, td, th {
    overflow-wrap: break-word;
}

section {
    overflow: clip;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Bowlby One for display, DM Sans for body.
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

h1 {
    font-size: clamp(32px, 6vw, 48px);
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 20px;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-sm);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 20px;
    line-height: 1.5;
    color: var(--foreground-muted);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

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

.content-section {
    padding: var(--space-2xl) 0;
    position: relative;
}

@media (min-width: 1024px) {
    .content-section {
        padding: var(--space-3xl) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 18px;
    color: var(--foreground-muted);
    line-height: 1.5;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }

.neon-text {
    text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow);
}

.halftone-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--primary) 1px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.08;
    pointer-events: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    min-height: 44px;
    white-space: nowrap;
}

.btn:hover {
    transform: scale(1.03);
}

.btn-primary {
    background: #6b21a8;
    color: #ffffff;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    background: #581c87;
    color: #ffffff;
    box-shadow: 0 0 30px var(--primary-glow), 0 0 60px var(--primary-glow);
}

.btn-cta {
    background: #6b21a8;
    color: #ffffff;
    font-size: 20px;
    padding: 16px 40px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-neon);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn-cta:hover {
    background: #581c87;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary-glow), 0 0 60px var(--primary-glow);
}

.btn-login {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border-light);
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(168, 85, 247, 0.1);
}

.btn-register {
    background: #6b21a8;
    color: #ffffff;
    box-shadow: 0 0 12px var(--primary-glow);
}

.btn-register:hover {
    background: #581c87;
    color: #ffffff;
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-ghost:hover {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
    border-color: var(--accent);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #15102e;
    border-bottom: 2px solid var(--border);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand .logo {
    border-radius: var(--radius-sm);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--foreground);
    letter-spacing: -0.01em;
}

.site-brand:hover .brand-name {
    color: var(--primary);
}

.primary-nav {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--foreground-muted);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 10px;
    transition: border-color var(--transition);
}

.menu-toggle:hover {
    border-color: var(--primary);
}

.menu-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAV DRAWER
   ============================================ */

.primary-nav.is-open {
    display: flex !important;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 72px);
    background: var(--background);
    z-index: 9999;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg);
    gap: var(--space-md);
    overflow-y: auto;
    border-top: 2px solid var(--border);
}

@media (max-width: 767px) {
    .primary-nav.is-open {
        top: 64px;
        height: calc(100vh - 64px);
    }
}

.primary-nav.is-open .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
}

.primary-nav.is-open .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 18px;
}

.primary-nav.is-open .nav-link::after {
    display: none;
}

.primary-nav.is-open .nav-actions {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.primary-nav.is-open .btn {
    width: 100%;
    min-height: 48px;
    font-size: 18px;
}

/* Desktop nav */
@media (min-width: 768px) {
    .primary-nav {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }
}

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

.site-footer {
    background: var(--background-alt);
    border-top: 2px solid var(--border);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.footer-desc {
    color: var(--foreground-dim);
    font-size: 15px;
    line-height: 1.5;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--foreground-muted);
    font-size: 15px;
    text-decoration: none;
    transition: color var(--transition);
}

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

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--foreground-muted);
    font-weight: 500;
}

.footer-legal {
    font-size: 13px;
    color: var(--foreground-dim);
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: var(--space-xl) auto 0;
    padding: var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--foreground-dim);
}

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

.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: clip;
    padding: var(--space-2xl) 0;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 600px;
        padding: var(--space-3xl) 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 16, 46, 0.85) 0%, rgba(30, 27, 75, 0.75) 50%, rgba(21, 16, 46, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(32px, 6vw, 48px);
    color: var(--foreground);
    text-shadow: 0 0 20px var(--primary-glow);
    margin-bottom: var(--space-md);
}

.hero-content .lead {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--foreground-muted);
    max-width: 600px;
    margin-bottom: var(--space-lg);
}

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

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-micro {
    font-size: 14px;
    color: var(--foreground-dim);
    margin-top: var(--space-md);
    max-width: 600px;
}

/* ============================================
   SLOTS PREVIEW GRID
   ============================================ */

.slots-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .slots-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .slots-preview-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.slot-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.slot-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.slot-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 2px solid var(--border);
}

.slot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.slot-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.slot-info h3 {
    font-size: 20px;
    color: var(--foreground);
    margin-bottom: 4px;
}

.slot-meta {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.slot-desc {
    font-size: 14px;
    color: var(--foreground-muted);
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ============================================
   INFO CARD GRID
   ============================================ */

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

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.info-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.card-icon {
    font-size: 40px;
    margin-bottom: var(--space-sm);
    line-height: 1;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.card-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}

.card-text {
    font-size: 16px;
    color: var(--foreground-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.card-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color var(--transition);
    align-self: flex-start;
}

.card-link:hover {
    color: var(--gold);
}

/* ============================================
   STAT BLOCK
   ============================================ */

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

@media (min-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-cell {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.stat-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 42px);
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 12px var(--accent-glow);
    animation: stat-float 3s ease-in-out infinite;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
    border-color: var(--primary);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-neon);
}

.faq-item[open] .faq-toggle::before {
    transform: rotate(45deg);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--foreground);
    transition: color var(--transition);
}

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

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

.faq-question-text {
    flex: 1;
    min-width: 0;
}

.faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.faq-toggle::before {
    width: 16px;
    height: 3px;
}

.faq-toggle::after {
    width: 3px;
    height: 16px;
}

.faq-item[open] .faq-toggle::after {
    opacity: 0;
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground-muted);
}

.faq-answer p {
    margin-bottom: var(--space-sm);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-alt) 50%, var(--surface-elevated) 100%);
    padding: var(--space-2xl) 0;
    text-align: center;
    overflow: clip;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

@media (min-width: 768px) {
    .cta-banner {
        padding: var(--space-3xl) 0;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 36px);
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    margin-bottom: var(--space-sm);
}

.cta-subtext {
    font-size: 18px;
    color: var(--foreground);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.5;
}

.cta-micro {
    font-size: 14px;
    color: var(--foreground-dim);
    margin-top: var(--space-md);
}

/* Floating coins */
.cta-coins {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.coin {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 30% 30%, var(--gold), var(--gold-dark));
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold), inset 0 0 4px rgba(255, 255, 255, 0.3);
    animation: coin-float 4s ease-in-out infinite;
}

.coin-1 { top: 15%; left: 10%; animation-delay: 0s; width: 20px; height: 20px; }
.coin-2 { top: 25%; right: 12%; animation-delay: 0.5s; width: 28px; height: 28px; }
.coin-3 { bottom: 20%; left: 15%; animation-delay: 1s; width: 22px; height: 22px; }
.coin-4 { bottom: 30%; right: 18%; animation-delay: 1.5s; width: 26px; height: 26px; }
.coin-5 { top: 50%; left: 5%; animation-delay: 2s; width: 18px; height: 18px; }
.coin-6 { top: 40%; right: 8%; animation-delay: 2.5s; width: 24px; height: 24px; }

@keyframes coin-float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */

/* Summary / TL;DR box */
.summary-box {
    background: var(--surface);
    border: 2px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.summary-box h3 {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.summary-box p {
    color: var(--foreground-muted);
    font-size: 16px;
    margin-bottom: var(--space-xs);
}

/* Callout / highlight box */
.callout {
    background: rgba(168, 85, 247, 0.1);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    position: relative;
}

.callout-title {
    font-family: var(--font-display);
    font-size: 18px;
    color: #d8b4fe;
    margin-bottom: var(--space-xs);
}

.callout p {
    color: var(--foreground);
    font-size: 16px;
    margin-bottom: 0;
}

/* Pull quote */
.pull-quote {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.3;
    color: var(--accent);
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    margin: var(--space-xl) 0;
    position: relative;
}

.pull-quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.pull-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    font-style: normal;
    color: var(--foreground-dim);
    margin-top: var(--space-sm);
}

/* Trust badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    padding: var(--space-md) 0;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--foreground-muted);
    font-weight: 500;
}

/* ============================================
   TABLES
   ============================================ */

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0;
}

thead {
    background: var(--surface-elevated);
}

th {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--accent);
    text-align: left;
    padding: var(--space-md);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    color: var(--foreground-muted);
    font-size: 15px;
    vertical-align: top;
}

tbody tr {
    transition: background-color var(--transition);
}

tbody tr:hover {
    background: rgba(168, 85, 247, 0.05);
}

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

/* Highlighted/recommended column */
.col-highlight {
    background: rgba(168, 85, 247, 0.08);
    border-left: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
}

.col-highlight th {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ============================================
   CONTENT ELEMENTS
   ============================================ */

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.article-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.article-content p {
    margin-bottom: var(--space-md);
    color: var(--foreground-muted);
}

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

.article-content ul li,
.article-content ol li {
    color: var(--foreground-muted);
    margin-bottom: var(--space-xs);
    list-style: disc;
}

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

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

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    font-weight: 500;
}

.article-content a:hover {
    color: var(--gold);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: var(--space-sm) var(--space-lg);
    margin: var(--space-lg) 0;
    background: var(--surface);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--foreground);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    .header-inner {
        height: 64px;
    }

    .primary-nav.is-open {
        top: 64px;
    }

    .brand-name {
        font-size: 18px;
    }

    .hero-section {
        min-height: 400px;
    }

    .stat-number {
        font-size: 32px;
    }

    .info-card {
        padding: var(--space-md);
    }

    .faq-question {
        padding: var(--space-md);
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 var(--space-md) var(--space-md);
        font-size: 15px;
    }

    .cta-headline {
        font-size: 26px;
    }

    .footer-inner {
        gap: var(--space-lg);
    }
}

/* ============================================
   SITEMAP LIST
   ============================================ */

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0;
    counter-reset: sitemap-counter;
}

.sitemap-entry {
    counter-increment: sitemap-counter;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.sitemap-entry::before {
    content: counter(sitemap-counter);
    position: absolute;
    top: var(--space-lg);
    left: -20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-neon);
    flex-shrink: 0;
}

.sitemap-entry:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.sitemap-title {
    font-size: 22px;
    margin-bottom: var(--space-sm);
    padding-left: 24px;
}

.sitemap-title a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.sitemap-title a:hover {
    color: var(--gold);
}

.sitemap-desc {
    color: var(--foreground-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    padding-left: 24px;
}

@media (max-width: 767px) {
    .sitemap-entry::before {
        display: none;
    }

    .sitemap-title,
    .sitemap-desc {
        padding-left: 0;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

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

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

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

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}