/**
 * Kidlist Deluxe — Marketing Landing Page Styles
 *
 * Token system matches the sign-up landing page (welcome.blade.php)
 * for visual continuity across the conversion funnel.
 */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --kl-blue: #2c75bc;
    --kl-blue-hover: #1e5b94;
    --kl-blue-dark: #1e3a5f;
    --kl-blue-light: #e1f2ff;
    --kl-blue-wash: #f0f8ff;
    --kl-warm-wash: #fff8f0;
    --kl-violet: #7c3aed;
    --kl-heading: #333;
    --kl-body: #505050;
    --kl-textured-bg: #004276;
    --kl-on-textured-heading: #fff;
    --kl-on-textured-body: rgba(255, 255, 255, 0.85);
    --kl-turquoise: #55baba;
    --kl-turquoise-wash: #d7efef;
    --kl-turquoise-ink: #2d8585;
}

/* ============================================================
   Base / Reset (scoped to landing page)
   ============================================================ */
.kld-landing {
    font-family:
        "Figtree",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--kl-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height, 150px);
    background-color: var(--kl-textured-bg);
    background-image:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    background-position: -1px -1px;
}

.kld-landing *,
.kld-landing *::before,
.kld-landing *::after {
    box-sizing: border-box;
}

.kld-landing img {
    max-width: 100%;
    height: auto;
}

.kld-landing a {
    color: var(--kl-blue);
    text-decoration: none;
    transition: color 0.15s ease;
}

.kld-landing a:hover {
    color: var(--kl-blue-hover);
}

/* ============================================================
   Container
   ============================================================ */
.kld-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .kld-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .kld-container {
        padding: 0 32px;
    }
}

/* ============================================================
   Section Spacing
   ============================================================ */
.kld-section {
    padding: 48px 0;
}

@media (min-width: 640px) {
    .kld-section {
        padding: 64px 0;
    }
}

/* ============================================================
   Typography
   ============================================================ */
