﻿/** * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * 
 * Ancient Global Composition Product Page - Dark Cinematic Design
 * A contemplative, narrative-driven design matching SharedRoots aesthetic.
 */

/* ========================================
   Ancient Composition Design System
   ======================================== */
:root {
    /* Contemplative Earth Palette - Matching SharedRoots */
    --ac-obsidian: #0D0D0F;
    --ac-slate: #1A1C1E;
    --ac-stone: #2A2D31;
    --ac-earth: #3D3A36;
    --ac-sand: #A89F91;
    --ac-bone: #E8E4DC;
    --ac-ivory: #F5F3EF;
    --ac-amber: #C4956A;
    --ac-copper: #8B6D4F;
    
    /* Legacy color mappings for backward compatibility */
    --ac-primary: var(--ac-copper);
    --ac-primary-dark: var(--ac-earth);
    --ac-primary-light: var(--ac-amber);
    --ac-accent: var(--ac-amber);
    --ac-accent-light: var(--ac-bone);
    --ac-accent-dark: var(--ac-copper);
    
    /* Neutral Colors */
    --ac-dark: var(--ac-obsidian);
    --ac-dark-soft: var(--ac-slate);
    --ac-charcoal: var(--ac-stone);
    --ac-text: var(--ac-bone);
    --ac-text-muted: var(--ac-sand);
    --ac-light: var(--ac-stone);
    --ac-off-white: var(--ac-earth);
    --ac-white: var(--ac-ivory);
    --ac-border: rgba(168, 159, 145, 0.2);
    
    /* Era Colors - Matching SharedRoots */
    --era-paleolithic: #7c3aed;   /* Deep Purple */
    --era-mesolithic: #4f46e5;    /* Indigo */
    --era-neolithic: #2563eb;     /* Blue */
    --era-copper: #B87333;
    --era-bronze: #d97706;        /* Amber */
    --era-iron: #dc2626;          /* Red */
    --era-medieval: #4B0082;
    
    /* Typography */
    --ac-font-display: 'Cormorant Garamond', Georgia, serif;
    --ac-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ac-font-accent: 'Josefin Sans', sans-serif;
    --ac-font-serif: var(--ac-font-display);
    --ac-font-sans: var(--ac-font-body);
    
    /* Spacing */
    --ac-section-padding: clamp(80px, 12vh, 140px);
    --ac-content-width: 1200px;
    --ac-wide-width: 1600px;
    
    /* Shadows */
    --ac-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --ac-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --ac-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --ac-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --ac-shadow-gold: 0 8px 32px rgba(196, 149, 106, 0.3);
    --ac-shadow-glow: 0 0 24px rgba(196, 149, 106, 0.2);
    
    /* Borders */
    --ac-radius-sm: 8px;
    --ac-radius-md: 12px;
    --ac-radius-lg: 16px;
    --ac-radius-xl: 24px;
    --ac-radius-full: 9999px;
    
    /* Transitions */
    --ac-transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --ac-transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --ac-transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ac-ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ac-ease-gentle: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ac-transition: all 0.3s var(--ac-ease-out);
    --ac-duration-fast: 150ms;
    --ac-duration-normal: 300ms;
    --ac-duration-slow: 600ms;
}

/* ========================================
   Base & Typography
   ======================================== */
.ac-main {
    background-color: var(--ac-obsidian);
    color: var(--ac-ivory);
    font-family: var(--ac-font-body);
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.ac-main *,
.ac-main *::before,
.ac-main *::after {
    box-sizing: border-box;
}

.ac-main h1,
.ac-main h2,
.ac-main h3,
.ac-main h4 {
    font-family: var(--ac-font-display);
    font-weight: 400;
    color: var(--ac-ivory);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* Dark body background override */
body {
    background-color: var(--ac-obsidian) !important;
    background-image: none !important;
}

#wrapper, #content-wrapper, #content-fluid {
    background: transparent !important;
}

footer {
    background-color: var(--ac-obsidian) !important;
}

/* ========================================
   Accessibility
   ======================================== */
.ac-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10000;
    transition: top var(--ac-transition-fast);
}

.ac-skip-link:focus {
    top: 16px;
}

/* ========================================
   Scroll Progress Bar
   ======================================== */
.ac-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--ac-copper), var(--ac-amber));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ========================================
   Page Navigation Dots
   ======================================== */
.ac-page-nav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ac-transition-fast), visibility var(--ac-transition-fast);
}

@media (min-width: 1200px) {
    .ac-page-nav {
        display: flex;
    }
}

.ac-page-nav.visible {
    opacity: 1;
    visibility: visible;
}

.ac-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(168, 159, 145, 0.3);
    border: 1px solid var(--ac-sand);
    position: relative;
    transition: var(--ac-transition);
    cursor: pointer;
}

.ac-nav-dot:hover,
.ac-nav-dot:focus {
    transform: scale(1.3);
    background: var(--ac-amber);
    outline: none;
}

.ac-nav-dot.active {
    background: var(--ac-amber);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(196, 149, 106, 0.5);
}

.ac-nav-dot::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--ac-stone);
    color: var(--ac-ivory);
    padding: 6px 12px;
    border-radius: var(--ac-radius-sm);
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ac-transition-fast);
    border: 1px solid var(--ac-border);
}

.ac-nav-dot:hover::after,
.ac-nav-dot:focus::after {
    opacity: 1;
}

@media (max-width: 1199px) {
    .ac-page-nav {
        display: none;
    }
}

/* ========================================
   Back to Top Button
   ======================================== */
.ac-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--ac-transition);
    z-index: 1100;
    box-shadow: var(--ac-shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ac-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.ac-back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--ac-shadow-gold);
    background: var(--ac-copper);
}

/* ========================================
   HERO SECTION
   ======================================== */
.ac-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.ac-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--ac-obsidian);
}

.ac-hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.ac-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 15, 0.95) 0%,
        rgba(13, 13, 15, 0.85) 50%,
        rgba(13, 13, 15, 0.95) 100%
    );
}

.ac-hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(196, 149, 106, 0.4) 50%, transparent 50%),
        radial-gradient(2px 2px at 40% 70%, rgba(232, 228, 220, 0.3) 50%, transparent 50%),
        radial-gradient(2px 2px at 60% 40%, rgba(196, 149, 106, 0.3) 50%, transparent 50%),
        radial-gradient(2px 2px at 80% 80%, rgba(232, 228, 220, 0.2) 50%, transparent 50%);
    background-size: 200px 200px;
    animation: particleFloat 25s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-200px) rotate(5deg); }
}

.ac-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    color: var(--ac-ivory);
}

.ac-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 149, 106, 0.15);
    border: 1px solid rgba(196, 149, 106, 0.3);
    color: var(--ac-amber);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.ac-hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--ac-ivory);
}

