html {
    overflow-x: hidden;
}

:root {
    --bg-base: #F7FAFC;
    /* Clean light blue-gray */
    --bg-surface: #FFFFFF;
    --bg-main: #F7FAFC;
    /* Ensuring consistency across sections */
    --brand-blue: #007D69;
    /* Darker teal for better visibility */
    --brand-blue-hover: #006253;
    --brand-glow: rgba(0, 125, 105, 0.2);

    --text-primary: #1A202C;
    /* Dark Slate for high readability */
    --text-secondary: #0f172a;
    /* Muted gray for secondary content */

    --glass-bg: rgba(255, 255, 255, 0.7);
    /* Frosted light glass */
    --glass-bg-hover: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(0, 163, 141, 0.4);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --accent-teal: #00C2A8;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Glowing Blurs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.2;
    /* Soften for light theme */
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
}

.blob-2 {
    top: 40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0d9488 0%, transparent 70%);
    opacity: 0.3;
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
    opacity: 0.2;
}

/* Typography & Utils */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.text-blue {
    color: var(--brand-blue) !important;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    /* Softer shadow for light base */
}

.glass-panel-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--brand-glow);
}

.btn-primary:hover {
    background-color: var(--brand-blue-hover);
    box-shadow: 0 0 25px var(--brand-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 64px;
    padding: 0;
    z-index: 1000;
    background: rgba(247, 250, 252, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    justify-self: start;
    display: flex;
    align-items: center;
    overflow: visible;
    margin-right: 40px;
    position: relative;
    left: -250px;
}

.logo-img {
    height: 230px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}


.navbar .logo-img {
    height: 320px;
    margin-top: 34px;
    mix-blend-mode: multiply;
    background: transparent;
}

.logo .dot {
    color: var(--brand-blue);
}

.nav-links {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: flex-start;
    padding-left: 60px;
    position: relative;
    left: -57px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.3rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue);
}

/* Nav Dropdown Component */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

#solutions-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-chevron {
    transition: transform 0.3s ease;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    padding: 12px 0;
    margin-top: 10px;
    background: var(--bg-surface);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.nav-item-dropdown:hover .dropdown-content,
.nav-item-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.active .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-item {
    padding: 10px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    transition: var(--transition);
}

.dropdown-item:hover {
    color: var(--brand-blue);
    background: rgba(0, 163, 141, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    position: relative;
    left: 160px;
}

/* Language Dropdown Extends Nav Dropdown */
.lang-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    min-width: 70px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-option {
    cursor: pointer;
    text-align: center;
}

.lang-btn:hover,
.nav-item-dropdown.active .lang-btn {
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-option--active {
    color: var(--brand-blue) !important;
    font-weight: 700;
}

.dropdown-content.lang-dropdown {
    min-width: 70px;
    left: auto;
    right: 0;
    transform: translateY(10px);
}

.nav-item-dropdown:hover .dropdown-content.lang-dropdown,
.nav-item-dropdown.active .dropdown-content.lang-dropdown {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.homepage-hero {
    background: #ffffff;
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 80px;
    justify-content: flex-start;
    overflow: visible;
}

.hero-mockup-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0.5cm auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.hero-mockup-wrap .dvs-frame-wrap { margin-bottom: 0; }
.hero-mockup-wrap .dossier-video-box { aspect-ratio: 16 / 9; background: #f8fafc; border-radius: 20px; }
@media (max-width: 768px) { .hero-mockup-wrap { margin-top: 40px; padding: 0 16px; } }
@media (max-width: 430px) { .hero-mockup-wrap { margin-top: 32px; padding: 0 14px; } }

.hero-ship-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.dossier-page .hero-ship-bg {
    opacity: 0.10;
}

/* ─── Scroll Reveal ─────────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.78s cubic-bezier(0.22,1,0.36,1), transform 0.78s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ─── Float & Pulse keyframes ────────────────────────────────── */
@keyframes efs-float {
    0%, 12%  { transform: translateX(0);     opacity: 1; }
    32%      { transform: translateX(90px);  opacity: 0; }
    33%      { transform: translateX(-90px); opacity: 0; }
    53%      { transform: translateX(-90px); opacity: 0; }
    72%      { transform: translateX(0);     opacity: 1; }
    100%     { transform: translateX(0);     opacity: 1; }
}
@keyframes efs-pulse-ring {
    0%   { transform: scale(1);   opacity: 0.55; }
    100% { transform: scale(2.1); opacity: 0; }
}
@keyframes efs-arrow-flow {
    from { stroke-dashoffset: 24; }
    to   { stroke-dashoffset: 0; }
}

@keyframes block-seq {
    0%        { transform: translateY(0)    scale(1);    box-shadow: none; }
    10%       { transform: translateY(-8px) scale(1.05); box-shadow: 0 16px 32px rgba(0,125,105,0.45); }
    20%       { transform: translateY(-8px) scale(1.05); box-shadow: 0 16px 32px rgba(0,125,105,0.45); }
    30%       { transform: translateY(0)    scale(1);    box-shadow: none; }
    100%      { transform: translateY(0)    scale(1);    box-shadow: none; }
}

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

/* ─── AI Freight Intro ───────────────────────────────────────── */
.afi-section {
    background: #ffffff;
    padding: 32px 2rem 80px;
    width: 100%;
}
.afi-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.afi-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(0,125,105,0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.afi-title {
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.afi-underline {
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.afi-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 8px;
    width: 0;
    background: rgba(0, 125, 105, 0.55);
    border-radius: 2px;
    transition: none;
    z-index: 2;
}

.afi-underline.is-visible::after {
    animation: afi-line-grow 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

@keyframes afi-line-grow {
    from { width: 0; }
    to   { width: 100%; }
}
.afi-body {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* ─── Section 1: Export Automatisatie-Flow ───────────────────── */
.efs-ios-wrapper {
    position: relative;
    overflow: hidden;
}

.efs-ios-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/ui/AI background 2.png') center / cover no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.efs-ios-wrapper > section {
    position: relative;
    z-index: 1;
}

.efs-section {
    background: transparent;
    padding: 110px 24px;
}
.efs-inner {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}

/* Flow card */
.efs-flow-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
/* ─── Hero Process Flow (new structure) ─────────────── */
.hero-flow-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-process-flow {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}


.process-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.input-group {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: input-bounce 2.6s ease-in-out infinite;
}

.input-icon.icon-mail {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    width: 68px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}


.input-icon.icon-pdf {
    position: absolute;
    bottom: -2px;
    right: -6px;
    background: #ef4444;
    color: white;
    border-radius: 5px;
    width: 26px;
    height: 18px;
    font-size: 0.55rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 33px;
}

.flow-arrow svg line {
    animation: efs-arrow-flow 0.9s linear infinite;
}

.core-hub {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-scan-beam {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(180, 255, 240, 0.7) 15%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(180, 255, 240, 0.7) 85%,
        transparent 100%
    );
    box-shadow: 0 0 6px rgba(0, 220, 200, 0.9), 0 0 14px rgba(0, 220, 200, 0.4);
    pointer-events: none;
    animation: scan-sweep 2s ease-in-out infinite alternate;
    z-index: 3;
}

.core-scan-beam::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 2px;
    height: 14px;
    background: linear-gradient(180deg, rgba(0, 220, 200, 0.22) 0%, transparent 100%);
    pointer-events: none;
}

@keyframes scan-sweep {
    0%   { top: 8%;  opacity: 0.6; }
    100% { top: 80%; opacity: 1;   }
}

.output-card {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 10px 8px;
    width: 80px;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.card-header {
    background: #007D69;
    height: 6px;
    border-radius: 3px;
    width: 100%;
}

.card-line {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
}

.card-line--80 { width: 80%; }
.card-line--60 { width: 60%; }
.card-line--90 { width: 90%; }

.card-badge {
    align-self: flex-end;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #86efac;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    margin-top: 2px;
}

.process-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
}

.process-label--brand { color: #007D69; }
.process-label--green { color: #22c55e; }

.efs-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}
.efs-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.efs-node-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}
.efs-node-label--brand { color: var(--brand-blue); }
.efs-node-label--green { color: #16A34A; }

/* Input icon */
.efs-input-icon {
    position: relative;
    width: 66px;
    height: 58px;
}
.efs-float {
    animation: efs-float 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.efs-float--delay {
    animation-delay: 1.2s;
}
.efs-email-box {
    position: absolute;
    top: 0; left: 0;
    width: 54px; height: 46px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.efs-pdf-tag {
    position: absolute;
    bottom: 0; right: 0;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 6px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(239,68,68,0.4);
}

/* Arrow */
.efs-arrow-wrap { flex-shrink: 0; }
.efs-arrow-line {
    stroke-dasharray: 4 3;
    animation: efs-arrow-flow 1.4s linear infinite;
}
.efs-arrow-line--delay {
    animation-delay: 0.7s;
}

/* AI circle */
.efs-ai-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.efs-ai-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--brand-blue);
    width: 72px; height: 72px;
}
.efs-ai-ring--a { animation: efs-pulse-ring 2.4s ease-out infinite 0s; }
.efs-ai-ring--b { animation: efs-pulse-ring 2.4s ease-out infinite 0.8s; }
.efs-ai-ring--c { animation: efs-pulse-ring 2.4s ease-out infinite 1.6s; }
.efs-ai-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,125,105,0.4);
    z-index: 1;
    position: relative;
    overflow: hidden;
}

/* Dossier card */
.efs-dossier-card {
    width: 76px; height: 92px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.efs-dossier-topbar {
    height: 5px;
    background: #16A34A;
    border-radius: 3px;
}
.efs-dossier-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 2px;
}
.efs-dossier-line {
    height: 3px;
    background: #E2E8F0;
    border-radius: 2px;
}
.efs-ok-badge {
    position: absolute;
    bottom: 7px; right: 7px;
    background: #DCFCE7;
    color: #16A34A;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #BBF7D0;
}

/* Copy area */
.efs-copy { }
.efs-heading {
    font-size: clamp(2.1rem, 3.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}
.efs-heading__black { display: block; color: #1A202C; }
.efs-heading__blue  { display: block; color: var(--brand-blue); }
.efs-body {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.78;
    color: #0f172a;
    margin-bottom: 16px;
}
.efs-stats-pill {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #1a2f4e;
    border: 1px solid #1a2f4e;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 2rem;
}
.efs-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.efs-stat__val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.efs-stat__lbl {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #ffffff;
}
.efs-stat-sep {
    width: 1px;
    height: 2rem;
    background: #E2E8F0;
    flex-shrink: 0;
}

/* ─── Section 2: Import Operational Stream ───────────────────── */
.ios-section {
    background: transparent;
    padding: 110px 24px;
}
.ios-inner {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}

/* Copy */
.ios-heading {
    font-size: clamp(2.1rem, 3.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}
.ios-heading__black { display: block; color: #1A202C; }
.ios-heading__blue  { display: block; color: var(--brand-blue); }
.ios-body {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.78;
    color: #0f172a;
    margin-bottom: 16px;
}
.ios-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.ios-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ios-pill__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand-blue);
    flex-shrink: 0;
}

/* Dashboard card */
.ios-dashboard-card {
    background: #FFFFFF;
    border-radius: 28px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 60px rgba(0,0,0,0.09), 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ios-dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 72px rgba(0,0,0,0.13), 0 4px 20px rgba(0,0,0,0.06);
}

/* Pipeline */
.ios-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 28px 20px;
    background: #FFFFFF;
}
.ios-block {
    border-radius: 18px;
    padding: 18px 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease;
}
.ios-block:hover { transform: translateY(-3px); }

.ios-pipeline .ios-block:nth-child(1) { animation: block-seq 4.8s ease-in-out infinite 0s; }
.ios-pipeline .ios-block:nth-child(2) { animation: block-seq 4.8s ease-in-out infinite 1.2s; }
.ios-pipeline .ios-block:nth-child(3) { animation: block-seq 4.8s ease-in-out infinite 2.4s; }
.ios-pipeline .ios-block:nth-child(4) { animation: block-seq 4.8s ease-in-out infinite 3.6s; }

.ios-block--default {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}
.ios-block--elevated {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
}
.ios-block--active {
    background: var(--brand-blue);
}
.ios-block--success {
    background: #16A34A;
}

.ios-block-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ios-block-icon--default  { background: #EDF2F7; color: #718096; }
.ios-block-icon--elevated { background: rgba(0,125,105,0.10); color: var(--brand-blue); }
.ios-block-icon--active   { background: rgba(255,255,255,0.22); }
.ios-block-icon--success  { background: rgba(255,255,255,0.22); }

.ios-block-speed {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--brand-blue);
    background: rgba(0,125,105,0.1);
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}
.ios-block-name {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--text-secondary);
}
.ios-block-name--blue  { color: var(--brand-blue); }
.ios-block-name--white { color: #FFFFFF; }

.ios-block-sub {
    font-size: 0.58rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.ios-block-sub--light { color: rgba(255,255,255,0.7); }

.ios-block-badge {
    position: absolute;
    top: -10px;
    background: #DCFCE7;
    color: #15803D;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 10px;
    border: 1px solid #BBF7D0;
    white-space: nowrap;
}

/* Metrics bar */
.ios-metrics-bar {
    background: #0F172A;
    padding: 20px 24px 24px;
}
.ios-metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.ios-metrics-title {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}
.ios-metrics-active {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: #16A34A;
    color: #FFFFFF;
    padding: 3px 11px;
    border-radius: 20px;
}
.ios-metrics-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.ios-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ios-metric__val {
    font-size: 1.55rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1;
}
.ios-metric__lbl {
    font-size: 0.58rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .efs-inner, .ios-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .efs-section, .ios-section { padding: 80px 20px; }
    .efs-heading, .ios-heading { font-size: 2.1rem; }
    .ios-pipeline { grid-template-columns: repeat(2, 1fr); }

    /* Centre the visual card on tablet */
    .efs-visual, .ios-visual {
        display: flex;
        justify-content: center;
    }

    .efs-visual .hero-flow-card {
        max-width: 480px;
        width: 100%;
    }
}
@media (max-width: 700px) {
    .efs-section, .ios-section { padding: 60px 16px; }
    .efs-inner, .ios-inner { padding-left: 1rem; padding-right: 1rem; gap: 36px; }
    .efs-heading, .ios-heading { font-size: 1.85rem; }
    .efs-stats-pill { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 520px) {
    .efs-flow-diagram { flex-direction: column; gap: 12px; }
    .efs-arrow-wrap { transform: rotate(90deg); }
    .ios-pipeline { grid-template-columns: repeat(2, 1fr); }
    .efs-stats-pill { flex-direction: column; border-radius: 16px; }
    .efs-stat-sep { width: 80%; height: 1px; }
    .efs-heading, .ios-heading { font-size: 1.65rem; }
    .efs-section, .ios-section { padding: 48px 16px; }
    .ios-pipeline { gap: 8px; padding: 16px 12px; }
}

/* ─── Problems Section ───────────────────────────────────────── */
.problems-intro {
    position: relative;
    background:
        radial-gradient(circle, rgba(0, 100, 90, 0.05) 1.5px, transparent 1.5px),
        linear-gradient(180deg, #FFFFFF 0%, #F7F9FB 100%);
    background-size: 28px 28px, 100% 100%;
    padding: 140px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.problems-deco {
    position: absolute;
    right: -20px;
    top: 60px;
    width: 550px;
    height: auto;
    opacity: 0.40;
    pointer-events: none;
    z-index: 0;
}

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

.problems-container {
    max-width: 1200px;
    margin: 0 auto;
}

.problems-intro .section-header {
    max-width: 700px;
    margin: 0 auto 80px;
    text-align: center;
}

.problems-intro .section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.problems-intro .section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.problem-card {
    background: #EAF4F2;
    padding: 48px 32px;
    border-radius: 24px; /* Softer rounded corners */
    text-align: left; /* Modern Left Alignment */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border: none; /* No borders as requested */
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.problem-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 125, 105, 0.08); /* Using new brand color */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue); /* New darker teal */
}

.problem-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    min-height: calc(1.4rem * 1.6 * 2);
}

.problem-card p {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.problem-card--title {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 48px 32px 48px 0;
    justify-content: center;
}

.problem-card--title:hover {
    transform: none;
    box-shadow: none;
}

.problem-card--title h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.problem-card--title p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

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

    .problem-card--title {
        grid-column: 1 / -1;
        padding: 0 0 2rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .problems-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}


.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    background: rgba(0, 125, 105, 0.18);
    color: var(--brand-blue);
    border: 1px solid rgba(0, 125, 105, 0.15);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.badge-divider {
    color: rgba(0, 163, 141, 0.3);
    font-weight: 300;
}

.badge-logo {
    object-fit: contain;
    filter: brightness(0.5);
}

#return-logo {
    height: 30px;
}

#microsoft-logo {
    height: 40px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #000000, #1a202c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #000000;
    font-weight: 500;
    margin-bottom: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons,
.hero-cta-wrapper {
    margin-top: 48px;
    margin-bottom: 0;
}

.video-showcase-section {
    position: relative;
    overflow: hidden;
    padding: 96px 20px;
    background:
        radial-gradient(circle at top left, rgba(0, 194, 168, 0.12) 0%, transparent 32%),
        radial-gradient(circle at bottom right, rgba(0, 125, 105, 0.12) 0%, transparent 28%),
        linear-gradient(135deg, #f5fffc 0%, #ffffff 52%, #f3fbf9 100%);
}

.video-showcase-section--documents {
    padding-bottom: 0;
}

.video-showcase-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 125, 105, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 125, 105, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 100%);
    pointer-events: none;
}

.video-showcase-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}

.video-showcase-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.video-showcase-copy p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
}

.video-box {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 20%),
        linear-gradient(135deg, #0f172a 0%, #10272b 55%, #0b1419 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(6, 23, 28, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-box::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.video-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(0, 194, 168, 0.18) 0%, transparent 26%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 100%);
    pointer-events: none;
}

.video-box-play {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.video-box-play::before {
    content: '';
    margin-left: 6px;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #ffffff;
}

.content-highlights-section {
    background: #f5f5f5;
    padding: 64px 0 80px;
}

.content-highlights-section--documents {
    margin-top: 0;
    padding-top: 24px;
}

.content-highlights-inner {
    display: grid;
    gap: 36px;
    padding: 0 20px;
}

.content-highlights-intro {
    max-width: 900px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 auto;
    text-align: center;
}

.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.highlight-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.highlight-card:nth-child(even) {
    flex-direction: row-reverse;
}

.highlight-card__img {
    width: 48%;
    flex-shrink: 0;
    height: 300px;
    object-fit: contain;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    outline: none;
    padding: 0;
    margin-bottom: 0;
}

.highlight-card__text {
    flex: 1;
}

.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.75;
    max-width: none;
}

/* ── Dossier Three-Step Section ─────────────────────────────── */
.dossier-steps-section {
    background: #ffffff;
    padding: 6rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}

.dossier-steps-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dossier-steps-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.dossier-steps-eyebrow {
    font-size: 1.1rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.dossier-steps-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    max-width: 640px;
    margin: 0 auto;
}

.dossier-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dossier-step-card {
    border-radius: 28px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.56) 40%,
        rgba(224, 242, 254, 0.44) 70%,
        rgba(204, 251, 241, 0.36) 100%
    );
    backdrop-filter: blur(52px) saturate(220%) brightness(1.05);
    -webkit-backdrop-filter: blur(52px) saturate(220%) brightness(1.05);
    border: none;
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.98) inset,
        0 -1px 0 0 rgba(0, 0, 0, 0.03) inset,
        1px 0 0 0 rgba(255, 255, 255, 0.55) inset,
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 12px 32px rgba(0, 125, 105, 0.08),
        0 32px 72px rgba(0, 0, 0, 0.07),
        0 0 0 1px rgba(0, 125, 105, 0.06);
}

.dossier-step-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #007D69;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    opacity: 0.35;
}

.dossier-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.dossier-step-body {
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

.dossier-steps-closing {
    text-align: center;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 640px;
    margin: 3rem auto 0;
}

@media (max-width: 900px) {
    .dossier-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dossier-steps-section {
        padding: 4rem 0;
    }

    .dossier-steps-title {
        font-size: 2rem;
    }
}

/* ── AI Document Processing Section ─────────────────────────── */
.ai-section {
    background: url('../images/backgrounds/background-hero.png') center/cover no-repeat;
    padding: 6rem 0 6rem;
}

.ai-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Intro */
.ai-intro {
    max-width: 680px;
    margin: 0 auto 4rem;
    text-align: center;
}

.ai-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #007D69;
    margin-bottom: 0.75rem;
}

.ai-headline {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.ai-subtext {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.75;
}

/* Process Flow */
.ai-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    gap: 1rem;
    margin-bottom: 4rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    position: relative;
}

.ai-flow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.ai-flow-step {
    position: relative;
    z-index: 1;
}

.ai-flow-icon {
    position: relative;
    z-index: 2;
}

.ai-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.75rem;
}

