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

:root {
    --primary: #5c86f5;
    --primary-dark: #3356c8;
    --primary-soft: #aec6ff;
    --text-dark: #0f1d36;
    --text-muted: #55607a;
    --bg-page: #f5f7fb;
    --bg-soft: #ecf2ff;
    --surface: #ffffff;
    --surface-muted: #f1f4fa;
    --divider: #e4e9f2;
    --shadow-sm: 0 8px 30px rgba(15, 29, 54, 0.08);
    --shadow-card: 0 25px 60px rgba(24, 54, 94, 0.09);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --gradient-hero:
        radial-gradient(
            circle at 10% 20%,
            rgba(124, 179, 255, 0.25),
            transparent 55%
        ),
        radial-gradient(
            circle at 80% 0%,
            rgba(93, 152, 255, 0.3),
            transparent 55%
        ),
        linear-gradient(135deg, #f8fbff 0%, #e4ebff 100%);
    --wl-bg: #f7f9fc;
    --wl-bg-soft: #f9fbff;
    --wl-white: #ffffff;
    --wl-text-main: #1f2933;
    --wl-text-soft: #5a6170;
    --wl-text-muted: #8a93a5;
    --wl-primary: #2563eb;
    --wl-primary-soft: #e0edff;
    --wl-border-subtle: #e2e8f0;
    --wl-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --wl-radius-lg: 18px;
    --wl-radius-pill: 999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    background-color: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

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

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

main {
    overflow: hidden;
}

/* WealthLink resume-style header/hero */
.wl-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.wl-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.9)
    );
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.wl-nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.wl-mobile-menu {
    display: none;
}

.wl-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.wl-nav-toggle span {
    display: block;
    height: 2px;
    width: 20px;
    margin: 0 auto;
    background: #0f172a;
    transition: transform 0.2s ease;
}

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

.wl-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
}

.wl-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.wl-logo-mark {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    color: var(--wl-text-main);
}

.wl-logo-tagline {
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: var(--wl-radius-pill);
    background: var(--wl-primary-soft);
    color: var(--wl-primary);
}

.wl-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.wl-nav-link {
    font-size: 0.9rem;
    color: var(--wl-text-soft);
    text-decoration: none;
    transition:
        color 0.15s ease,
        opacity 0.15s ease;
}

.wl-nav-link:hover {
    color: var(--wl-text-main);
    opacity: 0.9;
}

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

.wl-nav-login {
    font-weight: 500;
}

.wl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease,
        transform 0.08s ease;
}

.wl-btn-full {
    width: 100%;
}

.wl-btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.wl-btn-neutral {
    background: rgba(15, 23, 42, 0.06);
    color: var(--wl-text-main);
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: none;
}

.wl-btn-neutral:hover {
    background: rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 23, 42, 0.2);
}

.wl-btn-primary {
    background: var(--wl-primary);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.wl-btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.wl-btn-ghost {
    background: transparent;
    color: var(--wl-text-main);
    border-color: var(--wl-border-subtle);
}

.wl-btn-ghost:hover {
    background: #f8fafc;
}

.wl-hero {
    position: relative;
    background: radial-gradient(
        circle at top,
        #e3edff 0,
        #f9fbff 40%,
        #ffffff 75%
    );
    padding: 60px 0 32px;
    overflow: hidden;
}

.wl-hero::before {
    content: '';
    position: absolute;
    inset: -120px -40%;
    background:
        radial-gradient(
            circle at 10% 0,
            rgba(59, 130, 246, 0.09) 0,
            transparent 55%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(96, 165, 250, 0.12) 0,
            transparent 55%
        );
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.wl-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    z-index: 1;
}

.wl-hero-copy {
    max-width: 560px;
}

.wl-eyebrow {
    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wl-primary);
    margin-bottom: 10px;
}

.wl-hero-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.55rem;
    line-height: 1.12;
    letter-spacing: 0.01em;
    color: var(--wl-text-main);
    margin: 0 0 14px;
}

.wl-hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--wl-text-soft);
    margin-bottom: 20px;
}

