/* =============================================================
   Dossier360 — nieuw designsysteem
   Prototype, standalone. Geen framework, geen build.
   ============================================================= */

:root {
    /* Merk */
    --cyan: #00c9d4;
    --cyan-dark: #00a8b3;
    --cyan-50: #eafafb;
    --cyan-100: #cff4f6;

    --purple: #8b5cf6;
    --purple-dark: #7c3aed;
    --purple-50: #f3eefe;

    --primary: var(--cyan);
    --primary-dark: var(--cyan-dark);

    /* Neutraal */
    --ink-900: #0f172a; /* koppen */
    --ink-700: #1e293b; /* body donker */
    --ink-500: #475569; /* body licht */
    --ink-400: #64748b; /* secundair */
    --ink-200: #e2e8f0; /* borders */
    --ink-100: #f1f5f9; /* alt-bg */
    --ink-50: #f8fafc; /* page alt */
    --white: #ffffff;

    /* Accent */
    --success: #10b981;
    --warning: #d97706;
    --danger: #dc2626;

    /* Radius */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;

    /* Schaduwen (alleen spaarzaam) */
    --ring: 0 0 0 3px rgba(0, 201, 212, 0.25);

    /* Typografie */
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================ */
/* Reset                                        */
/* ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ============================================ */
/* Typografie                                   */
/* ============================================ */

h1,
h2,
h3,
h4 {
    color: var(--ink-900);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}
h2 {
    font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2rem);
}
h3 {
    font-size: 1.25rem;
}
h4 {
    font-size: 1rem;
}

p {
    margin: 0;
    color: var(--ink-500);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--cyan-50);
    padding: 0.35rem 0.75rem;
    border-radius: var(--r-sm);
}

.lead {
    font-size: 1.15rem;
    color: var(--ink-500);
    line-height: 1.55;
}

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

/* ============================================ */
/* Layout primitives                             */
/* ============================================ */

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

.container-sm {
    max-width: 820px;
}
.container-md {
    max-width: 960px;
}

section {
    padding: 5rem 0;
}
section + section {
    border-top: 1px solid var(--ink-100);
}

.section-alt {
    background: var(--ink-50);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-header .eyebrow {
    margin-bottom: 1rem;
}
.section-header h2 {
    margin-bottom: 0.75rem;
}

/* Grid helpers */
.grid {
    display: grid;
    gap: 1.5rem;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================ */
/* Nav                                          */
/* ============================================ */

.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--ink-100);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--ink-900);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-text {
    transition:
        opacity 0.25s ease,
        width 0.25s ease;
    overflow: hidden;
    white-space: nowrap;
}

.nav.scrolled .brand-text {
    opacity: 0;
    width: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--ink-500);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--ink-900);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--ink-500);
    font-weight: 500;
}

.nav-dropdown-toggle:hover {
    color: var(--ink-900);
}

.nav-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    padding: 0.75rem 0;
    padding-top: 1.25rem;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s,
        visibility 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--ink-500);
    font-size: 0.88rem;
    font-weight: 500;
    transition:
        background 0.15s,
        color 0.15s;
}

.nav-dropdown-menu a:hover {
    background: var(--ink-50);
    color: var(--primary);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--ink-200);
    margin: 0.5rem 0;
}

.nav-dropdown-header {
    padding: 0.4rem 1.25rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mega menu for functionaliteiten */
.nav-mega {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--ink-200);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s,
        visibility 0.2s;
    padding: 2rem 0;
}

.nav-dropdown:hover .nav-mega {
    opacity: 1;
    visibility: visible;
}

.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--r-md);
    color: inherit;
    text-decoration: none;
    transition: background 150ms ease;
}

.nav-mega-item:hover {
    background: var(--ink-50);
}

.nav-mega-item .mega-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--cyan-50);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.nav-mega-item .mega-ico svg {
    width: 16px;
    height: 16px;
}

.nav-mega-item .mega-txt strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 0.1rem;
}

