/**
 * WoonView — homepage redesign ("Richting A v2 licht groen")
 * Scoped entirely to body.landing-page so it never touches the
 * dashboard/account/other-brand look. Re-declares the shared
 * --woonview-* tokens where safe (they cascade into the existing
 * shared button/card rules in style_wvp.css), plus adds the new
 * hero/nav/demo/sticky-cta pieces that don't have an equivalent yet.
 *
 * body.wv-theme is the opt-in for NON-landing pages (About page +
 * the logged-in area): it gets the exact same design tokens below —
 * colors, fonts, paper background — without the landing-only layout
 * rules (fixed transparent navbar, hero, etc.).
 */

body.landing-page,
body.wv-theme {
    --woonview-font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --woonview-font-family-heading: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Same softer green as the risk-scan's "laag risico" traffic light —
       used everywhere on the landing page (buttons, links, accents). */
    --woonview-button: #2F8F5B;
    --woonview-success-dark: #266E49;
    --woonview-title: #13233a;
    --woonview-text: #3c4a5e;
    --woonview-text-muted: #6b7889;
    --woonview-bg-primary: #f6f4ef;
    --woonview-card-bg: #ffffff;
    --woonview-border-light: #e6e2d9;

    --wv-accent-tint: #e8f5e9;
    --wv-accent-line: #c8e6c9;
    --wv-paper: #f6f4ef;
    --wv-paper-2: #efece4;
    --wv-green: #2f8f5b;
    --wv-green-tint: #e6f3ec;
    --wv-amber: #c0852a;
    --wv-amber-tint: #f6ecd9;
    --wv-red: #c0492f;
    --wv-red-tint: #f6e4df;
    --wv-r: 14px;
    --wv-r-sm: 10px;
    --wv-r-lg: 22px;
    --wv-sh-sm: 0 1px 2px rgba(19,35,58,.05), 0 1px 3px rgba(19,35,58,.06);
    --wv-sh-md: 0 8px 24px rgba(19,35,58,.08), 0 2px 6px rgba(19,35,58,.05);
    --wv-sh-lg: 0 24px 60px rgba(19,35,58,.14), 0 6px 16px rgba(19,35,58,.07);

    background: var(--wv-paper);
}

/* wv-theme pages keep the normal sticky navbar from style_wvp.css, but
   paper-tinted instead of white so it blends with the page canvas, and
   with the same subtle shadow as the scrolled landing-page nav.
   (The landing page has its own transparent/fixed navbar below.) */
body.wv-theme .navbar {
    background-color: var(--wv-paper);
    border-bottom-color: var(--woonview-border-light);
    box-shadow: 0 1px 2px rgba(19, 35, 58, .04);
}

/* Page leads: style_wvp.css sets font-weight 500, which old Lato silently
   rendered as 400 (500 wasn't loaded). Hanken Grotesk does load 500, making
   these lines look bold — pin them back to regular. */
body.wv-theme .woonview-page-lead {
    font-weight: 400;
}

/* style_wvp.css already hardcodes rgba(76,175,80,...) for .section-label,
   .journey-step-icon and .service-green .service-icon-wrapper — that's
   this same brand green, so no per-selector reskin needed here. */
body.landing-page .accent-bar {
    display: none;
}

/* Section eyebrow labels: text only, no pill background */
body.landing-page .section-label {
    background: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 12px;
}

/* ============================================================
   CUSTOM LINE ICONS — hand-drawn SVGs (static/img/wvp/icons/),
   painted via CSS mask so they inherit their wrapper's color.
   Each usage sets --wv-icon-url inline to pick the glyph.
   ============================================================ */