.ai-flow-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #007D69;
    background: rgba(9,72,134,0.08);
    border-radius: 20px;
    padding: 2px 10px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.ai-flow-icon {
    width: 48px;
    height: 48px;
    background: #f0f6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007D69;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.ai-flow-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ai-flow-body {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.ai-flow-sub {
    font-size: 0.78rem;
    color: rgba(100, 116, 139, 0.75);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

.ai-flow-connector {
    display: none;
}

/* Feature Cards */
.ai-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ai-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ai-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(9,72,134,0.1);
    border-color: rgba(9,72,134,0.25);
}

.ai-card-icon {
    width: 44px;
    height: 44px;
    background: #f0f6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007D69;
    margin-bottom: 1rem;
}

.ai-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.ai-card-body {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .ai-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .ai-flow-line {
        display: none;
    }
}

@media (max-width: 640px) {
    .ai-section {
        padding: 4rem 0;
    }

    .ai-headline {
        font-size: 1.6rem;
    }

    .ai-flow {
        grid-template-columns: 1fr;
    }

    .ai-flow-line {
        display: none;
    }

    .ai-cards {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Mockup Component */
.dashboard-mockup {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.mockup-header {
    height: 50px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 16px;
}

.circles {
    display: flex;
    gap: 8px;
}

.circles i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
}

.mockup-search {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    width: 250px;
}

.mockup-body {
    display: flex;
    flex: 1;
}

.mockup-sidebar {
    width: 200px;
    border-right: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
}

.mockup-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.kpi-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.kpi-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.kpi-value {
    font-size: 2rem;
    font-weight: 600;
}

.mockup-chart {
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    position: relative;
    overflow: hidden;
}

.mockup-chart::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 120%;
    height: 70%;
    background: radial-gradient(ellipse at top, rgba(0, 194, 168, 0.15) 0%, transparent 70%);
}

/* Premium SaaS Divider */
.premium-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #E2E8F0 30%, var(--brand-blue) 50%, #E2E8F0 70%, transparent 100%);
    margin: 100px 0;
    position: relative;
    z-index: 10;
}