.nav-mega-item .mega-txt span {
    font-size: 0.75rem;
    color: var(--ink-400);
    line-height: 1.35;
}

.nav-mega-footer {
    max-width: 1200px;
    margin: 1.25rem auto 0;
    padding: 1rem 1.5rem 0;
    border-top: 1px solid var(--ink-100);
    display: flex;
    justify-content: center;
}

.nav-mega-footer a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile menu */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    transition:
        transform 0.25s,
        opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 39;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s,
        visibility 0.25s;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Drawer-only elements (hidden on desktop) */
.nav-drawer-header,
.nav-drawer-cta {
    display: none;
}

.nav-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    color: var(--ink-500);
    cursor: pointer;
    border-radius: var(--r-md);
}
.nav-drawer-close:hover {
    color: var(--ink-900);
    background: var(--ink-50);
}
.nav-drawer-close svg {
    width: 22px;
    height: 22px;
}

/* Mobile cluster: phone + envelope + hamburger (mobile only) */
.nav-mobile-cluster {
    display: none;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    color: var(--ink-700);
    background: transparent;
    transition:
        background 150ms ease,
        color 150ms ease;
}
.nav-action:hover,
.nav-action:focus-visible {
    background: var(--ink-50);
    color: var(--primary-dark);
}
.nav-action svg {
    width: 20px;
    height: 20px;
}

/* ============================================ */
/* Buttons                                      */
/* ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--r-md);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1;
    border: 1px solid transparent;
    transition:
        background 120ms ease,
        color 120ms ease,
        border-color 120ms ease,
        transform 120ms ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--ink-900);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--ink-700);
}

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

.btn-outline {
    background: var(--white);
    color: var(--ink-900);
    border: 1px solid var(--ink-200);
}
.btn-outline:hover {
    border-color: var(--ink-900);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-500);
    padding: 0.5rem 0.75rem;
}
.btn-ghost:hover {
    color: var(--ink-900);
}

.btn-lg {
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================ */
/* Cards                                        */
/* ============================================ */

.card {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    transition:
        border-color 120ms ease,
        transform 120ms ease;
}

.card:hover {
    border-color: var(--ink-400);
}

.card h3 {
    margin-bottom: 0.5rem;
}
.card p {
    font-size: 0.95rem;
}

/* ============================================ */
/* Hero                                         */
/* ============================================ */

.hero {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 201, 212, 0.12),
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -15%;
    width: 60%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(139, 92, 246, 0.08),
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
}

.hero h1 {
    margin-bottom: 1.25rem;
}
.hero .lead {
    max-width: 60ch;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--ink-400);
    font-size: 0.88rem;
}

.hero-meta .dot {
    color: var(--success);
    margin-right: 0.4rem;
}

/* ============================================ */
/* Feature strip (icon + titel + 1 zin)         */
/* ============================================ */

.feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature .ico {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--cyan-50);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
}
.feature .ico svg {
    width: 18px;
    height: 18px;
}

.feature h4 {
    margin-bottom: 0.15rem;
}
.feature p {
    font-size: 0.9rem;
}

/* ============================================ */
/* Scenario card (met illustratie placeholder)  */
/* ============================================ */

.scenario {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 120ms ease;
}
.scenario:hover {
    border-color: var(--ink-400);
}

.scenario .preview {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(
            135deg,
            rgba(0, 201, 212, 0.08),
            rgba(139, 92, 246, 0.08)
        ),
        repeating-linear-gradient(
            45deg,
            transparent 0 8px,
            rgba(15, 23, 42, 0.03) 8px 9px
        );
    border-bottom: 1px solid var(--ink-100);
    display: grid;
    place-items: center;
    color: var(--ink-400);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.scenario .body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.scenario .tag {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--primary-dark);
    background: var(--cyan-50);
    padding: 0.25rem 0.6rem;
    border-radius: var(--r-sm);
    margin-bottom: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.scenario h3 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}
.scenario p {
    font-size: 0.92rem;
}