.wv-icon {
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-image: var(--wv-icon-url);
    mask-image: var(--wv-icon-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Buttons: pill shape ("modern" look, baked in) */
body.landing-page .btn,
body.landing-page .btn-hero-primary,
body.landing-page .btn-hero-secondary,
body.landing-page .btn-cta-primary,
body.landing-page .btn-cta-secondary,
body.landing-page .hero-addr-confirm-btn {
    border-radius: 999px;
}

/* ============================================================
   NAV — transparent over the hero, blurred once scrolled
   ============================================================ */
body.landing-page .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
    z-index: 1000;
}
body.landing-page .navbar.is-scrolled {
    background: rgba(246, 244, 239, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--woonview-border-light);
    box-shadow: 0 1px 2px rgba(19,35,58,.04);
}
body.landing-page .navbar-brand-text { font-family: var(--woonview-font-family-heading); }

/* Hero sits directly behind the fixed nav — restore the top offset the
   nav used to occupy in normal flow. */
body.landing-page .hero-section.hero-section--split {
    padding-top: calc(78px + 4rem);
}

/* ============================================================
   HERO — centered, single column
   ============================================================ */
body.landing-page .hero-section.hero-section--split {
    background: linear-gradient(160deg, var(--wv-paper) 30%, #dcefe0 100%) !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 0 !important;
    padding-bottom: 6rem;
}
body.landing-page .hero-section.hero-section--split::before,
body.landing-page .hero-section.hero-section--split::after {
    content: none;
}
body.landing-page .hero-section--split .hero-split {
    display: block;
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 2;
}
body.landing-page .hero-section--split .hero-card.hero-card--landing {
    all: unset;
    display: block;
    width: 100%;
}
body.landing-page .hero-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    background: var(--wv-accent-tint);
    border: 1px solid var(--wv-accent-line);
    color: var(--woonview-success-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}
body.landing-page .hero-section--split .hero-title {
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    letter-spacing: -.03em;
    margin-bottom: 1.1rem;
    max-width: 17ch;
}
body.landing-page .hero-title .hl {
    color: var(--woonview-button);
}
body.landing-page .hero-section--split .hero-subtitle {
    font-size: 1.15rem;
    max-width: 46ch;
    margin: 0 0 2rem;
}
body.landing-page .hero-left,
body.landing-page .hero-right {
    width: 100%;
}
body.landing-page .hero-buttons.hero-buttons--landing {
    align-items: flex-start;
    margin-bottom: 0;
}

/* Address-search widget: single pill bar (see home.html's own .hero-search-row
   rules for the structural CSS) — left-anchored, same edge as the hero text. */
body.landing-page .hero-address-form-wrap {
    max-width: 560px;
    margin: 0;
}
body.landing-page .hero-search-row {
    border-color: var(--woonview-border-light);
    box-shadow: none;
}

/* Hero value-stats row (static, replaces the dropped bullet list) */
.hero-stats-row {
    display: flex;
    gap: 2.75rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 2.75rem;
}
.hero-stats-row .stat {
    text-align: left;
    flex: 1 1 0;
    min-width: 0;
}
.hero-stats-row .stat .v {
    font-family: var(--woonview-font-family-heading);
    font-weight: 800;
    font-size: 1.85rem;
    color: var(--woonview-title);
    letter-spacing: -.02em;
}
.hero-stats-row .stat .l {
    font-size: 0.8rem;
    color: var(--woonview-text-muted);
    margin-top: 0.2rem;
}

/* ============================================================
   FLOATING RISK-SCAN DEMO — overlaps the hero's bottom edge
   ============================================================ */
body.landing-page .journey-cta {
    margin-bottom: 90px;
}
body.landing-page #product-preview {
    padding: 0 0 4rem;
    margin-top: -70px;
    position: relative;
    z-index: 5;
}
.wv-preview-wrap {
    /* Match the navbar's .container so the card spans logo-to-Inloggen width */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
body.landing-page #wv-preview-card.wv-preview-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
    background: #fff;
    border-radius: var(--wv-r-lg);
    box-shadow: var(--wv-sh-lg);
    border: 1px solid var(--woonview-border-light);
    overflow: hidden;
    margin: 0 auto;
}

/* Photo column */
.wv-preview-photo {
    position: relative;
    min-height: 260px;
}
.wv-preview-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wv-preview-photo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.wv-preview-photo-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2.5rem 1.25rem 1rem;
    background: linear-gradient(0deg, rgba(9,20,15,.85) 0%, rgba(9,20,15,.35) 65%, transparent 100%);
}
.wv-preview-photo-address {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.wv-preview-photo-meta {
    font-size: 0.78rem;
    color: rgba(255,255,255,.85);
    margin-top: 0.15rem;
}

/* Risk-scan panel column */
.wv-preview-panel {
    padding: 1.5rem 1.5rem 1.35rem;
    display: flex;
    flex-direction: column;
}
.wv-preview-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}
.wv-preview-panel-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--woonview-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0;
}
.wv-preview-header-badge {
    opacity: 0;
    transition: opacity 0.4s ease;
    flex-shrink: 0;
}
.wv-risk-pill {
    display: inline-block;
    background: var(--wv-amber-tint);
    color: var(--wv-amber);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

@media (max-width: 760px) {
    body.landing-page #wv-preview-card.wv-preview-card {
        grid-template-columns: 1fr;
    }
    .wv-preview-photo { min-height: 200px; }
}

