﻿/** * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * 
 * ProductVikingV4.css - Epic Cinematic Viking Heritage Page
 * Narrative-driven design with storm/sea aesthetics, Nordic gold accents
 * Emotional journey through ancestry with grounded, historically-respectful tone
 */

:root {
    /* Viking Color Palette - Deep Nordic Storm Aesthetic */
    --vk4-fjord-deep: #0f1f2e;
    --vk4-fjord-dark: #1a3a5c;
    --vk4-fjord-mid: #2a5078;
    --vk4-fjord-light: #3a6898;
    
    /* Storm Colors */
    --vk4-storm-dark: #1a1f2e;
    --vk4-storm-mid: #3a4a5a;
    --vk4-storm-light: #5a6a7a;
    --vk4-storm-pale: #8a9aaa;
    
    /* Sea Foam */
    --vk4-foam: #a8c4d4;
    --vk4-foam-light: #d0e4ec;
    
    /* Norse Gold */
    --vk4-gold: #c9a430;
    --vk4-gold-light: #e8d080;
    --vk4-gold-pale: #f5e6b3;
    
    /* Blood (subtle accent) */
    --vk4-blood: #8b3a3a;
    --vk4-blood-dark: #5a2020;
    
    /* Neutrals */
    --vk4-white: #ffffff;
    --vk4-off-white: #f8faf8;
    --vk4-gray-50: #f8fafc;
    --vk4-gray-100: #f1f5f9;
    --vk4-gray-200: #e2e8f0;
    --vk4-text: #333344;
    --vk4-text-muted: #64748b;
    --vk4-border: rgba(15, 23, 42, 0.08);
    
    /* Typography */
    --vk4-font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --vk4-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Shadows */
    --vk4-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --vk4-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --vk4-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --vk4-shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
    --vk4-shadow-gold: 0 8px 32px rgba(201, 164, 48, 0.25);
    --vk4-shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    
    /* Borders */
    --vk4-radius-sm: 8px;
    --vk4-radius-md: 16px;
    --vk4-radius-lg: 24px;
    --vk4-radius-xl: 32px;
    
    /* Transitions */
    --vk4-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --vk4-transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   BASE & TYPOGRAPHY
   ======================================== */
.vk4-main {
    font-family: var(--vk4-font-sans);
    color: var(--vk4-text);
    background: var(--vk4-off-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.vk4-main h1,
.vk4-main h2,
.vk4-main h3,
.vk4-main h4 {
    font-family: var(--vk4-font-serif);
    font-weight: 600;
    color: var(--vk4-fjord-deep);
    line-height: 1.2;
}

/* Hidden content for loading */
.vk4-content-hidden {
    opacity: 0;
    visibility: hidden;
}

.vk4-content-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease;
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.vk4-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vk4-fjord-deep);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.vk4-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vk4-loading-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.vk4-loading-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(3px);
}

.vk4-loading-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--vk4-white);
    padding: 20px;
}

/* Compass Loading Animation */
.vk4-loading-compass {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.vk4-compass-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.vk4-ring-outer {
    inset: 0;
    border-top-color: var(--vk4-gold);
    border-right-color: var(--vk4-gold);
    animation: vk4-spin 2s linear infinite;
}

.vk4-ring-inner {
    inset: 15px;
    border-bottom-color: var(--vk4-foam);
    border-left-color: var(--vk4-foam);
    animation: vk4-spin-reverse 1.5s linear infinite;
}

.vk4-compass-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--vk4-gold);
    animation: vk4-pulse 2s ease-in-out infinite;
}

@keyframes vk4-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes vk4-spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes vk4-pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
}

.vk4-loading-title {
    font-family: var(--vk4-font-serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--vk4-white);
}

.vk4-loading-narrative {
    font-size: 1rem;
    font-style: italic;
    color: var(--vk4-white);
    opacity: 0.95;
    margin-bottom: 30px;
    min-height: 24px;
}

.vk4-loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.vk4-loading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--vk4-gold), var(--vk4-foam));
    border-radius: 2px;
    animation: vk4-progress 2s ease-in-out forwards;
}

@keyframes vk4-progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.vk4-loading-hint {
    font-size: 0.8rem;
    color: var(--vk4-white);
    opacity: 0.8;
    margin: 0;
}

.vk4-loading-hint i {
    margin-right: 8px;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.vk4-skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    z-index: 2000;
    background: var(--vk4-white);
    color: var(--vk4-fjord-deep);
    padding: 12px 16px;
    border-radius: var(--vk4-radius-sm);
    box-shadow: var(--vk4-shadow-lg);
    text-decoration: none;
    font-weight: 600;
}

.vk4-skip-link:focus {
    left: 10px;
    outline: 3px solid var(--vk4-gold);
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.vk4-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--vk4-fjord-dark);
    width: 0%;
    z-index: 9998;
    transition: width 0.1s ease-out;
}

/* ========================================
   PAGE NAVIGATION DOTS
   ======================================== */
.vk4-page-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--vk4-transition);
}

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

.vk4-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--vk4-transition);
    cursor: pointer;
}

