:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --accent: #0f172a;
    --radius: 16px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --header-h: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* Layout Utilities */
.max-w {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 2.5rem);
}

.centered {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: -0.02em;
}

section {
    padding: clamp(3rem, 10vw, 6rem) 0;
}

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

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

/* Header & Nav */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: var(--accent);
    color: white;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.top-bar .max-w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.lang-sel {
    display: flex;
    gap: 10px;
}

.lang-sel img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    opacity: 0.7;
    transition: 0.2s;
}

.lang-sel img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.gofundme-btn {
    background: #00b964;
    color: white !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gofundme-btn img {
    height: 14px;
}

.nav-bar {
    height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    padding: 8px 0;
    position: relative;
}

.nav-links .active {
    color: var(--primary);
}

.nav-links .active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--primary) !important;
    cursor: pointer;
    z-index: 1002;
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 60ch;
}

.hero-img img,
.hero-img iframe {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Donation Cards */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.donate-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.bank-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
}

.bank-info p {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.bank-info p:last-child {
    border: none;
}

/* Footer */
footer {
    background: var(--accent);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 900px) {
    .top-bar .max-w {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .header-wrapper {
        position: fixed;
        width: 100%;
    }

    body {
        padding-top: 0;
        /* Header is fixed */
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 110px;
        /* roughly top bar + nav bar height */
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-links.mobile-open a {
        padding: 15px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1.1rem;
    }

    .bank-info p {
        flex-direction: column;
        text-align: left;
    }

    .bank-info strong {
        text-align: left;
        margin-left: 0;
    }
}