/* Kosmeta Design System - Vanilla CSS Version */

/* Self-hosted Inter (no external Google Fonts request).
   Latin subset covers full German typography (ä ö ü ß € „" – …). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-700.woff2') format('woff2');
}

:root {
    --navy-950: #050D1A;
    --navy-900: #0A1830;
    --navy-800: #0C2461;
    --navy-700: #143087;
    --navy-600: #1E4DB7;
    --navy-500: #2E6ADE;
    --navy-400: #7096CF;
    --navy-300: #96B3DC;
    --navy-200: #BDD0EE;
    --navy-100: #E1EAF8;
    
    --brand-green: #10B981;
    --brand-green-dark: #059669;
    --brand-green-light: #D1FAE5;
    --brand-risk: #F43F5E;
    --brand-warn: #F59E0B;
    
    --white: #ffffff;
    --gray-50: #F8F9FC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --font-serif: 'Georgia', 'Palatino', 'Charter', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    
    --nav-height: 112px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--white);
    color: var(--gray-900);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }
}

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

@media (min-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    .section-padding + .section-padding {
        padding-top: 40px;
    }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.text-center { text-align: center; }

.grid { display: grid; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--navy-900);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

main {
    padding-top: var(--nav-height);
    background-color: var(--navy-900);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 88px;
    width: auto;
    display: block;
}

.nav-links {
    display: none;
    gap: 32px;
}

.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy-900);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        padding: 0;
        border-bottom: none;
    }
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    opacity: 0.8;
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover {
    opacity: 1;
    color: var(--brand-green);
}

.nav-link.active {
    opacity: 1;
    color: var(--brand-green);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--brand-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--brand-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--brand-green-dark);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-icon .chrome-icon {
    flex-shrink: 0;
}

.btn-hero-cta {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 80px;
    padding-bottom: 56px;
    background-color: var(--navy-900);
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(112, 150, 207, 0.18) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    color: var(--brand-green);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease-out both;
}

.hero h1 {
    font-size: 32px;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    white-space: pre-line;
    animation: fadeUp 0.6s ease-out 0.1s both;
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 640px) {
    .hero .badge {
        margin-top: 24px;
    }
}

@media (min-width: 1400px) {
    .hero h1 {
        font-size: 52px;
    }
}

.hero p {
    font-size: 18px;
    line-height: 1.4;
    color: var(--navy-200);
    max-width: 680px;
    margin: 0 auto 32px;
    animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero-showcase {
    width: 100%;
    margin: 0 auto 40px;
    animation: fadeUp 0.6s ease-out 0.3s both;
}

/* Break out of the text container to be wider, centered */
@media (min-width: 1240px) {
    .hero-showcase {
        width: 1320px;
        margin-left: -110px;
        margin-right: -110px;
    }
}


.mockup-container {
    background: var(--navy-800);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.mockup-container img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    animation: fadeUp 0.6s ease-out 0.4s both;
}

.hero-context-link {
    font-size: 14px;
    color: var(--navy-300);
    margin-bottom: 48px;
    animation: fadeUp 0.6s ease-out 0.45s both;
}

.hero-context-link a {
    color: var(--brand-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.hero-context-link a:hover {
    color: var(--white);
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.trust-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    animation: fadeUp 0.6s ease-out 0.5s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--navy-300);
    font-size: 11px;
    font-weight: 500;
}

.trust-badge svg {
    color: var(--brand-green);
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .trust-badges { flex-wrap: wrap; }
}

/* Urgency Strip */
.urgency-strip {
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}

.urgency-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 24px;
}

.urgency-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.urgency-live-pulse {
    width: 12px;
    height: 12px;
    background: var(--brand-green);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.urgency-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-700);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.urgency-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.urgency-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: var(--gray-50);
    color: var(--navy-700);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--gray-300);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.urgency-chip:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.urgency-chip.done { border-left-color: var(--brand-green); }
.urgency-chip.warning { border-left-color: var(--brand-warn); }
.urgency-chip.critical { border-left-color: var(--brand-risk); }
.urgency-chip b { font-weight: 700; color: var(--navy-900); }

@media (max-width: 768px) {
    .urgency-inner { gap: 12px; padding: 16px 16px; }
    .urgency-header { flex-wrap: wrap; justify-content: center; }
    .urgency-label { font-size: 12px; }
    .urgency-chip { font-size: 12px; padding: 8px 14px; white-space: normal; line-height: 1.4; }
}

@media (min-width: 1024px) {
    .urgency-inner { gap: 20px; padding: 32px 24px; }
    .urgency-label { font-size: 16px; }
    .urgency-chip { font-size: 14px; padding: 10px 18px; }
}

/* How It Works Section */
.section-tag {
    display: inline-block;
    color: var(--brand-green);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 32px;
    color: var(--navy-900);
    margin-bottom: 16px;
}

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