/* ============================================================
   JOURNEY — cream background, compact flat-icon white cards
   ============================================================ */
body.landing-page .journey-section {
    background: transparent;
    padding: 4rem 20px 3.5rem;
}
body.landing-page .journey-timeline {
    gap: 16px;
}
body.landing-page .journey-step {
    background: #fff;
    border-radius: var(--wv-r);
    padding: 20px;
    border: 1px solid var(--woonview-border-light);
}
body.landing-page .journey-step:hover {
    box-shadow: var(--wv-sh-md);
}
body.landing-page .journey-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 12px;
}
body.landing-page .journey-step-icon {
    width: 40px;
    height: 40px;
    background: var(--wv-accent-tint);
    border-radius: 10px;
    box-shadow: none;
    color: var(--woonview-button);
    font-size: 1.05rem;
    margin-bottom: 0;
    flex-shrink: 0;
}
body.landing-page .journey-step-icon .wv-icon {
    width: 20px;
    height: 20px;
}
body.landing-page .journey-step-number {
    margin-bottom: 0;
    text-align: right;
}
body.landing-page .journey-step-title {
    font-size: 1rem;
    margin-bottom: 4px;
}
body.landing-page .journey-step-description {
    font-size: 0.85rem;
}

/* ============================================================
   APP SECTION — cream background, image/text swapped
   ============================================================ */
body.landing-page .app-section {
    background: transparent;
    padding: 3.5rem 20px;
}
body.landing-page .app-text {
    order: 2;
}
body.landing-page .app-visual {
    order: 1;
}

/* Phone-screen checklist mockup — replaces the static screenshot with a
   simple in-CSS UI (checkmarks + placeholder bars), on-brand green. */
body.landing-page .wv-phone-checklist {
    height: 100%;
    background: #e4e9f0;
    padding: 32px 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
body.landing-page .wv-phone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(19, 35, 58, 0.1);
}
body.landing-page .wv-phone-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--woonview-button);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.landing-page .wv-phone-header-icon .wv-icon {
    width: 18px;
    height: 18px;
}
body.landing-page .wv-phone-header-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}
body.landing-page .wv-phone-bar.wv-phone-bar--title {
    flex: none;
    height: 10px;
    max-width: 65%;
    background: rgba(19, 35, 58, 0.55);
}
body.landing-page .wv-phone-bar.wv-phone-bar--subtitle {
    flex: none;
    height: 6px;
    max-width: 42%;
    background: rgba(19, 35, 58, 0.22);
}
body.landing-page .wv-phone-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
body.landing-page .wv-phone-row {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(19, 35, 58, 0.06);
}
body.landing-page .wv-phone-check {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--woonview-button);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}
body.landing-page .wv-phone-check .wv-icon {
    width: 14px;
    height: 14px;
}
body.landing-page .wv-phone-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--wv-accent-tint);
    flex: 1;
}
body.landing-page .wv-phone-row:nth-child(2) .wv-phone-bar { max-width: 82%; }
body.landing-page .wv-phone-row:nth-child(3) .wv-phone-bar { max-width: 92%; }
body.landing-page .wv-phone-row:nth-child(4) .wv-phone-bar { max-width: 70%; }
body.landing-page .wv-phone-row:nth-child(5) .wv-phone-bar { max-width: 86%; }
body.landing-page .app-features-list li .wv-icon-box {
    width: 44px;
    height: 44px;
    background: var(--wv-accent-tint);
    box-shadow: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--woonview-button);
}
body.landing-page .app-features-list li .wv-icon-box .wv-icon {
    /* style_wvp.css's ".app-features-list li span" generic text rule
       also matches this span and would otherwise force it dark grey. */
    color: var(--woonview-button);
    width: 20px;
    height: 20px;
}

/* ============================================================
   PRICING — outline cards by default, filled green for the
   popular plan
   ============================================================ */
body.landing-page .pricing-section {
    background: transparent !important;
}
body.landing-page .wv-price-card {
    border: 1px solid var(--woonview-border-light);
    position: relative;
}
body.landing-page .wv-price-card--popular {
    border: 2px solid var(--woonview-button);
}
body.landing-page .wv-price-ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--woonview-button);
    color: #fff;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
body.landing-page .wv-price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--woonview-title);
    margin: 0 0 1rem;
}
body.landing-page .wv-price-card--popular .wv-price-amount {
    color: var(--woonview-button);
}
body.landing-page .wv-btn-outline {
    background: #fff;
    color: var(--woonview-title);
    border: 1.5px solid var(--woonview-border-light);
}
body.landing-page .wv-btn-outline:hover {
    border-color: var(--woonview-button);
    color: var(--woonview-button);
}
body.landing-page .wv-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
body.landing-page .wv-price-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--woonview-text);
}
body.landing-page .wv-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 6px;
    background: var(--wv-accent-tint);
    color: var(--woonview-button);
    font-size: 0.72rem;
}

