/* ══════════════════════════════════════════════════════════
   PBI SCORE — Premium Design System
   Colors extracted from PBIScore.jpg shield logo
   ══════════════════════════════════════════════════════════ */

/* ── Houdini property for animated gradient border ── */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ═══════ TOKENS ═══════ */
:root {
    /* Brand palette — LIGHT ENTERPRISE REDESIGN */
    --brand-dark: #FFFFFF;
    --brand-navy: #1F2937;
    --brand-mid: #F8FAFC;
    --brand-cyan: #2563EB;
    /* Deep Blue replacing cyan */
    --brand-light: #60A5FA;
    --brand-purple: #3B82F6;
    --brand-magenta: #1D4ED8;
    --brand-blue: #3b82f6;
    --brand-teal: #0891B2;
    --brand-gold: #F59E0B;

    /* Semantic */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F9FAFB;
    --color-surface: #FFFFFF;
    --color-border: #E5E7EB;
    /* Subtle grey */
    --color-border-hover: #D1D5DB;
    --color-text: #111827;
    /* Dark slate text */
    --color-text-secondary: #4B5563;
    --color-text-muted: #9CA3AF;
    --color-text-primary: #111827;
    --color-accent: #2563EB;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
    --gradient-headline: linear-gradient(135deg, #111827, #374151);
    --gradient-cta: linear-gradient(135deg, #2563EB, #1D4ED8);
    --gradient-glow: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 70%);
    --gradient-card: linear-gradient(160deg, #FFFFFF 0%, #F9FAFB 100%);
    --gradient-circuit: linear-gradient(90deg, #E5E7EB, #F3F4F6, #E5E7EB);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 99px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.1);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.35s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);
}

/* ═══════ RESET ═══════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ═══════ SCROLL PROGRESS BAR ═══════ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-brand);
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ═══════ LAYOUT ═══════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════ NAVBAR ═══════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 10px 48px;
    background: rgba(17, 24, 39, 0.92);
    /* Dark glass effect */
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    /* Fallback */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Brand ── */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
}

.navbar-brand span {
    background: linear-gradient(135deg, #07B6D5 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.navbar.scrolled .navbar-brand span {
    background: linear-gradient(135deg, #07B6D5 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled .navbar-logo {
    width: 42px;
    height: 42px;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

/* ── Nav Links ── */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-links a {
    position: relative;
    font-size: 0.88rem;
    font-weight: 500;
    color: #E5E7EB;
    /* Light text for transparent top state */
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.navbar.scrolled .navbar-links a {
    color: #FFFFFF;
    /* Keep light text on dark glass */
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-cta);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-links a:hover {
    color: #FFFFFF;
    /* Bright white when hovering over dark background */
    background: rgba(7, 182, 213, 0.06);
}

.navbar.scrolled .navbar-links a:hover {
    color: #FFFFFF;
    /* Bright white when hovering in scrolled navbar */
    background: rgba(255, 255, 255, 0.1);
}

.navbar-links a:hover::after {
    width: 60%;
}

/* ── Light Theme Navbar (for internal pages) ── */
.navbar-light-theme {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.navbar-light-theme .navbar-links a {
    color: var(--color-text-secondary);
}

.navbar-light-theme.scrolled .navbar-links a {
    color: #E5E7EB;
    /* Reverts to light on dark scroll */
}

.navbar-light-theme .navbar-links a:hover {
    color: var(--brand-blue);
    background: rgba(37, 99, 235, 0.08);
}

.navbar-light-theme.scrolled .navbar-links a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

/* Ensure Brand Text contrast on light background */
.navbar-light-theme .navbar-brand span {
    background: var(--gradient-headline);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-light-theme.scrolled .navbar-brand span {
    background: linear-gradient(135deg, #07B6D5 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── CTA Nav Button ── */
.btn-cta-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-cta);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    border: none;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transition: all var(--transition-base);
}

.btn-cta-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25), 0 0 20px rgba(37, 99, 235, 0.1);
}

.btn-cta-nav.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* ═══════ BUTTONS ═══════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gradient-cta);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

/* Shimmer sweep */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-hover);
}

.btn-outline:hover {
    background: rgba(109, 213, 237, 0.06);
    border-color: var(--brand-cyan);
    box-shadow: 0 0 20px rgba(109, 213, 237, 0.1);
}

.btn-nav-outlined {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--brand-teal);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-nav-outlined:hover {
    background: rgba(7, 182, 213, 0.08);
    box-shadow: 0 0 20px rgba(7, 182, 213, 0.15);
    transform: translateY(-1px);
}

/* ═══════ GLASS CARD ═══════ */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    border-color: var(--brand-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* ── Gradient border card (animated) ── */
.gradient-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.gradient-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-light);
    transform: translateY(-4px);
}

.gradient-card-inner {
    position: relative;
    z-index: 1;
    height: 100%;
}

/* ═══════ TEXT UTILITIES ═══════ */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-hero {
    background: var(--gradient-headline);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════ HERO ═══════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-centralized {
    background-image: url('../images/HeroBackground.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Optional: gives a slight parallax effect */
}

/* Pseudo-elemento para "fundir" a base do Hero perfeitamente com a próxima seção branca/clara */
.hero-centralized::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    /* O gradiente atua nas porções finais da imagem para ser ultra suave */
    z-index: 2;
    /* Fica acima do overlay/fundo, atrás do inner content (z-index: 3) */

    /* Non-linear easing (Scrim Gradient) para remover a "faixa cinza" ótica */
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.013) 9.1%,
            rgba(255, 255, 255, 0.049) 17%,
            rgba(255, 255, 255, 0.104) 24.3%,
            rgba(255, 255, 255, 0.175) 30.9%,
            rgba(255, 255, 255, 0.259) 37.1%,
            rgba(255, 255, 255, 0.352) 42.9%,
            rgba(255, 255, 255, 0.45) 48.6%,
            rgba(255, 255, 255, 0.55) 54.1%,
            rgba(255, 255, 255, 0.648) 59.5%,
            rgba(255, 255, 255, 0.741) 64.9%,
            rgba(255, 255, 255, 0.825) 70.4%,
            rgba(255, 255, 255, 0.896) 76.1%,
            rgba(255, 255, 255, 0.951) 82.1%,
            rgba(255, 255, 255, 0.987) 88.6%,
            rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

/* ── Hero Overlay (Hybrid) ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.7) 0%, rgba(31, 41, 55, 0.6) 100%);
}

.hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    /* Changed from grid to flex for centralized layout */
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    /* Constrain width for better readability */
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    animation: fadeInUp 0.8s var(--ease-out) both;
}

/* ── Status Badge ── */
.hero-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(242, 200, 17, 0.1);
    border: 1px solid rgba(242, 200, 17, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    color: #F2C811;
    /* Power BI Yellow */
    margin-bottom: 28px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F2C811;
    box-shadow: 0 0 8px rgba(242, 200, 17, 0.6);
    animation: pulse-dot-yellow 2s ease-in-out infinite;
}

@keyframes pulse-dot-yellow {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 6px rgba(242, 200, 17, 0.5);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 14px rgba(242, 200, 17, 0.8);
    }
}

.hero-title {
    font-family: var(--font-main);
    font-size: clamp(30px, 3.75vw, 48px);
    /* Appx 25% smaller */
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    /* Ensure white base against dark overlay */
}

.hero-title .highlight {
    display: inline-block;
    font-weight: 700;
    color: #7FB2FF;
}

/* Update text-gradient-hero specifically inside the centralized hero to be lighter */
.hero-centralized .text-gradient-hero {
    background: linear-gradient(135deg, #FFFFFF, #9CA3AF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
    max-width: 540px;
    /* Slightly wider for centered view */
    line-height: 1.7;
    margin: 0 auto 32px;
    /* Fixed centering and optical alignment */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-cta {
    display: flex;
    justify-content: center;
    /* Center the buttons */
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Premium Glow for CTA */
.btn-glow {
    box-shadow: 0 8px 24px rgba(47, 107, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glow:hover {
    box-shadow: 0 12px 32px rgba(47, 107, 255, 0.6);
    transform: translateY(-2px);
}

/* ── Supported formats badge ── */
.supported-formats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.supported-formats i {
    color: var(--brand-teal);
    font-size: 0.75rem;
}

.supported-formats code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    padding: 2px 6px;
    background: rgba(7, 182, 213, 0.08);
    border-radius: 4px;
    color: var(--brand-teal);
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 12px;
}

.hero-trust i {
    color: var(--color-success);
    font-size: 0.72rem;
}

/* ── Hero Image ── */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(7, 182, 213, 0.3)) drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}



/* ── Hero Stats Bar ── */
.hero-stats {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    padding: 0 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-stats-compact {
    gap: 64px;
    padding: 32px 24px 0;
    border-top: 1px solid rgba(7, 182, 213, 0.08);
    margin-top: 56px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--color-text);
    line-height: 1.2;
}

.hero-stat .stat-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 6px;
}

/* ═══════ SECTION COMMON ═══════ */
.section {
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

/* ═══════ PROBLEM SECTION ═══════ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    cursor: default;
}

.problem-card .gradient-card-inner {
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.card-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
}

.card-icon.amber {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.card-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--brand-blue);
}

.card-icon.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--brand-cyan);
}

.card-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.problem-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.problem-card p {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ═══════ SOLUTION SECTION ═══════ */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.flow-step i {
    color: var(--brand-cyan);
    font-size: 1rem;
}

.flow-arrow {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(6, 182, 212, 0.04));
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-box>i {
    color: var(--brand-cyan);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.highlight-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.highlight-box p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ═══════ REPORT PREVIEW ═══════ */
.browser-frame {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.browser-toolbar {
    background: rgba(12, 35, 64, 0.8);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.browser-body {
    background: var(--brand-dark);
    padding: 32px;
    min-height: 320px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.preview-score {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
}

.preview-score .gauge {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid var(--color-surface);
    border-top-color: var(--color-success);
    border-right-color: var(--color-success);
    border-bottom-color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    position: relative;
}

.preview-score .gauge-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-success);
}

.preview-score .gauge-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.preview-kpi {
    background: rgba(26, 58, 92, 0.3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.preview-kpi .kpi-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.preview-kpi .kpi-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-kpi.green .kpi-value {
    color: var(--color-success);
}

.preview-kpi.blue .kpi-value {
    color: var(--brand-light);
}

.preview-kpi.amber .kpi-value {
    color: var(--color-warning);
}

.preview-callouts {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 8px;
}

.callout-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.06);
    border-radius: var(--radius-full);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.callout-tag i {
    color: var(--brand-cyan);
    font-size: 0.7rem;
}

/* ═══════ FEATURES ═══════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    cursor: default;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ═══════ SECURITY ═══════ */
.security-section {
    position: relative;
}

.security-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: url('/static/images/logo.png') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
}

.shield-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
}

.shield-item {
    padding: 28px 32px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-base);
}

.shield-item:nth-child(odd) {
    border-right: 1px solid var(--color-border);
}

.shield-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.shield-item:hover {
    background: rgba(109, 213, 237, 0.03);
}

.shield-item i {
    color: var(--color-success);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.shield-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.shield-item p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.55;
}

/* ═══════ HOW IT WORKS ═══════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
    opacity: 0.2;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 4px 25px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 1;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ═══════ CTA BAND ═══════ */
.cta-band {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(109, 213, 237, 0.04));
    border-top: 1px solid rgba(59, 130, 246, 0.08);
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-band p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════ UPLOAD ZONE ═══════ */
.upload-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.upload-container {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: var(--font-main);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text, #111827);
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--color-text-secondary, #4B5563);
    font-size: 1.1rem;
}

.upload-zone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    position: relative;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--brand-cyan);
    background: rgba(109, 213, 237, 0.04);
    box-shadow: var(--shadow-glow);
}

.upload-zone.drag-over {
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--brand-cyan);
    opacity: 0.7;
}