.section-desc {
    color: var(--gray-500);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 64px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    text-align: center;
    position: relative;
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-white {
    background-color: var(--white);
}

.step-num-circle {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background-color: var(--navy-900);
    color: var(--brand-green);
    font-family: monospace;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.step-arrow {
    display: none;
    position: absolute;
    right: -48px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(16, 185, 129, 0.5);
}

@media (min-width: 1024px) {
    .step-arrow {
        display: block;
    }
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray-500);
    font-size: 16px;
}

.connector-line {
    display: none;
    position: absolute;
    top: 39px;
    left: 16.6%;
    right: 16.6%;
    height: 2px;
    background-color: var(--gray-100);
    z-index: 0;
}

@media (min-width: 1024px) {
    .connector-line {
        display: block;
    }
}

.connector-line.gradient {
    background: linear-gradient(to right, transparent, rgba(16, 185, 129, 0.6), transparent);
}

/* Workflow Tabs (How It Works) */
.workflow-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.workflow-tab {
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.workflow-tab.active {
    background: var(--navy-900);
    color: white;
    border-color: var(--navy-900);
}

.workflow-panel {
    display: none;
}

.workflow-panel.active {
    display: block;
}

.workflow-card {
    position: relative;
    border-top: 3px solid var(--brand-green);
}

.workflow-card .icon-box {
    margin-bottom: 20px;
}

.workflow-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    color: var(--brand-green-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.workflow-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--brand-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.workflow-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--navy-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.workflow-card p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .workflow-tabs {
        display: none;
    }
    .workflow-panel {
        display: block !important;
    }
    .workflow-panel + .workflow-panel {
        margin-top: 80px;
    }
}

/* Activation Section */
.activation {
    background-color: var(--gray-50);
}

.activation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .activation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .activation-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
    .activation-grid > .activation-card {
        flex: 0 0 calc((100% - 48px) / 3);
        max-width: 400px;
    }
}

.activation-card {
    background: var(--white);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.activation-card:hover .icon-box {
    transform: scale(1.08);
}

.icon-box-pair {
    gap: 6px;
    width: auto;
    min-width: 72px;
    padding: 0 12px;
}

.icon-box.blue { background-color: #eff6ff; color: #1877F2; }
.icon-box.navy { background-color: var(--navy-900); color: white; }
.icon-box.green-soft { background-color: #f0fdf4; color: #16a34a; }
.icon-box.brand-soft { background-color: rgba(16, 185, 129, 0.15); color: var(--brand-green); }

.activation-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--navy-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.activation-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
}

/* Features Arc Section */
.features-arc {
    background-color: var(--gray-50);
    overflow: hidden;
    position: relative;
}

.arc-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    min-height: 600px;
    position: relative;
}

@media (min-width: 1024px) {
    .arc-container {
        flex-direction: row;
        justify-content: center;
        gap: 80px;
    }
}

@media (min-width: 1400px) {
    .arc-container {
        gap: 120px;
    }
}

.arc-visual {
    position: relative;
    width: 300px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (min-width: 1024px) {
    .arc-visual {
        width: 400px;
        height: 500px;
    }
}

.arc-line {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border-right: 2px solid var(--gray-200);
    border-radius: 50%;
    opacity: 0.3;
}

.feature-btn {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    z-index: 20;
    transition: all 0.5s ease;
}

.feature-btn-line {
    height: 2px;
    background: var(--brand-green);
    width: 0;
    opacity: 0;
    transition: all 0.5s ease;
}

.feature-btn.active .feature-btn-line {
    width: 48px;
    opacity: 1;
}

.feature-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@media (min-width: 1024px) {
    .feature-btn-circle {
        width: 64px;
        height: 64px;
    }
}

.feature-btn.active .feature-btn-circle {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.feature-label {
    position: absolute;
    right: 110%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy-900);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-btn.active .feature-label {
    opacity: 1;
}

.feature-display {
    width: 100%;
    max-width: 600px;
    background: var(--white);
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-outcome {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-green);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.feature-display h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.feature-display p {
    color: var(--gray-500);
    font-size: 18px;
    margin-bottom: 32px;
}

/* Regulatorisches Fundament (Authority) Section */
.authority-section {
    background-color: var(--white);
}

.authority-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .authority-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .authority-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.authority-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    transition: all 0.3s ease;
}

.authority-card.accent-blue {
    border-left-color: var(--navy-600);
}

.authority-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    border-left-color: var(--navy-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 24, 48, 0.06);
}

.authority-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-400);
    margin-bottom: 12px;
}

.authority-code {
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.authority-label {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.5;
}

.authority-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    color: var(--gray-500);
    text-align: left;
}

.authority-note svg {
    color: var(--brand-green);
    flex-shrink: 0;
}

/* Problem Stepper */
.problem-stepper {
    margin: 0 -24px 48px;
    position: relative;
}

@media (min-width: 1024px) {
    .problem-stepper {
        margin: 0 -40px 48px;
    }
}

.stepper-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .stepper-track {
        flex-direction: row;
        justify-content: space-between;
        gap: 24px;
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .stepper-track {
        gap: 32px;
        padding: 0 40px;
    }
}

.stepper-line-bg,
.stepper-line-fill {
    display: none;
}

@media (min-width: 768px) {
    .stepper-line-bg,
    .stepper-line-fill {
        display: none;
    }
}

.stepper-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 8px;
}