/* ============================================ */
/* Pricing                                      */
/* ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.plan {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan.featured {
    border: 1px solid var(--ink-900);
    background: var(--ink-900);
    color: rgba(255, 255, 255, 0.82);
}
.plan.featured h3 {
    color: white;
}
.plan.featured .tagline {
    color: rgba(255, 255, 255, 0.65);
}
.plan.featured .price .amount {
    color: white;
}
.plan.featured .price .unit {
    color: rgba(255, 255, 255, 0.6);
}
.plan.featured .note {
    color: rgba(255, 255, 255, 0.55);
}
.plan.featured ul li {
    color: rgba(255, 255, 255, 0.88);
}
.plan.featured ul li svg {
    color: var(--cyan);
}
.plan.featured .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}
.plan.featured .btn-outline:hover {
    border-color: white;
}

.plan .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--cyan);
    color: var(--ink-900);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: var(--r-sm);
    letter-spacing: 0.03em;
}

.plan h3 {
    margin-bottom: 0.15rem;
}
.plan .tagline {
    color: var(--ink-400);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.plan .price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
}
.plan .price .amount {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    line-height: 1;
}
.plan .price .unit {
    color: var(--ink-400);
    font-size: 0.9rem;
}
.plan .note {
    font-size: 0.82rem;
    color: var(--ink-400);
    margin-bottom: 1.5rem;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-grow: 1;
}
.plan ul li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.93rem;
    color: var(--ink-700);
    line-height: 1.45;
}
.plan ul li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--primary);
    margin-top: 2px;
}

.plan .btn {
    width: 100%;
}

/* ============================================ */
/* Pillars                                      */
/* ============================================ */

.pillar {
    padding: 2rem;
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    background: var(--white);
}

.pillar .num {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--ink-900);
    color: var(--white);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.pillar h3 {
    margin-bottom: 0.5rem;
}
.pillar p {
    font-size: 0.95rem;
}

/* ============================================ */
/* Doelgroep ("voor wie")                        */
/* ============================================ */

.audience-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    background: var(--white);
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    opacity: 0;
    transition: opacity 200ms ease;
}

.audience-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 201, 212, 0.12);
    transform: translateY(-2px);
}

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

.audience-card .ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--cyan-50);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
}

.audience-card .ico svg {
    width: 24px;
    height: 24px;
}

.audience-card h3 {
    font-size: 1.15rem;
    color: var(--ink-900);
    margin-bottom: 0.5rem;
}

.audience-card p {
    font-size: 0.9rem;
    color: var(--ink-500);
    line-height: 1.55;
    flex: 1;
}

.audience-card .arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: gap 200ms ease;
}

.audience-card:hover .arrow {
    gap: 0.6rem;
}

.audience-card .arrow svg {
    width: 16px;
    height: 16px;
}

/* ============================================ */
/* Roadmap                                      */
/* ============================================ */

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

.roadmap .col {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    padding: 1.5rem;
}

.roadmap .status {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: var(--r-sm);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.roadmap .status.now {
    background: var(--cyan-50);
    color: var(--primary-dark);
}
.roadmap .status.next {
    background: #fef3c7;
    color: var(--warning);
}
.roadmap .status.later {
    background: var(--ink-100);
    color: var(--ink-500);
}

.roadmap ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.roadmap ul li {
    color: var(--ink-500);
    font-size: 0.92rem;
    padding-left: 1rem;
    position: relative;
}
.roadmap ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ink-400);
}

/* ============================================ */
/* Security row                                 */
/* ============================================ */

.sec-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
.sec-item {
    padding: 1.25rem;
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
}
.sec-item .ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--purple-50);
    color: var(--purple-dark);
    display: grid;
    place-items: center;
    margin-bottom: 0.75rem;
}
.sec-item .ico svg {
    width: 16px;
    height: 16px;
}
.sec-item h4 {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}
.sec-item p {
    font-size: 0.85rem;
}

/* ============================================ */
/* FAQ                                          */
/* ============================================ */