.vk4-nav-dot:hover,
.vk4-nav-dot:focus {
    transform: scale(1.2);
    background: rgba(201, 164, 48, 0.5);
    outline: none;
}

.vk4-nav-dot.active {
    background: var(--vk4-gold);
    border-color: var(--vk4-gold);
    transform: scale(1.2);
}

.vk4-nav-dot::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: rgba(15, 31, 46, 0.95);
    color: var(--vk4-white);
    padding: 8px 14px;
    border-radius: var(--vk4-radius-sm);
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

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

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

/* ========================================
   MOBILE BOTTOM NAVIGATION
   ======================================== */
.vk4-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(15, 31, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(201, 164, 48, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.vk4-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    transition: var(--vk4-transition);
    border-radius: var(--vk4-radius-sm);
}

.vk4-bottom-nav-item i {
    font-size: 1.1rem;
}

.vk4-bottom-nav-item:hover,
.vk4-bottom-nav-item:focus {
    color: var(--vk4-gold);
    text-decoration: none;
}

.vk4-bottom-nav-item.active {
    color: var(--vk4-gold);
    background: rgba(201, 164, 48, 0.15);
}

/* Adjust main content for mobile nav */
@media (max-width: 767px) {
    .vk4-main {
        padding-bottom: 80px;
    }
    
    .vk4-sticky-cta {
        bottom: 70px;
    }
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.vk4-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--vk4-fjord-dark);
    color: var(--vk4-white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--vk4-transition);
    z-index: 1090;
    box-shadow: var(--vk4-shadow-lg);
}

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

.vk4-back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--vk4-shadow-xl);
}

@media (max-width: 767px) {
    .vk4-back-to-top {
        bottom: 150px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

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

.vk4-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 31, 46, 0.95) 0%, rgba(26, 58, 92, 0.9) 50%, rgba(139, 58, 58, 0.7) 100%), 
                url('/img/reports/ancestry/viking/vikings-hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .vk4-hero-bg {
        background-attachment: scroll;
    }
}

.vk4-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(15, 31, 46, 0.4) 0%, 
        rgba(15, 31, 46, 0.2) 50%,
        rgba(15, 31, 46, 0.6) 100%);
}

/* Sea Mist Effect */
.vk4-hero-mist {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, rgba(168, 196, 212, 0.3) 50%, transparent 50%),
        radial-gradient(3px 3px at 30% 60%, rgba(255, 255, 255, 0.2) 50%, transparent 50%),
        radial-gradient(2px 2px at 50% 40%, rgba(201, 164, 48, 0.2) 50%, transparent 50%),
        radial-gradient(1px 1px at 70% 80%, rgba(255, 255, 255, 0.15) 50%, transparent 50%),
        radial-gradient(2px 2px at 90% 30%, rgba(168, 196, 212, 0.25) 50%, transparent 50%);
    animation: vk4-mist-drift 40s linear infinite;
}

@keyframes vk4-mist-drift {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(10px); }
    50% { transform: translateY(-5px) translateX(-5px); }
    75% { transform: translateY(-20px) translateX(15px); }
    100% { transform: translateY(0) translateX(0); }
}

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

/* Hero Badge */
.vk4-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(201, 164, 48, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid rgba(201, 164, 48, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Title */
.vk4-hero-title {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    color: var(--vk4-white);
}

.vk4-title-prelude {
    display: block;
    font-size: 0.45em;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.vk4-title-main {
    display: block;
    background: linear-gradient(135deg, var(--vk4-white) 0%, var(--vk4-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .vk4-hero-title {
        font-size: 2.25rem;
    }
}

/* Hero Narrative */
.vk4-hero-narrative {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.vk4-hero-subnarrative {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .vk4-hero-narrative {
        font-size: 1.05rem;
    }
    .vk4-hero-subnarrative {
        font-size: 0.9rem;
    }
}

/* Subtle Price Integration */
.vk4-hero-price-subtle {
    margin-bottom: 32px;
}

.vk4-price-value {
    font-family: var(--vk4-font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--vk4-gold);
    display: block;
    text-shadow: 0 2px 10px rgba(201, 164, 48, 0.3);
}

.vk4-price-detail {
    font-size: 0.85rem;
    opacity: 0.8;
}

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

.vk4-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vk4-gold);
    color: var(--vk4-fjord-deep);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--vk4-transition);
    box-shadow: var(--vk4-shadow-gold);
    border: none;
}

.vk4-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 164, 48, 0.4);
    color: var(--vk4-fjord-deep);
    text-decoration: none;
}

.vk4-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--vk4-white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--vk4-transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.vk4-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: var(--vk4-white);
    text-decoration: none;
}

.vk4-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--vk4-fjord-dark);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--vk4-fjord-dark);
    transition: var(--vk4-transition);
}

.vk4-btn-outline:hover {
    background: var(--vk4-fjord-dark);
    color: var(--vk4-white);
    text-decoration: none;
}

/* Trust Indicators */
.vk4-hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.vk4-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    opacity: 0.85;
}

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

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

.vk4-scroll-indicator:hover {
    opacity: 1;
    color: var(--vk4-white);
}

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

@keyframes vk4-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-fade-in {
    animation: vk4-fade-in 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: vk4-fade-in-up 0.8s ease-out forwards;
}

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

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

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