@media (min-width: 768px) {
    .stepper-node {
        flex: 1;
        min-width: 220px;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .stepper-node {
        min-width: 320px;
    }
}

.node-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 5px var(--gray-50);
    color: var(--navy-700);
}

.stepper-node.done .node-circle {
    border-color: var(--brand-green);
    color: var(--white);
    background: var(--brand-green);
}

.stepper-node.done .node-circle svg {
    color: var(--white);
}

.stepper-node.warning .node-circle {
    border-color: var(--navy-400);
    color: var(--navy-700);
    background: rgba(15, 30, 61, 0.06);
}

.stepper-node.critical .node-circle {
    border-color: var(--navy-400);
    color: var(--navy-700);
    background: rgba(15, 30, 61, 0.06);
}

.stepper-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    margin-top: 4px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (min-width: 768px) {
    .stepper-content {
        padding: 28px;
    }
}

.stepper-content .regulatory-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .stepper-content .regulatory-meta {
        justify-content: center;
    }
}

.stepper-content h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.stepper-content p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

.stepper-content .problem-consequence {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-700);
}

/* Authority Split + Accordion */
.authority-split {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .authority-split {
        flex-direction: row;
        align-items: flex-start;
        gap: 64px;
    }
    .authority-intro {
        flex: 0 0 40%;
        position: sticky;
        top: calc(var(--nav-height) + 40px);
    }
    .authority-accordion {
        flex: 1;
    }
    .authority-intro .section-title {
        font-size: 34px;
    }
}

.authority-intro .section-tag {
    display: block;
    text-align: left;
    margin-bottom: 16px;
}

.authority-intro .section-title {
    text-align: left;
    margin-bottom: 16px;
    font-size: 28px;
}

.authority-intro-text {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.accordion-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--gray-300);
}

.accordion-item.active {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 12px rgba(10, 24, 48, 0.06);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

@media (min-width: 640px) {
    .accordion-trigger {
        padding: 20px 24px;
    }
}

.accordion-trigger:hover {
    background: var(--gray-50);
}

.accordion-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-400);
    flex-shrink: 0;
    min-width: 90px;
}

@media (min-width: 640px) {
    .accordion-category {
        font-size: 11px;
        min-width: 110px;
    }
}

.accordion-code {
    font-family: 'SFMono-Regular', 'Consolas', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
    flex: 1;
    margin: 0 8px;
}

@media (min-width: 640px) {
    .accordion-code {
        font-size: 15px;
        margin: 0 12px;
    }
}

.accordion-icon {
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--brand-green);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.accordion-item.active .accordion-panel {
    max-height: 200px;
    padding: 0 24px 20px;
}

.accordion-panel p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Activation Ribbon */
.activation-ribbon-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 -24px;
    padding: 0 4px;
}

@media (min-width: 640px) {
    .activation-ribbon-wrapper {
        margin: 0 -24px;
        padding: 0 12px;
    }
}

@media (min-width: 1024px) {
    .activation-ribbon-wrapper {
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

.activation-ribbon {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 24px;
    scrollbar-width: none;
}

@media (min-width: 1024px) {
    .activation-ribbon {
        overflow-x: visible;
        scroll-snap-type: none;
        justify-content: center;
        flex-wrap: wrap;
        padding: 8px 0 24px;
    }
}

.activation-ribbon::-webkit-scrollbar {
    display: none;
}

.ribbon-card {
    scroll-snap-align: center;
    flex: 0 0 180px;
    min-width: 180px;
}

@media (min-width: 640px) {
    .ribbon-card {
        flex: 0 0 200px;
        min-width: 200px;
    }
}

@media (min-width: 1024px) {
    .ribbon-card {
        flex: 1 1 160px;
        min-width: 160px;
        max-width: 200px;
        scroll-snap-align: none;
    }
}

.ribbon-card-inner {
    background: var(--white);
    padding: 20px 16px;
    border-radius: 20px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.ribbon-card-inner h3 {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.ribbon-card-inner p {
    font-size: 13px;
    line-height: 1.4;
    color: var(--gray-500);
}

.ribbon-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.ribbon-fade-left,
.ribbon-fade-right {
    position: absolute;
    top: 0;
    bottom: 24px;
    width: 48px;
    pointer-events: none;
    z-index: 2;
}

.ribbon-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.ribbon-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--gray-50), transparent);
}

@media (min-width: 1024px) {
    .ribbon-fade-left,
    .ribbon-fade-right {
        display: none;
    }
}

.ribbon-hint {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 8px;
}

@media (min-width: 1024px) {
    .ribbon-hint {
        display: none;
    }
}

#how-it-works {
    background: var(--gray-50);
}

/* Split Workflows (alternating horizontal) */
.split-workflows {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.split-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-card);
    padding: 24px;
}