/* Features Section */
.features {
    padding: 100px 20px;
    width: 100%;
    /* Changed from max-width for full-width backgrounds */
    position: relative;
}



.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1200px;
    /* Re-apply constraint for centered content */
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid-5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    /* Re-apply constraint for centered content */
    margin: 0 auto;
}

.features-grid-5 .feature-card {
    flex: 1 1 calc(33.333% - 24px);
    min-width: 250px;
    max-width: 350px;
}

.flex-center-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.problem-text {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
}



/* Angled Divider Transition */


/* Light Section (Solution Base) */
.light-section {
    background-color: #ffffff;
    width: 100%;
    position: relative;
    padding: 80px 20px 120px;
    z-index: 5;
    overflow: hidden;
}

.zigzag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

.zigzag-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.zigzag-card h3 {
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 700;
}

.zigzag-card p {
    color: #475569;
    line-height: 1.6;
}

.zigzag-card--link {
    cursor: pointer;
}

.zigzag-card--cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.zigzag-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 125, 105, 0.15);
    border-color: rgba(0, 125, 105, 0.3);
}

.top-card {
    transform: translateY(0);
}

.bottom-card {
    transform: translateY(40px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive adjustment for zigzag */
@media (max-width: 1024px) {
    .zigzag-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .top-card,
    .bottom-card {
        transform: translateY(0);
    }

    .zigzag-card:nth-child(even) {
        transform: translateY(40px);
    }
}

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

    .zigzag-card:nth-child(even) {
        transform: translateY(0);
    }

    .bottom-card {
        transform: translateY(0);
    }
}

.feature-card {
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
    box-shadow: 0 10px 40px rgba(0, 194, 168, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 194, 168, 0.1);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 24px;
}

.feature-icon.mb-4 {
    margin-bottom: 20px;
}

.feature-icon--teal   { background: #E6F7F4; }
.feature-icon--purple { background: #F3E8FF; }
.feature-icon--blue   { background: #EFF6FF; }

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ─── 5-Card Glass Row Section ───────────────────────────────── */
.glass-row-section {
    width: 100%;
    background: var(--bg-base);
    padding: 80px 20px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.glass-row-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.glass-row-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: stretch;
}

.glass-row-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 28px 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 14px;
    min-height: 140px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.glass-row-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(0, 163, 141, 0.1);
    border-color: rgba(0, 163, 141, 0.2);
}

.glass-row-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 163, 141, 0.08);
    border: 1px solid rgba(0, 163, 141, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.glass-row-card:hover .glass-row-icon {
    background: rgba(0, 163, 141, 0.15);
}

.glass-row-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    margin: 0;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .glass-row-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: single column */
@media (max-width: 768px) {
    .glass-row-grid {
        grid-template-columns: 1fr;
    }

    .glass-row-card {
        min-height: auto;
        flex-direction: row;
        text-align: left;
        padding: 20px;
    }
}

/* Storytelling Section */
.storytelling-section {
    background: #ffffff;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

/* Masks the ship image in the top area where the divider wave sits */
.storytelling-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, #ffffff 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.storytelling-ship {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
    object-fit: cover;
    object-position: center bottom;
    user-select: none;
}


.storytelling-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.storytelling-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 16px;
}

.storytelling-heading {
    font-size: 2.6rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 28px;
}

.storytelling-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.storytelling-body p {
    font-size: 1.05rem;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.8;
}

.storytelling-cta {
    display: inline-block;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
}

.storytelling-visual img {
    width: 100%;
    height: 330px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .storytelling-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .storytelling-heading {
        font-size: 1.9rem;
    }

    .storytelling-section {
        padding: 80px 20px;
    }
}

/* Blog CTA Section */
.blog-cta-section {
    background: #f8fafc;
    padding: 100px 20px;
}

.blog-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-cta-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
}

.blog-cta-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-cta-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.blog-cta-subtitle {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    max-width: 480px;
}

.blog-cta-btn {
    display: inline-block;
    background-color: #00C2A8;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    align-self: flex-start;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-cta-btn:hover {
    background-color: #00a691;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-cta-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .blog-cta-image img {
        height: 240px;
    }

    .blog-cta-title {
        font-size: 1.8rem;
    }
}

/* CTA Friction Line */
.cta-friction {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 12px;
    letter-spacing: 0.01em;
}

.storytelling-text .cta-friction {
    color: #94a3b8;
}

/* Trust Bar Section */
.trust-bar-section {
    background: #101827;
    border-top: none;
    border-bottom: none;
    padding: 40px 20px;
}

.trust-bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-bar-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 40px;
}

.trust-logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.2s;
    filter: none;
}

.trust-logo-img--wide {
    height: 34px;
}

.trust-logo-img--no-bg {
    filter: invert(1) hue-rotate(180deg);
    mix-blend-mode: screen;
}

.trust-logo-img:hover {
    opacity: 1;
}

.trust-logo-divider {
    color: rgba(255,255,255,0.25);
    font-size: 1.2rem;
    padding: 0 2px;
}

/* Footer */

