﻿/** * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * 
 * Ancestry Reports Compendium Page - Cinematic Golden Theme
 * Dark cinematic design with warm golden accents inspired by DeepAncestryBCE
 */

/* ========================================
   Google Fonts Import
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS Custom Properties - Golden Theme
   ======================================== */
:root {
    /* Warm Golden Palette (from DeepAncestryBCE) */
    --anc-gold: #C4956A;
    --anc-gold-light: #D4B896;
    --anc-gold-dark: #8B6D4F;
    --anc-sand: #A89F91;
    --anc-bone: #E8E4DC;
    --anc-ivory: #F5F3EF;
    
    /* Dark Backgrounds */
    --anc-obsidian: #0d1117;
    --anc-obsidian-light: #161b22;
    --anc-obsidian-lighter: #1c2128;
    
    /* Text Colors */
    --anc-text-primary: rgba(255, 255, 255, 0.9);
    --anc-text-secondary: rgba(255, 255, 255, 0.7);
    --anc-text-muted: rgba(255, 255, 255, 0.5);
    
    /* Gradients */
    --anc-gold-gradient: linear-gradient(135deg, #8B6D4F 0%, #C4956A 100%);
    --anc-gold-gradient-light: linear-gradient(135deg, #C4956A 0%, #D4B896 100%);
    --anc-hero-gradient: linear-gradient(180deg, var(--anc-ivory), var(--anc-gold-light));
}

/* ========================================
   Base & Reset
   ======================================== */
body:has(.anc-main) {
    background-color: var(--anc-obsidian) !important;
    background-image: none !important;
}

body:has(.anc-main) #wrapper,
body:has(.anc-main) #content-wrapper,
body:has(.anc-main) #content-fluid {
    background: transparent !important;
}

body:has(.anc-main) footer {
    background-color: #0a0d12 !important;
}

.anc-main {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--anc-text-primary);
    line-height: 1.7;
    background-color: var(--anc-obsidian);
}

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

.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--anc-gold);
    outline-offset: 2px;
}

/* ========================================
   Scroll Progress Indicator
   ======================================== */
.anc-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--anc-gold-gradient);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ========================================
   Page Navigation Dots
   ======================================== */
.page-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 16px;
}

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

.page-nav a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(196, 149, 106, 0.2);
    border: 1px solid rgba(196, 149, 106, 0.3);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.page-nav a:hover,
.page-nav a.active {
    background: var(--anc-gold);
    border-color: var(--anc-gold);
    transform: scale(1.3);
}

.page-nav a::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 17, 23, 0.95);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 0.8125rem;
    border: 1px solid rgba(196, 149, 106, 0.3);
}

.page-nav a:hover::after {
    opacity: 1;
}

/* ========================================
   Back to Top Button
   ======================================== */
.anc-back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(196, 149, 106, 0.15);
    border: 1px solid rgba(196, 149, 106, 0.3);
    color: var(--anc-gold);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.anc-back-to-top:hover {
    background: var(--anc-gold);
    color: var(--anc-obsidian);
}

/* ========================================
   HERO SECTION - Cinematic Golden
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%),
                url('/img/reports/ancestry/deep-ancestry/deep-ancestry-header.webp') center/cover no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(196, 149, 106, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(212, 184, 150, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--anc-obsidian) 0%, #0a0d12 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(196, 149, 106, 0.3) 0%, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(212, 184, 150, 0.3) 0%, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 1px),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 1px);
    background-size: 100% 100%;
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 149, 106, 0.1);
    border: 1px solid rgba(196, 149, 106, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--anc-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-product-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: 24px;
    background: var(--anc-hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--anc-text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary-cta {
    background: var(--anc-gold-gradient);
    color: var(--anc-obsidian);
    padding: 16px 32px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(196, 149, 106, 0.3);
}

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(196, 149, 106, 0.4);
    color: var(--anc-obsidian);
    text-decoration: none;
}

.btn-secondary-cta {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.social-proof {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--anc-text-secondary);
    font-size: 0.8125rem;
}

.proof-item i {
    color: var(--anc-gold);
    font-size: 1.2rem;
}

/* ========================================
   Chapter-Based Section Headers
   ======================================== */
.section-spacing {
    padding: 120px 0;
    position: relative;
}

.category-header {
    text-align: center;
    margin-bottom: 64px;
}

