/* ============================================
   DESIGN TOKENS - Dark-first color system
   Casea Casino: digital glamour aesthetic
   Site is permanently dark (no theme toggle)
   ============================================ */

:root {
    --background: #020617;
    --foreground: #f1f5f9;
    --card: #0f172a;
    --card-foreground: #f1f5f9;
    --popover: #0f172a;
    --popover-foreground: #f1f5f9;
    --primary: #2563eb;
    --primary-foreground: #ffffff;
    --primary-light: #3b82f6;
    --secondary: #1e293b;
    --secondary-foreground: #e2e8f0;
    --muted: #6b83a6;
    --muted-foreground: #a0aec0;
    --accent: #047e93;
    --accent-foreground: #f8fafc;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #6b83a6;
    --input: #1e293b;
    --ring: #3b82f6;

    --header-height: 64px;
    --radius: 12px;
    --radius-sm: 8px;
    --max-width: 1200px;
    --max-width-narrow: 800px;

    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Inter", sans-serif;
}

/* .dark mirrors :root - kept for compatibility */
.dark {
    --background: #020617;
    --foreground: #f1f5f9;
    --card: #0f172a;
    --card-foreground: #f1f5f9;
    --popover: #0f172a;
    --popover-foreground: #f1f5f9;
    --primary: #2563eb;
    --primary-foreground: #ffffff;
    --primary-light: #3b82f6;
    --secondary: #1e293b;
    --secondary-foreground: #e2e8f0;
    --muted: #6b83a6;
    --muted-foreground: #a0aec0;
    --accent: #047e93;
    --accent-foreground: #f8fafc;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #6b83a6;
    --input: #1e293b;
    --ring: #3b82f6;
}

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

*, *::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: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.25s ease-out;
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY - Space Grotesk + Inter
   ============================================ */

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

h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 26px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

h4 {
    font-size: 18px;
    font-weight: 500;
}

p {
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

strong, b {
    color: var(--foreground);
    font-weight: 600;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 56px 0;
}

.text-center {
    text-align: center;
}

.text-center.section-heading {
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 16px;
    max-width: 800px;
}

.section-subheading {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   .btn - base, .btn-primary - electric blue gradient,
   .btn-ghost - outlined, .btn-lg - larger touch target
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease-out;
    min-height: 44px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
    color: var(--primary-foreground);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-lg {
    font-size: 18px;
    padding: 16px 36px;
    min-height: 52px;
}

/* ============================================
   SKIP LINK - Accessibility
   ============================================ */

.skip-link {
    position: absolute;
    top: -48px;
    left: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 20px;
    z-index: 10000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top 0.2s ease-out;
}

.skip-link:focus {
    top: 0;
    color: var(--primary-foreground);
}

/* ============================================
   HEADER & NAVIGATION
   Sticky header with logo, horizontal nav, CTA buttons
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid var(--border);
}

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

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

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

.logo {
    border-radius: 6px;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.02em;
}

.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: 24px;
    flex-direction: column;
}

.primary-nav.is-open {
    display: flex;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-list li {
    border-bottom: 1px solid var(--border);
}

.nav-list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.25s ease-out;
}

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

.nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.nav-actions .btn {
    width: 100%;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: all 0.25s ease-out;
}

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

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

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

/* ============================================
   FOOTER
   Three-column layout with links, payments, legal
   ============================================ */

.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

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

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

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

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

.payment-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-foreground);
    transition: border-color 0.25s ease-out, color 0.25s ease-out;
}

.payment-badge:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.footer-legal {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin-bottom: 12px;
}

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

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

/* ============================================
   HERO SECTION
   Full-width dark hero with model, particles, headline
   ============================================ */

.hero-section {
    position: relative;
    padding: 64px 0 80px;
    overflow: clip;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.12) 1px, transparent 1.5px),
        radial-gradient(circle at 65% 55%, rgba(6, 182, 212, 0.08) 1px, transparent 1.5px),
        radial-gradient(circle at 35% 75%, rgba(59, 130, 246, 0.06) 1px, transparent 1.5px),
        radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.05) 1px, transparent 1.5px);
    background-size: 120px 120px, 160px 160px, 90px 90px, 200px 200px;
    animation: particleFloat 25s linear infinite;
    pointer-events: none;
}

.hero-particles::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(59, 130, 246, 0.04) 50%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(6, 182, 212, 0.03) 50%, transparent 50.5%);
    background-size: 250px 250px, 180px 180px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}

.hero-headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--foreground);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-subtext {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 32px;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* ============================================
   STAT BLOCK
   Grid of metric cards with glowing blue hover
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.25s ease-out;
}

.stat-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.12);
    transform: scale(1.03);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.stat-source {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

/* ============================================
   CTA BANNER
   Full-width gradient section with particle overlay
   ============================================ */

.cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, #0a1124 0%, #020617 100%);
    overflow: clip;
    text-align: center;
}

.cta-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 40%, rgba(59, 130, 246, 0.08) 1px, transparent 1.5px),
        radial-gradient(circle at 75% 60%, rgba(6, 182, 212, 0.06) 1px, transparent 1.5px);
    background-size: 140px 140px, 100px 100px;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-headline {
    font-size: 26px;
    font-weight: 600;
    color: var(--foreground);
    max-width: 700px;
    letter-spacing: -0.02em;
}

.cta-subtext {
    font-size: 17px;
    color: var(--muted-foreground);
    max-width: 600px;
    margin-bottom: 8px;
}

.cta-micro {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}

