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

:root {
  --primary: #1B5E20;
  --primary-light: #2E7D32;
  --primary-lighter: #388E3C;
  --primary-dark: #0D3B11;
  --primary-bg: #E8F5E9;
  --accent: #F9A825;
  --accent-dark: #F57F17;
  --accent-light: #FFF9C4;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --danger: #C62828;
  --danger-light: #FFEBEE;
  --success: #2E7D32;
  --success-light: #E8F5E9;
  --warning: #F57F17;
  --warning-light: #FFF8E1;
  --font-arabic: 'Amiri', serif;
  --font-body: 'Poppins', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.18);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-900); background: var(--gray-50); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ===== UTILITIES ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.w-full { width: 100%; }
.d-flex { display: flex; }
.d-none { display: none; }

/* ===== TYPOGRAPHY ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.arabic-text {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  color: var(--primary);
  line-height: 2;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,168,37,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-green:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,94,32,0.3);
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-danger { background: var(--danger); color: white; border-color: var(--danger); }
.btn-danger:hover { background: #b71c1c; transform: translateY(-1px); }
.btn-success { background: var(--success); color: white; border-color: var(--success); }
.btn-success:hover { background: #1b5e20; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--gray-700); border-color: var(--gray-300); }
.btn-ghost:hover { background: var(--gray-100); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0.65rem 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  transition: color var(--transition);
}
.navbar.scrolled .navbar-brand { color: var(--gray-900); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.brand-sub { font-size: 0.7rem; opacity: 0.75; }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--accent); }
.navbar.scrolled .nav-link { color: var(--gray-700); }
.navbar.scrolled .nav-link:hover { color: var(--primary); }
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 0.5rem;
}
.navbar.scrolled .navbar-toggle { color: var(--gray-800); }
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 3px solid var(--primary);
}
.mobile-nav.active { display: flex; }
.mobile-nav-link { font-weight: 500; color: var(--gray-700); padding: 0.5rem 0; border-bottom: 1px solid var(--gray-200); }
.mobile-nav-link-external { color: var(--primary); font-weight: 600; }

/* Nav active + external link */
.nav-link.active { color: var(--accent) !important; font-weight: 600; }
.nav-link-external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(249,168,37,0.15);
  border: 1px solid rgba(249,168,37,0.4);
  color: var(--accent) !important;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  transition: all var(--transition);
}
.nav-link-external:hover {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  border-color: var(--accent) !important;
}
.navbar.scrolled .nav-link-external {
  color: var(--accent-dark) !important;
  background: rgba(249,168,37,0.12);
  border-color: rgba(249,168,37,0.3);
}

/* ===== HOME PAGE STYLES ===== */
/* Home Hero */
.home-hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--primary-dark) 0%, #1a6626 45%, #2E7D32 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/islamic-ornament.png');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
}
.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.home-hero-content { color: var(--white); }
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249,168,37,0.2);
  border: 1px solid rgba(249,168,37,0.5);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.home-hero-tagline {
  font-family: var(--font-arabic);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 2;
}
.home-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.home-hero-title em {
  font-style: normal;
  color: var(--accent);
  display: block;
}
.home-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.home-hero-quick-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.home-hero-qi-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.home-hero-qi-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.home-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.home-hero-logo-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  width: 100%;
}
.home-hero-logo-card img {
  max-width: 200px;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}
.home-hero-logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.home-hero-logo-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}
.home-hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}
.home-hero-feature {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.home-hero-feature .feat-icon { color: var(--accent); font-size: 1rem; }

/* About Section */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-image-wrap img { width: 100%; display: block; }
.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.about-content {}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.about-stat-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--primary-bg);
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.about-stat-item:hover { border-color: var(--primary); transform: translateY(-2px); }
.about-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.about-stat-label { font-size: 0.75rem; color: var(--gray-600); margin-top: 0.35rem; }
.about-pillars { display: flex; flex-direction: column; gap: 0.75rem; }
.about-pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: all var(--transition);
}
.about-pillar:hover { background: var(--primary-bg); }
.pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-name { font-weight: 700; font-size: 0.9rem; color: var(--gray-900); }
.pillar-desc { font-size: 0.8rem; color: var(--gray-600); margin-top: 0.15rem; }

