/* CuraBall Design System - Phase 2 (Non-Profit Hub) */

:root {
    /* Color Palette */
    --primary-deep: #1B4332;
    /* Deep Forest */
    --primary-main: #2D6A4F;
    /* Viridian Green */
    --primary-light: #B7E4C7;
    /* Mint Ice */
    --accent-soft: #D8F3DC;
    /* Soft Mint */
    --bg-white: #FBFEFB;
    /* Near White */
    --text-dark: #081C15;
    /* Charcoal Green */
    --text-muted: #52796F;
    /* Sage Gray */

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);

    /* Spacing */
    --section-padding: 120px 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-deep);
}

h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: var(--section-padding);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 32px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-deep);
}

.logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-main);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, var(--accent-soft) 0%, transparent 40%);
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.cta-button {
    display: inline-block;
    padding: 18px 42px;
    background: var(--primary-deep);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-main);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.15);
}

.secondary-cta {
    background: transparent;
    border: 2px solid var(--primary-deep);
    color: var(--primary-deep);
    margin-left: 20px;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    padding: 50px;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.icon-box img {
    width: 60px;
    margin-bottom: 25px;
}

/* FAQs */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 20px;
}

.faq-header {
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
}

.faq-body {
    padding: 0 35px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-body {
    padding-bottom: 25px;
    max-height: 400px;
}

/* Trust Logos */
.trust-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(1);
    margin-top: 40px;
}

.trust-logos img {
    height: 40px;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 100px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 70px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
    text-align: center;
    font-size: 0.95rem;
    color: #888;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}