/* ── HOME PAGE CSS — FIXED COOL DARK STYLE ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --dark: #0f172a;
    --dark-card: #1e293b;
    --green: #4ade80;
    --green-pale: rgba(74, 222, 128, 0.12);
    --blue: #3b82f6;
    --gold: #f59e0b;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.25s;
    --duration-base: 0.5s;
    --duration-slow: 0.75s;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--dark);
    color: #e2e8f0;
    overflow-x: hidden;
}

/* FIX HIDDEN ANIMATION CLASSES */
.reveal,
.reveal-right,
.fade-up,
.fade-left,
.fade-right {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* HERO */

.hero {
    min-height: auto !important;
    background: linear-gradient(135deg, #065f46 0%, #1e3a8a 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-texture {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 15% 30%, rgba(74,222,128,0.15) 0%, transparent 70%), radial-gradient(ellipse 50% 60% at 85% 70%, rgba(59,130,246,0.15) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
    color: #fff;
    text-align: center;
}

.hero-eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(74,222,128,0.12);
    border: 1px solid rgba(74,222,128,0.3);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

    .hero-eyebrow::before,
    .section-label::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--green);
        border-radius: 999px;
    }

.hero-heading {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    color: #fff !important;
}

    .hero-heading .accent {
        color: var(--green);
        font-style: italic;
    }

.hero-sub {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
}

/* BUTTONS */

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary,
.btn-outline,
.btn-white,
.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--duration-fast) var(--ease-out-back), box-shadow var(--duration-fast) ease, background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.btn-primary {
    background: linear-gradient(135deg, #065f46, #1e3a8a);
    color: #4ade80;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

    .btn-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 16px 35px rgba(0,0,0,0.35);
    }

.btn-outline {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
}

    .btn-outline:hover {
        color: #fff;
        border-color: rgba(74,222,128,0.5);
        background: rgba(74,222,128,0.08);
        transform: translateY(-3px);
    }

/* HERO STATS */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 620px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.stat-cell {
    padding: 1.5rem;
    background: rgba(255,255,255,0.06);
    text-align: center;
    transition: background var(--duration-base) ease, transform var(--duration-base) var(--ease-out-expo);
}

    .stat-cell:hover {
        background: rgba(255,255,255,0.1);
        transform: translateY(-3px);
    }

    .stat-cell .num {
        font-family: 'Playfair Display', serif;
        font-size: 1.9rem;
        font-weight: 900;
        color: var(--green);
        display: block;
        line-height: 1;
        margin-bottom: 0.35rem;
    }

    .stat-cell .label {
        font-size: 0.72rem;
        color: var(--muted-light);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

/* SECTIONS */

.section {
    padding: 5rem 2rem !important;
    min-height: auto !important;
}

.bg-cream {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted-light);
    max-width: 620px;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

/* STEPS */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.step-card {
    padding: 2.25rem 1.75rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: background var(--duration-base) ease, border-color var(--duration-base) ease, transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base) ease;
}

    .step-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
        transition: left var(--duration-slow) var(--ease-out-expo);
        pointer-events: none;
    }

    .step-card:hover {
        background: rgba(255,255,255,0.09);
        border-color: rgba(74,222,128,0.25);
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 60px rgba(74,222,128,0.06);
    }

        .step-card:hover::after {
            left: 140%;
        }

.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(74,222,128,0.18);
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--muted-light);
    line-height: 1.65;
}

/* CTA */

.cta-section {
    background: linear-gradient(135deg, #065f46 0%, #1e3a8a 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 55% 60% at 20% 50%, rgba(74,222,128,0.12) 0%, transparent 65%), radial-gradient(ellipse 45% 55% at 80% 50%, rgba(59,130,246,0.1) 0%, transparent 65%);
    }

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.cta-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-white {
    background: rgba(255,255,255,0.95);
    color: #065f46;
}

    .btn-white:hover {
        background: #fff;
        transform: translateY(-3px) scale(1.02);
    }

.btn-ghost-white {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.88);
}

    .btn-ghost-white:hover {
        border-color: rgba(74,222,128,0.5);
        background: rgba(74,222,128,0.08);
        color: #fff;
        transform: translateY(-3px);
    }

/* MOBILE */

@media (max-width: 768px) {
    .hero-inner {
        padding: 6rem 1.25rem 4rem;
    }

    .hero-heading {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 1.25rem !important;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}