/* Ecosystem Section */
.ecosystem-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.ecosystem-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/islamic-ornament.png');
  background-size: cover;
  opacity: 0.03;
}
.ecosystem-section .section-title { color: var(--white); }
.ecosystem-section .section-subtitle { color: rgba(255,255,255,0.75); }
.ecosystem-section .section-badge { background: rgba(249,168,37,0.2); color: var(--accent); }
.ecosystem-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.ecosystem-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.ecosystem-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-6px);
  border-color: rgba(249,168,37,0.4);
}
.ecosystem-icon {
  width: 60px;
  height: 60px;
  background: rgba(249,168,37,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent);
}
.ecosystem-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.35rem; }
.ecosystem-desc { font-size: 0.78rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* Program Preview Section (home) */
.home-programs-section { background: var(--gray-50); }
.home-program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.home-program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 2px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.home-program-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.home-program-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.home-program-card:hover::after { transform: scaleX(1); }
.home-prog-icon {
  width: 52px; height: 52px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.home-program-card:hover .home-prog-icon { background: var(--primary); color: var(--white); }
.home-prog-name { font-weight: 700; font-size: 1rem; color: var(--gray-900); margin-bottom: 0.5rem; }
.home-prog-desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.65; }
.home-prog-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--primary); font-size: 0.82rem; font-weight: 600;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.home-program-card:hover .home-prog-cta { gap: 0.65rem; }

/* PPDB / CTA Banner */
.ppdb-section {
  background: linear-gradient(135deg, #FFF8E1 0%, var(--primary-bg) 100%);
  border-top: 4px solid var(--accent);
}
.ppdb-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ppdb-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ppdb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff3cd;
  color: #856404;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  border: 1px solid #ffc107;
  width: fit-content;
}
.ppdb-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.ppdb-subtitle {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.ppdb-highlights { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.ppdb-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.ppdb-check {
  width: 22px; height: 22px;
  background: var(--success-light);
  color: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
}
.ppdb-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ppdb-visual {
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}
.ppdb-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/images/islamic-ornament.png');
  background-size: cover;
  opacity: 0.04;
}
.ppdb-quota-card {
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(249,168,37,0.4);
}
.ppdb-quota-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.ppdb-quota-text { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.ppdb-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  position: relative;
  z-index: 2;
}
.ppdb-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.ppdb-contact-item:hover { background: rgba(255,255,255,0.18); }
.ppdb-contact-item i { color: var(--accent); }

/* ===== RESPONSIVE HOME ===== */
@media (max-width: 1024px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .home-hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 500px; }
  .ecosystem-grid { grid-template-columns: repeat(3, 1fr); }
  .ppdb-card { grid-template-columns: 1fr; }
  .ppdb-visual { padding: 2rem; order: -1; }
}
@media (max-width: 768px) {
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats-row { grid-template-columns: 1fr; }
  .home-hero-quick-info { gap: 1rem; }
  .ppdb-content { padding: 2rem; }
}
@media (max-width: 480px) {
  .ecosystem-grid { grid-template-columns: 1fr 1fr; }
  .home-hero-features { grid-template-columns: 1fr; }
}