.anc-chapter-label {
    display: inline-block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--anc-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--anc-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.category-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--anc-gold-gradient);
    border-radius: 2px;
}

/* ========================================
   Glassmorphism Report Cards
   ======================================== */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.report-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpCard 0.6s ease forwards;
}

.report-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(196, 149, 106, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.report-card:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 149, 106, 0.3);
    box-shadow: 0 20px 60px rgba(196, 149, 106, 0.2);
}

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

.report-card:nth-child(1) { animation-delay: 0.1s; }
.report-card:nth-child(2) { animation-delay: 0.2s; }
.report-card:nth-child(3) { animation-delay: 0.3s; }
.report-card:nth-child(4) { animation-delay: 0.4s; }
.report-card:nth-child(5) { animation-delay: 0.5s; }
.report-card:nth-child(6) { animation-delay: 0.6s; }
.report-card:nth-child(7) { animation-delay: 0.7s; }
.report-card:nth-child(8) { animation-delay: 0.8s; }
.report-card:nth-child(9) { animation-delay: 0.9s; }
.report-card:nth-child(10) { animation-delay: 1s; }
.report-card:nth-child(11) { animation-delay: 1.1s; }
.report-card:nth-child(12) { animation-delay: 1.2s; }
.report-card:nth-child(13) { animation-delay: 1.3s; }
.report-card:nth-child(14) { animation-delay: 1.4s; }
.report-card:nth-child(15) { animation-delay: 1.5s; }
.report-card:nth-child(16) { animation-delay: 1.6s; }
.report-card:nth-child(17) { animation-delay: 1.7s; }
.report-card:nth-child(18) { animation-delay: 1.8s; }

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

.report-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.report-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 17, 23, 0.6) 100%);
    z-index: 1;
}

.report-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.report-card:hover .report-card-image img {
    transform: scale(1.1);
}

.report-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--anc-gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(196, 149, 106, 0.3);
    z-index: 2;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(196, 149, 106, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(196, 149, 106, 0.5);
    }
}

.report-card-badge i {
    font-size: 1.5rem;
    color: var(--anc-obsidian);
}

