/* ============================================================
   Sagara Yasa Landing Page — Modern Islamic Luxury & Power UI
   Architecture: CSS Custom Properties, Modern Glassmorphism,
   Fluid Typography, Ambient Lighting, 3D Lift Cards & Shimmer
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,600;0,800;0,900;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Deep Midnight Purple & Royal Gold */
    --primary: #090919;
    --primary-light: #151538;
    --primary-dark: #05050f;
    
    --secondary: #632ca6;
    --secondary-light: #8a46e3;
    --secondary-dark: #451d77;
    
    --accent: #d4af37;
    --accent-light: #f3e5ab;
    --accent-dark: #aa841e;
    --accent-glow: rgba(212, 175, 55, 0.35);

    --bg: #f8f6f0;
    --bg-alt: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.85);
    
    --text: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --border: rgba(212, 175, 55, 0.18);
    --border-light: rgba(0, 0, 0, 0.06);

    /* Layered Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(15, 15, 45, 0.08), 0 8px 10px -6px rgba(15, 15, 45, 0.04);
    --shadow-lg: 0 20px 45px -10px rgba(15, 15, 45, 0.15), 0 10px 20px -5px rgba(15, 15, 45, 0.08);
    --shadow-glow: 0 0 35px rgba(212, 175, 55, 0.25);
    --shadow-glow-purple: 0 0 40px rgba(99, 44, 166, 0.3);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions & Easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.35s var(--ease-out);

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-arabic: 'Amiri', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-light), var(--accent));
    border-radius: var(--radius-full);
    border: 2px solid var(--primary-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Selection Highlight */
::selection {
    background: var(--accent);
    color: var(--primary-dark);
}

/* ============ TYPOGRAPHY & GRADIENTS ============ */
.text-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #fef3c7 50%, #c59b27 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShift 6s ease infinite;
}

@keyframes goldShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(9, 9, 25, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-text {
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-white);
    font-size: 1.35rem;
    font-family: var(--font-body);
    position: relative;
}

.brand-text span {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.brand-glow svg,
.brand-glow .brand-text {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.85)); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-links a:hover {
    color: var(--accent-light);
    text-shadow: 0 0 10px rgba(243, 229, 171, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: linear-gradient(135deg, var(--accent) 0%, #b89228 100%);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-nav:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: #000;
}

.hamburger {
    display: none;
    font-size: 1.6rem;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.hamburger:hover {
    color: var(--accent);
}

/* ============ BUTTONS & INTERACTION ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--text-white);
    box-shadow: 0 10px 25px rgba(99, 44, 166, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(138, 70, 227, 0.5);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent) 0%, #b89228 100%);
    color: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.55);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -75%; }
    100% { left: 135%; }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at 50% 20%, #1c1035 0%, #090919 70%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    padding: 150px 20px 120px;
    overflow: hidden;
}

/* Ambient glow orbs in background */
.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(138, 70, 227, 0.25) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, -40px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.1;
    mix-blend-mode: overlay;
    animation: slowZoom 30s infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--accent-light);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease;
    font-family: var(--font-arabic);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 680px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.8s ease 0.4s both;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    margin-top: 60px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--accent);
    font-family: var(--font-heading);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-top: 4px;
}

/* Wave Divider */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    width: 100%;
    height: 90px;
    fill: var(--bg);
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: var(--s);
    height: var(--s);
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
    animation: particleFloat var(--d) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-35px) scale(1.4);
        opacity: 0.9;
    }
}

/* ============ SECTIONS COMMON ============ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    background: rgba(99, 44, 166, 0.08);
    color: var(--secondary);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(99, 44, 166, 0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============ LAYANAN DONATUR ============ */
.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.layanan-card {
    background: var(--bg-alt);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.layanan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.layanan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
    border-color: rgba(212, 175, 55, 0.3);
}

.layanan-card:hover::before {
    opacity: 1;
}

.layanan-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.2rem;
    color: var(--accent-light);
    box-shadow: 0 10px 20px rgba(99, 44, 166, 0.25);
    transition: var(--transition);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.layanan-card:hover .layanan-icon {
    transform: scale(1.12) rotate(6deg);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--primary-dark);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.layanan-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: var(--primary);
}