/* ========================================
   SECTIONS BASE
   ======================================== */
.vk4-section {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 768px) {
    .vk4-section {
        padding: 60px 0;
    }
}

.vk4-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Chapter Header */
.vk4-chapter-header {
    text-align: center;
    margin-bottom: 60px;
}

.vk4-chapter-marker {
    display: inline-block;
    font-family: var(--vk4-font-serif);
    font-size: 0.85rem;
    font-weight: 500;
    font-style: italic;
    color: var(--vk4-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    padding: 8px 20px;
    border: 1px solid var(--vk4-gold);
    border-radius: 30px;
}

.vk4-chapter-light .vk4-chapter-marker {
    color: var(--vk4-gold-light);
    border-color: rgba(201, 164, 48, 0.5);
}

.vk4-section-title {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--vk4-fjord-deep);
}

.vk4-chapter-light .vk4-section-title {
    color: var(--vk4-white);
}

.vk4-section-subtitle {
    font-size: 1.1rem;
    color: var(--vk4-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.vk4-chapter-light .vk4-section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .vk4-section-title {
        font-size: 2rem;
    }
    .vk4-section-subtitle {
        font-size: 1rem;
    }
}

/* Anchor Lines */
.vk4-anchor-line {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--vk4-gray-200);
}

.vk4-anchor-subtle {
    border-top: none;
    margin-top: 40px;
    padding-top: 0;
}

.vk4-anchor-light {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.vk4-anchor-prominent {
    padding: 40px;
    background: var(--vk4-gray-50);
    border-radius: var(--vk4-radius-lg);
    border-top: none;
}

.vk4-anchor-text {
    font-family: var(--vk4-font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--vk4-storm-mid);
}

.vk4-anchor-light .vk4-anchor-text {
    color: var(--vk4-foam);
}

/* ========================================
   WORLD SECTION
   ======================================== */
.vk4-world-section {
    background: var(--vk4-gray-50);
}

.vk4-world-bg {
    background: linear-gradient(180deg, var(--vk4-gray-50) 0%, var(--vk4-gray-100) 100%);
}

.vk4-narrative-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.vk4-narrative-content {
    padding-right: 20px;
}

.vk4-narrative-lead {
    font-family: var(--vk4-font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--vk4-fjord-dark);
    margin-bottom: 24px;
}

.vk4-narrative-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--vk4-text);
    margin-bottom: 20px;
}

.vk4-narrative-aside {
    position: sticky;
    top: 100px;
}

.vk4-aside-card {
    background: var(--vk4-white);
    padding: 30px;
    border-radius: var(--vk4-radius-lg);
    box-shadow: var(--vk4-shadow-md);
    border-left: 4px solid var(--vk4-gold);
}

.vk4-aside-card i {
    font-size: 2rem;
    color: var(--vk4-gold);
    margin-bottom: 16px;
}

.vk4-aside-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.vk4-aside-card p {
    color: var(--vk4-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   TIMELINE SECTION
   ======================================== */
.vk4-timeline-section {
    background: var(--vk4-white);
}

.vk4-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.vk4-timeline-axis {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--vk4-fjord-dark) 0%, var(--vk4-gold) 50%, var(--vk4-blood) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .vk4-timeline-axis {
        left: 30px;
    }
}

/* Era Markers */
.vk4-timeline-era {
    position: relative;
    text-align: center;
    margin: 40px 0;
}

.vk4-era-marker {
    display: inline-block;
    background: var(--vk4-fjord-dark);
    color: var(--vk4-white);
    padding: 12px 24px;
    border-radius: 30px;
    position: relative;
    z-index: 2;
}

.vk4-era-name {
    display: block;
    font-family: var(--vk4-font-serif);
    font-size: 1.125rem;
    font-weight: 600;
}

.vk4-era-date {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Timeline Items */
.vk4-timeline-item {
    position: relative;
    margin: 30px 0;
    display: flex;
}

.vk4-timeline-left {
    justify-content: flex-start;
}

.vk4-timeline-right {
    justify-content: flex-end;
}

.vk4-timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--vk4-gold);
    border: 4px solid var(--vk4-white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: var(--vk4-shadow-md);
}

.vk4-timeline-card {
    width: calc(50% - 50px);
    background: var(--vk4-white);
    border-radius: var(--vk4-radius-lg);
    padding: 24px;
    box-shadow: var(--vk4-shadow-md);
    display: flex;
    gap: 20px;
    transition: var(--vk4-transition);
}

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

.vk4-timeline-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 58, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--vk4-fjord-dark);
    flex-shrink: 0;
}

.vk4-timeline-content {
    flex: 1;
}

