/* ===================================================
   PONDOK PESANTREN ASH-SHOFWAH
   Ultra-Modern & Luxury Islamic Portal Design System
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ===========================
   ROOT DESIGN TOKENS
   =========================== */
:root {
    /* Primary Islamic Emerald Palette */
    --primary-950: #03150d;
    --primary-900: #062316;
    --primary-800: #0a3824;
    --primary-700: #0d4d31;
    --primary-600: #106642;
    --primary-500: #138052;
    --primary: #0d5435;
    --primary-light: #16935f;
    --primary-glow: rgba(16, 185, 129, 0.28);
    
    /* Royal Gold & Champagne Accents */
    --gold-300: #fcedbb;
    --gold-400: #f6dc88;
    --gold-500: #dfb743;
    --gold-600: #c59b2c;
    --gold-700: #99741a;
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.25);
    --gold-gradient: linear-gradient(135deg, #fcedbb 0%, #dfb743 50%, #99741a 100%);
    
    /* Vibrant Mint */
    --mint: #10b981;
    --mint-light: #6ee7b7;
    
    /* Modern Neutrals */
    --dark-950: #070d0a;
    --dark-900: #0c1611;
    --dark-800: #14221b;
    --dark-700: #1e3329;
    --dark: #0f1c15;
    
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    
    --surface-light: #ffffff;
    --surface-tint: #f6f9f7;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 20px 40px -15px rgba(6, 35, 22, 0.08);
    
    --glass-dark-bg: rgba(7, 21, 14, 0.82);
    --glass-dark-border: rgba(212, 175, 55, 0.22);
    --glass-dark-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-arabic: 'Amiri', serif;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Elevation Shadows */
    --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 30px -10px rgba(6, 35, 22, 0.08);
    --shadow-hover: 0 20px 40px -12px rgba(6, 35, 22, 0.16);
    --shadow-glow: 0 0 35px rgba(16, 185, 129, 0.25);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===========================
   BASE RESET & TYPOGRAPHY
   =========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-900);
    background-color: #fafcfb;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-900);
    line-height: 1.25;
    font-weight: 700;
}

p {
    color: var(--gray-600);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ===========================
   TOP ANNOUNCEMENT BAR
   =========================== */
.top-bar {
    background: var(--dark-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gold-300);
    font-size: 0.825rem;
    padding: 0.45rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
}

.top-bar-item span.highlight {
    color: var(--gold-400);
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.7);
}

.top-bar-right a:hover {
    color: var(--gold-400);
}

/* ===========================
   FLOATING GLASS HEADER
   =========================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(13, 84, 53, 0.08);
    transition: var(--transition-smooth);
    padding: 0.9rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.07);
    padding: 0.65rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
}

.brand-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-800) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.4rem;
    box-shadow: 0 6px 16px -4px var(--primary-glow);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-900);
    line-height: 1.15;
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-600);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--gray-700);
    position: relative;
    padding: 0.4rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* ===========================
   BUTTON SYSTEM - REFINED & TACTILE
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 44px;
    padding: 0 1.5rem;
    font-size: 0.925rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Tactile physical press-down effect */
.btn:active, 
.dock-btn:active, 
.infaq-chip:active, 
.bank-radio-card:active,
.modal-tab-btn:active {
    transform: scale(0.93) translateY(1px) !important;
    transition: transform 0.08s cubic-bezier(0.1, 0.9, 0.2, 1) !important;
}

/* Expanding Click Ripple Wave */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: btnRippleAnim 0.55s ease-out;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.btn-outline .btn-ripple {
    background-color: rgba(13, 84, 53, 0.2);
}

@keyframes btnRippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #073822 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px -4px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px rgba(13, 84, 53, 0.45);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-gold {
    background: linear-gradient(135deg, #f0cc61 0%, #d4af37 55%, #ad8218 100%);
    color: #081a10;
    font-weight: 800;
    box-shadow: 0 6px 18px -4px var(--gold-glow);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -4px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #fcedbb 0%, #dfb743 100%);
}

.btn-outline {
    background: rgba(13, 84, 53, 0.04);
    color: var(--primary);
    border: 1.5px solid rgba(13, 84, 53, 0.35);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px var(--primary-glow);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--primary-900);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px -4px rgba(255, 255, 255, 0.4);
}

.btn-lg {
    height: 50px;
    padding: 0 1.85rem;
    font-size: 1rem;
    font-weight: 700;
}

