﻿@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&display=swap');

/* ── RESET ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── TOKENS ── */
:root {
    --green-900: #0d2618;
    --green-800: #163d27;
    --green-700: #1e5535;
    --green-600: #2a7a4a;
    --green-500: #3aaa6a;
    --green-400: #5ec98a;
    --green-300: #8adaaa;
    --green-200: #b8edcb;
    --green-100: #e0f7eb;
    --green-50: #f2fcf6;
    --earth-900: #1a1208;
    --earth-700: #4a3520;
    --earth-500: #8b6644;
    --earth-300: #c9a882;
    --earth-100: #f5ede3;
    --cream: #faf8f4;
    --white: #ffffff;
    --text-dark: #0f1f14;
    --text-mid: #3a5040;
    --text-muted: #7a9488;
    --border: rgba(42,122,74,0.15);
    --shadow-sm: 0 2px 12px rgba(13,38,24,0.06);
    --shadow-md: 0 8px 32px rgba(13,38,24,0.10);
    --shadow-lg: 0 20px 60px rgba(13,38,24,0.14);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 36px;
    --font-display: 'DM Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --nav-h: 72px;
    --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--green-300);
    border-radius: 99px;
}

/* ── SELECTION ── */
::selection {
    background: var(--green-200);
    color: var(--green-900);
}

/* ── NAV ── */
nav#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    height: var(--nav-h);
    background: rgba(250,248,244,0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

    nav#mainNav.scrolled {
        box-shadow: var(--shadow-md);
    }

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--green-800);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .nav-logo span {
        width: 34px;
        height: 34px;
        background: var(--green-600);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
        transition: transform var(--transition);
    }

    .nav-logo:hover span {
        transform: rotate(-10deg) scale(1.1);
    }

.nav-links {
    display: flex;
    gap: 4px;
}

    .nav-links a {
        font-size: 0.88rem;
        font-weight: 500;
        color: var(--text-mid);
        text-decoration: none;
        padding: 8px 16px;
        border-radius: 40px;
        transition: all var(--transition);
        letter-spacing: 0.01em;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: var(--green-500);
            border-radius: 2px;
            transition: width var(--transition);
        }

        .nav-links a:hover, .nav-links a.active {
            background: var(--green-100);
            color: var(--green-700);
        }

.nav-cta {
    background: var(--green-600);
    color: white;
    font-size: 0.87rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 40px;
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 7px;
}

    .nav-cta:hover {
        background: var(--green-700);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(42,122,74,0.3);
    }

/* ── NAV ACTIONS (auth + cta) ── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-login,
.nav-admin,
.nav-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-mid);
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.nav-login {
    width: 40px;
    padding: 0;
}

.nav-login:hover,
.nav-admin:hover,
.nav-logout:hover {
    background: var(--green-100);
    color: var(--green-700);
    border-color: var(--green-200);
    transform: translateY(-1px);
}

.nav-logout-form {
    margin: 0;
    display: inline-flex;
}

.nav-logout {
    width: 40px;
    padding: 0;
    color: #b91c1c;
}

.nav-logout:hover {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

/* ── PAGE WRAPPER ── */
.page-wrapper {
    padding-top: var(--nav-h);
}