.wl-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.wl-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.wl-hero-bullets li {
    font-size: 0.9rem;
    color: var(--wl-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wl-hero-bullets li::before {
    content: '•';
    color: var(--wl-primary);
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 1px;
}

.wl-hero-visual {
    position: relative;
    min-height: 260px;
}

.wl-hero-media {
    position: relative;
    max-width: 520px;
    margin-left: auto;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.hero-image .screenshot,
.hero-image .hero-video {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.hero-image .hero-video {
    display: none;
}

.hero-image.is-playing .screenshot {
    display: none;
}

.hero-image.is-playing .hero-video {
    display: block;
}

.hero-video-trigger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
}

.hero-video-trigger svg {
    width: 20px;
    height: 20px;
}

.hero-image.is-playing .hero-video-trigger {
    opacity: 0;
    pointer-events: none;
}

.wl-hero-metrics {
    position: relative;
    z-index: 1;
    padding: 20px 0 10px;
}

.wl-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
    padding: 14px 0 4px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.wl-metric-value {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 2px;
}

.wl-metric-label {
    font-size: 0.82rem;
    color: var(--wl-text-muted);
}

.wl-carousel-wrapper {
    padding: 56px 0 64px;
    background: #f7fafc;
}

.wl-carousel-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.wl-carousel-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4f46e5;
    margin-bottom: 8px;
}

.wl-carousel-intro h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.wl-carousel-intro p {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.6;
}

.wl-carousel {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 24px;
}


.wl-panel-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 28px 32px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    overflow: visible;
}

.wl-panel-meta {
    flex: 0 0 320px;
    background: #f8fbff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    min-height: 100%;
}

.wl-panel-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
    background: #e0edff;
    padding: 4px 12px;
    border-radius: 999px;
}

.wl-panel-meta h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin: 12px 0 6px;
}

.wl-panel-meta p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
}

.wl-panel-visual {
    flex: 1 1 520px;
    min-width: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wl-panel-visual .wl-matching-stack {
    width: min(520px, 100%);
    margin: 0 auto;
}

.wl-panel-visual .wl-trainer-stack {
    width: min(620px, 100%);
    margin: 0 auto;
}

.wl-proposal-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    padding-right: 32px;
    pointer-events: none;
}

.wl-proposal-card .wl-btn-primary {
    margin-top: 18px;
}


.wl-proposal-card::after {
    content: '';
    position: absolute;
    top: 96px;
    right: 12px;
    width: 8px;
    height: 70px;
    border-radius: 999px;
    background: linear-gradient(180deg, #c9d7f2 0%, #8ea2df 100%);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.45);
    opacity: 0.85;
}

/* demo-only: freeze interactive controls inside slides */
.wl-carousel-panel input,
.wl-carousel-panel textarea,
.wl-carousel-panel button,
.wl-carousel-panel label {
    pointer-events: none;
    cursor: default;
}

@media (max-width: 960px) {
    .wl-panel-shell {
        flex-direction: column;
    }

    .wl-panel-meta,
    .wl-panel-visual {
        flex: 1 1 100%;
        min-width: auto;
    }

    .wl-nav-right {
        display: none;
    }

    .wl-nav-toggle {
        display: flex;
    }

    .wl-mobile-menu {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.72);
        backdrop-filter: blur(8px);
        z-index: 45;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
    }

    .wl-mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
    }

    .wl-mobile-nav {
        width: 100%;
        max-width: 360px;
        background: #ffffff;
        border-radius: 24px;
        padding: 28px;
        display: grid;
        gap: 12px;
        box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
    }

    .wl-mobile-link {
        font-size: 1rem;
        color: #0f172a;
        text-decoration: none;
        padding: 10px 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    }

    .wl-mobile-link:last-of-type {
        border-bottom: none;
    }
}

@media (max-width: 720px) {
    .wl-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wl-hero-media {
        margin-left: 0;
        margin: 0 auto;
        max-width: 100%;
    }

    .wl-hero-visual {
        width: 100%;
    }

    .wl-panel-shell {
        padding: 20px 18px;
        border-radius: 20px;
        gap: 20px;
    }

    .wl-panel-meta {
        padding: 16px;
    }

    .wl-carousel-panel {
        padding: 10px 12px;
    }

    .wl-panel-visual {
        display: none;
    }

    .wl-card {
        min-width: auto;
        width: 100%;
        padding: 18px;
    }

    .wl-matching-stack {
        height: 240px;
    }

    .wl-matching-card-back {
        width: 72%;
    }

    .wl-trainer-card-middle {
        left: 24px;
        width: 85%;
    }
}

@media (max-width: 540px) {
    .wl-panel-shell {
        padding: 18px 14px;
    }

    .wl-panel-meta h3 {
        font-size: 1.1rem;
    }

    .wl-panel-meta p {
        font-size: 0.85rem;
    }

    .wl-matching-stack {
        height: 260px;
    }

    .wl-matching-card-back {
        width: 78%;
    }

    .wl-trainer-stack {
        height: 540px;
    }

    .wl-trainer-card-middle {
        left: 4px;
        width: 90%;
    }

    .wl-trainer-card-front {
        top: 250px;
    }
}

.wl-carousel-track {
    display: flex;
    transition: transform 0.35s ease;
}

.wl-carousel-panel {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    padding: 10px 32px;
}