.btn-sm {
    height: 38px;
    padding: 0 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Specific styling for header actions to guarantee pixel-perfection */
.nav-actions .btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-actions .btn-sm svg {
    flex-shrink: 0;
}

/* ===========================
   HERO SECTION - LUXURY EMERALD
   =========================== */
.hero {
    position: relative;
    background: linear-gradient(145deg, #041a10 0%, #072a1b 45%, #05160e 100%);
    color: #ffffff;
    padding: var(--space-20) 0 var(--space-24);
    overflow: hidden;
}

/* Ambient glow orbs */
.hero-glow-1 {
    position: absolute;
    top: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: pulseOrb 12s infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    animation: pulseOrb 15s infinite alternate-reverse;
}

@keyframes pulseOrb {
    0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
    50% { transform: scale(1.15) translate(40px, -30px); opacity: 1; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.7; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Pill Badge */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 1.1rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-full);
    color: var(--gold-300);
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(12px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--mint);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: var(--space-6);
    letter-spacing: -0.03em;
}

.hero-title .gold-gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #fcedbb 70%, #dfb743 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
}

/* Hero Stats Bar */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-card {
    display: flex;
    flex-direction: column;
}

.hero-stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--gold-400);
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Hero Card - Live Interactive Taawun Showcase */
.hero-glass-card {
    background: var(--glass-dark-bg);
    border: 1px solid var(--glass-dark-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--glass-dark-shadow);
    backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold-400);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-card-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--mint-light);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.hero-live-taawun-title {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hero-live-taawun-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-6);
}

.hero-metric-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.75rem;
}

.metric-current {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
}

.metric-target {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Shimmering Progress Bar */
.progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, #10b981 0%, #dfb743 100%);
    position: relative;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-quick-donors {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.avatar-stack {
    display: flex;
}

.avatar-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-700);
    border: 2px solid var(--dark-950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #ffffff;
    margin-left: -8px;
}

.avatar-item:first-child {
    margin-left: 0;
}

.donors-count-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section {
    padding: var(--space-20) 0;
    position: relative;
}

.section-tint {
    background: #f4f8f5;
}

.section-dark {
    background: var(--dark-900);
    color: #ffffff;
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-12);
}

.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.95rem;
    background: rgba(13, 84, 53, 0.08);
    border: 1px solid rgba(13, 84, 53, 0.18);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.section-dark .section-pill {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--gold-400);
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.section-dark .section-title {
    color: #ffffff;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   BENTO GRID - KEUNGGULAN
   =========================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid rgba(13, 84, 53, 0.08);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 84, 53, 0.25);
}

.bento-span-8 {
    grid-column: span 8;
}

.bento-span-4 {
    grid-column: span 4;
}

.bento-span-6 {
    grid-column: span 6;
}

.bento-card.dark-theme {
    background: linear-gradient(145deg, #09281a 0%, #051910 100%);
    color: #ffffff;
    border-color: rgba(212, 175, 55, 0.2);
}

.bento-card.dark-theme h3 {
    color: #ffffff;
}

.bento-card.dark-theme p {
    color: rgba(255, 255, 255, 0.72);
}

.bento-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: rgba(13, 84, 53, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: var(--space-5);
}

.bento-card.dark-theme .bento-icon-badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-400);
}

.bento-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.bento-card p {
    font-size: 0.95rem;
    line-height: 1.65;
}

.bento-feature-list {
    margin-top: 1.25rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bento-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
}

.bento-feature-list li svg {
    width: 16px;
    height: 16px;
    color: var(--mint);
    flex-shrink: 0;
}

/* ===========================
   PROGRAM TAAWUN CARDS
   =========================== */
.taawun-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: var(--space-8);
}

.taawun-modern-card {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid rgba(13, 84, 53, 0.1);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.taawun-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.4);
}

.taawun-card-hero {
    position: relative;
    padding: var(--space-8) var(--space-8) var(--space-6);
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    color: #ffffff;
}

.taawun-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-full);
    color: var(--gold-300);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.taawun-card-title {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.taawun-card-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

.taawun-card-body {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.taawun-stats-box {
    margin-bottom: var(--space-6);
}

.taawun-numbers {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.65rem;
}

.taawun-current-amt {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
}

.taawun-percent {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold-600);
}

.taawun-specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-6);
}

.spec-pill {
    padding: 0.3rem 0.75rem;
    background: var(--surface-tint);
    border: 1px solid rgba(13, 84, 53, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--gray-700);
    font-weight: 600;
}

.taawun-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

/* ===========================
   INTERACTIVE INFAQ CALCULATOR
   =========================== */
.infaq-calc-card {
    background: linear-gradient(145deg, #ffffff 0%, #f4f9f6 100%);
    border-radius: var(--radius-2xl);
    border: 1.5px solid rgba(13, 84, 53, 0.15);
    box-shadow: 0 20px 45px -15px rgba(6, 35, 22, 0.08);
    padding: var(--space-10);
    margin-top: var(--space-12);
}

.infaq-calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-10);
    align-items: center;
}

.infaq-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: var(--space-4) 0 var(--space-6);
}