/* ============================================
   FAQ ACCORDION
   Expandable cards with chevron rotation, single-open
   ============================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s ease-out;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.25s ease-out;
    min-height: 44px;
}

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

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

.faq-chevron {
    flex-shrink: 0;
    color: var(--primary-light);
    transition: transform 0.25s ease-out;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
}

.faq-answer.is-open {
    max-height: 600px;
}

.faq-answer-inner {
    padding: 0 24px 24px;
}

.faq-answer-inner p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

/* ============================================
   CARDS & CONTENT BLOCKS
   .card - base container, .card-grid - responsive grid,
   .split-layout - two-column, .feature-card - icon+text
   ============================================ */

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.25s ease-out;
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    font-size: 15px;
    line-height: 1.6;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-content h2 {
    margin-bottom: 16px;
}

.split-content p {
    margin-bottom: 16px;
}

.split-image img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.25s ease-out;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.03);
}

.feature-card-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--foreground);
}

.feature-card p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* ============================================
   ENGAGEMENT PATTERNS
   Callout, pull-quote, summary-box, badge
   ============================================ */

.callout {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--primary-light);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
}

.callout-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.callout-body {
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.pull-quote {
    border-left: 4px solid var(--primary-light);
    padding: 24px 28px;
    margin: 40px 0;
    background: var(--card);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--foreground);
    margin-bottom: 12px;
}

.pull-quote-attr {
    font-size: 14px;
    color: var(--muted-foreground);
}

.pull-quote-attr cite {
    font-style: normal;
    color: var(--primary-light);
}

.summary-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
}

.summary-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--foreground);
    margin-bottom: 16px;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-list li {
    font-size: 15px;
    color: var(--muted-foreground);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.summary-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ============================================
   CRO PATTERNS
   Trust badges, comparison table, prose
   ============================================ */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--muted-foreground);
    transition: border-color 0.25s ease-out;
}

.trust-badge:hover {
    border-color: var(--primary-light);
}

.trust-badge-icon {
    font-size: 24px;
    line-height: 1;
}

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    border-radius: var(--radius);
    margin: 32px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 500px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.comparison-table th {
    background: var(--secondary);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    color: var(--muted-foreground);
}

.comparison-table .recommended {
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid var(--primary-light);
}

.comparison-table .recommended td {
    color: var(--foreground);
}

/* ============================================
   PROSE - SEO text blocks
   Constrained width for optimal reading
   ============================================ */

.prose {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.prose p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 20px;
}

.prose a {
    color: var(--primary-light);
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s ease-out;
}

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

.prose h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--foreground);
}

.prose h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--foreground);
}

.prose ul,
.prose ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.prose ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--muted-foreground);
}

.prose ol li {
    list-style: decimal;
    margin-bottom: 8px;
    color: var(--muted-foreground);
}

.prose strong {
    color: var(--foreground);
}

/* ============================================
   SITEMAP PAGE
   Minimalist dark layout for Seitenübersicht
   ============================================ */

.sitemap-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.sitemap-intro {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
    max-width: 700px;
}

.sitemap-heading {
    font-size: 24px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sitemap-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.25s ease-out;
}

.sitemap-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.sitemap-item h3 {
    margin-bottom: 8px;
}

.sitemap-item h3 a {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.25s ease-out;
}

.sitemap-item h3 a:hover {
    color: var(--primary-light);
}

.sitemap-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .sitemap-title {
        font-size: 42px;
    }
    .sitemap-heading {
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    .sitemap-title {
        font-size: 48px;
    }
}

/* ============================================
   ANIMATIONS
   Scroll-triggered fade-in + slide-up
   ============================================ */

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

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

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

/* ============================================
   RESPONSIVE - Tablet (768px+)
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-height: 72px;
    }

    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    h3 { font-size: 22px; }

    .section { padding: 64px 0; }

    .container, .container-narrow {
        padding: 0 32px;
    }

    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }

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

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

    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .hero-section {
        padding: 80px 0 100px;
    }

    .hero-headline {
        font-size: 40px;
    }

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

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

    .section-heading {
        font-size: 32px;
    }

    .nav-actions {
        flex-direction: row;
    }
}

/* ============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================ */

@media (min-width: 1024px) {
    .section { padding: 64px 0; }

    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 24px; }

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

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

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

    .hero-section {
        padding: 100px 0 120px;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .hero-content {
        flex: 1;
    }

    .hero-image-wrap {
        flex: 1;
        max-width: 500px;
    }

    .hero-headline {
        font-size: 48px;
    }

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

    .section-heading {
        font-size: 36px;
    }

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

    .stat-card {
        padding: 32px;
    }

    .card {
        padding: 32px;
    }

    .feature-card {
        padding: 32px 28px;
    }

    /* Desktop: show horizontal nav, hide mobile toggle */
    .mobile-menu-toggle {
        display: none;
    }

    .primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        background: transparent;
        padding: 0;
        overflow: visible;
        z-index: auto;
    }

    .nav-list {
        flex-direction: row;
        gap: 28px;
    }

    .nav-list li {
        border-bottom: none;
    }

    .nav-list a {
        min-height: auto;
        padding: 0;
        font-size: 16px;
    }

    .nav-actions {
        flex-direction: row;
        margin-top: 0;
        gap: 12px;
    }

    .nav-actions .btn {
        width: auto;
    }
}

/* ============================================
   REDUCED MOTION - Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

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

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   FOCUS VISIBLE - Keyboard navigation
   ============================================ */

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

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