.faq {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 720px;
    margin: 0 auto;
}
.faq details {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
}
.faq summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--ink-900);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--ink-400);
    transition: transform 150ms ease;
}
.faq details[open] summary::after {
    content: "−";
}
.faq details p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================ */
/* CTA band                                     */
/* ============================================ */

.cta-band {
    background: var(--ink-900);
    color: white;
    padding: 4rem 0;
    border-top: 1px solid var(--ink-200);
}
.cta-band h2 {
    color: white;
    margin-bottom: 0.75rem;
}
.cta-band p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}
.cta-band .btn-brand:hover {
    background: var(--cyan-dark);
}

/* ============================================ */
/* Footer                                       */
/* ============================================ */

footer {
    background: var(--white);
    border-top: 1px solid var(--ink-200);
    padding: 3rem 0 2rem;
    font-size: 0.9rem;
    color: var(--ink-400);
}
footer .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}
footer h5 {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-900);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
footer a:hover {
    color: var(--ink-900);
}
footer .foot {
    border-top: 1px solid var(--ink-100);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================ */
/* Wizard (stap 1)                              */
/* ============================================ */

.wizard-shell {
    background: var(--ink-50);
    min-height: 100vh;
    padding: 3rem 1.5rem 4rem;
}

.wizard-shell .container {
    max-width: 900px;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    gap: 0.5rem;
}
.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    position: relative;
}
.step .circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--ink-200);
    background: var(--white);
    color: var(--ink-400);
}
.step.active .circle {
    background: var(--ink-900);
    color: white;
    border-color: var(--ink-900);
}
.step.done .circle {
    background: var(--cyan-50);
    color: var(--primary-dark);
    border-color: var(--cyan-100);
}
.step span {
    font-size: 0.78rem;
    color: var(--ink-400);
}
.step.active span,
.step.done span {
    color: var(--ink-900);
}

.step-line {
    flex: 0 0 auto;
    height: 1px;
    align-self: center;
    width: 1.5rem;
    background: var(--ink-200);
    margin-top: 13px;
}
.step-line.done {
    background: var(--primary);
}

.wizard-card {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
}

.wizard-card h1 {
    font-size: 1.65rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.wizard-card .lead {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.plan-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.plan-option {
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    padding: 1.25rem;
    cursor: pointer;
    transition:
        border-color 120ms ease,
        background 120ms ease;
    background: var(--white);
}
.plan-option:hover {
    border-color: var(--ink-400);
}

.plan-option.selected {
    border-color: var(--ink-900);
    background: var(--ink-50);
    box-shadow: var(--ring);
}

.plan-option .name {
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 0.15rem;
}
.plan-option .tag {
    color: var(--ink-400);
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
}
.plan-option .price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink-900);
}
.plan-option .price small {
    font-size: 0.75rem;
    color: var(--ink-400);
    font-weight: 500;
    margin-left: 0.25rem;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

/* ============================================ */
/* Inner-page hero (kleiner dan home-hero)       */
/* ============================================ */

.page-hero {
    padding: 5.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    background: var(--ink-50);
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 201, 212, 0.1),
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

.page-hero::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 45%;
    height: 120%;
    background: radial-gradient(
        ellipse at center,
        rgba(139, 92, 246, 0.06),
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

.page-hero .inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.page-hero h1 {
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
    margin: 1rem 0 1rem;
    letter-spacing: -0.02em;
}
.page-hero .lead {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    color: var(--ink-500);
}
.page-hero .cta-buttons,
.page-hero .hero-ctas {
    margin-bottom: 0;
}

.page-hero.center .inner {
    margin: 0 auto;
    text-align: center;
}

/* ============================================ */
/* Breadcrumb                                   */
/* ============================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: var(--ink-400);
    flex-wrap: wrap;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.breadcrumb li + li::before {
    content: "/";
    color: var(--ink-200);
}
.breadcrumb a {
    color: var(--ink-400);
}
.breadcrumb a:hover {
    color: var(--ink-900);
}
.breadcrumb .current {
    color: var(--ink-700);
}

/* ============================================ */
/* Forms                                         */
/* ============================================ */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
.form-grid .full {
    grid-column: 1 / -1;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.field label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-900);
}
.field label .hint {
    font-weight: 400;
    color: var(--ink-400);
    font-size: 0.8rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="password"],
.field select,
.field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    font: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--ink-900);
    transition:
        border-color 120ms ease,
        box-shadow 120ms ease;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ink-900);
    box-shadow: var(--ring);
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
    border-color: var(--danger);
}