.kld-landing h1,
.kld-landing h2,
.kld-landing h3 {
    color: var(--kl-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.kld-landing h1 {
    font-size: 1.875rem;
    letter-spacing: -0.01em;
}

.kld-landing h2 {
    font-size: 1.5rem;
}

.kld-landing h3 {
    font-size: 1rem;
    font-weight: 600;
}

@media (min-width: 640px) {
    .kld-landing h1 {
        font-size: 2.25rem;
    }

    .kld-landing h2 {
        font-size: 1.875rem;
    }
}

/* ============================================================
   Buttons
   ============================================================ */
.kld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
    text-decoration: none;
    line-height: 1.5;
}

.kld-btn:focus-visible {
    outline: 2px solid var(--kl-blue);
    outline-offset: 2px;
}

.kld-landing a.kld-btn-primary,
.kld-landing a.kld-btn-primary:visited {
    background-color: var(--kl-blue);
    color: #fff !important;
    border-color: var(--kl-blue);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.kld-landing a.kld-btn-primary:hover,
.kld-landing a.kld-btn-primary:focus,
.kld-landing a.kld-btn-primary:active {
    background-color: var(--kl-blue-hover);
    border-color: var(--kl-blue-hover);
    color: #fff !important;
}

.kld-landing a.kld-btn-outlined,
.kld-landing a.kld-btn-outlined:visited {
    background-color: transparent;
    color: var(--kl-blue) !important;
    border-color: var(--kl-blue);
}

.kld-landing a.kld-btn-outlined:hover,
.kld-landing a.kld-btn-outlined:focus,
.kld-landing a.kld-btn-outlined:active {
    background-color: var(--kl-blue);
    color: #fff !important;
}

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

/* ============================================================
   Badges
   ============================================================ */
.kld-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.kld-badge-blue {
    background-color: var(--kl-blue);
    color: #fff;
}

.kld-badge-turquoise {
    background-color: var(--kl-turquoise);
    color: #fff;
}

.kld-badge-gray {
    background-color: #f3f4f6;
    color: #6b7280;
}

.kld-badge-violet {
    background-color: #ede9fe;
    color: var(--kl-violet);
}

.kld-badge-rose {
    background-color: #ffe4e6;
    color: #e11d48;
}

/* ============================================================
   1. Hero Section
   ============================================================ */
.kld-hero {
    background: #fff;
}

.kld-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

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

.kld-hero-launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 6px 14px;
    background: var(--kl-turquoise-wash);
    color: var(--kl-turquoise-ink);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.005em;
    border-radius: 9999px;
    border: 1px solid rgba(85, 186, 186, 0.32);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(45, 133, 133, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.kld-hero-launch-badge:hover,
.kld-hero-launch-badge:focus-visible {
    color: #1f6868;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(45, 133, 133, 0.18);
    text-decoration: none;
}

.kld-hero-launch-badge-icon {
    font-size: 0.95em;
    line-height: 1;
}

.kld-hero-launch-badge-suffix {
    color: var(--kl-turquoise-ink);
    font-weight: 500;
    opacity: 0.75;
}

.kld-hero-launch-badge-suffix::before {
    content: "· ";
    margin-right: 0.1rem;
    opacity: 0.6;
}

.kld-hero-sub {
    margin-top: 12px;
    font-size: 1.125rem;
    color: var(--kl-body);
    max-width: 480px;
}

.kld-hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.kld-hero-screenshot {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.kld-hero-screenshot img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow:
        0 10px 30px rgba(16, 24, 40, 0.1),
        0 2px 6px rgba(16, 24, 40, 0.06);
}

.kld-hero-screenshot-placeholder {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 3 / 2;
    background: linear-gradient(135deg, var(--kl-blue-wash), #fff);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--kl-blue);
}

.kld-hero-screenshot-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.6;
}

.kld-hero-screenshot-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.7;
}

@media (min-width: 1024px) {
    .kld-hero-inner {
        flex-direction: row;
        text-align: left;
        gap: 48px;
    }

    .kld-hero-copy {
        flex: 1;
    }

    .kld-hero-sub {
        margin-left: 0;
        margin-right: 0;
    }

    .kld-hero-ctas {
        flex-direction: row;
        align-items: flex-start;
    }

    .kld-hero-launch-badge {
        align-self: flex-end;
    }
}

/* ============================================================
   Trust Badges
   ============================================================ */
.kld-trust {
    background: var(--kl-blue-light);
}

.kld-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.kld-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.kld-trust-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--kl-blue-dark);
}

.kld-trust-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--kl-blue-dark);
}

.kld-trust .kld-section {
    padding: 24px 0;
}

@media (min-width: 1024px) {
    .kld-trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* ============================================================
   Video Band (on dark blue grid background)
   ============================================================ */
.kld-video {
    background: transparent;
}

.kld-video .kld-container {
    max-width: 880px;
}

.kld-landing .kld-video-heading {
    margin: 0 0 28px;
    text-align: center;
    color: var(--kl-on-textured-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.kld-video-heading-text {
    color: var(--kl-on-textured-heading);
}

.kld-video-heading-logo {
    display: inline-block;
    width: auto;
    height: 1.1em;
    max-height: 48px;
}

.kld-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.25),
        0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.kld-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kld-video-placeholder svg {
    width: 88px;
    height: 88px;
    color: var(--kl-turquoise);
}

@media (min-width: 768px) {
    .kld-landing .kld-video-heading {
        font-size: 2.25rem;
        margin-bottom: 36px;
        gap: 16px;
    }

    .kld-video-heading-logo {
        max-height: 60px;
    }
}

/* ============================================================
   2. Problem / Empathy Section
   ============================================================ */
.kld-problem {
    background: var(--kl-blue-wash);
}

.kld-problem-narrative {
    max-width: 680px;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.kld-problem-narrative p {
    margin: 0 0 16px;
}

.kld-pullquote {
    margin: 24px 0;
    padding: 16px 0 16px 20px;
    border-left: 3px solid var(--kl-blue);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--kl-heading);
    line-height: 1.6;
}

.kld-problem-transition {
    margin-top: 24px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--kl-heading);
}

/* ============================================================
   3. Features Section
   ============================================================ */
.kld-features {
    background: #fff;
}

/* Primary features: alternating screenshot + copy */
.kld-feature-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.kld-feature-block:last-of-type {
    margin-bottom: 0;
}

.kld-feature-img {
    flex: 1;
}

.kld-feature-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow:
        0 10px 30px rgba(16, 24, 40, 0.1),
        0 2px 6px rgba(16, 24, 40, 0.06);
}