.vk4-timeline-badge {
    display: inline-block;
    background: var(--vk4-gold);
    color: var(--vk4-fjord-deep);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.vk4-timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.vk4-timeline-content p {
    color: var(--vk4-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .vk4-timeline-item {
        justify-content: flex-start !important;
        padding-left: 70px;
    }
    
    .vk4-timeline-dot {
        left: 30px;
    }
    
    .vk4-timeline-card {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
}

/* Timeline CTA */
.vk4-timeline-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    position: relative;
    z-index: 3;
    background: var(--vk4-white);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.vk4-timeline-cta p {
    color: var(--vk4-text-muted);
    margin-bottom: 20px;
}

/* ========================================
   ECHOES SECTION
   ======================================== */
.vk4-echoes-section {
    background: var(--vk4-white);
}

.vk4-echoes-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

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

/* Portrait */
.vk4-echo-portrait {
    position: relative;
    display: flex;
    justify-content: center;
}

.vk4-portrait-frame {
    position: relative;
    width: 280px;
    height: 350px;
    border-radius: var(--vk4-radius-lg);
    overflow: hidden;
    box-shadow: var(--vk4-shadow-xl);
}

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

.vk4-portrait-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(15, 31, 46, 0.95) 0%, transparent 100%);
    padding: 40px 20px 16px;
    text-align: center;
}

.vk4-label-badge {
    display: inline-block;
    background: var(--vk4-gold);
    color: var(--vk4-fjord-deep);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vk4-label-era {
    display: block;
    color: var(--vk4-white);
    font-size: 0.85rem;
    margin-top: 8px;
}

.vk4-portrait-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(201, 164, 48, 0.15) 0%, transparent 70%);
    z-index: -1;
}

/* Echo Content */
.vk4-echo-content {
    padding: 20px;
}

.vk4-echo-lead {
    font-family: var(--vk4-font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
    color: var(--vk4-fjord-dark);
    margin-bottom: 24px;
}

.vk4-echo-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--vk4-text);
    margin-bottom: 20px;
}

.vk4-echo-cta {
    margin-top: 32px;
}

/* ========================================
   REVEALS SECTION
   ======================================== */
.vk4-reveals-section {
    background: var(--vk4-gray-50);
}

.vk4-reveals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

.vk4-reveal-card {
    background: var(--vk4-white);
    padding: 32px;
    border-radius: var(--vk4-radius-lg);
    box-shadow: var(--vk4-shadow-sm);
    transition: var(--vk4-transition);
    text-align: center;
}

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

.vk4-reveal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--vk4-fjord-dark) 0%, var(--vk4-fjord-mid) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--vk4-white);
}

.vk4-reveal-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.vk4-reveal-card p {
    color: var(--vk4-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   JOURNEY SECTION
   ======================================== */
.vk4-journey-section {
    background: linear-gradient(135deg, var(--vk4-fjord-deep) 0%, var(--vk4-storm-dark) 100%);
    color: var(--vk4-white);
}

.vk4-journey-bg {
    background: url('/img/reports/ancestry/viking/viking-map-full.webp');
    opacity: 0.1;
}

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

.vk4-journey-narrative {
    margin-bottom: 50px;
}

.vk4-journey-lead {
    font-family: var(--vk4-font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--vk4-foam);
    margin-bottom: 24px;
}

.vk4-journey-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.vk4-journey-roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.vk4-role-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--vk4-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--vk4-transition);
}

.vk4-role-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.vk4-role-item i {
    font-size: 1.5rem;
    color: var(--vk4-gold);
}

.vk4-role-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================================
   ROOTS SECTION
   ======================================== */
.vk4-roots-section {
    background: var(--vk4-white);
}

.vk4-roots-content {
    max-width: 750px;
    margin: 0 auto 60px;
    text-align: center;
}

.vk4-roots-lead {
    font-family: var(--vk4-font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--vk4-fjord-dark);
    margin-bottom: 24px;
}

.vk4-roots-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--vk4-text);
    margin-bottom: 20px;
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */
.vk4-related-products {
    padding: 60px 0;
    background: var(--vk4-gray-50);
}

.vk4-related-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--vk4-fjord-deep);
    margin-bottom: 40px;
    font-family: var(--vk4-font-display);
    font-weight: 700;
}

.vk4-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) {
    .vk4-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.vk4-related-card {
    background: var(--vk4-white);
    border-radius: var(--vk4-radius-lg);
    overflow: hidden;
    box-shadow: var(--vk4-shadow-md);
    transition: var(--vk4-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--vk4-border);
}

.vk4-related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--vk4-shadow-lg);
}

.vk4-related-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--vk4-border);
}

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

.vk4-related-content h4 {
    font-size: 1.2rem;
    color: var(--vk4-fjord-deep);
    margin-bottom: 8px;
    font-family: var(--vk4-font-sans);
    font-weight: 600;
}

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

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

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

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

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

/* ========================================
   MAP SECTION
   ======================================== */
.vk4-map-section {
    background: linear-gradient(135deg, var(--vk4-fjord-deep) 0%, var(--vk4-storm-dark) 100%);
    padding: 100px 0;
}

.vk4-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/reports/ancestry/viking/viking-map-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.vk4-map-container {
    position: relative;
    z-index: 1;
}

.vk4-map-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
}

/* Map Filters */
.vk4-map-filters {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--vk4-radius-md) var(--vk4-radius-md) 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vk4-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vk4-filter-group label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vk4-filter-select {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--vk4-white);
    padding: 8px 16px;
    border-radius: var(--vk4-radius-sm);
    font-size: 0.9rem;
    min-width: 150px;
}

.vk4-filter-select option {
    background: var(--vk4-fjord-deep);
    color: var(--vk4-white);
}