.field .error {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.checkbox {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--ink-700);
    line-height: 1.5;
}
.checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--ink-900);
    width: 16px;
    height: 16px;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    padding: 2rem;
}

/* ============================================ */
/* Prose (CMS / long-form content)               */
/* ============================================ */

.prose {
    max-width: 740px;
    margin: 0 auto;
    color: var(--ink-700);
    line-height: 1.7;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: var(--ink-900);
}
.prose h1 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}
.prose h2 {
    font-size: 1.5rem;
    margin: 2.25rem 0 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.prose h3 {
    font-size: 1.2rem;
    margin: 1.75rem 0 0.5rem;
    font-weight: 600;
}
.prose h4 {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.4rem;
    font-weight: 600;
}
.prose p {
    margin: 0 0 1.1rem;
    color: var(--ink-500);
}
.prose a {
    color: var(--primary-dark);
    border-bottom: 1px solid transparent;
    transition: border-color 120ms ease;
}
.prose a:hover {
    border-bottom-color: var(--primary-dark);
}
.prose strong {
    color: var(--ink-900);
    font-weight: 600;
}
.prose ul,
.prose ol {
    margin: 0 0 1.25rem;
    padding-left: 0;
}
.prose ul {
    list-style: none;
}
.prose ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--ink-700);
}
.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}
.prose ol {
    counter-reset: i;
    list-style: none;
    padding-left: 0;
}
.prose ol li {
    counter-increment: i;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.prose ol li::before {
    content: counter(i);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ink-50);
    border: 1px solid var(--ink-200);
    color: var(--ink-900);
    font-size: 0.78rem;
    font-weight: 600;
    display: grid;
    place-items: center;
}
.prose blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    border-left: 3px solid var(--primary);
    background: var(--ink-50);
    color: var(--ink-700);
    border-radius: 0 var(--r-md) var(--r-md) 0;
}
.prose img {
    border-radius: var(--r-md);
    margin: 1.25rem 0;
}

/* ============================================ */
/* Article / guide / video cards                 */
/* ============================================ */

.resource-card {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        border-color 120ms ease,
        transform 120ms ease;
    color: var(--ink-700);
}
.resource-card:hover {
    border-color: var(--ink-400);
    transform: translateY(-1px);
}

.resource-card .cover {
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(
            135deg,
            rgba(0, 201, 212, 0.08),
            rgba(139, 92, 246, 0.08)
        ),
        repeating-linear-gradient(
            45deg,
            transparent 0 8px,
            rgba(15, 23, 42, 0.03) 8px 9px
        );
    display: grid;
    place-items: center;
    color: var(--ink-400);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.resource-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-card .body {
    padding: 1.25rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}
.resource-card .meta {
    display: flex;
    gap: 0.6rem;
    color: var(--ink-400);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}
.resource-card .meta .sep {
    color: var(--ink-200);
}
.resource-card h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    color: var(--ink-900);
}
.resource-card p {
    font-size: 0.92rem;
    color: var(--ink-500);
    margin: 0;
}
.resource-card .read-more {
    margin-top: auto;
    font-size: 0.88rem;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Category chip list */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--ink-200);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--ink-700);
    background: var(--white);
    transition:
        border-color 120ms ease,
        background 120ms ease;
}
.chip:hover {
    border-color: var(--ink-400);
}
.chip.active {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: white;
}

/* ============================================ */
/* Wizard layout                                 */
/* ============================================ */