.wl-card {
    width: min(560px, 100%);
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    padding: 20px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.wl-trainer-stack {
    position: relative;
    height: 520px;
}

.wl-panel-visual .wl-trainer-stack {
    width: min(560px, 100%);
}

.wl-trainer-card {
    position: absolute;
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    padding: 14px 16px;
    font-size: 0.78rem;
}

.wl-trainer-card-back {
    top: 0;
    left: 0;
    z-index: 1;
}

.wl-trainer-card-middle {
    top: 110px;
    left: 70px;
    z-index: 5;
    width: 82%;
}

.wl-trainer-card-front {
    top: 230px;
    left: 0;
    z-index: 3;
}

.wl-trainer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.wl-trainer-icon {
    font-size: 1rem;
}

.wl-trainer-heading {
    font-weight: 600;
    font-size: 0.88rem;
}

.wl-trainer-primary-btn {
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 8px 10px;
    font-size: 0.78rem;
    font-weight: 500;
    background: #2563eb;
    color: #ffffff;
    margin-bottom: 10px;
    cursor: pointer;
}

.wl-trainer-entry {
    margin-bottom: 6px;
}

.wl-trainer-time {
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 2px;
}

.wl-trainer-text {
    font-size: 0.76rem;
    color: #111827;
}

.wl-trainer-question {
    background: #eef6ff;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.76rem;
    margin-bottom: 8px;
    display: flex;
    gap: 6px;
}

.wl-trainer-q-label {
    font-weight: 600;
}

.wl-trainer-list,
.wl-trainer-comments {
    margin: 6px 0 0;
    padding-left: 16px;
    font-size: 0.74rem;
    color: #374151;
}

.wl-trainer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}

.wl-trainer-primary-btn-small {
    width: auto;
    padding-inline: 14px;
}

.wl-trainer-scores {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.wl-score-label {
    font-size: 0.7rem;
    color: #6b7280;
}

.wl-score-value {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .wl-trainer-stack {
        height: 520px;
    }

    .wl-trainer-card-middle {
        left: 4px;
    }
}

.wl-card-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 14px;
}

.wl-matching-stack {
    position: relative;
    height: 400px;
}

.wl-matching-card-back {
    position: absolute;
    left: 0;
    top: 0;
    width: 58%;
    background: #f9fafb;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.wl-matching-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 4px;
}

.wl-matching-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.wl-matching-meta {
    font-size: 0.72rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.wl-matching-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.wl-tag {
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
}

.wl-matching-card-front {
    position: absolute;
    right: 0;
    top: 50px;
    width: 78%;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    padding: 12px 14px 10px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.wl-matching-front-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.wl-matching-list {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    font-size: 0.74rem;
    color: #374151;
}

.wl-matching-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.wl-matching-score {
    font-weight: 700;
}

.wl-matching-front-foot {
    margin-top: 4px;
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .wl-matching-stack {
        height: 230px;
    }

    .wl-matching-card-back {
        width: 62%;
    }

    .wl-matching-card-front {
        width: 82%;
    }
}
.wl-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.wl-match-card {
    background: #f9fafb;
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.wl-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.68rem;
    font-weight: 600;
}

.wl-product-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
}

.wl-product-meta {
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.wl-score-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    background: #eef6ff;
    border-radius: 10px;
}

.wl-score-label {
    font-size: 0.65rem;
    color: #64748b;
}

.wl-score-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.wl-match-analysis-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.wl-match-analysis-card ul {
    list-style: none;
    padding: 0;
    margin: 6px 0;
    display: grid;
    gap: 3px;
    font-size: 0.72rem;
}

.wl-match-analysis-card li {
    display: flex;
    justify-content: space-between;
}

.wl-foot {
    font-size: 0.68rem;
    color: #6b7280;
}

.wl-header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.wl-pill-blue {
    background: #2563eb;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
}

.wl-date {
    font-size: 0.68rem;
    color: #94a3b8;
}

.wl-proposal-client-box {
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 10px;
    margin-bottom: 14px;
}

.wl-badge-yellow {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 999px;
}

.wl-bullet-list {
    margin: 4px 0 0;
    padding-left: 16px;
    font-size: 0.72rem;
    color: #4b5563;
}

.wl-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.wl-icon-blue {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0edff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wl-question-bubble {
    background: #eef6ff;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 0.78rem;
}

.wl-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.75rem;
    margin: 10px 0;
}

.wl-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.wl-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: #475569;
}

.wl-trainer-question {
    background: #f1f5f9;
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.wl-btn-primary {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.78rem;
    cursor: pointer;
}

.wl-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #4b5563;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-carousel-arrow-prev {
    left: 24px;
}
.wl-carousel-arrow-next {
    right: 24px;
}

.wl-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.wl-carousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
}

.wl-carousel-dots button.active {
    background: #2563eb;
}

@media (max-width: 960px) {
    .wl-carousel-panel {
        padding: 10px 12px;
    }

    .wl-carousel-arrow-prev {
        left: 6px;
    }
    .wl-carousel-arrow-next {
        right: 6px;
    }
}