/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-lighter) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-santri.png');
  background-size: cover;
  background-position: center top;
  opacity: 0.15;
}
.hero-ornament {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  opacity: 0.05;
  background-image: url('/images/islamic-ornament.png');
  background-size: cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 750px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249,168,37,0.2);
  border: 1px solid rgba(249,168,37,0.4);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-ayat {
  font-family: var(--font-arabic);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-ayat-trans {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-style: italic;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.hero-title .highlight {
  color: var(--accent);
  display: block;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: left;
}
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== PROGRAM CARDS ===== */
.programs { background: var(--white); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.program-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.program-card:hover, .program-card.selected {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.program-card:hover::before, .program-card.selected::before { transform: scaleX(1); }
.program-card.selected { background: var(--primary-bg); }
.program-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
  transition: all var(--transition);
}
.program-card:hover .program-icon, .program-card.selected .program-icon {
  background: var(--primary);
  color: var(--white);
}
.program-name { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.program-desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1.25rem; }
.program-progress {
  margin-bottom: 1rem;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}
.progress-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 100px;
  transition: width 1s ease;
}
.program-select-btn {
  width: 100%;
  padding: 0.65rem;
  background: var(--primary-bg);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
}
.program-card:hover .program-select-btn, .program-card.selected .program-select-btn {
  background: var(--primary);
  color: var(--white);
}

/* ===== DONATION FORM ===== */
.donation-form-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--primary-bg) 100%);
}
.form-container {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.form-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 2rem 2.5rem;
}
.form-header-title { font-size: 1.4rem; font-weight: 700; }
.form-header-sub { font-size: 0.875rem; opacity: 0.8; margin-top: 0.25rem; }

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  padding: 1.75rem 2.5rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
  overflow-x: auto;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-500);
  transition: all var(--transition);
}
.step-label { font-size: 0.8rem; font-weight: 500; color: var(--gray-500); transition: all var(--transition); }
.step-item.active .step-num { background: var(--primary); border-color: var(--primary); color: var(--white); }
.step-item.active .step-label { color: var(--primary); font-weight: 600; }
.step-item.completed .step-num { background: var(--accent); border-color: var(--accent); color: var(--white); }
.step-item.completed .step-label { color: var(--gray-700); }
.step-connector { flex: 1; height: 2px; background: var(--gray-200); margin: 0 0.5rem; min-width: 20px; }
.step-connector.active { background: var(--primary); }

.form-body { padding: 2.5rem; }
.form-step { display: none; }
.form-step.active { display: block; }
.step-title { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.25rem; }
.step-subtitle { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1.75rem; }

/* Form Controls */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}
.form-label .required { color: var(--danger); margin-left: 0.2rem; }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--gray-900);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,94,32,0.1);
}
.form-control::placeholder { color: var(--gray-400); }
.form-hint { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.35rem; }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.35rem; display: none; }

.checkbox-group { display: flex; align-items: center; gap: 0.75rem; }
.checkbox-input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.checkbox-label { font-size: 0.9rem; color: var(--gray-700); cursor: pointer; }

/* Amount buttons */
.amount-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.amount-btn {
  padding: 0.65rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.amount-btn:hover, .amount-btn.active {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary);
}

/* Frequency toggle */
.frequency-toggle {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.freq-btn {
  flex: 1;
  padding: 0.65rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--white);
  color: var(--gray-600);
  transition: all var(--transition);
}
.freq-btn.active { border-color: var(--primary); background: var(--primary-bg); color: var(--primary); }

/* Payment method tabs */
.payment-tabs { display: flex; gap: 0; border: 2px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.75rem; }
.payment-tab {
  flex: 1;
  padding: 0.85rem 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-right: 2px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.payment-tab:last-child { border-right: none; }
.payment-tab.active { background: var(--primary); color: var(--white); }
.payment-tab svg { width: 20px; height: 20px; }

.payment-panel { display: none; }
.payment-panel.active { display: block; }

.bank-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.bank-card:hover, .bank-card.selected { border-color: var(--primary); background: var(--primary-bg); }
.bank-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.bank-name-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}
.bank-account { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); font-family: monospace; }
.bank-holder { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.25rem; }
.copy-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.copy-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.unique-code-box {
  background: linear-gradient(135deg, var(--accent-light), var(--primary-bg));
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  text-align: center;
}
.unique-code-label { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 0.5rem; }
.unique-code-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.unique-code-note { font-size: 0.78rem; color: var(--gray-600); margin-top: 0.5rem; }
.unique-code-highlight { color: var(--accent-dark); font-weight: 700; }

.qris-display {
  text-align: center;
  padding: 1.5rem;
}
.qris-img {
  max-width: 280px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  margin: 0 auto 1rem;
  display: block;
}