.wizard-shell {
    background: var(--ink-50);
    min-height: 100vh;
    padding: 3rem 1.5rem 4rem;
}
.wizard-shell .container {
    max-width: 900px;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    gap: 0.5rem;
}
.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}
.step .circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--ink-200);
    background: var(--white);
    color: var(--ink-400);
}
.step.active .circle {
    background: var(--ink-900);
    color: white;
    border-color: var(--ink-900);
}
.step.done .circle {
    background: var(--cyan-50);
    color: var(--primary-dark);
    border-color: var(--cyan-100);
}
.step span {
    font-size: 0.78rem;
    color: var(--ink-400);
}
.step.active span,
.step.done span {
    color: var(--ink-900);
}

.step-line {
    flex: 0 0 auto;
    height: 1px;
    align-self: center;
    width: 1.5rem;
    background: var(--ink-200);
    margin-top: 13px;
}
.step-line.done {
    background: var(--primary);
}

.wizard-card {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
}

.wizard-card h1 {
    font-size: 1.65rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.wizard-card .lead {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.wizard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.summary {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    align-self: flex-start;
}
.summary h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.summary .row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.summary .row .label {
    color: var(--ink-400);
}
.summary .row .value {
    color: var(--ink-900);
    text-align: right;
}
.summary .divider {
    height: 1px;
    background: var(--ink-100);
    margin: 0.75rem 0;
}
.summary .total {
    font-size: 1.05rem;
    color: var(--ink-900);
    font-weight: 600;
}
.summary .total .label {
    color: var(--ink-900);
}

/* ============================================ */
/* Lightbox                                     */
/* ============================================ */

.zoomable {
    cursor: zoom-in;
    transition: opacity 120ms ease;
}
.zoomable:hover {
    opacity: 0.92;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
    animation: lightbox-fade 0.15s ease;
}
.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 120ms ease;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.lightbox-close svg {
    width: 22px;
    height: 22px;
}

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

/* Auto-maak scenario-screenshots klikbaar. */
.scenario .preview img {
    cursor: zoom-in;
}

/* Video thumbnail with play button */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.play-button {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.3);
    transition: background 200ms ease;
}

.video-thumbnail:hover .play-button {
    background: rgba(15, 23, 42, 0.5);
}

.play-button svg {
    width: 56px;
    height: 56px;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Video lightbox */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    animation: lightbox-fade 0.15s ease;
}

.video-lightbox.open {
    display: flex;
}

.video-lightbox video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--r-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.video-lightbox .lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 120ms ease;
}

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

.video-lightbox .lightbox-close svg {
    width: 22px;
    height: 22px;
}

/* ============================================ */
/* Feature detail pages                         */
/* ============================================ */

.feature-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-intro .prose {
    max-width: none;
    margin: 0;
}

.screenshot {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--cyan-50), var(--purple-50));
    border-radius: var(--r-lg);
    border: 1px solid var(--ink-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-400);
    font-size: 0.85rem;
    font-weight: 500;
    overflow: hidden;
}

.screenshot img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--r-sm);
}

.screenshot video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--r-sm);
}

/* Page TOC (sticky tab bar) */
.page-toc {
    position: sticky;
    top: 64px;
    z-index: 30;
    background: var(--white);
    border-bottom: 1px solid var(--ink-200);
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.page-toc .container {
    position: relative;
}

.page-toc .container::before,
.page-toc .container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.page-toc .container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.page-toc .container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.page-toc.can-scroll-left .container::before {
    opacity: 1;
}

.page-toc.can-scroll-right .container::after {
    opacity: 1;
}

.page-toc-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.page-toc-inner::-webkit-scrollbar {
    display: none;
}

.page-toc a {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-400);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition:
        color 150ms ease,
        border-color 150ms ease;
}

.page-toc a:hover {
    color: var(--ink-900);
}

.page-toc a.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