/* ── SHARED BUTTONS ── */
.btn-primary {
    background: var(--green-600);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(42,122,74,0.3);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

    .btn-primary:hover {
        background: var(--green-700);
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(42,122,74,0.4);
    }

.btn-secondary {
    background: transparent;
    color: var(--text-mid);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
    border: 1.5px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-secondary:hover {
        background: var(--white);
        border-color: var(--green-300);
    }

.btn-light {
    background: white;
    color: var(--green-800);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 40px;
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .btn-light:hover {
        background: var(--green-100);
    }

.btn-outline-w {
    border: 1.5px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 13px 26px;
    border-radius: 40px;
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .btn-outline-w:hover {
        border-color: white;
        background: rgba(255,255,255,0.08);
    }

/* ── SHARED SECTION TYPOGRAPHY ── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green-600);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-eyebrow::before {
        content: '';
        width: 24px;
        height: 2px;
        background: var(--green-400);
    }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 24px;
}

    .section-title .accent {
        color: var(--green-600);
    }

.section-body {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 16px;
}

/* ── PAGE HERO SHARED ── */
.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-100);
    color: var(--green-700);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 40px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid var(--green-200);
    animation: fadeUp .5s ease both;
}

/* ── STATS ROW (shared) ── */
.stats-row {
    background: var(--green-900);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
}

.stat-block {
    padding: 56px 0;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

    .stat-block:last-child {
        border-right: none;
    }

    .stat-block::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: var(--green-500);
        border-radius: 2px;
    }

    .stat-block .sv {
        font-family: var(--font-display);
        font-size: 3rem;
        font-weight: 800;
        color: var(--green-400);
        letter-spacing: -0.02em;
    }

    .stat-block .sl {
        font-size: 0.8rem;
        color: rgba(255,255,255,0.45);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-top: 6px;
        font-weight: 500;
    }

/* ── CTA BANNER (shared) ── */
.cta-banner {
    margin: 0 5vw 80px;
    background: linear-gradient(120deg, var(--green-800) 0%, var(--green-900) 100%);
    border-radius: var(--radius-xl);
    padding: 64px 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

    .cta-banner::before {
        content: '';
        position: absolute;
        right: -80px;
        top: -80px;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle,rgba(90,200,138,0.12) 0%,transparent 70%);
        border-radius: 50%;
    }

    .cta-banner h2 {
        font-family: var(--font-display);
        font-size: 2.2rem;
        font-weight: 800;
        color: white;
        line-height: 1.2;
        position: relative;
        z-index: 1;
    }

    .cta-banner p {
        color: rgba(255,255,255,0.6);
        font-size: 1rem;
        margin-top: 10px;
        font-weight: 300;
        position: relative;
        z-index: 1;
    }

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ── FOOTER ── */
footer {
    background: var(--green-900);
    padding: 72px 5vw 36px;
    color: rgba(255,255,255,0.5);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand .fb-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 300px;
}

.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color var(--transition);
}

    .footer-col a:hover {
        color: var(--green-400);
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .footer-bottom p {
        font-size: 0.8rem;
    }

.footer-socials {
    display: flex;
    gap: 10px;
}

    .footer-socials a {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all var(--transition);
        font-size: 0.85rem;
    }

        .footer-socials a:hover {
            background: var(--green-600);
            color: white;
            border-color: var(--green-600);
            transform: translateY(-2px);
        }

/* ── PULSE DOT ── */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green-400);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

    .pulse-dot::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 1px solid var(--green-400);
        animation: pulse 2s infinite;
    }

/* ── ANIMATIONS ── */
@keyframes pulse {
    0%,100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.anim-up {
    opacity: 0;
    animation: fadeUp .7s ease both;
}

.anim-in {
    opacity: 0;
    animation: fadeIn .7s ease both;
}

.anim-right {
    opacity: 0;
    animation: slideRight .7s ease both;
}

.delay-1 {
    animation-delay: .1s;
}

.delay-2 {
    animation-delay: .2s;
}

.delay-3 {
    animation-delay: .3s;
}

.delay-4 {
    animation-delay: .4s;
}

.delay-5 {
    animation-delay: .5s;
}

.delay-6 {
    animation-delay: .6s;
}

/* ── CHECK LIST ── */
.check-list {
    margin-top: 28px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

    .check-item .check-icon {
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        background: var(--green-100);
        border-radius: 50%;
        color: var(--green-600);
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1px;
    }

    .check-item .check-text h5 {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 3px;
    }

    .check-item .check-text p {
        font-size: 0.85rem;
        color: var(--text-muted);
        line-height: 1.55;
        font-weight: 300;
    }

/* ── RESPONSIVE BASE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner {
        flex-direction: column;
        padding: 48px 32px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
}