@media (min-width: 768px) {
    .split-row {
        flex-direction: row;
        align-items: center;
        gap: 56px;
    }
    .split-row.reverse {
        flex-direction: row-reverse;
    }
}

.split-visual {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.split-icon-cluster {
    display: flex;
    gap: 16px;
    align-items: center;
}

.split-text {
    flex: 1;
    text-align: center;
    max-width: 520px;
}

@media (min-width: 768px) {
    .split-text {
        text-align: left;
        max-width: none;
    }
}

.split-text h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.split-text p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.6;
}

/* Vertical Timeline */
.timeline-vertical {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    display: none;
}

.timeline-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    min-height: 80px;
    padding-left: 60px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gray-200);
}

.timeline-card {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    padding: 24px;
    text-align: left;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s ease;
}

.timeline-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.timeline-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.timeline-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 8px;
}

/* Card top badge */
.timeline-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--navy-700);
    margin-bottom: 10px;
}

.timeline-card-badge svg {
    flex-shrink: 0;
}

/* Checklist inside step 3 card */
.timeline-checklist {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-checklist li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-600);
}

.timeline-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-green);
}

.timeline-checklist li strong {
    color: var(--navy-800);
    font-weight: 600;
}

@media (min-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    .timeline-step {
        padding-left: 72px;
        gap: 28px;
    }
    .timeline-node {
        left: 12px;
        width: 44px;
        height: 44px;
        font-size: 14px;
    }
    .timeline-card {
        padding: 28px 32px;
    }
}

/* Stats Section */
.problem-section {
    background-color: var(--gray-50);
}

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

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: 24px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-family: var(--font-serif);
    color: var(--navy-900);
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.problem-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 1024px) {
    .problem-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.problem-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
    text-align: left;
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.problem-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.regulatory-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.regulatory-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(15, 30, 61, 0.06);
    color: var(--navy-700);
}

.regulatory-status b {
    font-weight: 700;
    color: var(--navy-900);
}

.regulatory-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-700);
}

.regulatory-card.done { border-top: 3px solid var(--brand-green); }
.regulatory-card.warning { border-top: 3px solid var(--navy-400); }
.regulatory-card.critical { border-top: 3px solid var(--navy-700); }

.regulatory-card.done .regulatory-status { background: rgba(16, 185, 129, 0.08); color: var(--brand-green); }
.regulatory-card.warning .regulatory-status { background: rgba(15, 30, 61, 0.06); color: var(--navy-700); }
.regulatory-card.critical .regulatory-status { background: rgba(15, 30, 61, 0.08); color: var(--navy-800); }

.problem-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.problem-consequence {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-700);
}

.consequence-arrow {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-500);
    opacity: 0.8;
}

.scenario-highlight {
    max-width: 700px;
    margin: 48px auto 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.scenario-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy-800);
    background: rgba(15, 30, 61, 0.06);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.scenario-quote {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-700);
    font-style: italic;
    margin: 0;
}

.scenario-quote strong {
    color: var(--navy-900);
    font-weight: 600;
    font-style: normal;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--gray-200);
    border-radius: 24px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .stats-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    background: var(--white);
    padding: 32px 24px;
    text-align: center;
}

.stat-item .stat-value {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: bold;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* Personas Section */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.persona-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.persona-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-200);
}

.persona-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.persona-chevron {
    display: none;
}

.persona-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.persona-icon--red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.persona-icon--blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.persona-icon--purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.persona-icon--green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--brand-green);
}

.persona-role {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0;
    line-height: 1.3;
}

.persona-body {
    margin-top: 16px;
}