.report-card-coming-soon {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(196, 149, 106, 0.9);
    color: #0d1117;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}

.report-card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.report-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.report-card-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--anc-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.report-card-description {
    font-size: 0.95rem;
    color: var(--anc-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.report-card-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.report-card-features li {
    font-size: 0.9rem;
    color: var(--anc-text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.report-card-features li i {
    color: var(--anc-gold);
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.btn-learn-more {
    display: inline-block;
    background: transparent;
    color: var(--anc-gold);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(196, 149, 106, 0.3);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.btn-learn-more:hover {
    background: var(--anc-gold);
    color: var(--anc-obsidian);
    border-color: var(--anc-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 149, 106, 0.3);
    text-decoration: none;
}

.btn-learn-more i {
    transition: transform 0.3s ease;
}

.btn-learn-more:hover i {
    transform: translateX(5px);
}

/* ========================================
   Feature Sections
   ======================================== */
.feature-section {
    padding: 120px 0;
    position: relative;
}

.feature-section h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.feature-section h3,
.feature-section h4 {
    color: var(--anc-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--anc-text-secondary);
}

.feature-section img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 1.5rem 0;
    transition: transform 0.3s ease;
}

.feature-section img:hover {
    transform: scale(1.02);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--anc-gold-gradient);
    border-radius: 50%;
    color: var(--anc-obsidian);
    box-shadow: 0 5px 15px rgba(196, 149, 106, 0.3);
}

.step-icon i {
    color: var(--anc-obsidian);
}

/* ========================================
   Methodology Cards - Scientific Foundation Section
   ======================================== */
.methodology-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.methodology-card:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 149, 106, 0.3);
    box-shadow: 0 20px 40px rgba(196, 149, 106, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.methodology-icon-frame {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--anc-gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(196, 149, 106, 0.3);
    position: relative;
    transition: all 0.4s ease;
}

.methodology-icon-frame::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196, 149, 106, 0.4), rgba(212, 184, 150, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.methodology-card:hover .methodology-icon-frame {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(196, 149, 106, 0.4);
}

.methodology-card:hover .methodology-icon-frame::before {
    opacity: 1;
}

.methodology-icon-frame .dna-icon {
    color: #fff;
}

.methodology-card h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.methodology-card p {
    color: var(--anc-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.methodology-card .btn-outline-primary {
    background: transparent;
    color: var(--anc-gold);
    border-color: rgba(196, 149, 106, 0.4);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.methodology-card .btn-outline-primary:hover {
    background: var(--anc-gold);
    color: var(--anc-obsidian);
    border-color: var(--anc-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 149, 106, 0.3);
}

.methodology-card .btn-outline-primary .dna-icon {
    vertical-align: -0.1em;
}

@media (max-width: 768px) {
    .methodology-icon-frame {
        width: 64px;
        height: 64px;
    }

    .methodology-card {
        padding: 1.5rem 1rem;
    }

    .methodology-card h4 {
        font-size: 1.1rem;
    }

    .methodology-card p {
        font-size: 0.9rem;
    }
}

/* ========================================
   Chromosomal Analysis SVG Diagram
   ======================================== */
.chromosomal-analysis-section {
    margin-top: 3rem;
}

.chromosomal-diagram-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    overflow-x: auto;
}

.chromosomal-diagram {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.chromosomal-diagram .chr-segment {
    transition: all 0.3s ease;
    cursor: pointer;
}

.chromosomal-diagram .chr-segment:hover {
    filter: brightness(1.2);
    transform: scaleY(1.1);
}

.chromosomal-diagram .chromosome-row {
    transition: all 0.3s ease;
}

.chromosomal-diagram .chromosome-row:hover {
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .chromosomal-diagram-container {
        padding: 1rem;
    }
    
    .chromosomal-diagram {
        min-width: 600px;
    }
}

/* ========================================
   Analysis Method Sections - SVG Diagrams
   ======================================== */
.analysis-method-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.analysis-method-section h4 {
    color: var(--anc-gold);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.analysis-method-section p {
    color: var(--anc-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.analysis-diagram-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    overflow-x: auto;
    transition: all 0.3s ease;
}

.analysis-diagram-container:hover {
    border-color: rgba(196, 149, 106, 0.2);
    box-shadow: 0 8px 32px rgba(196, 149, 106, 0.1);
}

.analysis-diagram {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Pie/Donut chart animations */
.analysis-diagram .pie-segment {
    transition: all 0.4s ease;
    transform-origin: center;
}

.analysis-diagram .pie-segment:hover {
    filter: brightness(1.15);
}

/* PCA scatter plot animations */
.analysis-diagram .user-point {
    animation: pulsePoint 2s ease-in-out infinite;
}

@keyframes pulsePoint {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
    }
}

/* IBS matching segment animation */
.analysis-diagram .matching-segment {
    animation: glowSegment 3s ease-in-out infinite;
}

@keyframes glowSegment {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

@media (max-width: 768px) {
    .analysis-diagram-container {
        padding: 1rem;
    }
    
    .analysis-diagram {
        min-width: 600px;
    }

    .analysis-method-section h4 {
        font-size: 1.1rem;
    }

    .analysis-method-section p {
        font-size: 0.95rem;
    }
}

/* ========================================
   Getting Started Section - Dark Theme
   ======================================== */
.getting-started-section {
    padding: 120px 0;
    background-color: var(--anc-obsidian-light);
    position: relative;
}

.getting-started-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(196, 149, 106, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 184, 150, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Step Cards */
.getting-started-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
}

.getting-started-step:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 149, 106, 0.3);
    box-shadow: 0 20px 40px rgba(196, 149, 106, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.getting-started-step .step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--anc-gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--anc-obsidian);
    box-shadow: 0 4px 12px rgba(196, 149, 106, 0.4);
}

.getting-started-step .step-icon-frame {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--anc-gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(196, 149, 106, 0.3);
    transition: all 0.4s ease;
}

.getting-started-step:hover .step-icon-frame {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(196, 149, 106, 0.4);
}

.getting-started-step .step-icon-frame .dna-icon {
    color: #fff;
}

.getting-started-step h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.getting-started-step p {
    color: var(--anc-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Info Cards */
.getting-started-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s ease;
}

.getting-started-card:hover {
    border-color: rgba(196, 149, 106, 0.3);
    box-shadow: 0 20px 40px rgba(196, 149, 106, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.getting-started-card .card-icon-frame {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--anc-gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(196, 149, 106, 0.3);
}

.getting-started-card .card-icon-frame .dna-icon {
    color: #fff;
}

.getting-started-card h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.getting-started-card .card-description {
    color: var(--anc-text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.getting-started-card .provider-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.getting-started-card .provider-list li {
    color: var(--anc-text-secondary);
    font-size: 0.95rem;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.getting-started-card .provider-list li .dna-icon {
    color: var(--anc-gold);
}

.getting-started-card .expect-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.getting-started-card .expect-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.getting-started-card .expect-item .dna-icon {
    color: var(--anc-gold);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.getting-started-card .expect-item strong {
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

.getting-started-card .expect-item p {
    color: var(--anc-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .getting-started-section {
        padding: 80px 0;
    }

    .getting-started-step {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }

    .getting-started-step .step-icon-frame {
        width: 60px;
        height: 60px;
    }

    .getting-started-card {
        padding: 1.5rem;
    }

    .getting-started-card .card-icon-frame {
        width: 48px;
        height: 48px;
    }
}

/* ========================================
   Sticky CTA Bar
   ======================================== */
.sticky-cta-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--anc-obsidian) 0%, #1e293b 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: bottom 0.3s ease;
    border-top: 1px solid rgba(196, 149, 106, 0.2);
}

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

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

.sticky-cta-text {
    color: white;
}

.sticky-cta-text.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.sticky-cta-text h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.sticky-cta-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--anc-text-secondary);
}

.sticky-cta-button {
    background: var(--anc-gold-gradient);
    color: var(--anc-obsidian);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.sticky-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 149, 106, 0.3);
    color: var(--anc-obsidian);
    text-decoration: none;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* ========================================
   Section Background Alternation
   ======================================== */
.section-spacing:nth-child(even) {
    background-color: var(--anc-obsidian-light);
}

.section-spacing:nth-child(odd) {
    background-color: var(--anc-obsidian);
}

.feature-section:nth-child(even) {
    background-color: var(--anc-obsidian-light) !important;
}

.feature-section:nth-child(odd) {
    background-color: var(--anc-obsidian) !important;
}

/* ========================================
   Last Section Spacing Adjustment
   ======================================== */
/* Reduce bottom padding on last section to eliminate gap before footer */
.anc-main > section.section-spacing:last-of-type {
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .anc-main > section.section-spacing:last-of-type {
        padding-bottom: 30px;
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
    .hero-product-name {
        font-size: 2.5rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .page-nav {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-section h1 {
        font-size: 2rem;
    }

    .sticky-cta-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .reports-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .report-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        background-attachment: scroll;
        padding: 100px 24px 60px;
    }

    .hero-product-name {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .social-proof {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary-cta,
    .btn-secondary-cta {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .reports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .report-card-image {
        height: 180px;
    }

    .report-card-title {
        font-size: 1.2rem;
    }

    .report-card-badge {
        width: 45px;
        height: 45px;
    }

    .report-card-badge i {
        font-size: 1.3rem;
    }

    .report-card-features {
        margin: 0.75rem 0;
    }

    .report-card-features li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .btn-learn-more {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .category-header .section-title::after {
        width: 60px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon i {
        font-size: 2rem !important;
    }

    .feature-section h1 {
        font-size: 1.8rem;
    }

    .feature-section h4 {
        font-size: 1.1rem;
    }

    .feature-section p {
        font-size: 0.95rem;
    }

    .section-spacing {
        padding: 80px 0;
    }

    .feature-section {
        padding: 80px 0;
    }
}

/* ========================================
   Map Styling
   ======================================== */
#intro-example {
    height: 400px;
}

@media (min-width: 992px) {
    #intro-example {
        height: 600px;
    }
}

/* ========================================
   Slick Carousel
   ======================================== */
.slick-track {
    display: flex !important;
}

.slick-slide {
    height: auto !important;
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */
.ancestry-related-products {
    padding: 60px 0;
    background: var(--anc-obsidian-light);
}

.ancestry-related-title {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #fff;
    margin-bottom: 40px;
    font-weight: 600;
}

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

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

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

.ancestry-related-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ancestry-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(196, 149, 106, 0.2);
    border-color: rgba(196, 149, 106, 0.3);
}

.ancestry-related-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ancestry-related-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ancestry-related-content h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.ancestry-related-content p {
    font-size: 0.95rem;
    color: var(--anc-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.ancestry-related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--anc-gold);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: auto;
}

.ancestry-related-link:hover {
    color: var(--anc-gold-light);
    text-decoration: underline;
}

.ancestry-related-link i {
    transition: transform 0.2s ease;
}

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