.vk4-filter-count {
    margin-left: auto;
    color: var(--vk4-gold);
    font-weight: 600;
}

/* Map Container */
.vk4-map {
    height: 500px;
    border-radius: 0 0 var(--vk4-radius-md) var(--vk4-radius-md);
    overflow: hidden;
}

@media (max-width: 768px) {
    .vk4-map {
        height: 400px;
    }
}

/* Map Info Card */
.vk4-map-info-card {
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: var(--vk4-radius-md);
    box-shadow: var(--vk4-shadow-lg);
    max-width: 200px;
    z-index: 1000;
}

.vk4-map-info-card h4 {
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: var(--vk4-fjord-dark);
}

.vk4-map-stat {
    margin-bottom: 12px;
}

.vk4-map-stat-value {
    display: block;
    font-family: var(--vk4-font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--vk4-fjord-dark);
}

.vk4-map-stat-label {
    font-size: 0.7rem;
    color: var(--vk4-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vk4-map-info-card hr {
    border: none;
    border-top: 1px solid var(--vk4-gray-200);
    margin: 16px 0;
}

.vk4-map-note {
    font-size: 0.7rem;
    color: var(--vk4-text-muted);
    margin: 0;
}

@media (max-width: 991px) {
    .vk4-map-info-card {
        display: none;
    }
}

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

.vk4-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.vk4-legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.vk4-legend-scandinavia { background: var(--vk4-fjord-mid); }
.vk4-legend-british { background: var(--vk4-gold); }
.vk4-legend-europe { background: var(--vk4-blood); }
.vk4-legend-other { background: var(--vk4-storm-light); }

/* ========================================
   GALLERY SECTION - BENTO GRID
   ======================================== */
.vk4-gallery-section {
    background: var(--vk4-gray-50);
}

.vk4-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
    margin-bottom: 40px;
}

.vk4-bento-card {
    position: relative;
    border-radius: var(--vk4-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--vk4-transition);
}

.vk4-bento-card:hover {
    transform: scale(1.02);
}

.vk4-bento-card:focus {
    outline: 3px solid var(--vk4-gold);
    outline-offset: 2px;
}

.vk4-bento-large {
    grid-column: span 2;
    grid-row: span 1;
}

.vk4-bento-medium,
.vk4-bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

@media (max-width: 991px) {
    .vk4-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .vk4-bento-large,
    .vk4-bento-medium,
    .vk4-bento-small {
        grid-column: span 1;
        min-height: 280px;
    }
}

@media (max-width: 576px) {
    .vk4-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .vk4-bento-content {
        padding: 20px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 50%, transparent 100%);
    }
    
    .vk4-bento-name {
        font-size: 1.2rem;
    }
    
    .vk4-bento-story {
        font-size: 0.85rem;
    }
    
    .vk4-bento-meta {
        font-size: 0.8rem;
    }
}

.vk4-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--vk4-transition-slow);
}

.vk4-bento-card:hover .vk4-bento-img {
    transform: scale(1.1);
}

.vk4-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.95) 100%);
}

.vk4-bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: var(--vk4-white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    z-index: 2;
}

.vk4-bento-content h4,
.vk4-bento-content .vk4-bento-name {
    color: #ffffff !important;
}

.vk4-bento-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.vk4-bento-era {
    background: var(--vk4-fjord-mid);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--vk4-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.vk4-bento-haplo {
    background: var(--vk4-gold);
    color: var(--vk4-fjord-deep);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-shadow: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.vk4-bento-name {
    font-family: var(--vk4-font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    color: #ffffff !important;
    text-shadow: 
        0 0 12px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.9),
        0 2px 10px rgba(0, 0, 0, 1),
        0 4px 16px rgba(0, 0, 0, 0.9),
        0 1px 4px rgba(0, 0, 0, 1),
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        1px -1px 0 rgba(0, 0, 0, 0.8),
        -1px 1px 0 rgba(0, 0, 0, 0.8),
        1px 1px 0 rgba(0, 0, 0, 0.8);
}

.vk4-bento-story {
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 
        0 0 8px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

.vk4-bento-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.vk4-bento-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 
        0 0 6px rgba(0, 0, 0, 0.8),
        0 1px 4px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

.vk4-bento-meta i {
    color: var(--vk4-gold);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

/* Large cards */
.vk4-bento-large .vk4-bento-name {
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff !important;
}

.vk4-bento-large .vk4-bento-story {
    -webkit-line-clamp: 3;
    font-size: 0.95rem;
}

.vk4-bento-large .vk4-bento-content {
    padding: 30px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
}

.vk4-bento-large .vk4-bento-meta {
    font-size: 0.9rem;
}

/* Gallery More */
.vk4-gallery-more {
    text-align: center;
    padding: 40px 0;
}

.vk4-gallery-more p {
    color: var(--vk4-text-muted);
    margin-bottom: 20px;
}

/* ========================================
   EXPLORER SECTION - DATATABLE
   ======================================== */
.vk4-explorer-section {
    background: var(--vk4-white);
}

.vk4-explorer-header {
    background: linear-gradient(135deg, var(--vk4-fjord-dark) 0%, var(--vk4-fjord-deep) 100%);
    color: var(--vk4-white);
}

.vk4-explorer-filters {
    padding: 20px 24px;
    background: var(--vk4-white);
    border-bottom: 1px solid var(--vk4-gray-200);
}

/* Portrait Thumbnail Styles */
.vk4-portrait-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--vk4-gold);
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: block;
    margin: 0 auto;
}

.vk4-portrait-thumb:hover {
    transform: scale(1.1);
    border-color: var(--vk4-fjord-dark);
    box-shadow: 0 4px 12px rgba(201, 164, 48, 0.3);
}

/* Table Header Styles */
.vk4-table-header {
    background: var(--vk4-gray-50) !important;
}

.vk4-table-header th {
    border-bottom: 2px solid var(--vk4-fjord-dark) !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--vk4-text-muted);
    padding: 14px 12px;
    vertical-align: middle;
}

/* Table Body Styles */
#vikingExplorerTable {
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0;
}