footer {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #101827;
    color: #ffffff;
    padding: 10px 20px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.footer-brand p {
    color: #ffffff;
    margin-top: -110px;
    margin-left: 90px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
}

.footer-links h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

.footer-links a,
.footer-links p {
    color: #ffffff;
}

.footer-links a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a:hover {
    color: var(--brand-blue);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .kpi-row {
        grid-template-columns: 1fr;
    }

    .mockup-sidebar {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .video-showcase-section {
        padding: 72px 20px;
    }

    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .video-showcase-copy {
        text-align: center;
    }

    .video-showcase-copy p {
        margin: 0 auto;
    }

    .video-box {
        border-radius: 22px;
    }

    .video-box-play {
        width: 72px;
        height: 72px;
    }

    .video-box-play::before {
        border-width: 11px 0 11px 18px;
    }

    .content-highlights-section {
        padding: 56px 0 72px;
    }

    .content-highlights-section--documents {
        padding-top: 20px;
    }

    .highlights-grid {
        gap: 3rem;
    }

    .highlight-card {
        flex-direction: column;
        text-align: center;
    }

    .highlight-card:nth-child(even) {
        flex-direction: column;
    }

    .highlight-card__img {
        width: 100%;
        max-width: 420px;
        height: 240px;
    }

    .highlight-card h3 {
        font-size: 1.3rem;
    }

    .content-highlights-intro {
        font-size: 1rem;
    }
}

/* ─── Dossier Management Page Styles ────────────────────────── */

.dossier-page {
    background: #ffffff;
}

.dossier-unified {
    padding: 260px 20px 120px;
    background:
        radial-gradient(circle at 50% -10%, rgba(0, 194, 168, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(248,250,252,0.92) 100%),
        url("../images/backgrounds/achtergrond dossier.png") center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dossier-hero-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 0;
}

.dossier-hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.4;
}

.dossier-hero-content p {
    font-size: 1.35rem;
    color: #475569;
    max-width: 550px;
    margin: 1.25rem auto 0;
    line-height: 1.6;
}

.dossier-container {
    max-width: 1200px; /* Reduced for a more balanced layout */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Reverted to proportional balance */
    gap: 60px; /* Symmetrical gap */
    align-items: center;
    width: 100%;
    padding: 0 40px;
}

/* Laptop Mockup Styles */
.mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mockup-bg-shape {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 194, 168, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.floating-laptop {
    width: 100%;
    max-width: 650px; /* Scaled down for a cleaner look */
    position: relative;
    z-index: 2;
    animation: floating 5s ease-in-out infinite;
}

.mockup-shadow {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 85%);
    filter: blur(8px);
    z-index: 1;
    animation: shadow-pulse 5s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

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

/* Centered Content Block Styles */
.dossier-content {
    background: linear-gradient(135deg, #E8FFFA 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    border-radius: 20px; /* Slightly tighter radius */
    padding: 40px; /* More compact padding */
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.04);
    text-align: center;
    max-width: 500px; /* Narrower for more focused text */
    width: 100%;
    border: 1px solid rgba(0, 194, 168, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dossier-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 194, 168, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dossier-content > * {
    position: relative;
    z-index: 1;
}

.dossier-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.dossier-content h2 {
    font-size: 2.2rem; /* Reduced typography scale */
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.dossier-content .main-text {
    font-size: 1.1rem; /* More standard body size */
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px; /* Tighter gap */
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(0, 194, 168, 0.08);
}

.benefit-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 194, 168, 0.1);
    color: var(--accent-teal);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-text {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem; /* Slightly smaller text */
}

/* ─── Dossier Pain Section (legacy) ────────────────────── */
.dossier-pain-section {
    background: #f8fafc;
    padding: 100px 20px;
}

/* ─── Pain V2 (redesigned) ──────────────────────────────── */
.pain-v2 {
    background: #f8fafc;
    padding: 120px 20px;
}

.pain-v2-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

/* Headline */
.pain-v2-headline {
    text-align: center;
}

.pain-v2-headline h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.pain-v2-headline p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Before / After split */
.pain-v2-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pain-v2-panel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.pain-v2-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.pain-v2-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 6px;
    z-index: 2;
}

.pain-v2-badge--red   { background: #dc2626; color: #fff; }
.pain-v2-badge--green { background: #007D69; color: #fff; }

.pain-v2-tags {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
}

.pain-v2-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.pain-v2-tag--red   { background: rgba(220,38,38,0.85); color: #fff; }
.pain-v2-tag--green { background: rgba(0,125,105,0.85); color: #fff; }

/* Problem cards */
.pain-v2-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pain-v2-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pain-v2-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.pain-v2-card-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007D69;
    margin-bottom: 16px;
}

.pain-v2-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.pain-v2-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Bridge + CTA */
.pain-v2-bridge {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.pain-v2-bridge > p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    max-width: 600px;
    line-height: 1.5;
}

.pain-v2-cta {
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,125,105,0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-v2-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,125,105,0.38);
}

/* Responsive */
@media (max-width: 768px) {
    .pain-v2-split,
    .pain-v2-cards {
        grid-template-columns: 1fr;
    }

    .pain-v2-img {
        height: 220px;
    }
}

.dossier-pain-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.dossier-pain-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.dossier-pain-visuals {
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.dossier-pain-inner > h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.dossier-pain-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
}

.dossier-pain-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dossier-pain-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.dossier-pain-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(9, 72, 134, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007D69;
}

.dossier-pain-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dossier-pain-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.dossier-pain-visuals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dossier-pain-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

.dossier-pain-img--offset {
    transform: translateX(20px);
}

@media (max-width: 768px) {
    .dossier-pain-section {
        padding: 64px 16px;
    }

    .dossier-pain-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dossier-pain-visuals {
        position: static;
    }

    .dossier-pain-img--offset {
        transform: none;
    }
}

/* ─── FAQ Section ───────────────────────────────────────── */
.faq-section {
    background: #f8fafc;
    padding: 100px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-inner {
    max-width: 560px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 56px;
}

.faq-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.faq-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
}

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

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 194, 168, 0.25);
}

.faq-item.open {
    border-color: rgba(0, 194, 168, 0.4);
    box-shadow: 0 4px 24px rgba(0, 194, 168, 0.08);
}

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

.faq-item.open .faq-question {
    color: var(--accent-teal);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-teal);
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.975rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 64px 16px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-item.open .faq-answer {
        padding: 0 18px 16px;
    }
}

/* ─── Dossier Video Section ──────────────────────────────── */

.dossier-video-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    background: transparent;
    overflow: hidden;
}

.dossier-video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('achtergrond dossier.png') center / cover no-repeat;
    transform: scaleY(-1);
    z-index: 0;
}

.dossier-video-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(248,250,252,0.84) 100%);
    z-index: 1;
}

/* ── Video lifted frame ── */
.dvs-frame-wrap {
    position: relative;
    margin-bottom: 48px;
}

/* Organic blob — extends beyond the video on all sides so only
   the edges bleed out from under the frame, creating depth */
.dvs-blob {
    position: absolute;
    inset: -28px -20px;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(0, 125, 105, 0.55) 0%,
        rgba(0, 125, 105, 0.32) 28%,
        rgba(0, 125, 105, 0.14) 52%,
        rgba(0, 125, 105, 0.04) 68%,
        transparent 82%);
    border-radius: 28px;
    filter: blur(14px);
    z-index: 0;
    pointer-events: none;
}

/* Concentric tech rings — match the video's border-radius,
   sit just outside the frame, very low opacity */
.dvs-frame-wrap::before {
    content: '';
    position: absolute;
    inset: -14px -10px;
    border: 1px solid rgba(0, 125, 105, 0.22);
    border-radius: 26px;
    z-index: 0;
    pointer-events: none;
    box-shadow:
        0 0 0 10px rgba(0, 125, 105, 0.09),
        0 0 0 22px rgba(0, 125, 105, 0.05),
        0 0 0 38px rgba(0, 125, 105, 0.025);
}

/* Video box sits on top of blob + rings */
.dvs-frame-wrap .dossier-video-box {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    box-shadow:
        0 0 0 1px rgba(0, 125, 105, 0.18),
        0 24px 64px rgba(0, 0, 0, 0.28),
        0 8px 24px rgba(0, 0, 0, 0.16);
}

.dvs-frame-wrap .dossier-video-box:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(0, 125, 105, 0.28),
        0 36px 88px rgba(0, 0, 0, 0.32),
        0 12px 32px rgba(0, 0, 0, 0.18);
}

.dossier-video-inner {
    position: relative;
    z-index: 3;
}

.dossier-video-inner {
    max-width: 900px;
    margin: 0 auto;
}

.dossier-video-inner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.dossier-video-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.dossier-video-box {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f2942 100%);
    border-radius: 6px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 48px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dossier-video-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.22), 0 12px 32px rgba(0, 0, 0, 0.12);
}

.dossier-video-play {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}