.ac-title-line {
    display: block;
    color: var(--ac-ivory);
}

.ac-title-accent {
    display: block;
    color: var(--ac-amber);
}

.ac-hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    line-height: 1.7;
    margin-bottom: 32px;
    color: var(--ac-bone);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.ac-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ac-stat-item {
    text-align: center;
}

.ac-stat-value {
    display: block;
    font-family: var(--ac-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--ac-amber);
    line-height: 1;
    margin-bottom: 4px;
}

.ac-stat-label {
    font-size: 0.8rem;
    color: var(--ac-sand);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ac-stat-divider {
    width: 1px;
    height: 50px;
    background: var(--ac-border);
}

/* Hero Price */
.ac-hero-price {
    margin-bottom: 32px;
}

.ac-price-tag {
    display: inline-flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-md);
    padding: 16px 32px;
    backdrop-filter: blur(10px);
}

.ac-price-label {
    font-size: 0.8rem;
    color: var(--ac-sand);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ac-price-amount {
    font-family: var(--ac-font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--ac-ivory);
}

.ac-price-note {
    font-size: 0.85rem;
    color: var(--ac-sand);
}

/* Hero CTA */
.ac-hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ac-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    padding: 16px 32px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--ac-transition);
    box-shadow: var(--ac-shadow-gold);
    border: 1px solid var(--ac-amber);
}

.ac-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(196, 149, 106, 0.4);
    background: var(--ac-copper);
    border-color: var(--ac-copper);
    color: var(--ac-ivory);
    text-decoration: none;
}

.ac-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--ac-ivory);
    padding: 14px 32px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--ac-sand);
    transition: var(--ac-transition);
}

.ac-btn-secondary:hover {
    background: rgba(168, 159, 145, 0.1);
    border-color: var(--ac-amber);
    color: var(--ac-amber);
    text-decoration: none;
}

/* Trust Badges */
.ac-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ac-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--ac-sand);
}

.ac-trust-item i {
    color: var(--ac-amber);
    font-size: 1rem;
}

/* Scroll Indicator */
.ac-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--ac-bone);
    text-decoration: none;
    animation: bounce 2s infinite;
}

.ac-scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ac-scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   SECTION BASE STYLES
   ======================================== */
.ac-section {
    padding: var(--ac-section-padding) 0;
    position: relative;
}

.ac-chapter-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.ac-chapter-number {
    display: inline-block;
    font-family: var(--ac-font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ac-amber);
    margin-bottom: 2rem;
}

.ac-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 20px;
    position: relative;
    color: var(--ac-ivory);
    font-weight: 400;
    line-height: 1.25;
}

.ac-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 1px;
    background: var(--ac-copper);
    margin: 20px auto 0;
    border-radius: 2px;
}

.ac-section-subtitle {
    font-size: 1.125rem;
    color: var(--ac-bone);
    line-height: 1.9;
    font-weight: 400;
}

.ac-chapter-header-light {
    color: var(--ac-ivory);
}

.ac-chapter-header-light .ac-section-title {
    color: var(--ac-ivory);
}

.ac-chapter-header-light .ac-section-subtitle {
    color: var(--ac-bone);
}

/* ========================================
   MEANING SECTION (Chapter I)
   ======================================== */
.ac-meaning {
    background: var(--ac-slate);
}

.ac-comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .ac-comparison-grid {
        grid-template-columns: 1fr;
    }
}

.ac-comparison-card {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-lg);
    overflow: hidden;
    box-shadow: var(--ac-shadow-md);
    transition: var(--ac-transition);
    border: 1px solid var(--ac-border);
}

.ac-comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ac-shadow-lg);
}

.ac-comparison-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.ac-not-this .ac-comparison-header {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
}

.ac-but-this .ac-comparison-header {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.ac-comparison-header i {
    font-size: 1.25rem;
}

.ac-comparison-content {
    padding: 24px;
    color: var(--ac-ivory);
}

.ac-comparison-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    opacity: 0.8;
}

.ac-comparison-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--ac-ivory);
}

.ac-comparison-content > p {
    color: var(--ac-sand);
    font-style: italic;
    margin-bottom: 20px;
}

.ac-comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--ac-bone);
}

.ac-not-this .ac-comparison-list i {
    color: #fca5a5;
}

.ac-but-this .ac-comparison-list i {
    color: #6ee7b7;
}

.ac-comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ac-comparison-divider span {
    background: var(--ac-stone);
    color: var(--ac-amber);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid var(--ac-border);
}

@media (max-width: 991px) {
    .ac-comparison-divider {
        padding: 20px 0;
    }
}

/* How It Works Expandable */
.ac-how-works {
    max-width: 900px;
    margin: 0 auto;
}

.ac-expand-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--ac-stone);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ac-ivory);
    cursor: pointer;
    transition: var(--ac-transition);
}

.ac-expand-btn:hover {
    border-color: var(--ac-amber);
    background: rgba(196, 149, 106, 0.1);
}

.ac-expand-btn i:first-child {
    color: var(--ac-amber);
    margin-right: 8px;
}

.ac-expand-icon {
    transition: transform 0.3s ease;
    color: var(--ac-amber);
}

.ac-expand-btn[aria-expanded="true"] .ac-expand-icon {
    transform: rotate(180deg);
}

.ac-expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ac-expand-content.open {
    max-height: 500px;
}

.ac-expand-inner {
    padding: 30px 24px;
    background: var(--ac-stone);
    border: 1px solid var(--ac-border);
    border-top: none;
    border-radius: 0 0 var(--ac-radius-md) var(--ac-radius-md);
}

.ac-step-card {
    text-align: center;
    padding: 24px;
    background: rgba(13, 13, 15, 0.4);
    border-radius: var(--ac-radius-md);
    height: 100%;
    border: 1px solid var(--ac-border);
}

.ac-step-number {
    width: 40px;
    height: 40px;
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
}

.ac-step-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--ac-ivory);
}

.ac-step-card p {
    font-size: 0.9rem;
    color: var(--ac-sand);
    margin: 0;
}

/* ========================================
   THREE PILLARS OF ANALYSIS
   ======================================== */
.ac-pillars-section {
    margin-top: 3rem;
}

.ac-pillars-title {
    font-family: var(--ac-font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ac-ivory);
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ac-pillars-title .dna-icon {
    color: var(--ac-amber);
}

.ac-pillars {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.ac-pillar {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 28px 20px 24px;
    background: rgba(13, 13, 15, 0.5);
    border: 1px solid rgba(196, 149, 106, 0.15);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ac-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(196, 149, 106, 0.4);
}

.ac-pillar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ac-pillar-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 149, 106, 0.12);
    border-radius: 50%;
    color: var(--ac-amber);
}