#vikingExplorerTable tbody td {
    vertical-align: middle;
    padding: 12px;
    border-bottom: 1px solid var(--vk4-gray-200);
    transition: background-color 0.2s ease;
}

#vikingExplorerTable tbody tr:hover {
    background: rgba(26, 58, 92, 0.05);
}

#vikingExplorerTable tbody tr:hover .vk4-portrait-thumb {
    transform: scale(1.05);
}

/* Sample Link Styles */
.vk4-sample-link {
    color: var(--vk4-fjord-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Era Badge Styles */
.vk4-era-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.vk4-era-viking {
    background: var(--vk4-fjord-dark);
    color: var(--vk4-white);
}

.vk4-era-early {
    background: #8B4513;
    color: white;
}

.vk4-era-late {
    background: #4B0082;
    color: white;
}

/* Haplogroup Badge Styles */
.vk4-haplo-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 4px;
    font-weight: 500;
}

.vk4-haplo-mtdna {
    background: rgba(201, 164, 48, 0.15);
    color: var(--vk4-fjord-dark);
    border: 1px solid rgba(201, 164, 48, 0.3);
}

.vk4-haplo-ydna {
    background: rgba(26, 58, 92, 0.15);
    color: var(--vk4-fjord-dark);
    border: 1px solid rgba(26, 58, 92, 0.3);
}

.vk4-explorer-hint {
    color: var(--vk4-text-muted);
    margin-bottom: 20px;
}

/* ========================================
   SCIENCE SECTION
   ======================================== */
.vk4-science-section {
    background: var(--vk4-gray-50);
}

.vk4-science-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

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

.vk4-science-narrative h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vk4-science-narrative p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--vk4-text);
    margin-bottom: 20px;
}

.vk4-science-visual {
    margin-top: 30px;
}

.vk4-pca-image {
    width: 100%;
    border-radius: var(--vk4-radius-md);
    box-shadow: var(--vk4-shadow-md);
}

/* PCA SVG Visualization */
.vk4-pca-container {
    width: 100%;
    border-radius: var(--vk4-radius-md);
    box-shadow: var(--vk4-shadow-md);
    overflow: hidden;
    background: #e8f0e8;
}

.vk4-pca-svg {
    width: 100%;
    height: auto;
    display: block;
}

.vk4-pca-grid line {
    transition: opacity 0.3s ease;
}

.vk4-pca-vikings circle {
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.vk4-pca-svg:hover .vk4-pca-vikings circle {
    opacity: 0.9;
}

.vk4-you-marker {
    animation: vk4PcaPulse 2.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes vk4PcaPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
    }
}

.vk4-pca-legend rect {
    transition: var(--vk4-transition);
}

.vk4-pca-legend text {
    font-weight: 500;
}

/* Responsive adjustments for PCA */
@media (max-width: 768px) {
    .vk4-pca-container {
        border-radius: var(--vk4-radius-sm);
    }
    
    .vk4-pca-svg {
        min-height: 250px;
    }
}

.vk4-image-caption {
    font-size: 0.85rem;
    color: var(--vk4-text-muted);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

/* Methodology Cards */
.vk4-methodology-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .vk4-methodology-cards {
        grid-template-columns: 1fr;
    }
}

.vk4-method-card {
    background: var(--vk4-white);
    padding: 24px;
    border-radius: var(--vk4-radius-md);
    box-shadow: var(--vk4-shadow-sm);
    transition: var(--vk4-transition);
}

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

.vk4-method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--vk4-fjord-dark) 0%, var(--vk4-fjord-mid) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--vk4-white);
    margin-bottom: 16px;
}

.vk4-method-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.vk4-method-card p {
    color: var(--vk4-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   INTERPRETATION SECTION
   ======================================== */
.vk4-interpretation-section {
    background: var(--vk4-white);
}

.vk4-interpretation-content {
    max-width: 1000px;
    margin: 0 auto;
}

.vk4-interpretation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .vk4-interpretation-grid {
        grid-template-columns: 1fr;
    }
}

.vk4-interpret-card {
    background: var(--vk4-gray-50);
    padding: 30px;
    border-radius: var(--vk4-radius-lg);
}

.vk4-interpret-can {
    border-left: 4px solid var(--vk4-gold);
}

.vk4-interpret-cannot {
    border-left: 4px solid var(--vk4-storm-light);
}

.vk4-interpret-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.vk4-interpret-header i {
    font-size: 1.5rem;
}

.vk4-interpret-can .vk4-interpret-header i {
    color: var(--vk4-gold);
}

.vk4-interpret-cannot .vk4-interpret-header i {
    color: var(--vk4-storm-mid);
}

.vk4-interpret-header h4 {
    font-size: 1.1rem;
    margin: 0;
}

.vk4-interpret-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vk4-interpret-list li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--vk4-text);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--vk4-gray-200);
}