.dossier-video-box:hover .dossier-video-play {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.dossier-video-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dossier-video-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.dossier-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #007D69;
    color: #ffffff;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(9, 72, 134, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}

.dossier-video-btn:hover {
    background-color: #073d73;
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .dossier-video-section {
        padding: 64px 16px;
    }

    .dossier-video-desc {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .dossier-video-box {
        border-radius: 6px;
        margin-bottom: 32px;
    }

    .dossier-video-play {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 992px) {
    .dossier-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .benefit-item {
        justify-content: center;
    }

    .dossier-hero h1 {
        font-size: 3rem;
    }
}

/* ─── Mobile Navigation (hamburger) ─────────────────────────────── */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    border-radius: 6px;
    transition: background 0.2s;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.28s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links.nav-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    /* Reset the desktop translateX(-50%) centring — without this the menu
       slides off-screen 0.22 s after opening once the animation ends */
    transform: none !important;
    background: rgba(247, 250, 252, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 24px 28px;
    gap: 2px;
    z-index: 1050;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    animation: mobileNavIn 0.22s ease;
}

@keyframes mobileNavIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.nav-links.nav-open .nav-link {
    font-size: 1.05rem;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    display: block;
}

.nav-links.nav-open .nav-item-dropdown {
    display: block;
    width: 100%;
}

.nav-links.nav-open .nav-item-dropdown .dropdown-content {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 4px 0 4px 16px;
    margin-top: 0;
    display: none;
}

.nav-links.nav-open .nav-item-dropdown.active .dropdown-content {
    display: flex;
}

/* ─── Tablet (max 1024px) ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .dashboard-mockup {
        max-width: 760px;
    }

    .storytelling-inner {
        gap: 50px;
    }

    .storytelling-heading {
        font-size: 2.1rem;
    }

    .dossier-unified {
        padding: 180px 20px 80px;
    }

    .dossier-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 24px;
        gap: 60px;
    }

    .dossier-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .dossier-hero-content {
        margin-bottom: 60px;
    }

    .blog-cta-inner {
        gap: 40px;
    }

    .trust-logos {
        gap: 10px;
    }
}

/* ─── Mobile (max 768px) ─────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Nav container: logo left, actions right */
    .nav-container {
        max-width: 100%;
        padding: 0 16px;
        justify-content: space-between;
        gap: 8px;
    }

    /* Nav links: hidden on mobile, hamburger handles navigation */
    .nav-links {
        display: none;
        position: static;
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Logo: reset desktop offset, always left-aligned and visible */
    .navbar .logo {
        position: static;
        left: 0;
        margin-right: 0;
        margin-left: -40px;
        margin-top: 20px;
        flex-shrink: 0;
        order: 0;
    }

    .navbar .logo-img {
        height: 200px;
        width: auto;
        max-width: 400px;
        margin-top: 0;
        mix-blend-mode: normal;
        display: block;
    }

    /* Nav actions: reset desktop offset, sit on the right */
    .nav-actions {
        position: static;
        left: 0;
        flex-shrink: 0;
        gap: 8px;
        order: 1;
    }

    /* CTA: compact so it doesn't push logo out */
    .nav-actions .btn-primary {
        display: inline-flex;
        font-size: 0.7rem;
        padding: 6px 10px;
        white-space: nowrap;
        border-radius: 8px;
    }

    /* Hero */
    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: -0.02em;
    }

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

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .dashboard-mockup {
        max-width: 100%;
    }

    /* Problems */
    .problems-intro {
        padding: 80px 20px;
    }

    .problems-intro .section-header {
        margin-bottom: 48px;
    }

    .problems-intro .section-header h2 {
        font-size: 2rem;
    }

    .problems-deco {
        display: none;
    }

    /* Platform / Light section */
    .light-section {
        padding: 60px 16px 80px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features {
        padding: 60px 16px;
    }

    /* Dossier page */
    .dossier-unified {
        padding: 120px 20px 64px;
    }

    .dossier-hero-content {
        margin-bottom: 60px;
    }

    .dossier-hero-content h1 {
        font-size: 2.6rem;
    }

    .dossier-hero-content p {
        font-size: 1.05rem;
    }

    .dossier-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
        text-align: center;
        gap: 48px;
    }

    .dossier-content {
        max-width: 100%;
    }

    .dossier-content h2 {
        font-size: 1.7rem;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer {
        padding: 32px 20px 32px;
    }

    /* Trust bar */
    .trust-bar-section {
        padding: 28px 16px;
    }

    /* Subpage hero */
    .hero[style] h1 {
        font-size: 2.2rem;
    }
}

/* ─── Small mobile (max 480px) ───────────────────────────────────── */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .dossier-hero-content h1 {
        font-size: 2rem;
    }

    .storytelling-heading {
        font-size: 1.75rem;
    }

    .blog-cta-title {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .problems-intro .section-header h2 {
        font-size: 1.75rem;
    }

    .trust-logo-item {
        font-size: 0.78rem;
        padding: 5px 10px;
    }

    .btn-large {
        padding: 12px 22px;
        font-size: 1rem;
    }

    .problems-intro {
        padding: 60px 16px;
    }

    .badge {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .zigzag-card {
        padding: 28px 20px;
    }

    .highlight-card__img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE FIXES
   Additional rules for phone responsiveness (768px and 480px)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Tablet fixes (768px) ────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Hero CTA stacks vertically */
    .hero-cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Highlights: zigzag stacks at tablet */
    .highlights-grid {
        gap: 2.5rem;
    }

    .highlight-card {
        flex-direction: column;
        text-align: center;
    }

    .highlight-card:nth-child(even) {
        flex-direction: column;
    }

    .highlight-card__img {
        width: 100%;
        height: 160px;
    }

    /* Content highlights padding */
    .content-highlights-section {
        padding: 48px 20px 60px;
    }

    .content-highlights-inner {
        padding: 0;
    }

    /* Dossier pain section */
    .dossier-pain-section {
        padding: 60px 20px;
    }

    .dossier-pain-img {
        height: 200px;
    }

    /* Dossier stat bar */
    .dossier-stat-bar {
        padding: 1.5rem 0 !important;
    }

    .dossier-stat-bar-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 1.5rem !important;
        gap: 1.25rem !important;
    }

    /* Glass row: stack to 1 column at mobile */
    .glass-row-grid {
        grid-template-columns: 1fr !important;
    }

    .glass-row-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        min-height: unset;
        padding: 18px 20px;
        gap: 16px;
    }

    .glass-row-text {
        text-align: left;
    }

    /* Video showcase stacks */
    .video-showcase-section {
        padding: 60px 20px;
    }

    /* Footer content gap */
    .footer-content {
        gap: 40px;
    }
}

/* ─── Phone fixes (480px) ─────────────────────────────────────────── */
@media (max-width: 480px) {

    /* Hero */
    .hero {
        padding: 100px 16px 48px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero[style] h1 {
        font-size: 1.9rem;
    }

    .hero-cta-wrapper .btn-large {
        width: 100%;
        justify-content: center;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.6rem;
    }

    /* Problems */
    .problem-card {
        padding: 28px 20px;
    }

    .problem-card h3 {
        font-size: 1.15rem;
    }

    /* Glass row */
    .glass-row-section {
        padding: 48px 16px;
    }

    .glass-row-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 12px;
    }

    .glass-row-text {
        text-align: center;
    }

    /* Storytelling */
    .storytelling-section {
        padding: 48px 16px;
    }

    .storytelling-body p {
        font-size: 0.95rem;
    }

    /* Blog CTA */
    .blog-cta-section {
        padding: 48px 16px;
    }

    .blog-cta-image img {
        height: 200px;
    }

    .blog-cta-subtitle {
        font-size: 0.95rem;
    }

    /* Trust bar — hide dividers, they waste space */
    .trust-logo-divider {
        display: none;
    }

    .trust-bar-section {
        padding: 20px 16px;
    }

    /* Video showcase */
    .video-showcase-section {
        padding: 48px 16px;
    }

    .video-box-play {
        width: 64px;
        height: 64px;
    }

    .video-box-play::before {
        border-width: 10px 0 10px 17px;
        margin-left: 4px;
    }

    /* Highlights: single column on phone */
    .highlights-grid {
        gap: 2rem;
    }

    .highlight-card__img {
        height: 180px;
    }

    .content-highlights-section {
        padding: 40px 16px 52px;
    }

    .content-highlights-intro {
        font-size: 0.95rem;
    }

    /* FAQ */
    .faq-section {
        padding: 48px 16px;
    }

    .faq-header {
        margin-bottom: 28px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.open .faq-answer {
        padding: 0 16px 14px;
    }

    /* Footer */
    footer {
        padding: 28px 16px 28px;
    }

    .footer-content {
        gap: 24px;
    }

    /* Dossier stat bar: 2×2 grid on phone */
    .dossier-stat-bar {
        padding: 1.25rem 0 !important;
    }

    .dossier-stat-bar-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 1rem !important;
        gap: 1rem !important;
    }

    .dossier-stat-bar-grid > div > div:first-child {
        font-size: 1.6rem !important;
    }

    /* Dossier pain section */
    .dossier-pain-section {
        padding: 40px 16px;
    }

    .dossier-pain-item {
        gap: 12px;
    }

    .dossier-pain-img {
        height: auto;
        max-height: 220px;
        width: 100%;
    }

    .dossier-pain-inner > h2 {
        font-size: 1.6rem; /* mobile only */
    }

    /* Dossier video section */
    .dossier-video-section {
        padding: 48px 16px;
    }

    /* Light section */
    .light-section {
        padding: 48px 16px 60px;
    }

    /* Features section */
    .features {
        padding: 48px 16px;
    }
}

/* ── Comparison Table ─────────────────────────────────────── */
.comparison-section {
    padding: 5.5rem 0 6.5rem;
    background: none;
    position: relative;
    overflow: hidden;
}

.comparison-section::after,
.comparison-section::before {
    display: none;
}

.comparison-inner {
    max-width: 860px;
    position: relative;
    z-index: 1;
}

.comparison-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.comparison-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.comparison-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.comparison-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(0, 125, 105, 0.22),
        0 0 0 11px rgba(0, 125, 105, 0.09),
        0 0 0 23px rgba(0, 125, 105, 0.05),
        0 0 0 39px rgba(0, 125, 105, 0.025),
        0 0 40px 20px rgba(0, 125, 105, 0.12),
        0 8px 24px rgba(0,0,0,0.07),
        0 20px 56px rgba(0,0,0,0.07);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table thead tr {
    background: #0f172a;
}

.comparison-table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.comparison-table thead th:nth-child(2),
.comparison-table thead th:nth-child(3) {
    color: #94a3b8;
}

/* 2-col variant: Portofx is 3rd th */
.comparison-table thead th:nth-child(3):last-child {
    color: #4DA3FF;
}

/* 3-col variant: Portofx is 4th th */
.comparison-table--3col thead th:nth-child(4) {
    color: #4DA3FF;
}

.comparison-table--3col thead th:nth-child(3) {
    color: rgba(255,255,255,0.5);
}

.comparison-table--3col .comparison-row-topic {
    width: 22%;
}

.comparison-col-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.comparison-col-label.old {
    color: rgba(255,255,255,0.45);
}

.comparison-col-label.new {
    color: #4DA3FF;
}

/* ── Portofx column pillar ──────────────────────────────────
   Creates a soft enclosed column that visually separates
   Portofx from the weaker alternatives.
   ────────────────────────────────────────────────────────── */

/* Header cell: solid brand top-border + slight mint tint */
.comparison-table--3col thead th:nth-child(4) {
    border-top: 3px solid #007D69;
    background: rgba(0, 125, 105, 0.09);
}

/* Body cells: mint wash + inset side rules to frame the column */
.comparison-table--3col .comparison-cell.new {
    background: rgba(0, 125, 105, 0.038);
    box-shadow:
        inset  1px 0 0 rgba(0, 125, 105, 0.14),
        inset -1px 0 0 rgba(0, 125, 105, 0.14);
}

/* Close the pillar on the last row with a bottom rule */
.comparison-table--3col tbody tr:last-child .comparison-cell.new {
    box-shadow:
        inset  1px 0 0 rgba(0, 125, 105, 0.14),
        inset -1px 0 0 rgba(0, 125, 105, 0.14),
        inset  0 -1px 0 rgba(0, 125, 105, 0.14);
}

/* Row hover: deepen the tint slightly */
.comparison-table--3col tbody tr:hover .comparison-cell.new {
    background: rgba(0, 125, 105, 0.07);
}

.comparison-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

.comparison-row-topic {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    width: 30%;
}

.comparison-cell {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #1e293b;
    line-height: 1.5;
    vertical-align: middle;
}

.comparison-cell.old {
    color: #334155;
}

.comparison-cell.new {
    color: #007D69;
    font-weight: 500;
}

@media (max-width: 768px) {
    .comparison-title {
        font-size: 1.75rem;
    }

    /* Stack the 3-col table per row on mobile */
    .comparison-table--3col thead {
        display: none;
    }

    .comparison-table--3col,
    .comparison-table--3col tbody,
    .comparison-table--3col tr,
    .comparison-table--3col td {
        display: block;
        width: 100%;
    }

    .comparison-table--3col tbody tr {
        border-bottom: none;
        padding: 1rem 0;
        border-top: 1px solid #e2e8f0;
    }

    .comparison-table--3col tbody tr:first-child {
        border-top: none;
    }

    .comparison-table--3col .comparison-row-topic {
        width: 100%;
        padding: 0.75rem 1rem 0.5rem;
        font-size: 0.95rem;
        background: #f8fafc;
        border-radius: 8px 8px 0 0;
    }

    .comparison-table--3col .comparison-cell {
        padding: 0.5rem 1rem 0.5rem 1rem;
        font-size: 0.85rem;
        position: relative;
        padding-left: 1rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .comparison-table--3col .comparison-cell:last-child {
        border-bottom: none;
        border-radius: 0 0 8px 8px;
    }

    .comparison-table--3col .comparison-cell::before {
        content: attr(data-col);
        display: block;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #94a3b8;
        margin-bottom: 0.2rem;
    }

    .comparison-table--3col .comparison-cell.new::before {
        color: #4DA3FF;
    }
}

@media (max-width: 640px) {
    .comparison-row-topic,
    .comparison-cell {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* ── Integrations Section ─────────────────────────────────── */
.integrations-section {
    padding: 4rem 0 5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.integrations-inner {
    max-width: 900px;
    text-align: center;
}

.integrations-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.integrations-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 2rem;
}

.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.integration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.integration-badge:hover {
    border-color: rgba(9,72,134,0.3);
    box-shadow: 0 4px 12px rgba(9,72,134,0.1);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .integrations-section {
        padding: 3rem 0 4rem;
    }

    .integrations-title {
        font-size: 1.25rem;
    }

    .integration-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }
}


/* ════════════════════════════════════════════════════════════
   Demo Request Form — contact.html
   ════════════════════════════════════════════════════════════ */

.demo-body {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

@keyframes liquidDrift1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(60px, 80px) scale(1.1); }
}

@keyframes liquidDrift2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-50px, -60px) scale(1.08); }
}