.ac-pillar-icon .dna-icon {
    width: 24px;
    height: 24px;
}

.ac-pillar-header h4 {
    font-family: var(--ac-font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ac-ivory);
    margin: 0;
}

.ac-pillar p {
    font-size: 0.875rem;
    color: var(--ac-bone);
    line-height: 1.65;
    margin: 0 0 12px;
}

.ac-pillar-detail {
    display: block;
    font-size: 0.75rem;
    color: var(--ac-amber);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
}

/* Pillar Flow Connectors */
.ac-pillar-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    flex-shrink: 0;
    padding-top: 48px;
}

.ac-flow-line {
    display: block;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(196, 149, 106, 0.2), rgba(196, 149, 106, 0.6));
}

.ac-flow-arrow {
    display: block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--ac-amber);
    opacity: 0.6;
    margin-left: -2px;
}

/* ADMIXTURE Bars Visual */
.ac-pillar-visual {
    margin-bottom: 16px;
}

.ac-admixture-bars {
    display: flex;
    height: 28px;
    border-radius: 14px;
    overflow: hidden;
    gap: 1px;
    background: rgba(42, 45, 49, 0.4);
}

.ac-adm-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: opacity 0.3s ease;
}

.ac-adm-bar span {
    font-size: 0.5625rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 4px;
}

.ac-adm-whg { background: #7c3aed; }
.ac-adm-ehg { background: #4f46e5; }
.ac-adm-farmer { background: #2563eb; }
.ac-adm-steppe { background: #d97706; }
.ac-adm-other { background: #6b7280; }

/* PCA Scatter Plot Visual */
.ac-pca-scatter {
    position: relative;
    width: 100%;
    height: 140px;
    background: rgba(42, 45, 49, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(168, 159, 145, 0.1);
    overflow: hidden;
}

.ac-pca-axis-x {
    position: absolute;
    bottom: 16px;
    left: 12%;
    right: 8%;
    height: 1px;
    background: rgba(168, 159, 145, 0.2);
}

.ac-pca-axis-y {
    position: absolute;
    left: 12%;
    top: 8%;
    bottom: 16px;
    width: 1px;
    background: rgba(168, 159, 145, 0.2);
}

.ac-pca-label-x {
    position: absolute;
    bottom: 4px;
    right: 8%;
    font-size: 0.5625rem;
    color: var(--ac-sand);
    opacity: 0.6;
}

.ac-pca-label-y {
    position: absolute;
    top: 4px;
    left: 4%;
    font-size: 0.5625rem;
    color: var(--ac-sand);
    opacity: 0.6;
}

.ac-pca-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.ac-pca-scatter:hover .ac-pca-dot {
    transform: scale(1.3);
}

.ac-dot-whg { background: #7c3aed; }
.ac-dot-farmer { background: #2563eb; }
.ac-dot-steppe { background: #d97706; }

.ac-dot-you {
    background: var(--ac-amber);
    width: 12px;
    height: 12px;
    border: 2px solid var(--ac-ivory);
    box-shadow: 0 0 12px rgba(196, 149, 106, 0.6);
    z-index: 2;
    opacity: 1;
    animation: ac-youPulse 2.5s ease-in-out infinite;
}

@keyframes ac-youPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(196, 149, 106, 0.4); }
    50% { box-shadow: 0 0 20px rgba(196, 149, 106, 0.8); }
}

.ac-pca-you-label {
    position: absolute;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--ac-amber);
    z-index: 3;
}

/* Euclidean Distance Rings Visual */
.ac-distance-rings {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.ac-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.ac-ring-label {
    font-size: 0.5rem;
    font-weight: 600;
    opacity: 0.7;
}

.ac-ring-distant {
    width: 160px;
    height: 160px;
    top: 0;
    left: 0;
    background: rgba(107, 114, 128, 0.08);
    border-color: rgba(107, 114, 128, 0.25);
    color: #d1d5db;
}

.ac-ring-moderate {
    width: 120px;
    height: 120px;
    top: 20px;
    left: 20px;
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.25);
    color: #fde047;
}

.ac-ring-close {
    width: 80px;
    height: 80px;
    top: 40px;
    left: 40px;
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

.ac-ring-exceptional {
    width: 44px;
    height: 44px;
    top: 58px;
    left: 58px;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.ac-ring-exceptional .ac-ring-label {
    display: none;
}

.ac-ring-center {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 70px;
    left: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ac-amber);
}

.ac-ring-center .dna-icon {
    width: 14px;
    height: 14px;
}

/* Analysis Flow Bar */
.ac-analysis-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
    padding: 16px 24px;
    background: rgba(13, 13, 15, 0.5);
    border: 1px solid rgba(196, 149, 106, 0.15);
    border-radius: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.ac-flow-step {
    font-family: var(--ac-font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ac-bone);
    padding: 6px 14px;
    background: rgba(196, 149, 106, 0.08);
    border: 1px solid rgba(196, 149, 106, 0.2);
    border-radius: 20px;
}

.ac-flow-result {
    background: rgba(196, 149, 106, 0.2);
    border-color: var(--ac-amber);
    color: var(--ac-amber);
}

.ac-flow-separator {
    color: var(--ac-amber);
    opacity: 0.5;
}

.ac-flow-separator .dna-icon {
    width: 12px;
    height: 12px;
}

/* Distance Rings Mini (Sidebar) */
.ac-distance-rings-mini {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.ac-ring-mini {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.ac-ring-mini-distant {
    width: 100px;
    height: 100px;
    top: 0;
    left: 0;
    background: rgba(107, 114, 128, 0.06);
    border-color: rgba(107, 114, 128, 0.2);
}

.ac-ring-mini-moderate {
    width: 74px;
    height: 74px;
    top: 13px;
    left: 13px;
    background: rgba(251, 191, 36, 0.06);
    border-color: rgba(251, 191, 36, 0.2);
}

.ac-ring-mini-close {
    width: 48px;
    height: 48px;
    top: 26px;
    left: 26px;
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
}

.ac-ring-mini-exceptional {
    width: 24px;
    height: 24px;
    top: 38px;
    left: 38px;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.ac-ring-mini-center {
    position: absolute;
    width: 8px;
    height: 8px;
    top: 46px;
    left: 46px;
    border-radius: 50%;
    background: var(--ac-amber);
    box-shadow: 0 0 8px rgba(196, 149, 106, 0.5);
}

/* Pillars Responsive */
@media (max-width: 991px) {
    .ac-pillars {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .ac-pillar {
        max-width: 400px;
        width: 100%;
    }

    .ac-pillar-flow {
        width: auto;
        height: 28px;
        padding-top: 0;
        transform: rotate(90deg);
    }

    .ac-analysis-flow {
        flex-direction: column;
        gap: 8px;
    }

    .ac-flow-separator {
        transform: rotate(90deg);
    }
}

@media (max-width: 575px) {
    .ac-pca-scatter {
        height: 120px;
    }

    .ac-distance-rings {
        width: 130px;
        height: 130px;
    }

    .ac-ring-distant { width: 130px; height: 130px; }
    .ac-ring-moderate { width: 96px; height: 96px; top: 17px; left: 17px; }
    .ac-ring-close { width: 64px; height: 64px; top: 33px; left: 33px; }
    .ac-ring-exceptional { width: 36px; height: 36px; top: 47px; left: 47px; }
    .ac-ring-center { top: 57px; left: 57px; }
}

/* ========================================
   FOUNDATIONS SECTION (Chapter II)
   ======================================== */
.ac-foundations {
    background: var(--ac-obsidian);
    position: relative;
}

.ac-chapter-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(196, 149, 106, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(232, 228, 220, 0.1) 0%, transparent 50%);
}

.ac-narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .ac-narrative-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.ac-narrative-text {
    color: var(--ac-ivory);
}

.ac-narrative-lead {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--ac-bone);
}

.ac-narrative-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ac-bone);
    margin-bottom: 16px;
}

.ac-era-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ac-era-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ac-ivory);
}

.ac-era-paleolithic {
    background: var(--era-paleolithic);
}

.ac-era-mesolithic {
    background: var(--era-mesolithic);
}

.ac-ancestry-components {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 575px) {
    .ac-ancestry-components {
        grid-template-columns: 1fr;
    }
}

.ac-component {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-lg);
    padding: 24px 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--ac-transition);
}

.ac-component:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: var(--ac-amber);
}

.ac-component-icon {
    width: 60px;
    height: 60px;
    background: var(--ac-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ac-component-icon i {
    font-size: 1.5rem;
    color: var(--ac-obsidian);
}

.ac-component h5 {
    font-size: 1.25rem;
    color: var(--ac-ivory);
    margin-bottom: 4px;
}

.ac-component p {
    font-size: 0.8rem;
    color: var(--ac-sand);
    margin-bottom: 12px;
}

.ac-component-region {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ac-ivory);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   MOVEMENTS SECTION (Chapter III)
   ======================================== */
.ac-movements {
    background: var(--ac-slate);
}

.ac-movements-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .ac-movements-showcase {
        grid-template-columns: 1fr;
    }
}

.ac-movement-card {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--ac-transition);
    border: 1px solid var(--ac-border);
}

.ac-movement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ac-shadow-lg);
}