.paypal-info {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.paypal-email { font-size: 1.1rem; font-weight: 700; color: #003087; margin: 0.75rem 0; }
.paypal-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0070BA;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
  margin-top: 1rem;
}
.paypal-btn-link:hover { background: #003087; }

/* Summary/Confirmation */
.summary-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-200);
}
.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}
.summary-item:last-child { border-bottom: none; }
.summary-label { color: var(--gray-600); font-weight: 500; }
.summary-value { font-weight: 700; color: var(--gray-900); text-align: right; max-width: 55%; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* ===== PROGRESS SECTION ===== */
.progress-section { background: var(--primary-dark); color: var(--white); }
.progress-section .section-title { color: var(--white); }
.progress-section .section-subtitle { color: rgba(255,255,255,0.7); }
.progress-section .section-badge { background: rgba(249,168,37,0.15); color: var(--accent); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.7); }

.programs-progress { display: grid; gap: 1.25rem; max-width: 700px; margin: 0 auto 2.5rem; }
.prog-progress-item {
  display: grid;
  gap: 0.5rem;
}
.prog-progress-header { display: flex; justify-content: space-between; align-items: center; }
.prog-name { font-weight: 600; font-size: 0.9rem; }
.prog-percent { font-size: 0.8rem; color: var(--accent); font-weight: 700; }
.prog-bar {
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #FFF176);
  border-radius: 100px;
}
.prog-amounts { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote-icon {
  font-family: var(--font-arabic);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-bg);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 0.875rem; color: var(--gray-900); }
.testimonial-role { font-size: 0.78rem; color: var(--gray-500); }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  font-family: var(--font-body);
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.75;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); color: rgba(255,255,255,0.8); }
.footer-top { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.footer-logo-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-logo-sub { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.875rem; line-height: 1.8; margin-bottom: 0.75rem; }
.footer-motto { font-size: 0.875rem; color: var(--accent); }
.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; }
.footer-contact-item a:hover { color: var(--accent); }
.footer-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bank { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-bank-item { display: flex; flex-direction: column; }
.bank-name { font-size: 0.7rem; font-weight: 700; color: var(--accent); text-transform: uppercase; }
.bank-number { font-size: 0.9rem; font-weight: 600; color: var(--white); font-family: monospace; }
.footer-an { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== WA FLOAT BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: all var(--transition);
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,0.7); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15); }
}

/* ===== ALERTS / BADGES ===== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-success { background: var(--success-light); color: var(--success); border: 1px solid #A5D6A7; }
.alert-danger { background: var(--danger-light); color: var(--danger); border: 1px solid #EF9A9A; }
.alert-warning { background: var(--warning-light); color: var(--warning); border: 1px solid #FFE082; }
.alert-info { background: #E3F2FD; color: #1565C0; border: 1px solid #90CAF9; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-secondary { background: var(--gray-200); color: var(--gray-700); }

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-bg) 0%, #FFF9C4 100%);
  display: flex;
  align-items: center;
  padding: 2rem 0;
  padding-top: 5rem;
}
.success-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 3rem 2.5rem;
  text-align: center;
}
.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}
.success-title { font-size: 1.75rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.5rem; }
.success-subtitle { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 2rem; }
.success-arabic {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  color: var(--accent-dark);
  margin-bottom: 0.25rem;
}
.success-info-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  margin: 1.5rem 0;
  border: 1px solid var(--gray-200);
}
.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.wa-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.wa-share-btn:hover { background: #128C7E; transform: translateY(-2px); }

/* ===== LAPORAN PAGE ===== */
.laporan-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 7rem 0 4rem;
  text-align: center;
}
.laporan-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.laporan-hero p { font-size: 1rem; opacity: 0.8; }
.laporan-content { padding: 3rem 0; }
.laporan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.donors-table { width: 100%; border-collapse: collapse; }
.donors-table th {
  background: var(--gray-50);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--gray-200);
}
.donors-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--gray-800);
}
.donors-table tr:last-child td { border-bottom: none; }
.donors-table tr:hover td { background: var(--gray-50); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-toggle { display: flex; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
  .form-body { padding: 1.5rem; }
  .form-header { padding: 1.5rem; }
  .step-indicator { padding: 1.25rem 1.5rem; }
  .step-label { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .amount-buttons { grid-template-columns: repeat(2, 1fr); }
  .success-card { padding: 2rem 1.5rem; }
  .wa-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .programs-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .payment-tab .tab-label { font-size: 0.75rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* Intersection Observer triggered animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== LOADING ===== */
.btn-loading { position: relative; pointer-events: none; opacity: 0.7; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
