/* ============================================
   JURISNAP — Design System (marketingwebsite)
   ============================================ */

:root {
    /* Brand colors */
    --navy: #0E2244;
    --navy-deep: #081628;
    --navy-soft: #1A3358;
    --teal: #20A4AB;
    --teal-bright: #2BB8C0;
    --teal-soft: #E6F5F6;

    /* Neutrals */
    --white: #FFFFFF;
    --paper: #FAFAF7;
    --off-white: #F4F6F8;
    --line: #E5E9EE;
    --line-soft: #EFF2F5;
    --muted: #6B7484;
    --text: #0E2244;

    /* Type */
    --display: 'Newsreader', Georgia, serif;
    --body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --container: 1200px;
    --radius: 14px;
    --radius-sm: 8px;

    /* Motion */
    --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

button {
    font-family: var(--body);
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */

.eyebrow {
    font-family: var(--body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--teal);
}

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--navy);
}

h1 { font-size: clamp(42px, 6vw, 78px); font-weight: 400; }
h2 { font-size: clamp(34px, 4.5vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 19px; font-family: var(--body); font-weight: 700; letter-spacing: -0.01em; }

.italic { font-style: italic; font-variation-settings: 'opsz' 72; }

p { color: var(--muted); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s var(--ease-snap);
    white-space: nowrap;
    border: 1.5px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--navy-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -8px rgba(14, 34, 68, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: var(--navy);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--teal);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--teal-bright);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -8px rgba(32, 164, 171, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
}

.btn-ghost:hover {
    color: var(--teal);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s var(--ease-snap);
}

.btn:hover .btn-arrow { gap: 10px; }

.btn-arrow::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.25s var(--ease-snap);
}

.btn-block-link {
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
    transition: all 0.25s var(--ease-snap);
}

.btn-block-link:hover {
    border-bottom-color: var(--teal);
    color: var(--teal);
    gap: 10px;
}

.btn:disabled, .btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 1px 0 rgba(14, 34, 68, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    height: 84px;
}

.logo img { height: 100%; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    position: relative;
    transition: color 0.2s ease;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    transition: all 0.3s;
}

.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    box-shadow: 0 8px 20px -8px rgba(14, 34, 68, 0.1);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(32, 164, 171, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content .eyebrow {
    margin-bottom: 26px;
    animation: fadeInUp 0.7s var(--ease-out) both;
}

.hero h1 {
    margin-bottom: 24px;
    animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

.hero h1 .accent {
    color: var(--teal);
    font-style: italic;
    font-weight: 400;
}

.hero-lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 38px;
    animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
    animation: fadeInUp 0.7s var(--ease-out) 0.3s both;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 14px;
    color: var(--muted);
    animation: fadeInUp 0.7s var(--ease-out) 0.4s both;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta-item svg {
    flex-shrink: 0;
    color: var(--teal);
}

.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.doc-mockup {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow:
        0 1px 2px rgba(14, 34, 68, 0.04),
        0 24px 60px -20px rgba(14, 34, 68, 0.18);
    position: relative;
    border: 1px solid var(--line-soft);
    transform: rotate(-1.5deg);
    transition: transform 0.4s var(--ease-snap);
}

.doc-mockup:hover { transform: rotate(0deg); }

.doc-mockup::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 6px rgba(32, 164, 171, 0.15);
    animation: pulse 2s ease-in-out infinite;
}

.doc-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.doc-tag {
    display: inline-block;
    background: var(--teal-soft);
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.doc-title {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.doc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    opacity: 0;
    animation: snapIn 0.5s var(--ease-snap) forwards;
}

.doc-field:nth-child(2) { animation-delay: 0.5s; }
.doc-field:nth-child(3) { animation-delay: 0.9s; }
.doc-field:nth-child(4) { animation-delay: 1.3s; }
.doc-field:nth-child(5) { animation-delay: 1.7s; }

.doc-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.doc-value {
    font-size: 14px;
    color: var(--navy);
    font-weight: 500;
    padding: 8px 12px;
    background: var(--off-white);
    border-radius: 6px;
    border-left: 2px solid var(--teal);
}

.doc-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
}

.doc-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal);
    font-weight: 600;
}

.doc-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