.ac-movement-highlight {
    background: linear-gradient(135deg, rgba(196, 149, 106, 0.2) 0%, rgba(139, 109, 79, 0.2) 100%);
    border-color: var(--ac-amber);
}

.ac-movement-highlight h3,
.ac-movement-highlight p {
    color: var(--ac-ivory);
}

.ac-movement-highlight .ac-movement-era {
    color: var(--ac-amber);
}

.ac-movement-icon {
    width: 70px;
    height: 70px;
    background: var(--ac-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ac-movement-icon i {
    font-size: 2rem;
    color: var(--ac-obsidian);
}

.ac-movement-era {
    font-size: 0.85rem;
    color: var(--ac-amber);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ac-movement-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--ac-ivory);
}

.ac-movement-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ac-bone);
    margin-bottom: 24px;
}

.ac-movement-highlight .ac-movement-description {
    color: var(--ac-bone);
}

.ac-movement-path {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(13, 13, 15, 0.4);
    border-radius: var(--ac-radius-md);
}

.ac-movement-highlight .ac-movement-path {
    background: rgba(255, 255, 255, 0.05);
}

.ac-path-start,
.ac-path-end {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ac-ivory);
}

.ac-path-arrow {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--ac-amber), transparent);
    position: relative;
}

.ac-path-arrow::after {
    content: 'â†’';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ac-amber);
    font-size: 1.2rem;
}

.ac-movements-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.ac-movements-quote blockquote {
    position: relative;
    padding: 0;
    margin: 0;
}

.ac-movements-quote i {
    font-size: 2rem;
    color: var(--ac-amber);
    opacity: 0.5;
    margin-bottom: 16px;
}

.ac-movements-quote p {
    font-family: var(--ac-font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ac-ivory);
    line-height: 1.6;
}

/* ========================================
   HEARTHS SECTION (Chapter IV)
   ======================================== */
.ac-hearths {
    background: var(--ac-obsidian);
    position: relative;
}

.ac-hearths-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(196, 149, 106, 0.1) 0%, transparent 70%);
}

.ac-hearths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .ac-hearths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ac-hearths-grid {
        grid-template-columns: 1fr;
    }
}

.ac-hearth-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-lg);
    padding: 30px 24px;
    text-align: center;
    transition: var(--ac-transition);
}

.ac-hearth-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: var(--ac-amber);
}

.ac-hearth-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ac-hearth-icon i {
    font-size: 1.5rem;
    color: var(--ac-ivory);
}

.ac-hearth-card h4 {
    font-size: 1.1rem;
    color: var(--ac-ivory);
    margin-bottom: 12px;
}

.ac-hearth-card p {
    font-size: 0.9rem;
    color: var(--ac-sand);
    margin-bottom: 16px;
    line-height: 1.5;
}

.ac-hearth-era {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ac-amber);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   THREADS SECTION (Chapter V)
   ======================================== */
.ac-threads {
    background: var(--ac-slate);
}

.ac-threads-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .ac-threads-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.ac-threads-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Woven Threads Animation */
.ac-woven-threads {
    width: 120px;
    height: 320px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ac-thread {
    position: absolute;
    width: 4px;
    height: 100%;
    border-radius: 2px;
    animation: weaveThread 4s ease-in-out infinite;
}

.ac-thread-1 {
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--ac-amber) 15%, 
        var(--ac-amber) 85%, 
        transparent 100%
    );
    animation-delay: 0s;
    left: calc(50% - 24px);
}

.ac-thread-2 {
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--ac-copper) 15%, 
        var(--ac-copper) 85%, 
        transparent 100%
    );
    animation-delay: -1s;
    left: calc(50% - 8px);
}

.ac-thread-3 {
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--era-bronze) 15%, 
        var(--era-bronze) 85%, 
        transparent 100%
    );
    animation-delay: -2s;
    left: calc(50% + 8px);
}

.ac-thread-4 {
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--era-iron) 15%, 
        var(--era-iron) 85%, 
        transparent 100%
    );
    animation-delay: -3s;
    left: calc(50% + 24px);
}