/* Benefits */
.benefits {
    padding: 120px 0;
    background: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.benefits-list li {
    padding: 20px;
    border: 1px solid var(--divider);
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
}

.list-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dark);
}

.benefits-visual {
    display: grid;
    gap: 24px;
}

.benefit-card {
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.big-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 12px 0;
}

.benefit-note {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    color: var(--text-muted);
}

/* Awards */
.awards {
    padding: 120px 0;
    background: var(--bg-page);
}

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

.awards-header {
    max-width: 600px;
    margin-bottom: 48px;
}

.award-badge {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.award-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: var(--bg-soft);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.award-category {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--text-muted);
}

/* Demo */
.demo-section {
    padding: 120px 0;
    background: #ffffff;
}

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

.demo-text ul {
    margin-top: 24px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-text li {
    padding-left: 18px;
    position: relative;
}

.demo-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 600;
}

.demo-form-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.demo-form h3 {
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 29, 54, 0.12);
    font-size: 15px;
    font-family: inherit;
    background: rgba(15, 29, 54, 0.02);
    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(92, 134, 245, 0.2);
}

.error-message {
    font-size: 13px;
    color: #e45b5b;
}

input.error,
textarea.error {
    border-color: #e45b5b;
}

.form-note {
    font-size: 13px;
    margin-top: 12px;
}

.success-message {
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(92, 134, 245, 0.1);
    border: 1px solid rgba(92, 134, 245, 0.3);
    text-align: center;
}

/* FAQ */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(120deg, #f9fbff 0%, #eef3ff 100%);
}

.section-subtext {
    margin-bottom: 18px;
    color: #6b7280;
}

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

.faq-item {
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--divider);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.faq-item a {
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background: #070b14;
    color: #f4f6ff;
    padding: 72px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo {
    width: 40px;
    height: auto;
}

.footer-brand-name {
    font-size: 20px;
    font-weight: 600;
}

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

.footer-column h4 {
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-powered-by {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-powered-by img {
    width: 80px;
    height: auto;
}

.legal-page {
    padding: 120px 0;
    background: var(--bg-page);
}

.legal-page .container {
    max-width: 900px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 40px;
    margin-bottom: 8px;
}

.legal-header p {
    color: var(--text-muted);
}

.legal-section,
.legal-intro {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.legal-section + .legal-section,
.legal-intro + .legal-section {
    margin-top: 24px;
}

.legal-section h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.legal-section ol,
.legal-section ul {
    padding-left: 20px;
    color: var(--text-muted);
}

.legal-section a {
    color: var(--primary-dark);
    text-decoration: none;
}

.legal-toc ol {
    column-count: 2;
    gap: 24px;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .benefits-grid,
    .demo-content {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a:not(.btn-primary-small):not(.btn-neutral-small) {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .demo-form-container {
        padding: 28px;
    }

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

    .hero-image .screenshot,
    .hero-image .hero-video {
        transform: none;
    }

    .legal-section,
    .legal-intro {
        padding: 24px;
    }

    .legal-toc ol {
        column-count: 1;
    }
}
/* Container for the overlapping cards */
.wl-match-stack {
    position: relative;
    max-width: 360px; /* good size for a panel */
    margin: 0 auto;
}

/* Base card look (feel free to remove if you already defined .wl-hero-card) */
.wl-hero-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

/* Back card (matched product) */
.wl-match-card-main {
    padding: 14px 16px 16px;
}

.wl-match-main-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.wl-match-pill-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    margin-bottom: 4px;
}

.wl-match-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.wl-match-product-meta {
    font-size: 0.72rem;
    color: #6b7280;
}

.wl-match-score {
    text-align: right;
}

.wl-match-score-label {
    display: block;
    font-size: 0.68rem;
    color: #6b7280;
}

.wl-match-score-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
}

.wl-match-main-body {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.wl-match-chip {
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
}

/* Front card (matching analysis) that overlaps */
.wl-match-card-overlay {
    position: absolute;
    right: -6px;
    bottom: -16px;
    width: 75%;
    padding: 10px 12px 10px;
    z-index: 5;
    background: #ffffff;
}

.wl-match-overlay-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.wl-match-overlay-grid {
    display: grid;
    gap: 4px;
}

.wl-match-overlay-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
}

.wl-overlay-label {
    color: #4b5563;
}

.wl-overlay-score {
    font-weight: 600;
    color: #111827;
}

.wl-match-overlay-footnote {
    margin-top: 6px;
    font-size: 0.68rem;
    color: #6b7280;
}

/* Tweak for smaller screens inside a narrow panel */
@media (max-width: 640px) {
    .wl-match-card-overlay {
        width: 80%;
        right: -2px;
        bottom: -12px;
    }
}