/* ============================================================
   EXPERTISE / STATS — dark section, heading font + legible subtext
   ============================================================ */
body.landing-page .stats-section {
    background: linear-gradient(160deg, var(--woonview-title) 0%, #0c1826 100%);
}
body.landing-page .wv-stats-title {
    font-family: var(--woonview-font-family-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
body.landing-page .wv-stats-text {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   EXPERT SERVICES — cream section background, white cards,
   flat icon style matching journey/app icons
   ============================================================ */
body.landing-page .services-section {
    background: transparent;
}
body.landing-page .services-grid {
    max-width: 1100px;
}
body.landing-page .service-card {
    background: #fff;
    border-radius: var(--wv-r-lg);
    box-shadow: none;
    border: 1px solid var(--woonview-border-light);
}
body.landing-page .service-icon-wrapper {
    border-radius: var(--wv-r-sm);
    box-shadow: none;
}
body.landing-page .service-green .service-icon-wrapper {
    background: var(--wv-accent-tint);
    color: var(--woonview-button);
}
body.landing-page .service-blue .service-icon-wrapper {
    background: var(--wv-paper-2);
    color: var(--woonview-title);
}
body.landing-page .service-icon-wrapper .wv-icon {
    width: 30px;
    height: 30px;
}
/* Keep the benefit-list checkmarks green (in their own tint square) on
   both card variants, overriding the green/blue-tinted icon color rules
   in style_wvp.css that would otherwise recolor the checkmark itself. */
body.landing-page .service-green .service-benefits li i,
body.landing-page .service-blue .service-benefits li i {
    color: var(--woonview-button);
}

/* ============================================================
   FINAL CTA — green gradient card, white text, inverted buttons
   ============================================================ */
body.landing-page .card {
    border-radius: var(--wv-r);
}
body.landing-page #cta.cta-section {
    /* background: linear-gradient(160deg, var(--woonview-button) 0%, var(--woonview-success-dark) 100%); */
    background-color: #266E49;
    border-radius: var(--wv-r-lg);
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}
body.landing-page #cta .cta-title,
body.landing-page #cta .cta-note {
    color: #fff;
}
body.landing-page #cta .cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
}
body.landing-page #cta .btn-cta-primary {
    background-color: #fff;
    color: var(--woonview-success-dark);
    box-shadow: none;
}
body.landing-page #cta .btn-cta-primary:hover {
    background-color: #f4faf5;
    color: var(--woonview-success-dark);
}
body.landing-page #cta .btn-cta-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
body.landing-page #cta .btn-cta-secondary:hover {
    border-color: #fff;
    color: #fff;
}

/* ============================================================
   STICKY BOTTOM CTA BAR
   ============================================================ */
.wv-sticky-cta {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--woonview-title);
    color: #fff;
    border-radius: 999px;
    padding: 10px 12px 10px 22px;
    box-shadow: 0 18px 48px rgba(19,35,58,.35);
    transform: translate(-50%, 160%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    max-width: min(92vw, 620px);
}
.wv-sticky-cta.show { transform: translate(-50%, 0); }
.wv-sticky-cta .sc-txt { font-size: 14px; color: #c6d2e0; white-space: nowrap; }
.wv-sticky-cta .sc-txt b { color: #fff; }
.wv-sticky-cta .btn-hero-primary { padding: 10px 20px; font-size: 14px; box-shadow: none; }
@media (max-width: 640px) {
    .wv-sticky-cta .sc-txt { display: none; }
    /* Without the text, the pill's original left-heavy padding (meant to
       balance the text+button pair) leaves the button off-centre — even it out. */
    .wv-sticky-cta { padding: 7px; gap: 0; }
}

/* ============================================================
   SCROLL-REVEAL
   ============================================================ */
body.landing-page .wv-rev {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
body.landing-page .wv-rev.wv-vis {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    body.landing-page .wv-rev {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    body.landing-page .hero-section.hero-section--split { padding-top: calc(78px + 2.5rem); }
    body.landing-page #product-preview { margin-top: -40px; }
}
@media (max-width: 480px) {
    .hero-stats-row { gap: 1rem; }
    .hero-stats-row .stat .v { font-size: 1.4rem; }
}