.float-badge {
    position: absolute;
    background: var(--navy);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 32px -8px rgba(14, 34, 68, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
}

.float-badge-1 {
    top: -10px;
    left: -30px;
    animation: floatY 4s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

.snap-lines {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.snap-lines span {
    position: absolute;
    background: var(--teal);
    border-radius: 2px;
}

.snap-lines span:nth-child(1) { top: 0; left: 18px; width: 3px; height: 14px; }
.snap-lines span:nth-child(2) { top: 6px; right: 4px; width: 14px; height: 3px; transform: rotate(-30deg); }
.snap-lines span:nth-child(3) { top: 18px; right: 0; width: 14px; height: 3px; }

/* ============================================
   USP BAR
   ============================================ */

.usp-bar {
    background: var(--navy);
    color: var(--white);
    padding: 32px 0;
    position: relative;
    overflow: hidden;
}

.usp-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    opacity: 0.5;
}

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

.usp {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.usp:first-child { border-left: none; }

.usp-icon {
    width: 44px;
    height: 44px;
    background: rgba(32, 164, 171, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.usp-content h4 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 16px;
}

/* ============================================
   SECTION GENERICS
   ============================================ */

section { padding: 110px 0; }

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

.section-header .eyebrow {
    margin-bottom: 18px;
    justify-content: center;
}

.section-header .eyebrow::before {
    width: 24px;
}

.section-header h2 {
    margin-bottom: 18px;
}

.section-header p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how {
    background: var(--white);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 14%;
    right: 14%;
    height: 2px;
    background-image: linear-gradient(to right, var(--teal) 50%, transparent 50%);
    background-size: 12px 2px;
    background-repeat: repeat-x;
    z-index: 0;
}

.step {
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 50%;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 24px;
    position: relative;
    transition: all 0.4s var(--ease-snap);
}

.step:hover .step-number {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-4px);
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px dashed var(--teal);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover .step-number::after { opacity: 1; }

.step h3 { margin-bottom: 12px; font-size: 23px; }
.step p { font-size: 15px; max-width: 280px; margin: 0 auto; }

/* ============================================
   COMPARISON
   ============================================ */

.compare {
    background: var(--white);
    border-top: 1px solid var(--line-soft);
}

.compare-table {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--paper);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.compare-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.compare-row:last-child { border-bottom: none; }

.compare-cell {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: var(--navy);
    font-weight: 500;
    border-right: 1px solid var(--line);
}

.compare-cell:last-child { border-right: none; }

.compare-row.header {
    background: var(--navy);
}

.compare-row.header .compare-cell {
    color: var(--white);
    font-family: var(--display);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.01em;
    border-right-color: rgba(255, 255, 255, 0.1);
}

.compare-row.header .compare-cell.highlight {
    background: var(--teal);
    color: var(--white);
    font-weight: 600;
    position: relative;
}

.compare-row.header .compare-cell.highlight::before {
    content: '★';
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 11px;
    opacity: 0.7;
}

.compare-cell.feature {
    background: var(--white);
    font-weight: 600;
    color: var(--navy);
}

.compare-cell.highlight {
    background: rgba(32, 164, 171, 0.06);
    color: var(--navy);
    font-weight: 600;
}

.compare-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.compare-icon.yes {
    background: var(--teal-soft);
    color: var(--teal);
}

.compare-icon.no {
    background: #FEF2F2;
    color: #DC2626;
}

.compare-icon.partial {
    background: #FEF3C7;
    color: #D97706;
}

/* ============================================
   DOCUMENT TYPES
   ============================================ */

.docs {
    background: var(--paper);
}

.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.doc-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 40px;
    transition: all 0.4s var(--ease-snap);
    position: relative;
    overflow: hidden;
}

.doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-snap);
}

.doc-card:hover {
    border-color: var(--navy);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(14, 34, 68, 0.15);
}

.doc-card:hover::before { transform: scaleX(1); }

.doc-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-soft);
}

.doc-card-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.doc-card h3 {
    margin: 0;
    font-size: 24px;
}

.doc-list {
    list-style: none;
    margin-bottom: 28px;
}

.doc-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
    color: var(--navy);
    font-weight: 500;
}

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

.doc-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    margin-top: 9px;
    flex-shrink: 0;
}

.doc-list li small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    margin-top: 2px;
    font-size: 13px;
}

.doc-list li span {
    flex: 1;
}

/* ============================================
   PERSONAS / FOR WHOM
   ============================================ */

.personas {
    background: var(--off-white);
    border-top: 1px solid var(--line-soft);
}

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

.persona {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 32px;
    position: relative;
    transition: all 0.4s var(--ease-snap);
    overflow: hidden;
}

.persona:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -25px rgba(14, 34, 68, 0.25);
    border-color: var(--teal);
}

.persona-tag {
    display: inline-block;
    font-family: var(--body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-soft);
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.persona-title {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.persona-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.persona-benefits {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
}

.persona-benefits li {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--navy);
}

.persona-benefits li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--teal);
    margin-top: 9px;
    flex-shrink: 0;
}

/* ============================================
   ROADMAP TIMELINE
   ============================================ */