.persona-card p {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.persona-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.persona-bullet {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
    font-size: 13px;
    color: var(--navy-800);
    line-height: 1.4;
}

.persona-bullet svg {
    color: var(--brand-green);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Tablet: 2x2 grid */
@media (max-width: 1023px) and (min-width: 768px) {
    .persona-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile: accordion */
@media (max-width: 767px) {
    .persona-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .persona-card {
        padding: 0;
        border-radius: 16px;
        overflow: hidden;
    }

    .persona-card:hover {
        transform: none;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .persona-header {
        padding: 18px 20px;
        cursor: pointer;
        user-select: none;
    }

    .persona-chevron {
        display: block;
        margin-left: auto;
        color: var(--gray-400);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .persona-card.open .persona-chevron {
        transform: rotate(180deg);
    }

    .persona-body {
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0 20px;
    }

    .persona-card.open .persona-body {
        max-height: 300px;
        padding: 0 20px 20px;
    }

    .persona-card.open {
        border-left: 3px solid var(--brand-green);
    }

    .persona-role {
        font-size: 15px;
    }

    .persona-card p {
        font-size: 14px;
    }

    .persona-bullet {
        font-size: 13px;
    }

    /* Workflow: show all panels stacked on mobile, hide tabs */
    .workflow-tabs {
        display: none;
    }
    .workflow-panel {
        display: block !important;
    }
    .workflow-panel + .workflow-panel {
        margin-top: 48px;
    }

    /* Activation ribbon: vertical stack on mobile, icons + headlines only */
    .activation-ribbon {
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0;
    }
    .ribbon-card {
        flex: 1 1 auto;
        min-width: auto;
        width: 100%;
        scroll-snap-align: none;
    }
    .ribbon-card-inner {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 16px 20px;
        gap: 16px;
    }
    .ribbon-card-inner .icon-box {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .ribbon-card-inner h3 {
        margin-bottom: 0;
        font-size: 16px;
    }
    .ribbon-card-inner p {
        display: none;
    }
    .ribbon-fade-left,
    .ribbon-fade-right {
        display: none;
    }
    .ribbon-hint {
        display: none;
    }
}

/* Final CTA */
.final-cta {
    background-color: var(--navy-900);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta .section-title {
    color: white;
}

.final-cta-urgency {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-green);
    margin-bottom: 12px;
}

.final-cta-privacy {
    font-size: 14px;
    color: var(--navy-300);
    margin-bottom: 24px;
    font-weight: 500;
}

.final-cta-secondary {
    margin-top: 24px;
    font-size: 14px;
    color: var(--navy-300);
}

.final-cta-secondary a {
    color: var(--navy-300);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.final-cta-secondary a:hover {
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--navy-900);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
    padding: 64px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-row img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-brand-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--white);
}

.footer-brand p {
    color: var(--navy-300);
    font-size: 14px;
    line-height: 1.7;
    max-width: 380px;
    margin: 0;
}

.footer-brand-mini {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--navy-400);
    font-weight: 500;
}

.footer-linkedin-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.footer-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--navy-300);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-linkedin:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

a.footer-linkedin-label {
    font-size: 13px;
    color: var(--brand-green);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.footer-linkedin-label:hover {
    color: var(--white);
}

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

.footer-col a {
    color: var(--navy-300);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--navy-400);
}

@media (min-width: 640px) {
    .footer-bottom-inner {
        flex-direction: row;
    }
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

@media (min-width: 640px) {
    .footer-bottom-left {
        flex-direction: row;
        gap: 16px;
    }
}

.footer-bottom-sep {
    display: none;
    color: var(--navy-500);
}

@media (min-width: 640px) {
    .footer-bottom-sep {
        display: inline;
    }
}

.footer-bottom-signature {
    color: var(--brand-green);
    font-weight: 500;
}

@media (max-width: 1023px) {
    .problem-section {
        padding-bottom: 48px;
    }
    .problem-section + section {
        padding-top: 48px;
    }
}

@media (min-width: 1024px) {
    .problem-section {
        padding-bottom: 64px;
    }
    .problem-section + section {
        padding-top: 64px;
    }
}

@media (max-width: 1023px) {
    .hero { padding-top: 48px; padding-bottom: 40px; min-height: auto; }
    .hero p { font-size: 17px; margin-bottom: 28px; }
    .hero h1 { font-size: 30px; margin-bottom: 14px; }
    .hero-showcase { margin-bottom: 32px; }
    .section-padding { padding: 64px 0; }
    .section-desc { margin-bottom: 48px; }
    .container { padding: 0 16px; }
    .split-workflows { gap: 32px; }
    .arc-container { min-height: auto; }
    .feature-display { min-height: auto; }
}

@media (max-width: 768px) {
    .arc-line { width: 300px; height: 300px; }
}

/* General Mobile Fixes */
@media (max-width: 640px) {
    .hero { padding-top: 20px; padding-bottom: 32px; min-height: auto; }
    .hero h1 { font-size: 26px; margin-bottom: 12px; line-height: 1.2; }
    .hero p { font-size: 15px; margin: 0 auto 24px; line-height: 1.5; }
    .hero-showcase { margin-bottom: 24px; }
    .mockup-container { border-radius: 16px; }
    .section-title { font-size: 24px; line-height: 1.3; }
    .section-desc { font-size: 15px; margin-bottom: 32px; line-height: 1.6; }
    .section-tag { font-size: 12px; padding: 4px 12px; margin-bottom: 12px; }
    .section-padding { padding: 48px 0; }
    .container { padding: 0 16px; }
    .btn { padding: 10px 20px; font-size: 13px; }
    .btn-hero-cta { padding: 12px 24px; font-size: 16px; }
    nav { --nav-height: 88px; }
    .logo img { height: 48px; }
    .nav-actions .btn-primary { padding: 8px 12px; font-size: 12px; gap: 6px; }
    .nav-actions .btn-primary .chrome-icon { width: 18px; height: 18px; }
    .badge { font-size: 11px; padding: 6px 10px; gap: 6px; max-width: 100%; overflow-wrap: break-word; word-break: break-word; white-space: normal; text-align: center; line-height: 1.4; }

    /* Trust badges: stack vertically on small screens */
    .trust-badges { flex-direction: column; align-items: center; gap: 8px; }
    .trust-badge { font-size: 12px; gap: 6px; }

    /* Timeline */
    .timeline-vertical { max-width: 100%; }
    .timeline-step { padding-left: 48px; gap: 12px; margin-bottom: 16px; }
    .timeline-node { left: 4px; width: 32px; height: 32px; font-size: 12px; }
    .timeline-card { padding: 20px; border-radius: 16px; }
    .timeline-card h3 { font-size: 16px; }
    .timeline-card p { font-size: 13px; }
    .timeline-line { left: 20px; }

    /* Stepper (problem section) */
    .problem-stepper { margin: 0 -16px 32px; }
    .stepper-track { gap: 24px; padding: 0 16px; }
    .stepper-node { padding: 0; }
    .node-circle { width: 40px; height: 40px; font-size: 14px; margin-bottom: 12px; }
    .stepper-content { padding: 20px; border-radius: 16px; }
    .stepper-content h3 { font-size: 16px; }
    .stepper-content p { font-size: 13px; }
    .stepper-content .regulatory-meta { flex-wrap: wrap; justify-content: center; }
    .stepper-content .problem-consequence { font-size: 12px; }

    /* Workflow */
    .workflow-tabs { margin-bottom: 32px; }
    .steps-grid { gap: 32px; }
    .split-workflows { gap: 24px; }
    .split-row { gap: 16px; padding: 20px; }

    /* Arc / Features */
    .arc-container { min-height: auto; gap: 32px; }
    .feature-display { padding: 28px; min-height: auto; }

    .activation-ribbon-wrapper { margin: 0 -16px; padding: 0; }

    /* Stats */
    .stats-row { border-radius: 16px; }
    .stat-item { padding: 24px 16px; }
    .stat-item .stat-value { font-size: 24px; }
    .stat-item .stat-label { font-size: 12px; }

    .scenario-highlight { margin-top: 32px; padding: 24px; border-radius: 16px; }
    .scenario-quote { font-size: 15px; }

    /* Final CTA */
    .final-cta .section-title { font-size: 22px; line-height: 1.3; }
    .final-cta .btn { padding: 14px 32px !important; font-size: 16px !important; }
    .final-cta-urgency { font-size: 15px; }
    .final-cta-privacy { font-size: 13px; }

    /* Footer */
    .footer-main { padding: 48px 0; }
    .footer-grid { gap: 32px; }
    .footer-brand p { font-size: 13px; }
    .footer-col h4 { font-size: 11px; font-weight: 700; color: var(--white); }
    .footer-col a { font-size: 13px; }
    .footer-bottom-inner { gap: 8px; text-align: center; }
    .footer-bottom-inner span,
    .footer-bottom-signature { font-size: 12px; }

    /* Cookie banner */
    .cookie-banner-actions { justify-content: center; }
}

@media (max-width: 400px) {
    .nav-actions .btn-primary { font-size: 0; gap: 0; padding: 8px; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 15px; }
    .section-title { font-size: 22px; }
    .final-cta .btn { padding: 12px 24px !important; font-size: 15px !important; }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}


@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9997;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy-900);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* Mobile Nav */
.mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: white;
    background: none;
    border: none;
}

@media (min-width: 1024px) {
    .mobile-nav-btn {
        display: none;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 9998;
    padding: clamp(16px, 4vw, 32px);
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.cookie-banner-visible .cookie-banner-overlay {
    opacity: 1;
}

.cookie-banner-card {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: clamp(24px, 3vw, 32px);
    width: min(520px, 100%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(15, 23, 42, 0.1);
    animation: fadeUp 0.35s ease-out both;
}

.cookie-banner-card:focus {
    outline: 2px solid var(--brand-green);
    outline-offset: 4px;
}

.cookie-banner-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-green);
}

.cookie-banner-card h3 {
    margin: 0;
    font-size: clamp(20px, 2.6vw, 24px);
    color: var(--navy-900);
}

.cookie-banner-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
}

.cookie-banner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cookie-banner-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-700);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.cookie-banner-link:hover {
    color: var(--navy-900);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-sans);
}