.kld-feature-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--kl-blue-wash), #fff);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.kld-feature-img-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.kld-feature-img-placeholder span {
    font-size: 0.875rem;
    color: var(--kl-body);
    opacity: 0.6;
}

.kld-feature-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kld-feature-copy h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.kld-feature-copy p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.kld-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.kld-feature-icon svg {
    width: 22px;
    height: 22px;
}

.kld-feature-icon-blue {
    background: var(--kl-blue-wash);
    color: var(--kl-blue);
}

.kld-feature-icon-violet {
    background: #ede9fe;
    color: var(--kl-violet);
}

.kld-feature-icon-rose {
    background: #ffe4e6;
    color: #e11d48;
}

@media (min-width: 1024px) {
    .kld-feature-block {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .kld-feature-block-reverse {
        flex-direction: row-reverse;
    }
}

/* Supporting features: compact list */
.kld-features-supporting {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.kld-features-supporting-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.kld-feature-compact {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.kld-feature-compact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--kl-blue);
}

.kld-feature-compact h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.kld-feature-compact p {
    margin: 0;
    font-size: 0.875rem;
}

/* ============================================================
   4. How It Works
   ============================================================ */
.kld-how-it-works {
    background: var(--kl-blue);
}

.kld-how-it-works h2 {
    color: var(--kl-on-textured-heading);
}

.kld-how-it-works .kld-step-content h3 {
    color: var(--kl-on-textured-heading);
}

.kld-how-it-works .kld-step-content p {
    color: var(--kl-on-textured-body);
}

.kld-landing .kld-how-it-works a.kld-btn-primary,
.kld-landing .kld-how-it-works a.kld-btn-primary:visited,
.kld-landing .kld-final-cta a.kld-btn-primary,
.kld-landing .kld-final-cta a.kld-btn-primary:visited {
    background-color: #fff;
    color: var(--kl-blue) !important;
    border-color: #fff;
}

.kld-landing .kld-how-it-works a.kld-btn-primary:hover,
.kld-landing .kld-how-it-works a.kld-btn-primary:focus,
.kld-landing .kld-how-it-works a.kld-btn-primary:active,
.kld-landing .kld-final-cta a.kld-btn-primary:hover,
.kld-landing .kld-final-cta a.kld-btn-primary:focus,
.kld-landing .kld-final-cta a.kld-btn-primary:active {
    background-color: var(--kl-blue-wash);
    border-color: var(--kl-blue-wash);
    color: var(--kl-blue-hover) !important;
}

.kld-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.kld-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.kld-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--kl-textured-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.kld-step-content h3 {
    font-size: 1.0625rem;
    margin-bottom: 4px;
}

.kld-step-content p {
    margin: 0;
    font-size: 0.9375rem;
}

.kld-how-cta {
    margin-top: 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .kld-steps {
        flex-direction: row;
        gap: 24px;
    }

    .kld-step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================================
   5. Pricing Section
   ============================================================ */
.kld-pricing {
    background: transparent;
}

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

.kld-pricing-header h2 {
    color: var(--kl-on-textured-heading);
}

.kld-pricing-header p {
    margin: 8px 0 0;
    color: var(--kl-on-textured-body);
}

.kld-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 768px;
    margin: 0 auto;
}

.kld-pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.kld-pricing-card-deluxe {
    border: 4px solid var(--kl-turquoise);
    position: relative;
    order: -1;
}

.kld-pricing-card-free {
    border: 1px solid #e5e7eb;
}

.kld-pricing-card > .kld-badge {
    align-self: flex-start;
}

.kld-pricing-card-badge {
    margin-bottom: 0;
}

.kld-pricing-price {
    margin-top: 12px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.kld-pricing-price-amount {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--kl-heading);
    line-height: 1.1;
}

.kld-pricing-card-deluxe .kld-pricing-price-amount {
    color: var(--kl-turquoise);
}

.kld-pricing-price-period {
    color: var(--kl-body);
}

.kld-pricing-price-strikethrough {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.125rem;
    font-weight: 500;
}

.kld-pricing-launch-badge {
    display: inline-flex;
    align-items: center;
    background-color: #d1fae5;
    color: #047857;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    line-height: 1.2;
}

.kld-pricing-annual {
    font-size: 0.875rem;
    color: var(--kl-body);
    margin-top: 4px;
}

.kld-pricing-annual strong {
    color: #059669;
    font-weight: 600;
}

.kld-pricing-toggle {
    display: inline-flex;
    align-items: stretch;
    margin-top: 16px;
    padding: 4px;
    background-color: #f3f4f6;
    border-radius: 9999px;
    align-self: flex-start;
    max-width: 100%;
}

.kld-pricing-toggle-option {
    appearance: none;
    background: transparent;
    border: 0;
    margin: 0;
    padding: 3px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--kl-body);
    border-radius: 9999px;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.kld-pricing-toggle-option:focus-visible {
    outline: 2px solid var(--kl-blue);
    outline-offset: 2px;
}

.kld-pricing-toggle-option.is-active {
    background-color: #fff;
    color: var(--kl-heading);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.kld-pricing-toggle-savings {
    color: #047857;
    font-weight: 600;
}

.kld-pricing-card[data-billing="monthly"] .kld-pricing-price-block-yearly,
.kld-pricing-card[data-billing="yearly"] .kld-pricing-price-block-monthly {
    display: none;
}

.kld-pricing-features {
    list-style: none;
    margin: 24px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    font-size: 14px;
}

.kld-pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
}

.kld-pricing-feature svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.kld-pricing-card-deluxe .kld-pricing-feature svg {
    color: var(--kl-blue);
}

.kld-pricing-card .kld-pricing-feature svg.kld-icon-violet {
    color: var(--kl-violet);
}

.kld-pricing-card-free .kld-pricing-feature svg {
    color: #9ca3af;
}

.kld-pricing-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--kl-blue);
    transition: color 0.15s ease;
}