.roadmap {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(32, 164, 171, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.roadmap .section-header h2,
.roadmap .section-header p { color: var(--white); }
.roadmap .section-header p { color: rgba(255, 255, 255, 0.65); }

.timeline {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    padding-left: 36px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 11px;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal) 0%, var(--teal) 70%, rgba(32, 164, 171, 0.2) 100%);
}

.timeline-item {
    position: relative;
    padding: 24px 0 24px 28px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 30px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--navy);
    border: 3px solid var(--teal);
    z-index: 2;
}

.timeline-item.done::before {
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(32, 164, 171, 0.2);
}

.timeline-item.now::before {
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
    animation: pulse-white 2s ease-in-out infinite;
}

@keyframes pulse-white {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15); }
    50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
}

.timeline-quarter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-bright);
    margin-bottom: 8px;
}

.timeline-status {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 100px;
    background: rgba(32, 164, 171, 0.18);
    letter-spacing: 0.08em;
}

.timeline-item.done .timeline-status {
    background: rgba(32, 164, 171, 0.3);
    color: var(--white);
}

.timeline-item.now .timeline-status {
    background: var(--white);
    color: var(--navy);
}

.timeline-title {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.timeline-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 580px;
}

/* ============================================
   TRUST STRIP (partner / numbers)
   ============================================ */

.trust-strip {
    background: var(--paper);
    padding: 56px 0;
    margin-top: 32px;
    border-bottom: 1px solid var(--line-soft);
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    align-items: center;
}

.trust-strip-label {
    font-family: var(--body);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
}

.trust-strip-label strong {
    display: block;
    font-family: var(--display);
    font-size: 21px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.01em;
    text-transform: none;
    margin-top: 6px;
}

.trust-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-num {
    border-left: 2px solid var(--teal);
    padding: 4px 0 4px 16px;
}

.trust-num-value {
    font-family: var(--display);
    font-size: 34px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.trust-num-label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

/* ============================================
   TRUST / FOR WHO
   ============================================ */

.trust {
    background: var(--off-white);
    border-top: 1px solid var(--line-soft);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.trust-content .eyebrow { margin-bottom: 20px; }
.trust-content h2 { margin-bottom: 24px; }
.trust-content p {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.trust-points {
    list-style: none;
    margin-top: 32px;
}

.trust-points li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.trust-points li:last-child { border-bottom: none; }

.trust-icon {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.trust-points li div h4 { margin-bottom: 4px; font-size: 16px; }
.trust-points li div p { font-size: 14px; margin: 0; }

.trust-visual {
    position: relative;
}

.trust-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 40px -16px rgba(14, 34, 68, 0.12);
}

.trust-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 20px;
}

a.trust-card-header {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a.trust-card-header:hover {
    opacity: 0.75;
}

.avatar {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-weight: 500;
    font-size: 18px;
}

.trust-card-meta strong {
    display: block;
    color: var(--navy);
    font-size: 15px;
    margin-bottom: 2px;
}

.trust-card-meta span { font-size: 13px; color: var(--muted); }

.quote {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.5;
    font-style: italic;
    letter-spacing: -0.01em;
}

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

.stat {
    background: var(--paper);
    border-radius: 10px;
    padding: 16px 18px;
}

.stat-value {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

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

.faq {
    background: var(--white);
    padding-top: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.faq-question:hover { color: var(--teal); }

.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-snap);
    color: var(--navy);
    font-size: 18px;
    font-weight: 300;
}

.faq-item.open .faq-toggle {
    background: var(--teal);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-snap);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
    padding: 0 0 24px;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 90%;
}

/* ============================================
   CTA / CONTACT
   ============================================ */

.contact {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(32, 164, 171, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.contact .section-header h2,
.contact .section-header p { color: var(--white); }

.contact .section-header p { color: rgba(255, 255, 255, 0.7); }

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

.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s var(--ease-snap);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--teal);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 22px;
}

.contact-card h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 19px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin-bottom: 22px;
    line-height: 1.55;
}

.contact-card .btn {
    width: 100%;
}

/* Contact form (Netlify Forms) inside the "Neem contact op" card */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    font-family: var(--body);
    font-size: 14px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 90px;
}

.contact-form label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: -4px;
}

.contact-form .form-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.contact-form .form-note a {
    color: var(--teal-bright);
    border-bottom: 1px solid var(--teal-bright);
    padding-bottom: 1px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 12px 0;
}

.form-success.show { display: block; }