.vk4-interpret-list li:last-child {
    border-bottom: none;
}

.vk4-interpret-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--vk4-gold);
    font-weight: bold;
}

.vk4-interpret-cannot .vk4-interpret-list li::before {
    color: var(--vk4-storm-light);
}

/* Interpretation Note */
.vk4-interpretation-note {
    display: flex;
    gap: 20px;
    background: var(--vk4-gray-50);
    padding: 30px;
    border-radius: var(--vk4-radius-lg);
    border: 1px solid var(--vk4-gray-200);
}

.vk4-interpretation-note > i {
    font-size: 2rem;
    color: var(--vk4-fjord-dark);
    flex-shrink: 0;
}

.vk4-note-content h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.vk4-note-content p {
    color: var(--vk4-text);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 576px) {
    .vk4-interpretation-note {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   PRICING SECTION
   ======================================== */
.vk4-pricing-section {
    background: var(--vk4-gray-50);
}

.vk4-pricing-container {
    max-width: 500px;
    margin: 0 auto 60px;
}

.vk4-pricing-card {
    background: var(--vk4-white);
    border-radius: var(--vk4-radius-xl);
    box-shadow: var(--vk4-shadow-xl);
    overflow: hidden;
    border: 3px solid var(--vk4-gold);
    text-align: center;
}

.vk4-pricing-badge {
    display: inline-block;
    background: var(--vk4-gold);
    color: var(--vk4-fjord-deep);
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 30px;
    border-radius: 20px;
}

.vk4-pricing-name {
    font-size: 1.75rem;
    margin: 16px 0;
}

.vk4-pricing-amount {
    padding: 20px 0 30px;
    border-bottom: 1px solid var(--vk4-gray-200);
}

.vk4-price-main {
    display: block;
    font-family: var(--vk4-font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--vk4-fjord-dark);
}

.vk4-price-period {
    font-size: 0.9rem;
    color: var(--vk4-text-muted);
}

.vk4-pricing-features {
    list-style: none;
    padding: 30px 40px;
    margin: 0;
    text-align: left;
}

.vk4-pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--vk4-text);
}

.vk4-pricing-features li i {
    color: var(--vk4-gold);
    margin-top: 4px;
}

.vk4-pricing-cta {
    display: block;
    background: var(--vk4-fjord-dark);
    color: var(--vk4-white);
    padding: 18px 32px;
    margin: 0 30px 20px;
    border-radius: var(--vk4-radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--vk4-transition);
}

.vk4-pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--vk4-shadow-lg);
    color: var(--vk4-white);
    text-decoration: none;
}

.vk4-discount-banner {
    background: rgba(201, 164, 48, 0.1);
    color: var(--vk4-fjord-dark);
    padding: 12px;
    margin: 0 30px 20px;
    border-radius: var(--vk4-radius-sm);
    font-size: 0.9rem;
}

.vk4-pricing-trust {
    padding: 20px 30px 30px;
}

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

.vk4-payment-methods i {
    font-size: 2rem;
    color: var(--vk4-text-muted);
}

.vk4-security-note {
    font-size: 0.8rem;
    color: var(--vk4-text-muted);
    margin: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.vk4-faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.vk4-faq-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
}

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

.vk4-faq-item {
    background: var(--vk4-white);
    border-radius: var(--vk4-radius-md);
    box-shadow: var(--vk4-shadow-sm);
    overflow: hidden;
}

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

.vk4-faq-question:hover {
    background: var(--vk4-gray-50);
}

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

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

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

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

.vk4-faq-answer p {
    padding: 0 24px 20px;
    color: var(--vk4-text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   FINAL CTA
   ======================================== */
.vk4-final-cta {
    background: linear-gradient(135deg, var(--vk4-fjord-deep) 0%, var(--vk4-storm-dark) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vk4-final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/reports/ancestry/viking/viking-pattern.webp');
    opacity: 0.03;
}

.vk4-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    color: var(--vk4-white);
}

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

.vk4-cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.vk4-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--vk4-gold);
    color: var(--vk4-fjord-deep);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: var(--vk4-transition);
    box-shadow: var(--vk4-shadow-gold);
}

.vk4-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(201, 164, 48, 0.4);
    color: var(--vk4-fjord-deep);
    text-decoration: none;
}

@media (max-width: 768px) {
    .vk4-cta-content h2 {
        font-size: 1.75rem;
    }
}

/* ========================================
   STICKY CTA BAR
   ======================================== */
.vk4-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--vk4-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    z-index: 1100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.vk4-sticky-cta.visible {
    transform: translateY(0);
}

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