@keyframes weaveThread {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    25% {
        transform: translateX(16px) scaleY(0.98);
    }
    50% {
        transform: translateX(0) scaleY(1);
    }
    75% {
        transform: translateX(-16px) scaleY(0.98);
    }
}

/* Glow effect where threads converge */
.ac-threads-glow {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(
        circle,
        rgba(196, 149, 106, 0.4) 0%,
        rgba(196, 149, 106, 0.1) 40%,
        transparent 70%
    );
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}

.ac-threads-narrative {
    max-width: 600px;
}

.ac-threads-lead {
    font-family: var(--ac-font-display);
    font-size: 1.75rem;
    color: var(--ac-ivory);
    margin-bottom: 24px;
    line-height: 1.4;
}

.ac-threads-narrative p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ac-bone);
    margin-bottom: 16px;
}

.ac-threads-conclusion {
    font-size: 1.25rem !important;
    color: var(--ac-amber) !important;
    margin-top: 24px !important;
}

.ac-threads-cta {
    margin-top: 32px;
}

/* ========================================
   REVEALS SECTION (Chapter VI)
   ======================================== */
.ac-reveals {
    background: var(--ac-slate);
}

.ac-reveals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .ac-reveals-grid {
        grid-template-columns: 1fr;
    }
}

.ac-reveal-card {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-xl);
    padding: 32px;
    transition: var(--ac-transition);
    border: 1px solid var(--ac-border);
}

.ac-reveal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ac-shadow-lg);
}

.ac-reveal-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(196, 149, 106, 0.15) 0%, rgba(139, 109, 79, 0.15) 100%);
    border-color: var(--ac-amber);
}

@media (max-width: 991px) {
    .ac-reveal-featured {
        grid-column: span 1;
    }
}

.ac-reveal-featured h3,
.ac-reveal-featured p {
    color: var(--ac-ivory);
}

.ac-reveal-icon {
    width: 60px;
    height: 60px;
    background: var(--ac-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ac-reveal-icon i {
    font-size: 1.5rem;
    color: var(--ac-obsidian);
}

.ac-reveal-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--ac-ivory);
}

.ac-reveal-card > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ac-bone);
    margin-bottom: 20px;
}

.ac-reveal-featured > p {
    color: var(--ac-bone);
}

.ac-reveal-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(13, 13, 15, 0.4);
    padding: 12px 20px;
    border-radius: var(--ac-radius-md);
}

.ac-reveal-portrait {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ac-amber);
}

.ac-reveal-preview-info {
    display: flex;
    flex-direction: column;
}

.ac-preview-label {
    font-size: 0.75rem;
    color: var(--ac-amber);
    text-transform: uppercase;
}

.ac-preview-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ac-ivory);
}

.ac-reveal-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(13, 13, 15, 0.4);
    border-radius: var(--ac-radius-md);
}

.ac-formula-part {
    background: var(--ac-copper);
    color: var(--ac-ivory);
    padding: 8px 16px;
    border-radius: var(--ac-radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
}

.ac-formula-plus,
.ac-formula-equals {
    font-size: 1.5rem;
    color: var(--ac-sand);
    font-weight: 700;
}

.ac-formula-result {
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    padding: 8px 20px;
    border-radius: var(--ac-radius-sm);
    font-weight: 700;
}

.ac-reveal-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 16px;
    background: rgba(13, 13, 15, 0.4);
    border-radius: var(--ac-radius-md);
}

.ac-stat-number {
    font-family: var(--ac-font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ac-amber);
}

.ac-stat-text {
    font-size: 0.9rem;
    color: var(--ac-sand);
}

.ac-reveal-timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(13, 13, 15, 0.4);
    border-radius: var(--ac-radius-md);
}

.ac-timeline-start,
.ac-timeline-end {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ac-sand);
    white-space: nowrap;
}

.ac-timeline-bar {
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, 
        var(--era-paleolithic), 
        var(--era-mesolithic), 
        var(--era-neolithic), 
        var(--era-bronze), 
        var(--era-iron), 
        var(--era-medieval)
    );
    border-radius: 4px;
}

/* ========================================
   WORLD MAP SECTION (Leaflet Map)
   ======================================== */
.ac-world-map {
    background: var(--ac-slate);
    position: relative;
    overflow: hidden;
    padding: var(--ac-section-padding) 0 60px;
    border-top: 1px solid var(--ac-border);
}

.ac-map-background {
    position: absolute;
    inset: 0;
    background: var(--ac-slate);
}

.ac-map-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 0%, var(--ac-slate) 70%);
    z-index: 1;
}

.ac-map-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--ac-ivory);
}

.ac-map-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--ac-ivory);
    margin-bottom: 16px;
    font-weight: 400;
}

.ac-map-description {
    font-size: 1.125rem;
    color: var(--ac-bone);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.9;
    font-weight: 400;
}

.ac-map-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ac-map-stat {
    text-align: center;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-lg);
    backdrop-filter: blur(10px);
}

.ac-map-stat-value {
    display: block;
    font-family: var(--ac-font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--ac-amber);
    margin-bottom: 4px;
}

.ac-map-stat-label {
    font-size: 0.85rem;
    color: var(--ac-sand);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Map Container */
.ac-map-container {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.ac-map-wrapper {
    position: relative;
    border-radius: var(--ac-radius-md);
    overflow: hidden;
    box-shadow: var(--ac-shadow-xl);
}

/* Map Filters */
.ac-map-filters {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--ac-radius-md) var(--ac-radius-md) 0 0;
    flex-wrap: wrap;
}

.ac-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ac-filter-group label {
    font-size: 0.875rem;
    color: var(--ac-sand);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ac-filter-select {
    background: rgba(13, 13, 15, 0.6);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-sm);
    color: var(--ac-ivory);
    padding: 8px 12px;
    font-size: 0.875rem;
    min-width: 150px;
    transition: var(--ac-transition);
}

.ac-filter-select:focus {
    outline: none;
    border-color: var(--ac-amber);
    box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.2);
}

.ac-filter-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--ac-amber);
    font-weight: 600;
}

/* Leaflet Map */
.ac-map {
    height: 500px;
    width: 100%;
    background: var(--ac-dark-soft);
    border-radius: 0 0 var(--ac-radius-md) var(--ac-radius-md);
}

/* Map Stats Card */
.ac-map-stats-card {
    position: absolute;
    top: 100px;
    right: 40px;
    background: var(--ac-stone);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-lg);
    padding: 24px;
    width: 220px;
    box-shadow: var(--ac-shadow-xl);
    z-index: 1000;
}

@media (max-width: 991px) {
    .ac-map-stats-card {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 20px;
    }
}

.ac-map-stats-card h4 {
    font-size: 1rem;
    font-family: var(--ac-font-body);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--ac-ivory);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ac-map-stats-card h4 .dna-icon {
    color: var(--ac-amber);
}