.demo-page {
    min-height: calc(100vh - 72px);
    padding: 5rem 1.5rem 6rem;
    padding-top: calc(5rem + 100px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.demo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1060px;
    width: 100%;
    align-items: stretch;
}

/* ── Apple Liquid Glass — Left info panel ─────────────────── */
.demo-info {
    position: relative;
    padding: 2.75rem 2.25rem;
    border-radius: 28px;
    overflow: hidden;

    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.56) 40%,
        rgba(224, 242, 254, 0.44) 70%,
        rgba(204, 251, 241, 0.36) 100%
    );
    backdrop-filter: blur(52px) saturate(220%) brightness(1.05);
    -webkit-backdrop-filter: blur(52px) saturate(220%) brightness(1.05);

    border: none;

    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.98) inset,
        0 -1px 0 0 rgba(0, 0, 0, 0.03) inset,
        1px 0 0 0 rgba(255, 255, 255, 0.55) inset,
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 12px 32px rgba(0, 125, 105, 0.08),
        0 32px 72px rgba(0, 0, 0, 0.07);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Top-left specular highlight — the Apple signature shine */
.demo-info::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.60) 0%,
        rgba(255, 255, 255, 0.18) 35%,
        transparent 60%
    );
    z-index: 0;
    pointer-events: none;
}

/* Subtle green ambient tint at the bottom */
.demo-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(
        to top,
        rgba(0, 125, 105, 0.05) 0%,
        transparent 100%
    );
    border-radius: 0 0 28px 28px;
    z-index: 0;
    pointer-events: none;
}

.demo-info > * {
    position: relative;
    z-index: 1;
}

.demo-info-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #3b9eff;
    background: rgba(77, 163, 255, 0.10);
    border: 1px solid rgba(77, 163, 255, 0.22);
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.demo-info-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #0a1628;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.demo-info-lead {
    font-size: 0.975rem;
    color: rgba(51, 65, 85, 0.85);
    line-height: 1.75;
    margin: 0 0 2rem;
}

/* Glass pill trust items */
.demo-trust-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.demo-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: 14px;
    padding: 0.65rem 0.9rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 2px 6px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.2s, box-shadow 0.2s;
}

.demo-trust-list li:hover {
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 4px 12px rgba(0, 0, 0, 0.06);
}

.demo-trust-list li svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(0, 194, 168, 0.35));
}

/* Divider + contact block */
.demo-info-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    padding-top: 1.5rem;
}

.demo-info-contact-label {
    font-size: 0.82rem;
    color: rgba(100, 116, 139, 0.85);
    margin: 0 0 0.3rem;
    letter-spacing: 0.01em;
}

.demo-info-email {
    font-size: 1rem;
    font-weight: 700;
    color: #007D69;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.demo-info-email:hover {
    color: #005a4d;
    text-decoration: underline;
}

/* Form card */
.demo-form-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(9,72,134,0.09), 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Step indicator */
.demo-progress {
    background: #fafbfc;
    border-bottom: 1px solid #f1f5f9;
}

.demo-stepper {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem 1.35rem;
}

.demo-stepper-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.demo-stepper-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: transparent;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.demo-stepper-step.active .demo-stepper-circle {
    background: #007d69;
    border-color: #007d69;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,125,105,0.3);
}

.demo-stepper-step.done .demo-stepper-circle {
    background: #007d69;
    border-color: #007d69;
    color: #ffffff;
}

.demo-stepper-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.demo-stepper-label {
    font-size: 0.83rem;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    transition: color 0.2s;
}

.demo-stepper-step.active .demo-stepper-label {
    color: #0f172a;
    font-weight: 700;
}

.demo-stepper-step.done .demo-stepper-label {
    color: #007d69;
}

.demo-stepper-hint {
    font-size: 0.71rem;
    color: #cbd5e1;
    transition: color 0.2s;
}

.demo-stepper-step.active .demo-stepper-hint {
    color: #94a3b8;
}

.demo-stepper-bar {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 1rem;
    overflow: hidden;
    border-radius: 100px;
}

.demo-stepper-bar-fill {
    height: 100%;
    background: #007d69;
    border-radius: 100px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step body */
.demo-step {
    padding: 2rem 2rem 2.25rem;
}

.demo-step-header {
    margin-bottom: 1.75rem;
}

.demo-step-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.demo-step-header p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Fields */
.demo-fields {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.demo-field--group-start {
    margin-top: 0.6rem;
}

.demo-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.demo-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
}

.demo-required {
    color: #ef4444;
    font-weight: 700;
}

.demo-optional {
    font-size: 0.8rem;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 0.25rem;
}

.demo-input,
.demo-select,
.demo-textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.demo-input::placeholder,
.demo-textarea::placeholder {
    color: #cbd5e1;
}

.demo-input:focus,
.demo-select:focus,
.demo-textarea:focus {
    border-color: #007D69;
    box-shadow: 0 0 0 3px rgba(9,72,134,0.1);
}

.demo-input.error,
.demo-select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.demo-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.55;
}

.demo-select-wrap {
    position: relative;
}

.demo-select-wrap .demo-select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.demo-select-chevron {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

/* Error messages */
.demo-error {
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 500;
    min-height: 1rem;
    display: none;
}

.demo-error.visible {
    display: block;
}

/* Checkboxes */
.demo-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.demo-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    line-height: 1.4;
    -webkit-user-select: none;
    user-select: none;
}

.demo-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.demo-checkbox-box {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: border-color 0.15s, background 0.15s;
}

.demo-checkbox-item input[type="checkbox"]:checked ~ .demo-checkbox-box {
    background: #007D69;
    border-color: #007D69;
}

.demo-checkbox-item input[type="checkbox"]:checked ~ .demo-checkbox-box::after {
    content: '';
    display: block;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}

.demo-checkbox-item--consent {
    align-items: flex-start;
}

/* Radios */
.demo-radios {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.demo-radio-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.demo-radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.demo-radio-dot {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
}

.demo-radio-item input[type="radio"]:checked ~ .demo-radio-dot {
    border-color: #007D69;
}

.demo-radio-item input[type="radio"]:checked ~ .demo-radio-dot::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #007D69;
}

/* Consent fields */
.demo-field--consent {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

/* Button rows */
.demo-btn-row {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.demo-btn-row--split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.demo-btn-full {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.demo-btn-back {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.15s;
    white-space: nowrap;
}

.demo-btn-back:hover {
    color: #0f172a;
}

.demo-friction {
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    margin: 0;
}

/* Ensure hidden attribute is respected even when display is set */
.demo-success-state[hidden],
.demo-error-state[hidden],
.demo-step[hidden] {
    display: none !important;
}

/* Success state */
.demo-success-state {
    padding: 3.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.demo-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007D69, #4DA3FF);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(9,72,134,0.25);
    margin-bottom: 0.5rem;
}

.demo-success-state h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.demo-success-state p {
    font-size: 0.95rem;
    color: #475569;
    max-width: 380px;
    line-height: 1.65;
    margin: 0;
}

.demo-success-state .btn {
    margin-top: 0.5rem;
}

/* Error state */
.demo-error-state {
    padding: 3.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.demo-error-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e53e3e, #fc8181);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(229,62,62,0.25);
    margin-bottom: 0.5rem;
}

.demo-error-state h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.demo-error-state p {
    font-size: 0.95rem;
    color: #475569;
    max-width: 380px;
    line-height: 1.65;
    margin: 0;
}

.demo-error-state a {
    color: #007D69;
}

.demo-error-state .btn {
    margin-top: 0.5rem;
}

/* Responsive */
/* Social proof block */
.demo-social-proof {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e2e8f0;
}

.demo-social-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 0.85rem;
}

.demo-quote {
    margin: 0;
    padding: 0.9rem 1rem 0.9rem 1.1rem;
    border-left: 3px solid #007d69;
    background: rgba(0,125,105,0.04);
    border-radius: 0 8px 8px 0;
}

.demo-quote p {
    font-style: italic;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
    margin: 0 0 0.4rem;
}

.demo-quote cite {
    font-style: normal;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

/* What to expect block */
.demo-expectations {
    margin-top: 1.75rem;
}

.demo-expectations-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 0.85rem;
}

.demo-trust-list--expect {
    margin-bottom: 0;
}

.demo-trust-list--expect li {
    font-size: 0.875rem;
    color: #334155;
    font-weight: 400;
}

/* Mobile — condensed left column */
@media (max-width: 767px) {
    .demo-hide-mobile {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .demo-info-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 860px) {
    .demo-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .demo-info {
        position: static;
        width: 100%;
        max-width: 100%;
    }

    .demo-info-title {
        font-size: 2.4rem;
    }

    .demo-page {
        padding: 80px 1.25rem 4rem;
        overflow: hidden;
    }
}

@media (max-width: 540px) {
    .demo-step {
        padding: 1.5rem 1.25rem 1.75rem;
    }

    .demo-stepper {
        padding: 1.25rem 1.25rem 1.1rem;
    }

    .demo-checkboxes {
        grid-template-columns: 1fr;
    }

    .demo-stepper-meta {
        display: none;
    }

    .demo-btn-row--split {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .demo-btn-row--split .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════
   Section Dividers — index.html
   ════════════════════════════════════════════════════════════ */

/* Global wrapper rules */
.section-divider {
    display: block;
    line-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* 1. Hero → Knelpunten
   Wrapper is transparent so the hero image/gradient bleeds into the divider area.
   SVG polygon fills the problems section white (#ffffff) as a diagonal wedge. */
.divider-hero-to-problems {
    background: transparent;
    margin-top: -1px; /* prevent 1px gap between hero and divider */
}

/* 2. Knelpunten → Comparison
   Wrapper = bottom color of problems gradient (#f7f9fb).
   SVG fills the comparison section color (#f8fafc) as a reverse diagonal. */
.divider-problems-to-comparison {
    background: #f7f9fb;
}

/* 3. Comparison → Solution — padding-top only, no SVG */
.light-section {
    padding-top: 80px;
}

/* 4. Solution Grid → Trust Bar — hard flush edge */
.light-section {
    margin-bottom: 0;
}
.trust-bar-section {
    margin-top: 0;
}

/* 5. Trust Bar → Storytelling
   Wrapper = trust bar dark color (#101827).
   Wave SVG fills storytelling white (#ffffff). */
.divider-trust-to-storytelling {
    background: #101827;
}

/* 6. Storytelling → AI Flow — fade-in via ::before */
.ai-section {
    position: relative;
}

.ai-section::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, #ffffff, transparent);
    z-index: 2;
    pointer-events: none;
}

/* 7. AI Flow → Blog CTA — fade-out via ::after */
.ai-section::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #f8fafc, transparent);
    z-index: 2;
    pointer-events: none;
}

/* 8. Blog CTA → FAQ — centered brand rule */
.divider-blog-to-faq {
    background: #f8fafc;
    padding: 60px 0;
    text-align: center;
}

.section-rule {
    display: block;
    width: 60px;
    height: 2px;
    background: #007d69;
    border: none;
    margin: 0 auto;
}

/* Remove FAQ border-top — the rule divider replaces it */
.faq-section {
    border-top: none;
}


/* ════════════════════════════════════════════════════════════
   Operationele Zichtbaarheid — dossier.html
   ════════════════════════════════════════════════════════════ */

.dos-viz-section {
    background: #f4f6f9;
    padding: 5rem 0;
}

.dos-viz-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    align-items: center;
}

/* Left column */
.dos-viz-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #007D69;
    margin: 0 0 1rem;
}

.dos-viz-heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.5rem;
}

.dos-viz-heading-dark {
    color: #0f172a;
}

.dos-viz-heading-blue {
    color: #007D69;
}

.dos-viz-body {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 2rem;
}

/* 2x2 feature cards */
.dos-viz-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.dos-viz-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dos-viz-card:hover {
    border-color: #007D69;
    box-shadow: 0 2px 12px rgba(0,120,212,0.12);
}

.dos-viz-card-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(0,120,212,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007D69;
}

.dos-viz-card-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

/* Right column — browser mockup */
.dos-viz-visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dos-viz-browser {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.07);
    overflow: hidden;
}

.dos-viz-browser-bar {
    background: #e8eaed;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dos-viz-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dos-viz-browser-body {
    line-height: 0;
}

.dos-viz-screenshot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Browser-variant of the lifted frame — tighter inset, radius matches .dos-viz-browser */
.dvs-frame-wrap--browser {
    width: 100%;
    margin-bottom: 0;
}

.dvs-frame-wrap--browser .dvs-blob {
    inset: -24px -18px;
    border-radius: 22px;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(100, 116, 139, 0.32) 0%,
        rgba(100, 116, 139, 0.16) 32%,
        rgba(100, 116, 139, 0.06) 56%,
        transparent 78%);
}