.form-success h4 { color: var(--white); margin-bottom: 8px; }
.form-success p { color: rgba(255, 255, 255, 0.7); font-size: 14px; }

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand img {
    height: 84px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer h5 {
    color: var(--white);
    font-family: var(--body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer ul { list-style: none; }

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer ul a:hover { color: var(--teal); }

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.footer-meta {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   LEGAL / INFO PAGES (voorwaarden, privacy, cookies,
   verwerkersovereenkomst, over-ons)
   ============================================ */

.legal-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--white);
}
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 16px;
    max-width: 800px;
    color: var(--navy);
    font-family: var(--display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.legal-hero .meta { color: var(--muted); font-size: 14px; margin-top: 8px; }
.legal-hero .meta span { display: inline-block; margin-right: 20px; }

.legal-body { padding: 60px 0 100px; background: var(--paper); }

.legal-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 64px;
    align-items: start;
}

.toc {
    position: sticky;
    top: 110px;
    align-self: start;
    border-left: 1px solid var(--line);
    padding-left: 20px;
}
.toc h4 {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 10px; }
.toc a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s ease;
    display: block;
    line-height: 1.4;
    border: none;
    padding: 0;
}
.toc a:hover { color: var(--teal); border: none; }
.toc a.active { color: var(--navy); font-weight: 600; }

.legal-content { max-width: 720px; color: var(--text); }
.legal-content h2 {
    font-size: 26px;
    margin-top: 56px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--teal);
    display: inline-block;
    font-family: var(--display);
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-family: var(--body);
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
    margin-top: 28px;
    margin-bottom: 10px;
    letter-spacing: 0;
}
.legal-content p {
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.7;
}
.legal-content ul, .legal-content ol {
    margin-left: 22px;
    margin-bottom: 18px;
}
.legal-content li { margin-bottom: 8px; line-height: 1.65; }
.legal-content strong { color: var(--navy); font-weight: 700; }
.legal-content em { font-style: italic; }
.legal-content a {
    color: var(--teal);
    border-bottom: 1px solid var(--teal);
    padding-bottom: 1px;
}
.legal-content .callout {
    background: var(--teal-soft);
    border-left: 3px solid var(--teal);
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-size: 15px;
}
.legal-content .callout strong { color: var(--navy); }
.legal-content .definitions-table {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}
.legal-content .def-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14.5px;
}
.legal-content .def-row:last-child { border-bottom: none; }
.legal-content .def-row strong { color: var(--navy); font-weight: 700; }

/* ============================================
   404 PAGE
   ============================================ */

.notfound {
    padding: 140px 0 160px;
    text-align: center;
}
.notfound .eyebrow { justify-content: center; margin-bottom: 20px; }
.notfound h1 { margin-bottom: 16px; }
.notfound p { font-size: 18px; margin: 0 auto 36px; max-width: 480px; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 16px 48px -12px rgba(14, 34, 68, 0.25);
    z-index: 900;
    transform: translateY(150%);
    transition: transform 0.5s var(--ease-snap);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-text {
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.5;
}

.cookie-text strong {
    display: block;
    font-family: var(--display);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cookie-text a {
    color: var(--teal);
    border-bottom: 1px solid var(--teal);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn {
    padding: 10px 16px;
    font-size: 13px;
    flex: 1;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes snapIn {
    0% { opacity: 0; transform: translateX(-12px) scale(0.96); }
    60% { transform: translateX(2px) scale(1.01); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(32, 164, 171, 0.15); }
    50% { box-shadow: 0 0 0 10px rgba(32, 164, 171, 0); }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 960px) {
    .hero-grid,
    .trust-grid,
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-visual { max-width: 480px; margin: 0 auto; }

    .usp-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .legal-grid { grid-template-columns: 1fr; gap: 40px; }
    .toc {
        position: static;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--line);
        padding-top: 24px;
        order: 2;
    }
}

@media (max-width: 780px) {
    .usp { border-left: none; padding: 0; }

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

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

    .steps::before { display: none; }

    section { padding: 80px 0; }

    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    .nav-cta .btn-secondary { display: none; }

    .float-badge-1 { left: -10px; top: -20px; padding: 10px 14px; font-size: 12px; }

    .trust-strip-grid { grid-template-columns: 1fr; gap: 32px; }
    .trust-numbers { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .compare-row { grid-template-columns: 1.4fr 1fr 1fr; }
    .compare-cell:nth-child(4) { display: none; }

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

    .cookie-banner { left: 16px; right: 16px; bottom: 16px; padding: 18px 20px; }
}

@media (max-width: 540px) {
    .container { padding: 0 20px; }
    .hero { padding: 50px 0 70px; }
    .hero-cta .btn { width: 100%; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .compare-row { grid-template-columns: 1.2fr 1fr 1fr; }
    .compare-cell { padding: 16px 12px; font-size: 13px; }
    .trust-num-value { font-size: 28px; }

    .legal-content .def-row { grid-template-columns: 1fr; gap: 4px; }
}
