/* ===== Design Tokens ===== */
:root {
    --red: #c8102e;
    --red-dark: #9e0c24;
    --red-light: #fce8eb;
    --gold: #d9a441;
    --ink: #1a2029;
    --ink-soft: #4a5568;
    --bg: #ffffff;
    --bg-alt: #faf7f2;
    --border: #e8e2d9;
    --shadow: 0 10px 30px rgba(26, 32, 41, .08);
    --shadow-lg: 0 24px 60px rgba(26, 32, 41, .14);
    --radius: 16px;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Lora', Georgia, serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: inherit;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    padding: .8rem 1.6rem;
    font-size: .95rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 20px rgba(200, 16, 46, .3);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-light {
    background: #fff;
    color: var(--red-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 20px rgba(26, 32, 41, .06);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
    letter-spacing: .5px;
    box-shadow: 0 6px 16px rgba(200, 16, 46, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: .98rem; }
.brand-text small { font-size: .72rem; color: var(--ink-soft); letter-spacing: .4px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.nav-links a:not(.nav-cta) {
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color .2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--red); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 170px 0 90px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 85% -10%, rgba(217, 164, 65, .18), transparent 60%),
        radial-gradient(ellipse 55% 60% at -5% 20%, rgba(200, 16, 46, .10), transparent 55%),
        linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(200, 16, 46, .03) 0 2px, transparent 2px 22px);
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .6px;
    color: var(--red);
    background: var(--red-light);
    padding: .45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -1px;
    margin-bottom: 1.3rem;
}
.hero h1 .highlight {
    color: var(--red);
    position: relative;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
}
.hero h1 .highlight::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 10px;
    background: rgba(217, 164, 65, .35);
    z-index: -1;
    border-radius: 4px;
}
.hero-lead {
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 34rem;
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.4rem;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-trust p { font-size: .9rem; color: var(--ink-soft); }
.avatars { display: flex; }
.avatars span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: linear-gradient(135deg, var(--gold), var(--red));
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-left: -10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.avatars span:first-child { margin-left: 0; }

/* Hero card */
.hero-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.hero-card::before {
    content: "";
    position: absolute;
    top: -14px; right: 32px;
    width: 90px; height: 28px;
    background: linear-gradient(90deg, var(--gold), #e8c47c);
    border-radius: 6px;
    opacity: .85;
    transform: rotate(4deg);
}
.hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.hero-card-top h3 { font-size: 1.05rem; line-height: 1.35; }
.badge-open {
    background: #e7f6ec;
    color: #1a7f42;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: .35rem .8rem;
    border-radius: 999px;
    white-space: nowrap;
}
.hero-card-deadline {
    font-size: .85rem;
    color: var(--ink-soft);
    margin-bottom: .6rem;
}
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
    margin-bottom: 1.4rem;
}
.cd-item {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    padding: .7rem .3rem;
}
.cd-num {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}
.cd-label {
    font-size: .68rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.hero-card-list {
    display: grid;
    gap: .55rem;
    margin-bottom: 1.6rem;
}
.hero-card-list li {
    font-size: .9rem;
    color: var(--ink-soft);
    font-weight: 500;
}

/* ===== Stats ===== */
.stats {
    background: var(--red);
    color: #fff;
    padding: 3.2rem 0;
    background-image:
        radial-gradient(ellipse 40% 80% at 90% 50%, rgba(255, 255, 255, .08), transparent);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-num {
    display: block;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: .9rem;
    opacity: .85;
    font-weight: 500;
}

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .9rem;
}
.section-eyebrow.light { color: var(--gold); }

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3.5rem;
}
.section-head h2,
.about-content h2,
.donate-content h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.5px;
    margin-bottom: 1rem;
}
.section-head p { color: var(--ink-soft); }

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}
.about-media { position: relative; min-height: 440px; }
.about-photo {
    position: absolute;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.about-photo-1 {
    width: 72%;
    height: 78%;
    top: 0; left: 0;
    background:
        linear-gradient(rgba(200, 16, 46, .25), rgba(26, 32, 41, .45)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Crect width='400' height='400' fill='%23d9a441'/%3E%3Ccircle cx='200' cy='160' r='70' fill='%23fff3d6'/%3E%3Cpath d='M60 400 L200 230 L340 400 Z' fill='%23b8842f'/%3E%3C/svg%3E") center/cover;
}
.about-photo-2 {
    width: 55%;
    height: 58%;
    bottom: 0; right: 0;
    border: 6px solid #fff;
    background:
        linear-gradient(rgba(26, 32, 41, .1), rgba(26, 32, 41, .3)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Crect width='400' height='400' fill='%23c8102e'/%3E%3Crect x='70' y='120' width='260' height='160' rx='12' fill='%23ffffff' opacity='.92'/%3E%3Crect x='95' y='150' width='150' height='12' rx='6' fill='%23c8102e' opacity='.55'/%3E%3Crect x='95' y='178' width='210' height='12' rx='6' fill='%231a2029' opacity='.25'/%3E%3Crect x='95' y='206' width='180' height='12' rx='6' fill='%231a2029' opacity='.25'/%3E%3C/svg%3E") center/cover;
}
.about-experience {
    position: absolute;
    left: 6%;
    bottom: 4%;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    max-width: 260px;
    z-index: 2;
}
.exp-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
}
.exp-text { font-size: .8rem; font-weight: 600; color: var(--ink-soft); line-height: 1.4; }

.about-content > p { color: var(--ink-soft); margin-bottom: 2rem; }
.values { display: grid; gap: 1.4rem; }
.value-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.value-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--red-light);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}
.value-item h4 { font-size: 1.02rem; margin-bottom: .2rem; }
.value-item p { font-size: .9rem; color: var(--ink-soft); }