.kld-pricing-link:hover,
.kld-pricing-link:focus {
    color: var(--kl-blue-hover);
}

.kld-pricing-footer-spacer {
    margin: 8px 0 0;
    font-size: 0.75rem;
    visibility: hidden;
}

.kld-pricing-footer {
    margin-top: auto;
}

.kld-pricing-footer p {
    margin: 8px 0 0;
    font-size: 0.75rem;
    text-align: center;
    color: var(--kl-body);
}

@media (min-width: 640px) {
    .kld-pricing-card {
        padding: 32px;
    }
}

@media (min-width: 768px) {
    .kld-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kld-pricing-card-deluxe {
        order: 1;
    }

    .kld-pricing-card-free {
        order: 0;
    }
}

/* ============================================================
   6. Testimonial
   ============================================================ */
.kld-testimonial {
    background: #e1f2ff;
}

.kld-testimonial-carousel {
    position: relative;
    max-width: 640px;
    margin: 32px auto 0;
}

.kld-testimonial-carousel.has-nav {
    padding: 0 48px;
}

.kld-testimonial-track {
    position: relative;
    display: grid;
    grid-template-areas: "stack";
}

.kld-testimonial-slide {
    grid-area: stack;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.kld-testimonial-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.kld-testimonial-quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: var(--kl-blue);
    opacity: 0.3;
}