.ac-map-stat {
    text-align: center;
    padding: 12px;
    background: rgba(13, 13, 15, 0.4);
    border-radius: var(--ac-radius-sm);
    margin-bottom: 12px;
}

.ac-map-stat-value {
    display: block;
    font-family: var(--ac-font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ac-amber);
}

.ac-map-stat-label {
    font-size: 0.75rem;
    color: var(--ac-sand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ac-map-note {
    font-size: 0.8rem;
    color: var(--ac-sand);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ac-map-note .dna-icon {
    color: var(--ac-amber);
}

/* Map Legend */
.ac-map-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ac-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--ac-sand);
}

.ac-legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ac-legend-paleolithic { background: var(--era-paleolithic); }
.ac-legend-mesolithic { background: var(--era-mesolithic); }
.ac-legend-neolithic { background: var(--era-neolithic); }
.ac-legend-bronze { background: var(--era-bronze); }
.ac-legend-iron { background: var(--era-iron); }

/* ========================================
   EXPLORER SECTION (DataTable)
   ======================================== */
.ac-explorer {
    background: var(--ac-obsidian);
}

.ac-explorer-card {
    border-radius: var(--ac-radius-xl) !important;
    overflow: hidden;
    background: var(--ac-stone) !important;
    border: 1px solid var(--ac-border) !important;
}

.ac-explorer-header {
    background: var(--ac-stone) !important;
    border-bottom: 1px solid var(--ac-border) !important;
    padding: 20px 24px;
}

.ac-explorer-header h5 {
    color: var(--ac-ivory);
    font-weight: 600;
}

.ac-badge-gold {
    background: var(--ac-amber) !important;
    color: var(--ac-obsidian) !important;
    font-weight: 700;
}

.ac-explorer-filters {
    padding: 20px 24px;
    background: rgba(13, 13, 15, 0.4);
    border-bottom: 1px solid var(--ac-border);
}

.ac-filter-select {
    background: rgba(13, 13, 15, 0.6);
    border-color: var(--ac-border);
    color: var(--ac-ivory);
}

.ac-filter-select:focus {
    border-color: var(--ac-amber);
    box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.2);
}

.ac-table-header {
    background: var(--ac-stone) !important;
}

.ac-table-header th {
    border-bottom: 2px solid var(--ac-amber) !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ac-sand);
    padding: 14px 12px;
}

#sampleExplorerTable {
    background: var(--ac-stone);
    color: var(--ac-ivory);
}

#sampleExplorerTable tbody td {
    vertical-align: middle;
    padding: 12px;
    border-bottom: 1px solid var(--ac-border);
    color: var(--ac-bone);
}

#sampleExplorerTable tbody tr:hover {
    background: rgba(196, 149, 106, 0.1);
}

/* DataTable overrides for dark theme */
#sampleExplorerTable_wrapper .dataTables_filter input {
    background: rgba(13, 13, 15, 0.6);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-sm);
    padding: 8px 12px;
    color: var(--ac-ivory);
}

#sampleExplorerTable_wrapper .dataTables_filter input:focus {
    border-color: var(--ac-amber);
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.2);
}

#sampleExplorerTable_wrapper .dataTables_length select {
    background: rgba(13, 13, 15, 0.6);
    border: 1px solid var(--ac-border);
    border-radius: var(--ac-radius-sm);
    padding: 6px 10px;
    color: var(--ac-ivory);
}

#sampleExplorerTable_wrapper .page-link {
    color: var(--ac-amber);
    border-color: var(--ac-border);
    background: var(--ac-stone);
}

#sampleExplorerTable_wrapper .page-item.active .page-link {
    background-color: var(--ac-amber);
    border-color: var(--ac-amber);
    color: var(--ac-obsidian);
}

.ac-portrait-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ac-border);
    transition: transform 0.2s ease;
}

.ac-portrait-thumb:hover {
    transform: scale(1.1);
    border-color: var(--ac-amber);
}

.ac-sample-link {
    color: var(--ac-amber);
    font-weight: 600;
    text-decoration: none;
}

.ac-sample-link:hover {
    color: var(--ac-copper);
    text-decoration: underline;
}

.ac-era-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 50px;
}

.ac-era-paleolithic { background: var(--era-paleolithic); color: white; }
.ac-era-mesolithic { background: var(--era-mesolithic); color: white; }
.ac-era-neolithic { background: var(--era-neolithic); color: white; }
.ac-era-copper { background: var(--era-copper); color: white; }
.ac-era-bronze { background: var(--era-bronze); color: white; }
.ac-era-iron { background: var(--era-iron); color: white; }
.ac-era-medieval { background: var(--era-medieval); color: white; }
.ac-era-unknown { background: #6c757d; color: white; }

.ac-loading {
    padding: 40px;
    text-align: center;
    color: var(--ac-sand);
}

.ac-loading i {
    font-size: 2rem;
    color: var(--ac-amber);
    margin-bottom: 12px;
    display: block;
}

/* ========================================
   GUIDANCE SECTION (Chapter VII)
   ======================================== */
.ac-guidance {
    background: var(--ac-slate);
}

.ac-guidance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .ac-guidance-grid {
        grid-template-columns: 1fr;
    }
}

.ac-guidance-card {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-lg);
    padding: 32px;
    border-left: 4px solid var(--ac-amber);
    transition: var(--ac-transition);
    border: 1px solid var(--ac-border);
    border-left-width: 4px;
}

.ac-guidance-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ac-shadow-md);
}

.ac-guidance-icon {
    width: 50px;
    height: 50px;
    background: var(--ac-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ac-guidance-icon i {
    font-size: 1.25rem;
    color: var(--ac-obsidian);
}

.ac-guidance-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--ac-ivory);
}

.ac-guidance-card p {
    font-size: 0.95rem;
    color: var(--ac-bone);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   SCIENCE SECTION (Chapter VIII)
   ======================================== */
.ac-science {
    background: var(--ac-obsidian);
}

.ac-science-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .ac-science-grid {
        grid-template-columns: 1fr;
    }
}

.ac-science-main {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-xl);
    padding: 40px;
    box-shadow: var(--ac-shadow-md);
    border: 1px solid var(--ac-border);
}

.ac-science-main h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ac-ivory);
}

.ac-science-main h3 i {
    color: var(--ac-amber);
}

.ac-science-main p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ac-bone);
    margin-bottom: 16px;
}

.ac-science-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ac-science-stat-card {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-lg);
    padding: 24px;
    box-shadow: var(--ac-shadow-sm);
    border: 1px solid var(--ac-border);
}

.ac-science-stat-card h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ac-border);
    color: var(--ac-ivory);
}

