﻿/* ═══════════════════════════════════════════════════════════════
   STOKVEL HUB — Landing Page Styles
   Standalone CSS loaded only on the public landing page.
═══════════════════════════════════════════════════════════════ */

.landing-body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.lnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
    transition: background .3s, border-color .3s;
}

    .lnav.scrolled {
        background: rgba(15,15,15,.92);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
    }

.lnav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.lnav-logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.lnav-logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-lt);
}

.lnav-links {
    display: none;
    gap: 28px;
    align-items: center;
}

@media (min-width: 768px) {
    .lnav-links {
        display: flex;
    }
}

.lnav-link {
    font-size: 14px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color .2s;
    cursor: pointer;
}

    .lnav-link:hover {
        color: var(--gold-lt);
    }

.lnav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: -150px;
    left: 50%;
    transform: translateX(-60%);
    background: radial-gradient(circle, rgba(201,168,76,.14) 0%, transparent 70%);
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    bottom: 0;
    right: -100px;
    background: radial-gradient(circle, rgba(45,106,79,.18) 0%, transparent 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201,168,76,.08);
    border: 1px solid rgba(201,168,76,.22);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--gold-lt);
    margin-bottom: 28px;
    letter-spacing: .3px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    color: var(--cream);
    max-width: 780px;
    margin-bottom: 24px;
}

    .hero-title span {
        background: linear-gradient(135deg, var(--gold-lt), var(--amber-lt));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-sub {
    font-size: clamp(15px, 2.5vw, 19px);
    color: var(--text-dim);
    max-width: 540px;
    line-height: 1.65;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid var(--border);
    padding-top: 40px;
    width: 100%;
    max-width: 640px;
}

.hero-stat-val {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--gold-lt);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 3px;
}

/* ── Section shared ─────────────────────────────────────────── */
.lsection {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.lsection-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.lsection-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 16px;
}

.lsection-sub {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 52px;
}

/* ── Features grid ──────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1000px) {
    .features-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    transition: border-color .25s, transform .25s;
}

    .feature-card:hover {
        border-color: rgba(201,168,76,.35);
        transform: translateY(-3px);
    }

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-title {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ── How it works ───────────────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    position: relative;
}

    .step:not(:last-child)::after {
        content: '';
        display: none;
    }

@media (min-width: 768px) {
    .step:not(:last-child)::after {
        display: block;
        position: absolute;
        top: 36px;
        right: -2px;
        width: 4px;
        height: 40px;
        background: linear-gradient(to bottom, var(--gold), transparent);
        border-radius: 2px;
    }
}

.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #1a0f00;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.step-title {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── Stokvel types ──────────────────────────────────────────── */
.types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

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

.type-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px 18px;
    text-align: center;
    transition: border-color .2s, transform .2s;
}

    .type-card:hover {
        border-color: var(--gold);
        transform: translateY(-2px);
    }

.type-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.type-name {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 6px;
}

.type-desc {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.55;
}

/* ── Testimonial / social proof ─────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--cream);
}

.testimonial-meta {
    font-size: 11px;
    color: var(--text-dim);
}

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

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

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

    .pricing-card.featured {
        border-color: var(--gold);
        background: linear-gradient(160deg, rgba(201,168,76,.06), var(--card));
    }

.pricing-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.pricing-name {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 6px;
}

.pricing-price {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--gold-lt);
    line-height: 1;
    margin-bottom: 4px;
}

    .pricing-price span {
        font-size: 16px;
        font-weight: 400;
        color: var(--text-dim);
    }

.pricing-period {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 22px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    flex: 1;
    margin-bottom: 24px;
}

    .pricing-features li {
        font-size: 13px;
        color: var(--text-dim);
        padding: 7px 0;
        border-bottom: 1px solid rgba(46,46,46,.5);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .pricing-features li:last-child {
            border-bottom: none;
        }

    .pricing-features .check {
        color: var(--green-lt);
        font-size: 14px;
    }

    .pricing-features .cross {
        color: var(--text-muted);
        font-size: 14px;
    }

/* ── CTA banner ─────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, rgba(201,168,76,.1), rgba(45,106,79,.1));
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 20px;
    padding: 56px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 20px;
}

    .cta-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.08) 0%, transparent 65%);
        pointer-events: none;
    }

.cta-banner-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 14px;
    position: relative;
}

.cta-banner-sub {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.6;
    position: relative;
}

/* ── Footer ─────────────────────────────────────────────────── */
.lfooter {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 24px 32px;
}

.lfooter-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .lfooter-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.lfooter-brand-text {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 12px;
    line-height: 1.6;
    max-width: 260px;
}

.lfooter-col-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.lfooter-link {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .2s;
}

    .lfooter-link:hover {
        color: var(--gold-lt);
    }

.lfooter-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

    .lfooter-bottom a {
        color: var(--text-dim);
        text-decoration: none;
    }

        .lfooter-bottom a:hover {
            color: var(--gold);
        }

/* ── Divider between sections ───────────────────────────────── */
.lsep {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0 auto;
    max-width: 1100px;
}

/* ── Utility ────────────────────────────────────────────────── */
.text-center {
    text-align: center;
}

.lsection-sub.center {
    margin-left: auto;
    margin-right: auto;
}

/* ── Legal pages (Terms / Privacy) ──────────────────────────── */
.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 100px 24px 80px;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201,168,76,.08);
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.legal-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 12px;
}

.legal-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

    .legal-meta strong {
        color: var(--text-dim);
    }

.legal-toc {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px 24px;
    margin-bottom: 40px;
}

.legal-toc-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.legal-toc ol {
    margin: 0;
    padding-left: 18px;
}

.legal-toc li {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 6px;
    cursor: pointer;
}

    .legal-toc li:hover {
        color: var(--gold-lt);
    }

.legal-body h2 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--cream);
    margin: 44px 0 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    scroll-margin-top: 80px;
}

    .legal-body h2:first-child {
        margin-top: 0;
        border-top: none;
    }

.legal-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gold-lt);
    margin: 22px 0 8px;
}

.legal-body p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-body ul, .legal-body ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

.legal-body li {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 6px;
}

.legal-body strong {
    color: var(--text);
    font-weight: 600;
}

.legal-body a {
    color: var(--gold);
    text-decoration: none;
}

    .legal-body a:hover {
        text-decoration: underline;
    }

.legal-highlight {
    background: rgba(201,168,76,.06);
    border: 1px solid rgba(201,168,76,.18);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

    .legal-highlight strong {
        color: var(--gold-lt);
    }

.legal-popia {
    background: rgba(82,183,136,.05);
    border: 1px solid rgba(82,183,136,.2);
    border-left: 3px solid var(--green-lt);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

    .legal-popia strong {
        color: var(--green-lt);
    }

.legal-contact {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.8;
}

    .legal-contact strong {
        color: var(--cream);
        display: block;
        margin-bottom: 4px;
    }

.legal-footer-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