.cookie-btn-primary {
    background: var(--brand-green);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
}

.cookie-btn-primary:hover {
    background: var(--brand-green-dark);
}

.cookie-btn-outline {
    background: transparent;
    color: var(--navy-700);
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.cookie-btn-outline:hover {
    border-color: rgba(15, 23, 42, 0.25);
    background: rgba(15, 23, 42, 0.04);
}

.cookie-btn-neutral {
    background: rgba(15, 23, 42, 0.06);
    color: var(--navy-900);
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.cookie-btn-neutral:hover {
    background: rgba(15, 23, 42, 0.12);
}

.cookie-banner.suspended {
    display: none !important;
}

body.cookie-banner-reading-mode .cookie-banner {
    justify-content: flex-end;
    align-items: flex-end;
    padding: clamp(16px, 4vw, 28px);
}

body.cookie-banner-reading-mode .cookie-banner-overlay {
    display: none;
}

body.cookie-banner-reading-mode .cookie-banner-card {
    width: min(420px, 100%);
    margin: clamp(12px, 3vw, 24px);
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
    animation: fadeUp 0.35s ease-out both;
    max-height: calc(100vh - clamp(24px, 6vh, 64px));
    overflow-y: auto;
}

@media (max-width: 900px) {
    body.cookie-banner-reading-mode .cookie-banner-card {
        width: min(500px, 100%);
    }
}

@media (max-width: 900px) {
    .cookie-banner-card {
        width: min(560px, 100%);
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        align-items: flex-end;
    }

    .cookie-banner-card {
        width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 24px 24px 28px;
        box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.35);
    }

    .cookie-banner-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body.cookie-banner-reading-mode .cookie-banner {
        justify-content: center;
    }

    body.cookie-banner-reading-mode .cookie-banner-card {
        margin: 0;
        border-radius: 20px 20px 0 0;
        max-height: none;
    }
}

@media (max-width: 520px) {
    .cookie-banner-card {
        padding: 24px 20px 28px;
    }

    .cookie-banner-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-banner-card .cookie-btn {
        width: 100%;
    }
}

/* Cookie Consent Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: fadeUp 0.3s ease-out both;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--gray-400);
    padding: 4px;
}

.cookie-modal-close:hover {
    color: var(--navy-900);
}

.cookie-modal-body {
    padding: 20px 24px;
}

.cookie-modal-intro {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-category {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.cookie-category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category-info strong {
    font-size: 14px;
    color: var(--navy-900);
}

.cookie-category-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-green-dark);
    background: rgba(0, 204, 153, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
}

.cookie-category-desc {
    font-size: 12px;
    color: var(--gray-400);
    line-height: 1.5;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-200);
    border-radius: 22px;
    transition: 0.3s;
}

.cookie-toggle-slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--brand-green);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(18px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 0 0 16px 16px;
    flex-wrap: wrap;
}

.cookie-modal-footer .cookie-btn-outline {
    border: 1px solid var(--gray-300);
    color: var(--navy-900);
    background: var(--white);
}

.cookie-modal-footer .cookie-btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.cookie-modal-footer .cookie-btn-primary {
    background: var(--brand-green);
    color: var(--white);
}

.cookie-modal-footer .cookie-btn-primary:hover {
    background: var(--brand-green-dark);
}

/* Cookie Banner Mobile */
@media (max-width: 640px) {
    .cookie-banner {
        padding: 12px 12px 0;
    }

    .cookie-banner-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-actions .cookie-btn {
        flex: 1 1 auto;
        text-align: center;
        min-width: 120px;
    }
}

@media (max-width: 400px) {
    .cookie-banner {
        padding: 8px 8px 0;
    }

    .cookie-banner-actions {
        gap: 8px;
    }

    .cookie-banner-actions .cookie-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* ============================================
   USE-CASE GALLERY SECTION
   ============================================ */

.gallery-section {
    background-color: var(--navy-900);
    position: relative;
    overflow: hidden;
    padding: 40px 0 48px;
}

.gallery-section .section-desc {
    margin-bottom: 24px;
}

.gallery-section .section-title {
    color: var(--white);
}

.gallery-section .section-desc {
    color: var(--navy-300);
    margin-bottom: 24px;
}

/* Stage */
.gallery-stage {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 0;
    width: 100%;
}

/* Progress Bar */
.gallery-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 10;
    border-radius: 2px;
}

.gallery-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-green-dark));
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
}