/* Content blocks (alternating text + media) */
.content-blocks {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Tab viewer (interactive screenshot tabs) */
.tab-viewer {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--ink-900);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-viewer-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-viewer-nav::-webkit-scrollbar {
    display: none;
}

.tab-viewer-nav button {
    flex: 1;
    min-width: 0;
    padding: 1rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition:
        color 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
    text-align: center;
}

.tab-viewer-nav button:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
}

.tab-viewer-nav button.highlight {
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.tab-viewer-nav button.highlight::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.tab-viewer-nav button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(0, 201, 212, 0.06);
}

.tab-viewer-panel {
    display: none;
    animation: tab-fade 0.25s ease;
    position: relative;
}

.tab-viewer-panel.active {
    display: flex;
    flex-direction: column;
}

.tab-viewer-panel .tab-media {
    padding: 1.5rem;
}

.tab-viewer-panel .tab-media img {
    width: 100%;
    display: block;
    border-radius: var(--r-md);
    cursor: zoom-in;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-viewer-panel .tab-text {
    padding: 1.5rem 1.75rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-viewer-panel .tab-text h3 {
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tab-viewer-panel .tab-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin: 0;
}

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

/* Feature spotlight (dark, dramatic feature sections) */
.spotlight {
    background: var(--ink-900);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
}

.spotlight:nth-child(odd)::before {
    top: -20%;
    right: -10%;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
}

.spotlight:nth-child(even)::before {
    bottom: -20%;
    left: -10%;
    background: radial-gradient(circle, var(--purple), transparent 70%);
}

.spotlight-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.spotlight:nth-child(even) .spotlight-inner {
    direction: rtl;
}

.spotlight:nth-child(even) .spotlight-inner > * {
    direction: ltr;
}

.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: rgba(0, 201, 212, 0.12);
    border: 1px solid rgba(0, 201, 212, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.spotlight-text h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.spotlight-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.spotlight-text p:last-child {
    margin-bottom: 0;
}

.spotlight-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spotlight-text ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.spotlight-text ul li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0, 201, 212, 0.15);
    border: 1.5px solid var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%2300C9D4' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 11px;
    background-position: center;
    background-repeat: no-repeat;
}

.spotlight-media {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.spotlight-media img {
    width: 100%;
    display: block;
    cursor: zoom-in;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-block:nth-child(even) {
    direction: rtl;
}

.content-block:nth-child(even) > * {
    direction: ltr;
}

.content-block-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 0.75rem;
}

.content-block-text p {
    font-size: 0.95rem;
    color: var(--ink-500);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.content-block-text p:last-child {
    margin-bottom: 0;
}

.content-block-text ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content-block-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--ink-500);
    line-height: 1.5;
}

.content-block-text ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 0.55rem;
}

.content-block-media {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--ink-200);
    background: var(--ink-900);
    max-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-400);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 1rem;
}

.content-block-media img {
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
    border-radius: var(--r-sm);
    cursor: zoom-in;
}

.content-block-media video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--r-sm);
}

.content-block-media iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.content-block.full-width {
    grid-template-columns: 1fr;
}

.content-block.full-width:nth-child(even) {
    direction: ltr;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--ink-200);
    border-radius: var(--r-lg);
    background: var(--white);
    transition:
        border-color 120ms ease,
        box-shadow 120ms ease;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 201, 212, 0.1);
}

.related-card h3 {
    font-size: 1.05rem;
    color: var(--ink-900);
    margin-bottom: 0.5rem;
}

.related-card p {
    font-size: 0.88rem;
    color: var(--ink-500);
    line-height: 1.5;
    flex: 1;
}

.related-card .read-more {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
}

/* ============================================ */
/* Utility classes                              */
/* ============================================ */

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card-subtitle {
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    color: var(--ink-400);
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--ink-700);
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--ink-100);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ============================================ */
/* Responsive                                   */
/* ============================================ */