.ac-distance-scale {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ac-distance-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ac-distance-badge {
    padding: 6px 12px;
    border-radius: var(--ac-radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 70px;
    text-align: center;
}

.ac-distance-exceptional {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.ac-distance-close {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.ac-distance-moderate {
    background: rgba(251, 191, 36, 0.2);
    color: #fde047;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.ac-distance-distant {
    background: rgba(107, 114, 128, 0.2);
    color: #d1d5db;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.ac-distance-label {
    font-size: 0.9rem;
    color: var(--ac-bone);
}

.ac-infinity-icon {
    font-size: 3rem;
    color: var(--ac-amber);
    display: block;
    text-align: center;
    margin-top: 12px;
    opacity: 0.5;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.ac-testimonials {
    background: var(--ac-slate);
}

.ac-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .ac-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.ac-testimonial-card {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-lg);
    padding: 32px;
    box-shadow: var(--ac-shadow-sm);
    transition: var(--ac-transition);
    border: 1px solid var(--ac-border);
}

.ac-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ac-shadow-md);
}

.ac-testimonial-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(196, 149, 106, 0.15) 0%, rgba(139, 109, 79, 0.15) 100%);
    border-color: var(--ac-amber);
}

@media (max-width: 991px) {
    .ac-testimonial-featured {
        grid-column: span 1;
    }
}

.ac-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: var(--ac-amber);
}

.ac-testimonial-featured .ac-testimonial-stars {
    color: var(--ac-amber);
}

.ac-testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--ac-bone);
}

.ac-testimonial-featured .ac-testimonial-quote {
    color: var(--ac-bone);
    font-size: 1.15rem;
}

.ac-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ac-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ac-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ac-obsidian);
    font-weight: 700;
    font-size: 1rem;
}

.ac-testimonial-featured .ac-author-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: var(--ac-ivory);
}

.ac-author-info {
    display: flex;
    flex-direction: column;
}

.ac-author-name {
    font-weight: 600;
    color: var(--ac-ivory);
}

.ac-testimonial-featured .ac-author-name {
    color: var(--ac-ivory);
}

.ac-author-location {
    font-size: 0.85rem;
    color: var(--ac-sand);
}

.ac-testimonial-featured .ac-author-location {
    color: var(--ac-sand);
}

/* Social Proof */
.ac-social-proof {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.ac-proof-item {
    text-align: center;
}

.ac-proof-value {
    display: block;
    font-family: var(--ac-font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--ac-amber);
    margin-bottom: 4px;
}

.ac-proof-label {
    font-size: 0.9rem;
    color: var(--ac-sand);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.ac-pricing {
    background: var(--ac-obsidian);
}

.ac-pricing-container {
    max-width: 500px;
    margin: 0 auto 80px;
}

.ac-pricing-card {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-xl);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--ac-shadow-xl);
    border: 2px solid var(--ac-amber);
    position: relative;
}

.ac-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.ac-pricing-name {
    font-size: 1.5rem;
    margin-top: 16px;
    margin-bottom: 24px;
    color: var(--ac-ivory);
}

.ac-pricing-amount {
    margin-bottom: 32px;
}

.ac-price-main {
    display: block;
    font-family: var(--ac-font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--ac-ivory);
}

.ac-price-period {
    display: block;
    font-size: 0.9rem;
    color: var(--ac-sand);
}

.ac-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.ac-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ac-border);
    font-size: 0.95rem;
    color: var(--ac-bone);
}

.ac-pricing-features li:last-child {
    border-bottom: none;
}

.ac-pricing-features i {
    color: var(--ac-amber);
    margin-top: 3px;
}

.ac-pricing-cta {
    display: block;
    width: 100%;
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    padding: 18px 32px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--ac-transition);
    margin-bottom: 20px;
    border: 1px solid var(--ac-amber);
}

.ac-pricing-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(196, 149, 106, 0.35);
    background: var(--ac-copper);
    border-color: var(--ac-copper);
    color: var(--ac-ivory);
    text-decoration: none;
}

.ac-discount-banner {
    background: rgba(196, 149, 106, 0.15);
    color: var(--ac-amber);
    padding: 12px 20px;
    border-radius: var(--ac-radius-md);
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(196, 149, 106, 0.3);
}

.ac-discount-banner i {
    margin-right: 8px;
}

.ac-pricing-trust {
    margin-top: 24px;
}

.ac-payment-methods {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.ac-payment-methods i {
    font-size: 2rem;
    color: var(--ac-sand);
    opacity: 0.7;
}

.ac-security-note {
    font-size: 0.85rem;
    color: var(--ac-sand);
    margin: 0;
}

.ac-security-note i {
    margin-right: 4px;
}

/* FAQ */
.ac-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.ac-faq-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: var(--ac-ivory);
}

.ac-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ac-faq-item {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-md);
    overflow: hidden;
    box-shadow: var(--ac-shadow-sm);
    border: 1px solid var(--ac-border);
}

.ac-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ac-ivory);
    cursor: pointer;
    text-align: left;
    transition: var(--ac-transition);
}

.ac-faq-question:hover {
    background: rgba(196, 149, 106, 0.1);
}

.ac-faq-question i {
    color: var(--ac-amber);
    transition: transform 0.3s ease;
}

.ac-faq-item.active .ac-faq-question i {
    transform: rotate(180deg);
}

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

.ac-faq-item.active .ac-faq-answer {
    max-height: 500px;
}

.ac-faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    font-size: 0.95rem;
    color: var(--ac-bone);
    line-height: 1.7;
}

/* ========================================
   FINAL CTA
   ======================================== */
.ac-final-cta {
    background: var(--ac-slate);
    padding: 80px 0;
    text-align: center;
}

.ac-cta-content h2 {
    font-size: 2.5rem;
    color: var(--ac-ivory);
    margin-bottom: 16px;
}

.ac-cta-content p {
    font-size: 1.2rem;
    color: var(--ac-bone);
    margin-bottom: 32px;
}

.ac-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    padding: 18px 40px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--ac-transition);
    box-shadow: var(--ac-shadow-gold);
    border: 1px solid var(--ac-amber);
}

.ac-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(196, 149, 106, 0.4);
    background: var(--ac-copper);
    border-color: var(--ac-copper);
    color: var(--ac-ivory);
    text-decoration: none;
}

/* ========================================
   STICKY CTA BAR
   ======================================== */
.ac-sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 15, 0.98);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1100;
    transition: bottom 0.4s ease;
    border-top: 1px solid var(--ac-border);
}

.ac-sticky-cta.visible {
    bottom: 0;
}

.ac-sticky-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ac-sticky-info h4 {
    color: var(--ac-ivory);
    font-size: 1.1rem;
    font-family: var(--ac-font-sans);
    font-weight: 600;
    margin: 0 0 4px 0;
}