.gallery-progress-bar.running {
    transition: width 5s linear;
    width: 100%;
}

/* Main layout: image + nav cards side by side */
.gallery-main-layout {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
}

/* Viewport: arrows beside image, vertically centered */
.gallery-viewport {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

/* Image area - no background, image sits on section background */
.gallery-image-area {
    flex: 1;
    min-width: 0;
    max-width: 1000px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 0;
}

/* Slides - grid stacking for cross-fade */
.gallery-slides {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
}

.gallery-slide {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    pointer-events: none;
    padding: 8px;
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.gallery-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Pulsing green border on active image */
@keyframes imageGlow {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.08);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.5), 0 0 40px rgba(16, 185, 129, 0.18);
    }
}

.gallery-slide.active img {
    animation: imageGlow 3s ease-in-out infinite;
}

/* Navigation Buttons beside image */
.gallery-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    border: none;
    cursor: pointer;
}

.gallery-nav-btn:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

.gallery-info {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 90px;
}

.gallery-info-card {
    width: min(900px, 100%);
    opacity: 0;
    transform: translate3d(-50%, 12px, 0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    background: rgba(10, 24, 48, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(4, 19, 39, 0.5);
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 50%;
}

.gallery-info-card.active {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
}

.gallery-info-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.35;
}

.gallery-info-card p {
    font-size: 15px;
    color: var(--navy-200);
    line-height: 1.55;
    margin: 0;
}

/* Navigation Cards - Vertical sidebar */
.gallery-nav-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    width: 130px;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.nav-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.nav-card.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--brand-green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.nav-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.nav-card-icon svg {
    width: 20px;
    height: 20px;
}

.nav-card-icon.blue {
    background: rgba(66, 133, 244, 0.15);
}

.nav-card-icon.green {
    background: rgba(52, 168, 83, 0.15);
}

.nav-card-icon.navy {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-card-icon.brand {
    background: rgba(16, 185, 129, 0.15);
    color: var(--brand-green);
}

.nav-card:hover .nav-card-icon {
    transform: scale(1.1);
}

/* Keyboard shortcut display */
.nav-card-kbd {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 0;
}

.nav-card-kbd kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-family: inherit;
    font-size: 9px;
    font-weight: 600;
    color: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.nav-card-kbd span {
    font-size: 8px;
    color: var(--navy-300);
    font-weight: 500;
}

.nav-card.active .nav-card-kbd kbd {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.nav-card-title {
    font-size: 11px;
    font-weight: 500;
    color: var(--navy-200);
    text-align: center;
    line-height: 1.2;
}

.nav-card.active .nav-card-title {
    color: var(--white);
}

/* Hover Tooltip */
.gallery-tooltip {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 24, 48, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 24px;
    max-width: 400px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
    pointer-events: none;
}

.gallery-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.gallery-tooltip h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--white);
    margin-bottom: 4px;
}

.gallery-tooltip p {
    font-size: 13px;
    color: var(--navy-200);
    margin: 0;
    line-height: 1.4;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 19, 39, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gallery-lightbox.active .lightbox-img {
    transform: scale(1);
}

/* Hero Lightbox */
.hero-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 40px;
}

.hero-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.hero-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: zoom-in;
    transition: transform 0.4s ease;
    transform-origin: center center;
}