.dvs-frame-wrap--browser::before {
    inset: -12px -9px;
    border-radius: 20px;
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow:
        0 0 0 10px rgba(0, 0, 0, 0.04),
        0 0 0 22px rgba(0, 0, 0, 0.025),
        0 0 0 38px rgba(0, 0, 0, 0.012);
}

.dvs-frame-wrap--browser .dos-viz-browser,
.dvs-frame-wrap--browser .doc-mgmt-browser {
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.12),
        0 20px 56px rgba(0, 0, 0, 0.22),
        0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Mobile — stack, screenshot on top */
@media (max-width: 900px) {
    .dos-viz-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dos-viz-visual {
        order: -1;
    }

    .dos-viz-heading {
        font-size: 2rem;
    }
}

/* ── Document Management & Compliance ────────────────────── */
.doc-mgmt-section {
    background: #ffffff;
    padding: 5rem 0;
}

.doc-mgmt-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* ── Browser shell ── */
.doc-mgmt-browser {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.06);
    overflow: visible;
    border: 1px solid #e2e8f0;
}

.doc-mgmt-browser-bar {
    background: #e8eaed;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 14px 14px 0 0;
}

/* ── File manager UI ── */
.doc-mgmt-ui {
    background: #f9fafb;
    padding: 0.9rem;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}

.doc-mgmt-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    margin-bottom: 0.65rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

.doc-mgmt-toolbar {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.doc-mgmt-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.28rem 0.5rem;
    line-height: 1;
    font-family: inherit;
}

.doc-mgmt-toolbar-btn--delete {
    color: #dc2626;
}

/* ── File grid ── */
.doc-mgmt-files {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.doc-mgmt-file {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.45rem 0.4rem 0.5rem;
    text-align: center;
}

.doc-mgmt-file--selected {
    background: rgba(0,125,105,0.07);
    border-color: rgba(0,125,105,0.35);
}

.doc-mgmt-file-icon {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
}

/* Folded corner */
.doc-mgmt-file-icon::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent rgba(255,255,255,0.35) transparent transparent;
}