.infaq-chip {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(13, 84, 53, 0.2);
    background: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-900);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.infaq-chip:hover, .infaq-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -4px var(--primary-glow);
}

.infaq-slider-wrap {
    margin-bottom: var(--space-6);
}

.infaq-slider-wrap input[type=range] {
    width: 100%;
    accent-color: var(--primary);
    height: 8px;
    border-radius: 4px;
    background: var(--gray-200);
    outline: none;
}

.impact-display-box {
    background: var(--dark-900);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.35);
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.impact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.impact-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.08);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1.3;
}

.impact-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 0.2rem;
}

/* ===========================
   PROGRAM PENDIDIKAN TABS
   =========================== */
.edu-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.edu-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid rgba(13, 84, 53, 0.08);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 84, 53, 0.25);
}

.edu-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(13, 84, 53, 0.1) 0%, rgba(212, 175, 55, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-5);
    border: 1px solid rgba(13, 84, 53, 0.1);
}

.edu-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.edu-card p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.edu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.edu-list li {
    font-size: 0.85rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.edu-list li::before {
    content: '✓';
    color: var(--mint);
    font-weight: 800;
}

/* ===========================
   PSB STEPPER & TIMELINE
   =========================== */
.psb-timeline-box {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(13, 84, 53, 0.1);
    margin-bottom: var(--space-8);
}

.psb-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.psb-step-item {
    text-align: center;
    position: relative;
}

.step-num-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface-tint);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    box-shadow: 0 6px 14px -3px var(--primary-glow);
    transition: var(--transition-smooth);
}

.psb-step-item:hover .step-num-circle {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.psb-step-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.psb-step-item p {
    font-size: 0.85rem;
}

/* ===========================
   BERITA & ARTIKEL CARDS
   =========================== */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.news-modern-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(13, 84, 53, 0.08);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-img-box {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

.news-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.news-content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 0.4rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--dark-900);
}

.news-snippet {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.testi-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    backdrop-filter: blur(16px);
}

.testi-stars {
    color: var(--gold-400);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testi-quote {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.testi-person {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
}

.testi-info h4 {
    color: #ffffff;
    font-size: 0.95rem;
}

.testi-info p {
    color: var(--gold-300);
    font-size: 0.8rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--dark-950);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-16) 0 var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-400);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

/* ===========================
   FLOATING DOCK ACTION BUTTONS
   =========================== */
.floating-dock {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-end;
}

.dock-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: var(--transition-bounce);
}

.dock-btn-wa {
    background: #25d366;
    color: #ffffff;
}

.dock-btn-wa:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px -5px rgba(37, 211, 102, 0.5);
}

.dock-btn-donate {
    background: var(--gold-gradient);
    color: var(--dark-950);
}

.dock-btn-donate:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

.dock-btn-top {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid var(--gray-200);
    display: none;
}

.dock-btn-top.visible {
    display: inline-flex;
}

/* ===========================
   MODALS & OVERLAYS
   =========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 15, 9, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(13, 84, 53, 0.15);
    transform: translateY(20px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-window {
    transform: translateY(0) scale(1);
}

.modal-window.modal-wide {
    max-width: 820px;
}

.modal-header {
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.modal-header h3 {
    font-size: 1.25rem;
    color: var(--dark-900);
}

.modal-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: var(--gray-200);
    color: var(--dark-900);
}

.modal-body {
    padding: var(--space-6);
    overflow-y: auto;
}

.modal-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: var(--gray-50);
}

/* Modal Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark-900);
    background: #ffffff;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    border-bottom: 1.5px solid var(--gray-200);
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.modal-tab-btn {
    padding: 0.5rem 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-500);
    position: relative;
}

.modal-tab-btn.active {
    color: var(--primary);
}

.modal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 0;
    right: 0;
    height: 2.5px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

/* Bank Account Radio Boxes */
.bank-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bank-radio-card {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.bank-radio-card:hover, .bank-radio-card.active {
    border-color: var(--primary);
    background: rgba(13, 84, 53, 0.05);
}

.bank-logo-text {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
}

/* Official Receipt Card */
.receipt-card {
    border: 2px dashed rgba(13, 84, 53, 0.25);
    background: #fbfdfc;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
}

.receipt-header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.25rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 0;
    font-size: 0.9rem;
}

.receipt-row .label {
    color: var(--gray-500);
}

.receipt-row .val {
    font-weight: 700;
    color: var(--dark-900);
}

/* Toast Notifications */
.toast-msg {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-950);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.35);
    z-index: 3000;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    .bento-span-8, .bento-span-4, .bento-span-6 {
        grid-column: span 12;
    }
    .infaq-calc-grid {
        grid-template-columns: 1fr;
    }
    .psb-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .bank-options-grid {
        grid-template-columns: 1fr;
    }
    .psb-steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