.kld-testimonial-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--kl-heading);
    font-style: italic;
    margin: 8px 0 16px;
}

.kld-testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.kld-testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: #f59e0b;
    fill: #f59e0b;
}

.kld-testimonial-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--kl-heading);
}

.kld-testimonial-author span {
    font-weight: 400;
    color: var(--kl-body);
    margin-left: 4px;
}

/* Carousel controls */
.kld-testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: #fff;
    color: var(--kl-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.kld-testimonial-btn:hover {
    background: #f8fbff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.kld-testimonial-btn:focus-visible {
    outline: 2px solid var(--kl-blue);
    outline-offset: 2px;
}

.kld-testimonial-btn svg {
    width: 18px;
    height: 18px;
}

.kld-testimonial-prev {
    left: 0;
}

.kld-testimonial-next {
    right: 0;
}

.kld-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.kld-testimonial-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.kld-testimonial-dot:hover {
    background: rgba(0, 0, 0, 0.35);
}

.kld-testimonial-dot.is-active {
    background: var(--kl-blue);
    transform: scale(1.2);
}

.kld-testimonial-dot:focus-visible {
    outline: 2px solid var(--kl-blue);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .kld-testimonial-carousel.has-nav {
        padding: 0;
    }

    .kld-testimonial-btn {
        top: auto;
        bottom: -52px;
        transform: none;
    }

    .kld-testimonial-prev {
        left: calc(50% - 60px);
    }

    .kld-testimonial-next {
        right: calc(50% - 60px);
    }

    .kld-testimonial-dots {
        margin-top: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kld-testimonial-slide {
        transition: none;
    }
}

/* ============================================================
   7. FAQ Section
   ============================================================ */
.kld-faq {
    background: #fff;
}

.kld-faq-list {
    max-width: 720px;
    margin: 32px auto 0;
}

.kld-faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.kld-faq-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.kld-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--kl-heading);
    text-align: left;
    gap: 12px;
}

.kld-faq-trigger:hover {
    color: var(--kl-blue);
}

.kld-faq-trigger:focus-visible {
    outline: 2px solid var(--kl-blue);
    outline-offset: 2px;
}

.kld-faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #9ca3af;
}

.kld-faq-item[data-open="true"] .kld-faq-chevron {
    transform: rotate(180deg);
}

.kld-faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.kld-faq-panel-inner {
    padding: 0 0 16px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--kl-body);
}

.kld-faq-panel-inner p {
    margin: 0 0 0.75em;
}

.kld-faq-panel-inner p:last-child {
    margin-bottom: 0;
}

.kld-faq-panel-inner ul,
.kld-faq-panel-inner ol {
    margin: 0 0 0.75em;
    padding-left: 1.5em;
}

.kld-faq-panel-inner li {
    margin-bottom: 0.25em;
}

/* ============================================================
   8. Final CTA Section
   ============================================================ */
.kld-final-cta {
    background: var(--kl-blue);
}

.kld-final-cta-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.kld-final-cta h2 {
    color: var(--kl-on-textured-heading);
}

.kld-final-cta p {
    margin: 12px 0 0;
    color: var(--kl-on-textured-body);
}

.kld-final-cta .kld-btn {
    margin-top: 24px;
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.kld-fade-up {
    opacity: 0;
}

.kld-fade-up.kld-visible {
    animation: kldFadeUp 0.5s ease-out forwards;
}

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

@media (prefers-reduced-motion: reduce) {
    .kld-fade-up {
        opacity: 1;
    }

    .kld-fade-up.kld-visible {
        animation: none;
    }
}