.layanan-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============ AYAT AL-QUR'AN ============ */
.quran-quote {
    background: radial-gradient(circle at 50% 50%, #151538 0%, #090919 100%);
    padding: 90px 0;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.quran-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.quran-quote .container {
    position: relative;
    z-index: 2;
}

.arab-text {
    font-family: var(--font-arabic);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 2.2;
    margin-bottom: 24px;
    color: var(--accent-light);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    letter-spacing: 0.5px;
}

.translation {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 760px;
    margin: 0 auto 16px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.8;
}

.reference {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============ ABOUT ============ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--accent);
}

.about-icon {
    width: 72px;
    height: 72px;
    background: rgba(99, 44, 166, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    color: var(--secondary);
    border: 1px solid rgba(99, 44, 166, 0.2);
    transition: var(--transition);
}

.about-card:hover .about-icon {
    background: var(--secondary);
    color: var(--text-white);
    transform: scale(1.08);
}

.about-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: var(--primary);
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Floating animation */
.float-slow {
    animation: float 5s ease-in-out infinite;
}

.float-slow:nth-child(2) { animation-delay: 0.8s; }
.float-slow:nth-child(3) { animation-delay: 1.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============ ALOKASI ============ */
.alokasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.alokasi-card {
    padding: 44px 36px;
    border-radius: var(--radius-xl);
    color: var(--text-white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.alokasi-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 65%);
    animation: rotateGlow 10s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.alokasi-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.alokasi-card h3 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    position: relative;
    line-height: 1;
}

.alokasi-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.alokasi-card ul {
    list-style: none;
    position: relative;
}

.alokasi-card li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
}

.alokasi-card li i {
    color: var(--accent-light);
    font-size: 1.1rem;
    animation: iconPulse 2.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); color: var(--text-white); }
}

.gradient-purple {
    background: linear-gradient(135deg, #4b1d7d 0%, #280f49 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, #b89228 0%, #6e540d 100%);
}

/* ============ PIJAR SECTION ============ */
.pijar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.pijar-visual {
    position: relative;
}

.pijar-visual img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.pijar-visual img:hover {
    transform: scale(1.03);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

.image-glow {
    box-shadow: var(--shadow-glow-purple);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.pijar-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.pijar-feature:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(6px);
}

.pijar-feature i {
    font-size: 2.2rem;
    color: var(--secondary);
    flex-shrink: 0;
    transition: var(--transition);
}

.pijar-feature:hover i {
    transform: scale(1.25) rotate(8deg);
    color: var(--accent-dark);
}

.pijar-feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    color: var(--primary);
}

.pijar-feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pijar-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.pijar-buttons .btn-outline {
    color: var(--secondary);
    border-color: var(--secondary);
    background: transparent;
}

.pijar-buttons .btn-outline:hover {
    background: var(--secondary);
    color: var(--text-white);
    border-color: var(--secondary);
}

/* ============ PROGRAM SOSIAL ============ */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-light);
}

.program-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
}

.program-card:hover::after {
    transform: scaleX(1);
}

.program-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.program-card:hover img {
    transform: scale(1.08);
}

.program-info {
    padding: 24px;
}

.program-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    color: var(--primary);
}

.program-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============ FORM DONATUR ============ */
.donatur-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-alt);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: left;
    border: 1px solid var(--border);
    position: relative;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group .required {
    color: #e11d48;
}

.form-group .optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text);
    background: #fafafa;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 44, 166, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: radial-gradient(circle at 50% 50%, #151538 0%, #090919 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
    animation: rotateGlow 18s linear infinite;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--accent);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============ TOMBOL SCROLL KE ATAS ============ */
.scroll-top-btn {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--text-white);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 175, 55, 0.7);
}

.scroll-top-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* ============ REVEAL & KEYFRAME ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ RESPONSIVE MEDIA QUERIES ============ */
@media (max-width: 992px) {
    .pijar-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 9, 25, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        gap: 18px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }
    
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .btn-nav { display: none; }
    
    .hero { padding: 130px 16px 90px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
    .donatur-form { padding: 30px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .scroll-top-btn {
        bottom: 24px;
        right: 24px;
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
}