@media (max-width: 960px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-grid,
    .roadmap,
    .sec-row,
    .plan-picker {
        grid-template-columns: 1fr 1fr;
    }
    .feature-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .spotlight-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .spotlight:nth-child(even) .spotlight-inner {
        direction: ltr;
    }
    .spotlight {
        padding: 3.5rem 0;
    }
    .spotlight-text h2 {
        font-size: 1.5rem;
    }
    .content-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .content-block:nth-child(even) {
        direction: ltr;
    }
    .content-blocks {
        gap: 3rem;
    }
    .tab-viewer-panel.active {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .tab-viewer-panel .tab-media {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 1rem;
    }
    .tab-viewer-panel .tab-media img {
        max-height: 300px;
    }
    .tab-viewer-nav button {
        flex: 0;
        padding: 0.75rem 1rem;
    }
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Mobile nav */
    .nav-hamburger {
        display: flex;
    }
    .nav-mobile-cluster {
        display: flex;
    }
    .nav-right {
        display: none;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        height: 100dvh;
        width: 320px;
        max-width: 88vw;
        background: var(--white);
        z-index: 50;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 1.25rem 1.5rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .nav-links li {
        list-style: none;
        width: 100%;
        border-bottom: 1px solid var(--ink-100);
    }
    .nav-links .nav-drawer-header,
    .nav-links .nav-drawer-cta {
        display: flex;
    }
    .nav-links .nav-drawer-header {
        align-items: center;
        justify-content: space-between;
        padding: 0.25rem 0 0.75rem;
        flex-shrink: 0;
    }
    .nav-links .nav-drawer-cta {
        border-bottom: none;
        padding-top: 1rem;
        margin-top: auto;
    }
    .nav-links .nav-drawer-cta .btn {
        width: 100%;
        padding: 0.95rem 1.25rem;
        font-size: 1rem;
    }
    .nav-links > li > a:not(.brand):not(.btn),
    .nav-links > li > .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 44px;
        padding: 0.75rem 0;
        font-size: 1rem;
        color: var(--ink-700);
    }
    .nav-dropdown-menu a {
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    /* Mobile dropdown */
    .nav-dropdown-toggle svg {
        transition: transform 0.2s;
    }
    .nav-dropdown.open > .nav-dropdown-toggle svg {
        transform: rotate(180deg);
    }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        border: none;
        box-shadow: none;
        padding: 0 0 0.5rem 1rem;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }
    .nav-dropdown.open:hover .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown-menu a {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }

    /* Mega-menu collapses into the drawer */
    .nav-mega {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0 0 0.5rem 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .nav-dropdown.open > .nav-mega {
        display: block;
    }
    .nav-dropdown:hover .nav-mega {
        opacity: 1;
        visibility: visible;
        display: none;
    }
    .nav-dropdown.open:hover .nav-mega {
        display: block;
    }
    .nav-mega-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 0 0 1rem;
        max-width: none;
    }
    .nav-mega-item {
        padding: 0.5rem 0.5rem;
        gap: 0.6rem;
    }
    .nav-mega-item .mega-ico {
        width: 28px;
        height: 28px;
    }
    .nav-mega-item .mega-ico svg {
        width: 14px;
        height: 14px;
    }
    .nav-mega-footer {
        padding: 0.75rem 0 0 1rem;
        margin-top: 0.5rem;
    }

    .nav-right .btn {
        font-size: 0.85rem;
        padding: 0.55rem 1rem;
    }

    .wizard-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .page-hero {
        padding: 4.5rem 0 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-ctas .btn,
    .page-hero .hero-ctas .btn,
    .page-hero .cta-buttons .btn {
        width: 100%;
    }
    .nav-action {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 3.5rem 0;
    }
    .hero {
        padding: 4rem 0 3rem;
    }
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .pricing-grid,
    .roadmap,
    .sec-row,
    .plan-picker,
    .related-grid {
        grid-template-columns: 1fr;
    }
    .plan.featured {
        order: -1;
    }
    .wizard-card {
        padding: 1.75rem 1.25rem;
    }
    .wizard-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .wizard-actions .btn {
        width: 100%;
    }
}