.doc-mgmt-file-icon--pdf  { background: #e02020; }
.doc-mgmt-file-icon--ppt  { background: #c43e1c; }
.doc-mgmt-file-icon--docx { background: #1e56d9; }
.doc-mgmt-file-icon--jpeg { background: #64748b; }
.doc-mgmt-file-icon--xlsx { background: #17803d; }

.doc-mgmt-file-name {
    font-size: 0.6rem;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    line-height: 1.3;
}

.doc-mgmt-file-size {
    font-size: 0.57rem;
    color: #94a3b8;
    line-height: 1;
}

/* ── Context menu ── */
.doc-mgmt-context-menu {
    position: absolute;
    bottom: -6px;
    right: -10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
    padding: 0.3rem 0;
    min-width: 118px;
    z-index: 10;
}

.doc-mgmt-context-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0.32rem 0.7rem;
    font-size: 0.7rem;
    color: #374151;
    line-height: 1.4;
}

.doc-mgmt-context-item--delete { color: #dc2626; }

/* ── SharePoint row ── */
.doc-mgmt-sharepoint-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.doc-mgmt-sharepoint-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
}

/* ── Toggle switch (off state) ── */
.doc-mgmt-toggle {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 19px;
    flex-shrink: 0;
}

.doc-mgmt-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.doc-mgmt-toggle-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 19px;
}

.doc-mgmt-toggle-slider::before {
    content: '';
    position: absolute;
    width: 13px;
    height: 13px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ── Right column copy ── */
.doc-mgmt-copy {
    padding: 1rem 0;
}

.doc-mgmt-h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.25rem;
}

.doc-mgmt-h2-dark { color: #0f172a; }
.doc-mgmt-h2-blue { color: #007D69; }

.doc-mgmt-body {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 1.75rem;
}

/* ── Feature highlight card ── */
.doc-mgmt-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(0,125,105,0.06);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(0,125,105,0.2);
}

.doc-mgmt-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(0,125,105,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007D69;
}

.doc-mgmt-card-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.doc-mgmt-card-desc {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .doc-mgmt-section {
        overflow: hidden;
    }

    .doc-mgmt-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }

    .doc-mgmt-visual {
        order: -1;
        /* Contain decorative bleed within the visual column */
        overflow: hidden;
        padding: 20px 4px;
        margin: 0 -4px;
    }

    /* Suppress the heavy decorative rings on mobile —
       they bleed 50px+ beyond the element and clip copy text */
    .dvs-frame-wrap--browser::before {
        display: none;
    }

    .dvs-frame-wrap--browser .dvs-blob {
        inset: -12px -8px;
        filter: blur(8px);
    }

    .doc-mgmt-h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .doc-mgmt-section {
        padding: 3.5rem 0;
    }

    .doc-mgmt-inner {
        padding: 0 1.25rem;
        gap: 2rem;
    }

    .doc-mgmt-h2 {
        font-size: 1.75rem;
    }

    .doc-mgmt-body {
        font-size: 0.95rem;
    }

    .doc-mgmt-copy {
        padding: 0;
    }

    /* Scale down the file manager UI slightly on small phones */
    .doc-mgmt-ui {
        padding: 0.65rem;
    }

    .doc-mgmt-files {
        gap: 0.25rem;
    }

    .doc-mgmt-file-name,
    .doc-mgmt-file-size {
        display: none;
    }

    .doc-mgmt-toolbar {
        flex-wrap: wrap;
    }
}

/* ── Solution section header ── */
.section-header.dark-text {
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header.dark-text h2 {
    color: #0f172a;
    margin-bottom: 20px;
}

.section-header.dark-text p {
    color: #475569;
    font-size: 1.15rem;
}

/* 9. FAQ → Footer — hard edge, no divider (footer already margin-top: auto) */

/* ════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — FINAL PASS
   Fills gaps left by earlier breakpoints
   ════════════════════════════════════════════════════════════ */

/* ─── Footer logo: separate, smaller size ────────────────── */
.footer-brand {
    margin-top: 0;
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand .logo {
    margin-top: 0;
    margin-left: 250px;
    padding-top: 0;
    align-self: flex-start;
}

.footer-brand .logo-img {
    height: 280px;
    margin-top: -80px;
    margin-bottom: 0;
    mix-blend-mode: normal;
}

/* ─── Navbar logo on mobile ──────────────────────────────── */
@media (max-width: 768px) {
    .logo-img {
        height: 120px;
    }

    .footer-brand .logo {
        position: static;
        left: 0;
        margin-left: 0;
    }

    .footer-brand .logo-img {
        mix-blend-mode: normal;
    }

    /* Hero CTA wrapper: stack buttons, full width */
    .hero-cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-cta-wrapper .btn {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
    }

    /* Dossier page hero: override inline styles */
    .dossier-page .homepage-hero {
        min-height: unset !important;
        padding-top: 90px !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    .dossier-page .hero h1 {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .dossier-page .hero p {
        font-size: 0.95rem;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Dossier stat bar: remove negative top margin on mobile */
    .dossier-stat-bar {
        margin-top: 0 !important;
    }

    /* DOS VIZ cards: single column */
    .dos-viz-cards {
        grid-template-columns: 1fr;
    }

    /* EFS/IOS section padding */
    .efs-section,
    .ios-section {
        padding: 64px 16px;
    }

    /* Dossier steps inner padding */
    .dossier-steps-inner {
        padding: 0 1.25rem;
    }

    /* Dossier video section */
    .dossier-video-inner h2 {
        font-size: 1.9rem;
    }

    /* DOS VIZ inner padding */
    .dos-viz-inner {
        padding: 0 1.25rem;
    }

    /* DOS VIZ heading */
    .dos-viz-heading {
        font-size: 1.9rem;
    }

    /* Closing CTA band on dossier page */
    .dossier-page .dossier-close-cta {
        padding: 3rem 1rem;
    }

    /* Comparison section title */
    .comparison-title {
        font-size: 1.75rem;
    }

    /* Comparison section padding */
    .comparison-section {
        padding: 3.5rem 0 4.5rem;
    }

    /* AFI strikethrough: target centre of first line when text wraps */
    .afi-underline::after {
        top: 0.575em;   /* line-height 1.15 ÷ 2 — centres through line 1 */
        transform: none;
    }
}

/* ─── EFS AI flow: vertical layout on mobile ─────────────── */
@media (max-width: 700px) {
    .hero-flow-card {
        padding: 1.5rem 2rem;
        overflow: visible;
    }

    .hero-process-flow {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    /* Rotate arrows to point downward */
    .flow-arrow {
        transform: rotate(90deg);
        margin-top: 0;
    }

    /* Labels stay centred under each stage */
    .process-stage {
        align-items: center;
    }
}

/* ─── Small mobile (480px) ───────────────────────────────── */
@media (max-width: 480px) {
    .logo-img {
        height: 95px;
    }

    .footer-brand {
        margin-left: 0;
    }

    .footer-brand .logo {
        position: static;
        left: 0;
        margin-left: 0;
    }

    .footer-brand .logo-img {
        height: 180px;
        margin-top: 0;
        mix-blend-mode: normal;
    }

    /* Dossier hero */
    .dossier-page .homepage-hero {
        padding-top: 80px !important;
    }

    .dossier-page .hero h1 {
        font-size: 1.8rem;
    }

    /* EFS/IOS */
    .efs-section,
    .ios-section {
        padding: 48px 16px;
    }

    .efs-heading,
    .ios-heading {
        font-size: 1.75rem;
    }

    .efs-stats-pill {
        width: 100%;
    }

    /* IOS pipeline single column on tiny screens */
    .ios-pipeline {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 16px 12px;
    }

    /* DOS VIZ */
    .dos-viz-section {
        padding: 3rem 0;
    }

    .dos-viz-heading {
        font-size: 1.75rem;
    }

    /* Doc management */
    .doc-mgmt-section {
        padding: 3rem 0;
    }

    .doc-mgmt-h2 {
        font-size: 1.75rem;
    }

    /* Dossier steps */
    .dossier-steps-section {
        padding: 3rem 0;
    }

    .dossier-steps-title {
        font-size: 1.75rem;
    }

    .dossier-steps-inner {
        padding: 0 1rem;
    }

    /* Dossier video */
    .dossier-video-inner h2 {
        font-size: 1.65rem;
    }

    .dossier-video-inner {
        padding: 0 1rem;
    }

    /* Problems */
    .problems-intro {
        padding: 60px 16px;
    }

    /* Comparison */
    .comparison-section {
        padding: 3rem 0 4rem;
    }

    .comparison-title {
        font-size: 1.5rem;
    }

    /* Section divider */
    .section-divider svg {
        height: 40px;
    }

    /* DOS VIZ + doc inner */
    .dos-viz-inner,
    .doc-mgmt-inner {
        padding: 0 1rem;
    }

    /* Storytelling section */
    .storytelling-section {
        padding: 60px 16px;
    }

    /* AFI section */
    .afi-section {
        padding: 24px 1rem 0;
    }

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

    .afi-body {
        font-size: 0.95rem;
    }
}

/* ── iPhone Pro Max (≤430px) — full-site ───────────────────── */
@media (max-width: 430px) {

    /* ── Navbar ── */
    .nav-container {
        padding: 0 12px;
    }

    .navbar .logo {
        position: static;
        left: 0;
        margin-right: 0;
        flex-shrink: 0;
    }

    .navbar .logo-img {
        height: 200px;
        width: auto;
        max-width: 400px;
    }

    .nav-actions {
        position: static;
        left: 0;
        flex-shrink: 0;
        gap: 6px;
    }

    .nav-actions .btn-primary {
        display: inline-flex;
        font-size: 0.65rem;
        padding: 5px 8px;
        white-space: nowrap;
        border-radius: 6px;
    }

    .nav-container {
        padding: 0 12px;
        justify-content: space-between;
    }

    /* ── Hero (all pages) ── */
    .hero {
        padding: 88px 14px 40px;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
    }

    /* ── Dossier hero specific ── */
    .homepage-hero {
        padding-bottom: 80px !important;
    }

    .dossier-page .hero h1 {
        font-size: 1.55rem;
    }

    /* ── Section headers ── */
    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* ── Problem cards ── */
    .problem-card {
        padding: 24px 16px;
        gap: 16px;
    }

    .problems-intro {
        padding: 48px 14px;
    }

    /* ── Comparison section ── */
    .comparison-section {
        padding: 1.5rem 0 2rem;
    }

    .comparison-title {
        font-size: 1.25rem;
        padding: 0 14px;
    }

    .comparison-section > p,
    .comparison-section .section-header p {
        font-size: 0.85rem;
        padding: 0 14px;
    }

    .comparison-table-wrap {
        margin: 0.75rem 14px 0;
        border-radius: 10px;
        /* Slim down the glow rings on small screens */
        box-shadow:
            0 0 0 1px rgba(0, 125, 105, 0.22),
            0 0 0 6px rgba(0, 125, 105, 0.08),
            0 8px 20px rgba(0,0,0,0.07);
    }

    .comparison-table--3col tbody tr {
        padding: 0.5rem 0;
    }

    .comparison-table--3col .comparison-row-topic {
        padding: 0.5rem 0.75rem 0.35rem;
        font-size: 0.85rem;
    }

    .comparison-table--3col .comparison-cell {
        padding: 0.3rem 0.75rem;
        font-size: 0.78rem;
    }

    .comparison-table--3col .comparison-cell::before {
        font-size: 0.58rem;
        margin-bottom: 0.1rem;
    }

    /* ── Storytelling / light sections ── */
    .storytelling-section,
    .light-section,
    .glass-row-section {
        padding: 40px 14px;
    }

    .storytelling-heading {
        font-size: 1.55rem;
    }

    /* ── Features ── */
    .feature-card {
        padding: 20px 16px;
    }

    /* ── Trust logos ── */
    .trust-logo-item {
        font-size: 0.74rem;
        padding: 4px 8px;
    }

    /* ── Buttons ── */
    .btn-large {
        padding: 11px 20px;
        font-size: 0.95rem;
    }

    /* ── Footer ── */
    footer {
        padding: 24px 14px 32px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-brand {
        margin-left: 0;
    }

    .footer-brand .logo {
        position: static;
        left: 0;
        margin-right: 0;
        margin-left: -60px;
    }

    .footer-brand .logo-img {
        height: 220px;
        margin-top: -80px;
        margin-bottom: 50px;
        mix-blend-mode: normal;
    }

    .footer-brand p {
        margin-left: 0px;
    }

    /* ── Contact / Demo page ── */
    .demo-info-title {
        font-size: 1.8rem;
    }

    .demo-page {
        padding: 80px 14px 48px !important;
    }

    .demo-layout {
        gap: 1.25rem !important;
    }

    .demo-info {
        padding: 1.5rem 1.125rem;
    }

    .demo-info-title {
        font-size: 1.7rem;
    }

    .demo-info-lead {
        font-size: 0.9rem;
    }

    .demo-step {
        padding: 1.25rem 1rem 1.5rem;
    }

    .demo-stepper {
        padding: 1rem 1rem 0.85rem;
    }

    /* ── Blog ── */
    .blog-cta-title {
        font-size: 1.4rem;
    }

    /* ── EFS / IOS sections ── */
    .efs-section,
    .ios-section {
        padding: 40px 14px;
    }

    .efs-heading,
    .ios-heading {
        font-size: 1.55rem;
    }

    /* ── Dossier stat bar ── */
    .dossier-stat-bar-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 1rem !important;
    }

    /* ── Dossier steps ── */
    .dossier-steps-grid {
        grid-template-columns: 1fr !important;
    }

    .dossier-steps-inner {
        padding: 0 14px;
    }

    /* ── Dossier video ── */
    .dossier-video-inner h2 {
        font-size: 1.4rem;
    }

    .dossier-video-inner {
        padding: 0 14px;
    }

    /* ── DOS VIZ / doc sections ── */
    .dos-viz-inner,
    .doc-mgmt-inner {
        padding: 0 14px;
    }

    .dos-viz-heading,
    .doc-mgmt-h2 {
        font-size: 1.55rem;
    }

    /* ── AFI section ── */
    .afi-section {
        padding: 20px 14px 0;
    }

    .afi-title {
        font-size: 1.55rem;
    }
}

/* ── iPhone 17 (≤393px) ─────────────────────────────────────── */
@media (max-width: 393px) {

    /* Navbar */
    .nav-container {
        padding: 0 12px;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-actions .btn-primary {
        font-size: 0.63rem;
        padding: 5px 8px;
    }

    /* Hero */
    .hero {
        padding: 80px 12px 40px;
    }

    .hero h1 {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.88rem;
    }

    .hero-cta-wrapper .btn-large,
    .btn-large {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 11px 18px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.4rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    /* Blog hero */
    .blog-hero h1 {
        font-size: 1.7rem !important;
    }

    /* Pricing page header */
    .pricing-hero h1 {
        font-size: 1.7rem;
    }

    /* Dossier page */
    .dossier-page .hero h1 {
        font-size: 1.5rem;
    }

    /* All sections: tighter horizontal padding */
    .light-section,
    .features,
    .glass-row-section,
    .storytelling-section,
    .blog-cta-section,
    .faq-section,
    .efs-section,
    .ios-section,
    .afi-section,
    .problems-intro,
    .content-highlights-section,
    .video-showcase-section,
    .dossier-video-section,
    .dossier-pain-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Cards: full width */
    .problem-card,
    .feature-card,
    .glass-row-card {
        padding: 18px 14px;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.85rem;
        padding: 12px 14px;
    }

    /* Buttons */
    .btn {
        font-size: 0.85rem;
    }

    /* Footer */
    footer {
        padding: 20px 12px 28px;
    }

    /* Trust logos */
    .trust-bar-section {
        padding: 16px 12px;
    }

    /* Demo / contact page */
    .demo-page {
        padding: 76px 12px 40px !important;
    }

    .demo-info {
        padding: 1.25rem 1rem;
    }

    .demo-info-title {
        font-size: 1.6rem !important;
    }

    /* Comparison table */
    .comparison-title {
        font-size: 1.2rem !important;
        padding: 0 12px;
    }

    .comparison-table-wrap {
        margin: 0.5rem 0 0;
    }
}