.upload-zone h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.upload-zone p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.upload-zone .file-input {
    display: none;
}

.file-info {
    display: none;
    padding: 16px 24px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
    margin-top: 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--brand-light);
}

.file-info.visible {
    display: block;
}

/* Processing overlay */
.processing-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 14, 26, 0.92);
    backdrop-filter: blur(12px);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.processing-overlay.active {
    display: flex;
}

.spinner {
    width: 64px;
    height: 64px;
    border: 4px solid var(--color-surface);
    border-top: 4px solid var(--brand-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.processing-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.progress-bar-container {
    width: 300px;
    height: 4px;
    background: var(--color-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width var(--transition-slow);
}

/* ═══════ FOOTER ═══════ */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer .privacy-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* ═══════ SCROLL REVEAL ═══════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════ ANIMATIONS ═══════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ═══════ VALUE PROPOSITION ═══════ */
#features {
    background-color: var(--color-bg);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.value-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--brand-cyan);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: rgba(37, 99, 235, 0.15);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.value-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.value-card p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

/* ═══════ SECURITY STRIP ═══════ */
.security-strip {
    padding: 28px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #F9FAFB;
}

.strip-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.strip-item i {
    color: var(--brand-cyan);
    font-size: 1rem;
    opacity: 0.8;
}

/* ═══════ REPORT PREVIEW ═══════ */
.preview-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.browser-header {
    background: #F3F4F6;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E5E7EB;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.browser-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots .close {
    background: #FF5F56;
}

.browser-dots .min {
    background: #FFBD2E;
}

.browser-dots .max {
    background: #27C93F;
}

.browser-url {
    background: #FFFFFF;
    padding: 4px 16px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    border: 1px solid #E5E7EB;
    flex: 1;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.browser-content {
    background: #FFFFFF;
    width: 100%;
    margin: 0;
    padding: 0;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
}

.preview-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #E5E7EB;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

.preview-callouts {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.callout {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    box-shadow: var(--shadow-sm);
}

.callout i {
    color: var(--brand-cyan);
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 32px;
    }

    .hero-logo-float {
        max-width: 400px;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-logo-float {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat .stat-number {
        font-size: 1.4rem;
    }

    .hero-circuits {
        height: 100px;
        bottom: 40px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
        gap: 8px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .browser-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .preview-callouts {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .shield-grid {
        grid-template-columns: 1fr;
    }

    .shield-item:nth-child(odd) {
        border-right: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps-grid::before {
        display: none;
    }

    .upload-zone {
        padding: 48px 24px;
    }

    .navbar-links {
        gap: 16px;
    }

    .cta-band h2 {
        font-size: 1.6rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .dimension-card {
        flex-direction: column;
        gap: 12px;
    }

    .strip-items {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hero-circuits {
        display: none;
    }

    .navbar-links .nav-text {
        display: none;
    }
}

/* ═══════ Reduced Motion ═══════ */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-logo-float {
        animation: none;
    }

    .hero-logo-glow {
        animation: none;
    }

    .circuit-trace {
        animation: none;
        stroke-dasharray: none;
    }

    .circuit-node {
        animation: none;
        opacity: 0.5;
    }

    .btn-primary::after {
        animation: none;
        display: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════ HOW IT WORKS — 3D HOLOGRAPHIC TUNNEL ═══════ */

.how-pipeline-holo {
    margin-top: 80px;
    margin-bottom: 60px;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.holo-scene {
    width: 1000px;
    height: 350px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.holo-stage {
    width: 900px;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

/* ── The Track ── */
.holo-track-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FF9D, #3b82f6, transparent);
    transform: translateY(-50%);
    box-shadow: 0 0 16px rgba(0, 255, 157, 0.4);
    opacity: 0.8;
}

/* ── Zones ── */
.holo-zone {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 2;
}
.zone-left { left: 5%; }
.zone-right { right: 5%; }

.holo-zone-tunnel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
    transform-style: preserve-3d;
}

.holo-zone-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    background: rgba(8, 145, 178, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(8, 145, 178, 0.2);
    position: absolute;
    top: -40px;
}

/* ── Zone 1: Upload (Drop target visual) ── */
.holo-drop-box {
    width: 120px;
    height: 120px;
    border: 2px dashed rgba(8, 145, 178, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-teal);
    background: radial-gradient(circle, rgba(8, 145, 178, 0.05) 0%, transparent 70%);
    box-shadow: 0 0 30px rgba(8, 145, 178, 0.1);
    animation: holo-pulse 3s infinite alternate ease-in-out;
}

@keyframes holo-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 40px rgba(8, 145, 178, 0.3); }
}

/* ── Zone 2: Tunnel Rings ── */
.holo-tunnel-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.holo-ring {
    position: absolute;
    border: 1px solid var(--color-success);
    border-radius: 16px;
    width: 220px;
    height: 140px;
    opacity: 0.6;
    box-shadow:
        inset 0 0 20px rgba(16, 185, 129, 0.2),
        0 0 20px rgba(16, 185, 129, 0.2);
}

.holo-ring:nth-child(1) { transform: translateZ(100px); border-color: rgba(16, 185, 129, 0.2); width: 260px; height: 160px; }
.holo-ring:nth-child(2) { transform: translateZ(50px); border-color: rgba(16, 185, 129, 0.4); width: 240px; height: 150px; }
.holo-ring:nth-child(3) { transform: translateZ(0px); border-color: rgba(16, 185, 129, 0.6); width: 220px; height: 140px; }
.holo-ring:nth-child(4) { transform: translateZ(-50px); border-color: rgba(16, 185, 129, 0.4); width: 200px; height: 130px; }
.holo-ring:nth-child(5) { transform: translateZ(-100px); border-color: rgba(16, 185, 129, 0.2); width: 180px; height: 120px; }

.holo-scan-laser-vertical {
    position: absolute;
    width: 4px;
    height: 180px;
    background: #00FF9D;
    box-shadow: 0 0 20px #00FF9D, 0 0 40px #00FF9D;
    left: 0;
    opacity: 0.8;
    border-radius: 2px;
    animation: holo-laser-sweep 1.5s infinite alternate ease-in-out;
}

@keyframes holo-laser-sweep {
    0% { transform: translateX(0px); }
    100% { transform: translateX(300px); }
}

/* ── Zone 3: Results Anchor ── */
.holo-report-anchor {
    width: 200px;
    height: 120px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

/* ── Traveling Objects (The Morphing Files) ── */
.holo-traveler {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -50px;  /* half height of document */
    margin-left: -30px; /* half width */
    width: 60px;
    height: 80px;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    opacity: 0;
    z-index: 10;
}

/* The Document part */
.traveler-doc {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--brand-blue);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    backface-visibility: hidden;
}

.t-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: linear-gradient(225deg, transparent 50%, var(--brand-blue) 50%);
}

.t-line { width: 100%; height: 3px; background: rgba(37, 99, 235, 0.2); border-radius: 2px; }
.t-line.short { width: 60%; }

/* The Report part (initially hidden) */
.traveler-report {
    position: absolute;
    width: 200px;      /* Final size */
    height: 120px;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -100px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-success);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0; /* Hidden at start */
    transform: scale(0.3); /* Match document size roughly */
}

.r-hdr {
    font-size: 0.65rem;
    color: var(--color-text-secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.r-score {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-success);
    line-height: 1;
}

.r-bars { display: flex; flex-direction: column; gap: 6px; }
.r-bar {
    height: 4px;
    width: 100%;
    background: rgba(0,0,0,0.05);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.r-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%;
    width: var(--w);
    background: var(--c);
}

/* ── Holographic Flow Animation (The Morph) ── */
@keyframes holo-journey {
    /* Flow starts offscreen left */
    0% {
        transform: translateX(0px) translateZ(0px) rotateY(15deg);
        opacity: 0;
    }
    
    /* Document appears on the upload drop-box */
    10% {
        transform: translateX(105px) translateZ(50px) rotateY(20deg);
        opacity: 1;
    }
    
    /* Leaves upload, moving towards center tunnel */
    25% {
        transform: translateX(300px) translateZ(0px) rotateY(0deg);
        opacity: 1;
    }
    
    /* Entering tunnel: Document moves BACK in Z space */
    40% {
        transform: translateX(450px) translateZ(-150px) rotateY(-10deg);
        opacity: 1;
        filter: drop-shadow(0 0 20px #00FF9D);
    }
    
    /* Exiting tunnel, moving back to foreground Z space = 50px */
    55% {
        transform: translateX(650px) translateZ(50px) rotateY(0deg);
        opacity: 1;
        filter: none;
    }

    /* Morphing Phase: Reaching the report anchor */
    70% {
        transform: translateX(800px) translateZ(100px) rotateY(0deg);
        opacity: 1;
    }
    
    /* Finished morph, stays there */
    85% {
        transform: translateX(800px) translateZ(100px) rotateY(0deg);
        opacity: 1;
    }

    /* Dissolve right offscreen */
    100% {
        transform: translateX(1000px) translateZ(0px) rotateY(0deg);
        opacity: 0;
    }
}

/* The Document child fades OUT during phase 55% -> 70% */
@keyframes doc-fade {
    0%, 55% { opacity: 1; }
    70%, 100% { opacity: 0; pointer-events: none; }
}

/* The Report child fades IN and scales UP during phase 55% -> 70% */
@keyframes report-morph {
    0%, 55% { opacity: 0; transform: scale(0.3); }
    70%, 85% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
}

.holo-traveler { animation: holo-journey 12s linear infinite; }
.holo-traveler .traveler-doc { animation: doc-fade 12s linear infinite; }
.holo-traveler .traveler-report { animation: report-morph 12s linear infinite; }

/* Offsets */
.t-1 { animation-delay: 0s; }
.t-1 .traveler-doc, .t-1 .traveler-report { animation-delay: 0s; }

.t-2 { animation-delay: -3s; }
.t-2 .traveler-doc, .t-2 .traveler-report { animation-delay: -3s; }

.t-3 { animation-delay: -6s; }
.t-3 .traveler-doc, .t-3 .traveler-report { animation-delay: -6s; }

.t-4 { animation-delay: -9s; }
.t-4 .traveler-doc, .t-4 .traveler-report { animation-delay: -9s; }

/* ── Dimension labels on traveling documents ── */
.t-dim-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.t-dim-label i { font-size: 0.55rem; }

/* Dimension color glow per traveler */
.t-1 .traveler-doc { box-shadow: 0 0 14px rgba(167, 139, 250, 0.35), inset 0 0 8px rgba(167, 139, 250, 0.1); }
.t-2 .traveler-doc { box-shadow: 0 0 14px rgba(56, 189, 248, 0.35), inset 0 0 8px rgba(56, 189, 248, 0.1); }
.t-3 .traveler-doc { box-shadow: 0 0 14px rgba(251, 191, 36, 0.35), inset 0 0 8px rgba(251, 191, 36, 0.1); }
.t-4 .traveler-doc { box-shadow: 0 0 14px rgba(52, 211, 153, 0.35), inset 0 0 8px rgba(52, 211, 153, 0.1); }

/* Dimension label color match */
.t-1 .t-dim-label { color: rgba(167, 139, 250, 0.75); }  /* Nomenclature: purple */
.t-2 .t-dim-label { color: rgba(56, 189, 248, 0.75); }   /* DAX: cyan */
.t-3 .t-dim-label { color: rgba(251, 191, 36, 0.75); }   /* Relationships: amber */
.t-4 .t-dim-label { color: rgba(52, 211, 153, 0.75); }   /* Governance: green */


/* ── Responsiveness ── */
@media (max-width: 1024px) {
    .holo-scene { transform: scale(0.85); }
}
@media (max-width: 768px) {
    .holo-scene { transform: scale(0.65); height: 280px; }
    .holo-zone-label { font-size: 0.6rem; padding: 2px 8px; }
}
@media (max-width: 480px) {
    .holo-scene { transform: scale(0.4); height: 200px; }
    .how-pipeline-holo { margin-top: 10px; margin-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .holo-traveler, .holo-laser-sweep, .holo-pulse {
        animation: none !important;
    }
}