.vk4-sticky-info h4 {
    font-size: 1rem;
    margin: 0 0 4px;
    font-family: var(--vk4-font-serif);
}

.vk4-sticky-info p {
    font-size: 0.85rem;
    color: var(--vk4-text-muted);
    margin: 0;
}

.vk4-sticky-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vk4-fjord-dark);
    color: var(--vk4-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--vk4-transition);
}

.vk4-sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--vk4-shadow-lg);
    color: var(--vk4-white);
    text-decoration: none;
}

@media (max-width: 576px) {
    .vk4-sticky-content {
        flex-direction: column;
        text-align: center;
    }
    
    .vk4-sticky-info {
        display: none;
    }
}

/* Hide sticky CTA on mobile when bottom nav is visible */
@media (max-width: 767px) {
    .vk4-sticky-cta {
        display: none;
    }
}

/* ========================================
   DATATABLE CUSTOMIZATIONS
   ======================================== */
#vikingExplorerTable_wrapper {
    padding: 0;
}

#vikingExplorerTable_wrapper .dataTables_filter {
    margin-bottom: 20px;
}

#vikingExplorerTable_wrapper .dataTables_filter input {
    border-radius: var(--vk4-radius-sm);
    border: 1px solid var(--vk4-gray-200);
    padding: 8px 12px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#vikingExplorerTable_wrapper .dataTables_filter input:focus {
    border-color: var(--vk4-fjord-dark);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

#vikingExplorerTable_wrapper .dataTables_length {
    margin-bottom: 20px;
}

#vikingExplorerTable_wrapper .dataTables_length select {
    border-radius: var(--vk4-radius-sm);
    border: 1px solid var(--vk4-gray-200);
    padding: 6px 10px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

#vikingExplorerTable_wrapper .dataTables_length select:focus {
    border-color: var(--vk4-fjord-dark);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

#vikingExplorerTable_wrapper .dataTables_info {
    color: var(--vk4-text-muted);
    font-size: 0.85rem;
    padding-top: 12px;
}

#vikingExplorerTable_wrapper .dataTables_paginate {
    padding-top: 12px;
}

#vikingExplorerTable_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: var(--vk4-radius-sm);
    border: 1px solid var(--vk4-gray-200);
    color: var(--vk4-fjord-dark);
    transition: var(--vk4-transition);
}

#vikingExplorerTable_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--vk4-fjord-dark) !important;
    color: var(--vk4-white) !important;
    border-color: var(--vk4-fjord-dark) !important;
}

#vikingExplorerTable_wrapper .dataTables_paginate .paginate_button:hover:not(.disabled):not(.current) {
    background: var(--vk4-gold) !important;
    color: var(--vk4-fjord-deep) !important;
    border-color: var(--vk4-gold) !important;
    transform: translateY(-2px);
}

#vikingExplorerTable_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#vikingExplorerTable_wrapper .dataTables_processing {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--vk4-gray-200);
    border-radius: var(--vk4-radius-md);
    padding: 20px;
    color: var(--vk4-fjord-dark);
    font-weight: 600;
}

#vikingExplorerTable_wrapper .dataTables_empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--vk4-text-muted);
    font-style: italic;
}

/* ========================================
   LEAFLET MAP CUSTOMIZATIONS - Premium Controls
   ======================================== */

/* Zoom Controls */
.vk4-map-container .leaflet-control-zoom {
    border: none;
    border-radius: var(--vk4-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.vk4-map-container .leaflet-control-zoom a {
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: rgba(15, 31, 46, 0.92);
    color: var(--vk4-white);
    border: none !important;
    font-size: 18px;
    transition: all 0.2s ease;
}

.vk4-map-container .leaflet-control-zoom a:hover {
    background: var(--vk4-gold);
    color: var(--vk4-fjord-deep);
}

/* Attribution */
.vk4-map-container .leaflet-control-attribution {
    background: rgba(15, 31, 46, 0.85) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.7rem;
    padding: 4px 10px;
    backdrop-filter: blur(10px);
}

.vk4-map-container .leaflet-control-attribution a {
    color: var(--vk4-gold-light) !important;
}

.leaflet-popup-content-wrapper {
    border-radius: var(--vk4-radius-md);
    box-shadow: var(--vk4-shadow-lg);
    border: 1px solid rgba(201, 164, 48, 0.2);
}

.leaflet-popup-tip {
    box-shadow: none;
}

.leaflet-popup-content {
    margin: 16px;
    font-family: var(--vk4-font-sans);
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .vk4-loading-overlay,
    .vk4-page-nav,
    .vk4-bottom-nav,
    .vk4-back-to-top,
    .vk4-sticky-cta,
    .vk4-scroll-progress,
    .vk4-hero-cta,
    .vk4-pricing-cta,
    .vk4-cta-btn,
    .vk4-btn-primary,
    .vk4-btn-secondary,
    .vk4-btn-outline {
        display: none !important;
    }
    
    .vk4-main {
        padding-bottom: 0;
    }
    
    .vk4-section {
        padding: 40px 0;
        page-break-inside: avoid;
    }
    
    .vk4-hero {
        min-height: auto;
        padding: 40px 20px;
    }
}