.ac-sticky-info p {
    color: var(--ac-sand);
    font-size: 0.85rem;
    margin: 0;
}

.ac-sticky-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ac-amber);
    color: var(--ac-obsidian);
    padding: 14px 28px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--ac-transition);
    white-space: nowrap;
    border: 1px solid var(--ac-amber);
}

.ac-sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ac-shadow-gold);
    background: var(--ac-copper);
    border-color: var(--ac-copper);
    color: var(--ac-ivory);
    text-decoration: none;
}

@media (max-width: 767px) {
    .ac-sticky-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .ac-sticky-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .ac-hero-particles,
    .ac-thread,
    .ac-threads-glow {
        animation: none;
    }
    
    .animate-fade-in,
    .animate-fade-in-up,
    .animate-on-scroll {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .ac-scroll-indicator {
        animation: none;
    }
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 767px) {
    .ac-section {
        padding: 60px 0;
    }
    
    .ac-hero {
        padding: 100px 16px 60px;
        min-height: auto;
    }
    
    .ac-hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .ac-stat-divider {
        display: none;
    }
    
    .ac-hero-cta {
        flex-direction: column;
    }
    
    .ac-btn-primary,
    .ac-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .ac-trust-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .ac-scroll-indicator {
        display: none;
    }
    
    .ac-back-to-top {
        bottom: 80px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
    
    .ac-cta-content h2 {
        font-size: 1.75rem;
    }
    
    .ac-price-main {
        font-size: 2.5rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .ac-page-nav,
    .ac-back-to-top,
    .ac-sticky-cta,
    .ac-scroll-progress,
    .ac-scroll-indicator,
    .ac-hero-particles {
        display: none !important;
    }
    
    .ac-hero {
        min-height: auto;
        padding: 40px 20px;
    }
    
    .ac-hero-bg {
        position: relative;
    }
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */
.ancient-related-products {
    padding: 80px 20px;
    background: var(--ac-slate);
    margin-top: 60px;
}

.ancient-related-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-family: var(--ac-font-display);
    color: var(--ac-ivory);
    margin-bottom: 48px;
    font-weight: 400;
}

.ancient-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .ancient-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ancient-related-grid {
        grid-template-columns: 1fr;
    }
}

.ancient-related-card {
    background: var(--ac-stone);
    border-radius: var(--ac-radius-lg);
    overflow: hidden;
    box-shadow: var(--ac-shadow-md);
    border: 1px solid var(--ac-border);
    transition: var(--ac-transition);
    display: flex;
    flex-direction: column;
}

.ancient-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ac-shadow-lg);
    border-color: var(--ac-amber);
}

.ancient-related-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ancient-related-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ancient-related-content h4 {
    font-size: 1.15rem;
    font-family: var(--ac-font-display);
    color: var(--ac-ivory);
    margin: 0 0 12px 0;
    font-weight: 400;
    line-height: 1.4;
}

.ancient-related-content p {
    font-size: 0.9rem;
    color: var(--ac-sand);
    margin: 0 0 20px 0;
    line-height: 1.6;
    flex: 1;
}

.ancient-related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ac-amber);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--ac-transition);
    margin-top: auto;
}

.ancient-related-link:hover {
    color: var(--ac-copper);
    text-decoration: none;
}

.ancient-related-link i {
    transition: transform 0.3s ease;
}

.ancient-related-link:hover i {
    transform: translateX(4px);
}

/* ========================================
   6-COLUMN REVEALS GRID
   ======================================== */
.ac-reveals-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ac-reveals-grid-6 .ac-reveal-featured {
    grid-column: span 3;
}

@media (max-width: 1199px) {
    .ac-reveals-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ac-reveals-grid-6 .ac-reveal-featured {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .ac-reveals-grid-6 {
        grid-template-columns: 1fr;
    }
    
    .ac-reveals-grid-6 .ac-reveal-featured {
        grid-column: span 1;
    }
}

/* ========================================
   HAPLOGROUP PREVIEW STYLING
   ======================================== */
.ac-reveal-haplo-preview {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.ac-haplo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--ac-radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.ac-haplo-mtdna {
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #f472b6;
}

.ac-haplo-ydna {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.ac-haplo-badge .dna-icon {
    font-size: 1rem;
}

/* ========================================
   AI PREVIEW STYLING
   ======================================== */
.ac-reveal-ai-preview {
    margin-top: 16px;
}

.ac-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 149, 106, 0.15);
    border: 1px solid rgba(196, 149, 106, 0.3);
    color: var(--ac-amber);
    padding: 10px 16px;
    border-radius: var(--ac-radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.ac-ai-badge img {
    filter: brightness(0) saturate(100%) invert(73%) sepia(21%) saturate(786%) hue-rotate(350deg) brightness(96%) contrast(87%);
}

.ac-ai-sample-text {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--ac-sand);
    margin: 12px 0 0 0;
    padding: 12px;
    background: rgba(13, 13, 15, 0.4);
    border-radius: var(--ac-radius-sm);
    border-left: 3px solid var(--ac-amber);
}

/* ========================================
   INTERACTIVE TIMELINE PREVIEW
   ======================================== */
.ac-timeline-visual-preview {
    margin-top: 16px;
}

.ac-timeline-era-segments {
    display: flex;
    height: 24px;
    border-radius: var(--ac-radius-sm);
    overflow: hidden;
    box-shadow: var(--ac-shadow-sm);
}

.ac-timeline-segment {
    flex: 1;
    position: relative;
    transition: transform 0.2s ease;
}

.ac-timeline-segment:hover {
    transform: scaleY(1.2);
    z-index: 1;
}

.ac-segment-paleolithic {
    background: var(--era-paleolithic);
}

.ac-segment-mesolithic {
    background: var(--era-mesolithic);
}

.ac-segment-neolithic {
    background: var(--era-neolithic);
}

.ac-segment-bronze {
    background: var(--era-bronze);
}

.ac-segment-iron {
    background: var(--era-iron);
}

.ac-segment-medieval {
    background: var(--era-medieval);
}

.ac-timeline-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--ac-sand);
}

/* ========================================
   ERA DISTRIBUTION PREVIEW
   ======================================== */
.ac-era-distribution-preview {
    margin-top: 16px;
}

.ac-era-bar-preview {
    display: flex;
    height: 20px;
    border-radius: var(--ac-radius-sm);
    overflow: hidden;
    box-shadow: var(--ac-shadow-sm);
}

.ac-era-bar-segment {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ac-era-bar-segment:hover {
    transform: scaleY(1.3);
    opacity: 0.9;
}

.ac-era-legend-preview {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.ac-era-legend-preview span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--ac-sand);
}

.ac-era-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
