/* ═══════════════════════════════════════════
   Mission BCS — Landing Page
   Palette: deep green + gold on warm off-white
   ═══════════════════════════════════════════ */

:root {
    --green: #004532;
    --green-dark: #00301f;
    --green-light: #0b6b4f;
    --green-soft: #e3f0ea;
    --gold: #c9a227;
    --gold-soft: #f7efd8;
    --bg: #faf8f3;
    --white: #ffffff;
    --text: #1a2421;
    --text-muted: #5c6a64;
    --border: #e8e4da;
    --radius: 18px;
    --shadow: 0 10px 40px rgba(0, 69, 50, 0.08);
    --font: 'Hind Siliguri', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    width: min(1140px, 92%);
    margin-inline: auto;
}

.container.narrow { width: min(760px, 92%); }

/* ─────────── Buttons ─────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 69, 50, .25);
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 69, 50, .3);
}

.btn-ghost {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.btn-ghost:hover { background: var(--green-soft); transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ─────────── Navbar ─────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 243, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 24px rgba(0, 69, 50, .06);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--green);
    font-size: 20px;
    font-weight: 700;
}

.brand img { width: 38px; height: 38px; border-radius: 10px; }

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color .2s;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--green);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ─────────── Hero ─────────── */
.hero {
    padding: 72px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -220px;
    right: -180px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .14), transparent 65%);
    pointer-events: none;
}

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

.badge {
    display: inline-block;
    background: var(--gold-soft);
    color: #8a6d10;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.25;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 18px;
}

.hero .accent { color: var(--gold); }

.lead {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-art img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* ─────────── Stats ─────────── */
.stats {
    background: var(--green);
    padding: 44px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    opacity: .85;
}

/* ─────────── Sections ─────────── */
.section { padding: 88px 0; }

.section-alt { background: var(--white); }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.section-head h2, .split-copy h2, .cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.3;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 14px;
}

.section-head p { color: var(--text-muted); font-size: 16px; }

/* ─────────── Features ─────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.section-alt .feature-card { background: var(--bg); }

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    font-size: 26px;
    background: var(--green-soft);
    border-radius: 14px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.feature-card p { font-size: 14.5px; color: var(--text-muted); }

/* ─────────── Steps ─────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 64px;
}

.step {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 26px 28px;
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--green);
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.step p { font-size: 14.5px; color: var(--text-muted); }

.mockup-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.mockup-wrap img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* ─────────── Split (community) ─────────── */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
}

.split-art img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.split-copy p {
    color: var(--text-muted);
    margin-bottom: 22px;
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
}

/* ─────────── FAQ ─────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 22px;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: var(--gold);
    font-weight: 400;
    transition: transform .25s;
    flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding-bottom: 18px;
    color: var(--text-muted);
    font-size: 14.5px;
}

/* ─────────── CTA ─────────── */
.cta {
    background: linear-gradient(140deg, var(--green-dark), var(--green) 55%, var(--green-light));
    padding: 96px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    bottom: -260px;
    left: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .22), transparent 65%);
}

.cta-inner {
    text-align: center;
    position: relative;
}

.cta h2 { color: var(--white); }

.cta p {
    opacity: .85;
    margin-bottom: 36px;
    font-size: 17px;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--green-dark);
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    transition: transform .2s, box-shadow .2s;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
}

.store-btn span { display: flex; flex-direction: column; text-align: left; }

.store-btn small {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ─────────── Footer ─────────── */
.footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, .82);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer .brand { color: var(--white); margin-bottom: 14px; }

.footer-brand p { font-size: 14px; opacity: .75; max-width: 300px; }

.footer-col h4 {
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color .2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 20px 0;
    font-size: 13px;
    opacity: .7;
    text-align: center;
}

/* ─────────── Reveal animation ─────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

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

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────── Legal pages (privacy / terms) ─────────── */
.legal-header {
    padding: 72px 0 56px;
    text-align: center;
    background: linear-gradient(180deg, var(--green-soft) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: -220px;
    right: -180px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .14), transparent 65%);
    pointer-events: none;
}

.legal-header h1 {
    font-size: clamp(30px, 4.5vw, 44px);
    line-height: 1.3;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.legal-header p { color: var(--text-muted); font-size: 15px; }

.legal-content { padding: 56px 0 88px; }

.legal-intro {
    font-size: 17px;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin-bottom: 40px;
}

.legal-content section { margin-bottom: 36px; }

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-content p { color: var(--text); margin-bottom: 12px; }

.legal-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 12px;
}

.legal-content ul li {
    position: relative;
    padding-left: 26px;
    color: var(--text);
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.legal-content strong { color: var(--green-dark); }

.legal-back { margin-top: 48px; text-align: center; }

/* ─────────── Responsive ─────────── */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-art { max-width: 560px; margin-inline: auto; }
    .feature-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .split-grid { grid-template-columns: 1fr; }
    .split-art { max-width: 540px; margin-inline: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 18px;
        box-shadow: 0 16px 32px rgba(0, 69, 50, .1);
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid, .steps-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .hero { padding-top: 48px; }
}