/* ===== Programs ===== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.program-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.2rem 1.9rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.program-featured {
    border: 2px solid var(--red);
    box-shadow: var(--shadow-lg);
}
.program-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}
.program-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--bg-alt);
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    margin-bottom: 1.3rem;
}
.program-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.program-card > p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.program-card ul {
    display: grid;
    gap: .5rem;
    margin-bottom: 1.6rem;
    flex-grow: 1;
}
.program-card ul li {
    font-size: .88rem;
    color: var(--ink-soft);
    padding-left: 1.4rem;
    position: relative;
}
.program-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 800;
}
.program-link {
    font-weight: 700;
    font-size: .92rem;
    color: var(--red);
    transition: gap .2s;
}
.program-link:hover { text-decoration: underline; }

/* ===== Steps ===== */
.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 1.2rem;
    align-items: start;
    margin-bottom: 3rem;
}
.step {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    height: 100%;
}
.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    box-shadow: 0 6px 14px rgba(200, 16, 46, .3);
}
.step h4 { font-size: 1rem; margin-bottom: .45rem; }
.step p { font-size: .86rem; color: var(--ink-soft); }
.step-arrow {
    align-self: center;
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 800;
}
.proses-cta { text-align: center; }
.cta-note {
    margin-top: 1rem;
    font-size: .85rem;
    color: var(--ink-soft);
}

/* ===== Testimonials ===== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.testi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform .25s ease, box-shadow .25s ease;
}
.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.testi-card blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    position: relative;
    padding-top: 1.6rem;
    flex-grow: 1;
}
.testi-card blockquote::before {
    content: "\201C";
    position: absolute;
    top: -0.4rem;
    left: -0.2rem;
    font-size: 3.2rem;
    color: var(--gold);
    font-family: Georgia, serif;
    line-height: 1;
}
.testi-card figcaption {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--gold));
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.testi-card figcaption strong { display: block; font-size: .95rem; }
.testi-card figcaption small { color: var(--ink-soft); font-size: .8rem; }

/* ===== Donate ===== */
.donate {
    background:
        radial-gradient(ellipse 50% 70% at 100% 0%, rgba(217, 164, 65, .25), transparent 55%),
        linear-gradient(135deg, var(--red-dark), var(--red) 60%, #e0455f);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}
.donate-content { max-width: 640px; margin: 0 auto; }
.donate-content p { opacity: .92; margin-bottom: 1.8rem; }
.donate-amounts {
    display: flex;
    justify-content: center;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}
.amount-btn {
    background: rgba(255, 255, 255, .14);
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: .95rem;
    padding: .7rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}
.amount-btn:hover { background: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.amount-btn.active {
    background: #fff;
    color: var(--red-dark);
    border-color: #fff;
}
.donate-note {
    margin-top: 1.2rem;
    font-size: .82rem;
    opacity: .8;
}

/* ===== FAQ ===== */
.faq-list { display: grid; gap: .9rem; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
    border-color: var(--red);
    box-shadow: var(--shadow);
}
.faq-item summary {
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--red);
    transition: transform .25s;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    margin-top: .9rem;
    font-size: .92rem;
    color: var(--ink-soft);
}

/* ===== Footer ===== */
.footer {
    background: var(--ink);
    color: #cfd6e0;
    padding-top: 4.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #9aa5b3; }
.footer-brand p {
    font-size: .88rem;
    margin: 1.2rem 0 1.4rem;
    color: #9aa5b3;
    max-width: 300px;
}
.socials { display: flex; gap: .7rem; }
.socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 800;
    transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--red); transform: translateY(-2px); }
.footer-col h5 {
    color: #fff;
    font-size: .95rem;
    margin-bottom: 1.1rem;
}
.footer-col a, .footer-col p {
    display: block;
    font-size: .88rem;
    color: #9aa5b3;
    margin-bottom: .65rem;
    transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.4rem 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .82rem;
    color: #9aa5b3;
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 1020px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-card { max-width: 520px; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-media { min-height: 380px; max-width: 520px; }
    .program-grid, .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .steps { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
    .step-arrow { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 760px) {
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 6%;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform .3s ease, opacity .3s ease;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a:not(.nav-cta) {
        padding: .9rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }
    .nav-cta { margin-top: 1rem; justify-content: center; }
    .nav-toggle { display: flex; }

    .section { padding: 4rem 0; }
    .hero { padding: 140px 0 70px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .program-card, .testi-card, .amount-btn { transition: none; }
}