/* Responsive */
@media (max-width: 1023px) {
    .gallery-stage {
        gap: 16px;
        margin-bottom: 28px;
    }

    .gallery-viewport {
        gap: 12px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }

    .gallery-image-area {
        max-width: 100%;
    }

    .gallery-info-card {
        padding: 16px 24px;
    }

    .gallery-info-card h3 {
        font-size: 18px;
    }

    .gallery-info-card p {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .gallery-main-layout {
        flex-direction: column;
        gap: 16px;
    }

    .gallery-nav-cards {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 4px 8px;
        margin: 0 -16px;
        scrollbar-width: none;
        gap: 8px;
    }

    .gallery-nav-cards::-webkit-scrollbar {
        display: none;
    }

    .nav-card {
        scroll-snap-align: center;
        min-width: 90px;
        max-width: 110px;
        padding: 10px 12px;
        flex: 0 0 auto;
        width: auto;
    }
}

/* Mobile: simplified gallery — hide description, show icon thumbnails below image */
@media (max-width: 767px) {
    .gallery-section {
        padding: 40px 0 32px;
    }

    .gallery-section .section-title {
        font-size: 22px;
    }

    .gallery-section .section-desc {
        font-size: 14px;
        margin-bottom: 16px;
    }

    /* Hide desktop nav cards on mobile */
    .gallery-nav-cards {
        display: none !important;
    }

    /* Hide tooltip/description on mobile */
    .gallery-tooltip {
        display: none !important;
    }

    /* Hide progress bar on mobile */
    .gallery-progress {
        display: none;
    }

    /* Hide dot indicators (replaced by thumbnails) */
    .gallery-dots {
        display: none !important;
    }

    .gallery-stage {
        gap: 0;
        margin-bottom: 0;
    }

    .gallery-main-layout {
        flex-direction: column;
        gap: 0;
    }

    .gallery-viewport {
        gap: 8px;
    }

    .gallery-nav-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 50%;
        background: var(--white);
        border: 1px solid var(--gray-200);
        color: var(--navy-700);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .gallery-nav-btn svg {
        width: 18px;
        height: 18px;
    }

    .gallery-slide {
        padding: 0;
    }

    .gallery-slide img {
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .gallery-image-area {
        cursor: zoom-in;
    }

    /* Mobile thumbnail strip below image */
    .gallery-mobile-thumbs {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
        padding: 0 8px;
    }

    .gallery-mobile-thumb {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gray-50);
        border: 2px solid var(--gray-200);
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
    }

    .gallery-mobile-thumb svg {
        width: 20px;
        height: 20px;
    }

    .gallery-mobile-thumb.active {
        border-color: var(--brand-green);
        background: rgba(16, 185, 129, 0.08);
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    }

    .gallery-mobile-thumb-label {
        display: block;
        font-size: 9px;
        font-weight: 600;
        color: var(--gray-500);
        margin-top: 4px;
        text-align: center;
    }

    .gallery-mobile-thumb.active .gallery-mobile-thumb-label {
        color: var(--brand-green-dark);
    }

    /* Lightbox mobile */
    .gallery-lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-img {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 8px;
    }
}

/* Desktop: hide mobile thumbnails */
@media (min-width: 768px) {
    .gallery-dots {
        display: none;
    }
    .gallery-mobile-thumbs {
        display: none;
    }
}
