/* ===================================================================
   KURBAN AL-IKHLAS 1448 H - Landing Page Stylesheet
   Design System: Islamic Green & Gold, Glassmorphism, Mobile-First
   =================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Amiri:wght@400;700&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette */
  --color-primary: #0d6b3f;
  --color-primary-dark: #064a2b;
  --color-primary-light: #10a85e;
  --color-primary-lighter: #d0f5e0;

  /* Gold Accent */
  --color-gold: #d4a737;
  --color-gold-light: #f0d77a;
  --color-gold-dark: #b08a20;

  /* Neutral */
  --color-bg: #f8faf9;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f5f2;
  --color-text: #1a2e23;
  --color-text-secondary: #4a6b57;
  --color-text-muted: #7a9585;
  --color-border: #d4e4db;

  /* Semantic */
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* Gradients */
  --gradient-hero: linear-gradient(145deg, #042a18 0%, #0d6b3f 40%, #0a5832 70%, #063d24 100%);
  --gradient-gold: linear-gradient(135deg, #d4a737, #f0d77a, #d4a737);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,249,0.9));
  --gradient-cta: linear-gradient(135deg, #d4a737 0%, #e8c45a 50%, #d4a737 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.18);
  --shadow-gold: 0 4px 20px rgba(212,167,55,0.35);
  --shadow-green: 0 4px 20px rgba(13,107,63,0.25);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Amiri', serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.25rem;
  --font-size-5xl: 4rem;

  /* 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;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;     /* stronger than hidden — no scroll container created */
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

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

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  min-width: 0;
}

main,
section,
header,
footer {
  max-width: 100%;
  overflow-x: clip;
}

/* Hero wave SVG — prevent 1440px viewBox from causing horizontal scroll */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  display: block;
  line-height: 0;
}

.hero-wave svg,
svg.hero-wave {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.section-padding {
  padding: var(--space-20) 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-primary { color: var(--color-primary); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body.group-access-open {
  overflow: hidden;
}

.group-access-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 20, 12, 0.72);
  backdrop-filter: blur(12px);
}

.group-access-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease both;
}

.group-access-shell {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 900px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: var(--color-surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  animation: fadeInUp 0.35s ease both;
}

.group-access-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.group-access-close::before,
.group-access-close::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 10px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.group-access-close::before { transform: rotate(45deg); }
.group-access-close::after { transform: rotate(-45deg); }

.group-access-hero {
  position: relative;
  padding: 30px 32px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(212, 167, 55, 0.32) 0 70px, transparent 72px),
    linear-gradient(135deg, #042a18, #0d6b3f 54%, #064a2b);
}

.group-access-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--color-gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.group-access-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  box-shadow: 0 0 0 6px rgba(212, 167, 55, 0.18);
}

.group-access-hero h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.group-access-hero p {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.group-access-body {
  max-height: calc(88vh - 170px);
  overflow-y: auto;
  padding: 28px 32px 32px;
}

.group-access-question {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 10px 0 4px;
}

.group-access-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(212, 167, 55, 0.92), rgba(240, 215, 122, 0.92)),
    var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.group-access-icon::before {
  content: "";
  display: block;
  width: 34px;
  height: 42px;
  margin: 16px auto;
  border: 4px solid #fff;
  border-radius: 12px 12px 18px 18px;
  border-top-width: 7px;
}

.group-access-question h3,
.group-access-result-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.2;
}

.group-access-question p,
.group-access-result-head p,
.group-access-help {
  margin: 10px 0 0;
  color: var(--color-text-secondary);
}

.group-access-actions,
.group-access-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.group-access-actions .btn-outline {
  border-color: var(--color-border);
  color: var(--color-primary);
  background: #fff;
}

.group-access-actions .btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-lighter);
}

.group-access-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--color-text);
}

.group-access-input-row {
  justify-content: flex-start;
  margin-top: 0;
}

.group-access-input-row input {
  flex: 1 1 260px;
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  color: var(--color-text);
  font: inherit;
  outline: none;
}

.group-access-input-row input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(13, 107, 63, 0.12);
}

.group-access-feedback {
  min-height: 22px;
  margin-top: 14px;
  color: var(--color-text-secondary);
  font-weight: 700;
}

.group-access-feedback.error {
  color: var(--color-danger);
}

.group-access-result-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.group-access-result-head .group-access-kicker {
  color: var(--color-primary);
}

.group-access-summary {
  min-width: 92px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface-alt);
  text-align: center;
}

.group-access-summary strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.4rem;
  line-height: 1;
}

.group-access-summary span {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.group-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.group-access-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.group-access-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.group-access-card-head strong {
  font-size: 1rem;
}

.group-access-card-head span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
  font-weight: 800;
}

.group-access-card ol {
  padding: 10px 12px 12px;
}

.group-access-card li {
  display: grid;
  grid-template-columns: 28px 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(13, 107, 63, 0.1);
}

.group-access-card li:last-child {
  border-bottom: 0;
}

.group-access-card li.empty {
  opacity: 0.58;
}

.group-access-number,
.group-access-paid {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.group-access-member-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 900;
}

.group-access-member-name {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-access-paid {
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar .nav-main-container {
  padding: var(--space-4) 0;
  transition: padding var(--transition-base);
}

.navbar.scrolled {
  background: rgba(4, 42, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-main-container {
  padding: var(--space-3) 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 1001;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-gold);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text span:first-child {
  font-weight: 700;
  font-size: var(--font-size-md);
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo-text span:last-child {
  font-size: var(--font-size-xs);
  color: var(--color-gold-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: var(--font-size-sm);
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

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

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--gradient-cta) !important;
  color: var(--color-primary-dark) !important;
  padding: var(--space-2) var(--space-5) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: var(--font-size-sm) !important;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base) !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(212, 167, 55, 0.5) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: var(--space-24) 0 var(--space-16);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-bg.png') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/pattern.png') repeat;
  opacity: 0.04;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-gold-light);
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 3s infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(212, 167, 55, 0.15);
  border: 1px solid rgba(212, 167, 55, 0.35);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  color: var(--color-gold-light);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-arabic {
  font-family: var(--font-arabic);
  font-size: var(--font-size-3xl);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  animation: fadeInUp 0.8s ease 0.2s both;
  line-height: 1.3;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  animation: fadeInUp 0.8s ease 0.4s both;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.8s ease 0.6s both;
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-gold);
  font-size: var(--font-size-md);
  padding: var(--space-5) var(--space-10);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 167, 55, 0.5);
}

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

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: var(--space-5) var(--space-10);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-green {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-green);
}

.btn-green:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(13, 107, 63, 0.4);
}

.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Hero Stats Ticker */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  animation: fadeInUp 0.8s ease 1s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  align-self: stretch;
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* =====================================================
   COUNTDOWN SECTION
   ===================================================== */
.countdown-section {
  position: relative;
  padding: var(--space-16) 0;
  background: var(--color-surface);
  z-index: 5;
}

.countdown-wrapper {
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section-label-icon {
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-10);
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.countdown-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  min-width: 110px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-spring);
}

.countdown-card:hover {
  transform: translateY(-5px) scale(1.03);
}

.countdown-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/pattern.png') repeat;
  opacity: 0.05;
}

.countdown-value {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.countdown-label {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-2);
  position: relative;
  z-index: 1;
}

/* =====================================================
   ABOUT / PROGRAM INFO SECTION
   ===================================================== */
.about-section {
  position: relative;
  padding: var(--space-24) 0;
  background: var(--color-surface-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-content {
  padding-right: var(--space-8);
}

.about-content .section-label {
  margin-bottom: var(--space-4);
}

.about-content .section-title {
  margin-bottom: var(--space-6);
}

.about-description {
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.8;
}

.about-features {
  display: grid;
  gap: var(--space-5);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-primary-lighter);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.about-feature h4 {
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.about-feature p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* About Visual / Info Card */
.about-visual {
  position: relative;
}

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-gold);
}

.info-card-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.info-card-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-2);
}

.info-card-header p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.info-card-items {
  display: grid;
  gap: var(--space-5);
}

.info-card-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.info-card-item:hover {
  background: var(--color-primary-lighter);
  transform: translateX(4px);
}

.info-card-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.info-card-item-text {
  flex: 1;
}

.info-card-item-text strong {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--font-size-sm);
}

.info-card-item-text span {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* Floating decoration */
.about-float-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  animation: float 4s ease-in-out infinite;
}

.about-float-badge .value {
  font-size: var(--font-size-xl);
  font-weight: 900;
  color: var(--color-primary-dark);
}

.about-float-badge .label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-primary-dark);
  opacity: 0.8;
}

/* =====================================================
   PROGRESS / DASHBOARD SECTION
   ===================================================== */
.progress-section {
  position: relative;
  padding: var(--space-24) 0;
  background: var(--color-surface);
}

.progress-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.stat-card:hover::after {
  transform: scaleX(1);
}

.stat-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-card-icon.green {
  background: var(--color-primary-lighter);
}

.stat-card-icon.gold {
  background: rgba(212, 167, 55, 0.15);
}

.stat-card-icon.blue {
  background: rgba(59, 130, 246, 0.12);
}

.stat-card-icon.purple {
  background: rgba(139, 92, 246, 0.12);
}

.stat-card-value {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Progress Bar */
.progress-container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}

.progress-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.progress-title-row h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.progress-percentage {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-primary);
}

.progress-bar-track {
  width: 100%;
  height: 20px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-4);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-gold));
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(13, 107, 63, 0.5);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* Cow Icons Display */
.cow-progress {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.cow-item {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-spring);
  position: relative;
  cursor: default;
}

.cow-item.filled {
  background: var(--color-primary-lighter);
  border: 2px solid var(--color-primary);
}

.cow-item.partial {
  background: rgba(212, 167, 55, 0.15);
  border: 2px dashed var(--color-gold);
}

.cow-item.empty {
  background: var(--color-surface-alt);
  border: 2px dashed var(--color-border);
  opacity: 0.5;
}

.cow-item:hover {
  transform: scale(1.15);
}

.cow-item .cow-label {
  position: absolute;
  bottom: -22px;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* =====================================================
   KELOMPOK / GROUPS SECTION
   ===================================================== */
.groups-section {
  padding: var(--space-24) 0;
  background: var(--color-surface-alt);
}

.groups-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.group-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.group-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.group-card-header {
  padding: var(--space-5) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

.group-card-name {
  font-weight: 700;
  color: var(--color-text);
}

.group-card-badge {
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.group-card-badge.full {
  background: var(--color-primary-lighter);
  color: var(--color-primary);
}

.group-card-badge.open {
  background: rgba(212, 167, 55, 0.15);
  color: var(--color-gold-dark);
}

.group-card-body {
  padding: var(--space-5) var(--space-6);
}

.group-member {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.group-member:not(:last-child) {
  border-bottom: 1px solid var(--color-surface-alt);
}

.group-member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary);
}

.group-member-name {
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.group-member.is-revealed {
  margin: 4px -8px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.16);
  animation: revealedNamePulse 1s ease-in-out 4;
}

.group-member.is-revealed .group-member-name {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.group-member.is-revealed .group-member-avatar {
  background: var(--color-gold);
  color: var(--color-primary-dark);
}

@keyframes revealedNamePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 158, 11, 0); }
  50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.18); }
}

.group-member-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.group-member-status.paid {
  background: var(--color-success);
}

.group-member-status.pending {
  background: var(--color-warning);
}

.group-card-footer {
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface-alt);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.group-card-footer span {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

.group-card-footer .slot-count {
  color: var(--color-primary);
  font-weight: 800;
}

.name-reveal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 24, 17, 0.55);
}

.name-reveal-modal.active {
  display: flex;
}

.name-reveal-dialog {
  width: min(100%, 440px);
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.25s ease;
}

.name-reveal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--color-surface-alt);
  color: var(--color-text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
}

.name-reveal-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-lighter);
  margin-bottom: 14px;
}

.name-reveal-dialog h3 {
  margin-bottom: 8px;
  color: var(--color-text);
}

.name-reveal-dialog p,
.name-reveal-form small {
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.name-reveal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.name-reveal-actions .btn-primary,
.name-reveal-actions .btn-secondary {
  border: none;
  border-radius: var(--radius-full);
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}

.name-reveal-actions .btn-secondary {
  background: var(--color-surface-alt);
  color: var(--color-text-secondary);
}

.name-reveal-actions .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.name-reveal-form {
  margin-top: 16px;
}

.name-reveal-form label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.name-reveal-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font: inherit;
}

.name-reveal-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 107, 63, 0.12);
}

.name-reveal-message {
  min-height: 20px;
  margin-top: 12px;
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.name-reveal-message.success {
  color: var(--color-success);
}

.name-reveal-message.error {
  color: var(--color-danger);
}

/* =====================================================
   STEPS / HOW-TO SECTION
   ===================================================== */
.steps-section {
  padding: var(--space-24) 0;
  background: var(--color-surface);
}

.steps-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-lighter), var(--color-gold-light), var(--color-primary-lighter));
  border-radius: var(--radius-full);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--space-6);
}

.step-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  transition: all var(--transition-spring);
}

.step-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid var(--color-primary-lighter);
  transition: all var(--transition-base);
}

.step-card:hover .step-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
}

.step-card:hover .step-icon-wrapper::before {
  border-color: var(--color-gold);
  inset: -8px;
}

.step-icon-wrapper.green-bg {
  background: var(--color-primary-lighter);
}

.step-icon-wrapper.gold-bg {
  background: rgba(212, 167, 55, 0.15);
}

.step-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: var(--font-size-xs);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
}

.step-card h4 {
  font-weight: 700;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-base);
}

.step-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section {
  padding: var(--space-24) 0;
  background: var(--color-surface-alt);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-4);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-primary-light);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.faq-question h4 {
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-text);
  flex: 1;
  padding-right: var(--space-4);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--color-primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: var(--color-primary);
  font-size: var(--font-size-lg);
}

.faq-item.active .faq-toggle {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-content {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  position: relative;
  padding: var(--space-24) 0;
  background: var(--gradient-hero);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/pattern.png') repeat;
  opacity: 0.05;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.cta-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  border-radius: 50%;
  background: rgba(212, 167, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  animation: float 4s ease-in-out infinite;
}

.cta-section .section-title {
  color: #fff;
  margin-bottom: var(--space-4);
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-10);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #042a18;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

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

.footer-brand h3 {
  color: #fff;
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col ul li a {
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-gold-light);
  padding-left: var(--space-2);
}

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

.footer-bottom p {
  font-size: var(--font-size-xs);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  font-size: var(--font-size-xs);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-gold-light);
}

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
.scroll-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-green);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-content {
    padding-right: 0;
    text-align: center;
  }

  .about-features {
    text-align: left;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .steps-grid::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2.25rem;
    --font-size-3xl: 1.75rem;
    --font-size-2xl: 1.5rem;
  }

  .group-access-modal {
    align-items: flex-end;
    padding: 10px;
  }

  .group-access-shell {
    width: 100%;
    max-height: 94vh;
    border-radius: 20px;
  }

  .group-access-hero {
    padding: 26px 22px 22px;
  }

  .group-access-body {
    max-height: calc(94vh - 158px);
    padding: 22px;
  }

  .group-access-actions,
  .group-access-input-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .group-access-actions .btn,
  .group-access-input-row .btn {
    width: 100%;
  }

  .group-access-result-head {
    grid-template-columns: 1fr 1fr;
  }

  .group-access-result-head > div:first-child {
    grid-column: 1 / -1;
  }

  .group-access-grid {
    grid-template-columns: 1fr;
  }

  .group-access-card li {
    grid-template-columns: 24px 32px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    background: rgba(4, 42, 24, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-arabic {
    font-size: var(--font-size-xl);
  }

  .hero-stats {
    gap: var(--space-4);
  }

  .hero-stat-value {
    font-size: var(--font-size-2xl);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .stat-card {
    padding: var(--space-6);
  }

  .countdown-grid {
    gap: var(--space-3);
  }

  .countdown-card {
    min-width: 70px;
    padding: var(--space-4) var(--space-5);
  }

  .countdown-value {
    font-size: var(--font-size-2xl);
  }

  .groups-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero {
    padding: var(--space-20) 0 var(--space-12);
  }

  .hero-badge {
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-3);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-card-value {
    font-size: var(--font-size-2xl);
  }

  .cow-item {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .about-float-badge {
    width: 80px;
    height: 80px;
    bottom: -10px;
    right: -10px;
  }

  .about-float-badge .value {
    font-size: var(--font-size-lg);
  }
}

/* --- Print Styles --- */
@media print {
  .navbar, .scroll-top, .hero-particles, .hero-wave, .cta-section {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* =====================================================
   MODERN UI REFRESH
   ===================================================== */
:root {
  --color-primary: #075e45;
  --color-primary-dark: #043526;
  --color-primary-light: #0f8f67;
  --color-primary-lighter: #dff7ec;
  --color-gold: #c99a2e;
  --color-gold-light: #f2d982;
  --color-gold-dark: #9c741e;
  --color-bg: #f5f7f4;
  --color-surface-alt: #eef4ef;
  --color-text: #14231d;
  --color-text-secondary: #4c6258;
  --color-border: #d7e4dc;
  --gradient-hero: radial-gradient(circle at 18% 18%, rgba(242, 217, 130, 0.18), transparent 28%),
                   linear-gradient(135deg, #031f17 0%, #064833 42%, #0a6f50 100%);
  --gradient-cta: linear-gradient(135deg, #e7bd4d 0%, #f5df8b 48%, #c99a2e 100%);
  --shadow-sm: 0 1px 2px rgba(16, 35, 28, 0.06);
  --shadow-md: 0 10px 25px rgba(16, 35, 28, 0.08);
  --shadow-lg: 0 18px 45px rgba(16, 35, 28, 0.12);
  --shadow-xl: 0 28px 70px rgba(16, 35, 28, 0.16);
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --icon-mosque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V10l7-5 7 5v11'/%3E%3Cpath d='M9 21v-6a3 3 0 0 1 6 0v6'/%3E%3Cpath d='M12 5V2'/%3E%3Cpath d='M10 3h4'/%3E%3C/svg%3E");
  --icon-register: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M12 12v6'/%3E%3C/svg%3E");
  --icon-coins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='8' cy='6' rx='5' ry='3'/%3E%3Cpath d='M3 6v6c0 1.7 2.2 3 5 3s5-1.3 5-3V6'/%3E%3Cpath d='M16 9c2.9.2 5 1.4 5 3 0 1.7-2.2 3-5 3-.7 0-1.3-.1-1.9-.2'/%3E%3Cpath d='M16 15c2.9.2 5 1.4 5 3 0 1.7-2.2 3-5 3-2.2 0-4.1-.8-4.8-2'/%3E%3C/svg%3E");
  --icon-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");
  --icon-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  --icon-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
  --icon-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.7A8.4 8.4 0 0 1 4 11.5a8.5 8.5 0 0 1 17 0Z'/%3E%3C/svg%3E");
  --icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

body {
  background:
    linear-gradient(180deg, rgba(7, 94, 69, 0.035), transparent 360px),
    var(--color-bg);
}

.ui-icon,
.nav-logo-icon::before,
.about-feature-icon::before,
.info-card-item-icon::before,
.stat-card-icon::before,
.step-icon-wrapper::before,
.cta-icon::before,
.scroll-top::before {
  content: '';
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  background: transparent var(--icon) center / contain no-repeat;
  flex: 0 0 auto;
}

.icon-mosque,
.nav-logo-icon {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V10l7-5 7 5v11'/%3E%3Cpath d='M9 21v-6a3 3 0 0 1 6 0v6'/%3E%3Cpath d='M12 5V2'/%3E%3Cpath d='M10 3h4'/%3E%3C/svg%3E");
}
.icon-register,
.nav-cta[href*="daftar"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M12 12v6'/%3E%3C/svg%3E");
}
.icon-clipboard,
.nav-cta[href*="peserta"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h5'/%3E%3C/svg%3E");
}
.icon-book,
.btn-outline {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E");
}
.icon-coins,
.about-feature-icon,
.stat-card-icon.gold {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='8' cy='6' rx='5' ry='3'/%3E%3Cpath d='M3 6v6c0 1.7 2.2 3 5 3s5-1.3 5-3V6'/%3E%3Cpath d='M16 9c2.9.2 5 1.4 5 3 0 1.7-2.2 3-5 3-.7 0-1.3-.1-1.9-.2'/%3E%3Cpath d='M16 15c2.9.2 5 1.4 5 3 0 1.7-2.2 3-5 3-2.2 0-4.1-.8-4.8-2'/%3E%3C/svg%3E");
}
.icon-search {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
}
.icon-users,
.stat-card-icon.blue {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");
}
.icon-phone,
.step-icon-wrapper.green-bg {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E");
}
.icon-calendar {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}
.icon-target,
.stat-card-icon.green {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}
.icon-chart,
.stat-card-icon.purple {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E");
}
.icon-message,
.btn-wa {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.7A8.4 8.4 0 0 1 4 11.5a8.5 8.5 0 0 1 17 0Z'/%3E%3C/svg%3E");
}
.icon-camera {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E");
}
.icon-lock {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}
.icon-check {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.icon-arrow-up,
.scroll-top {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

.nav-logo-icon,
.about-feature-icon,
.info-card-item-icon,
.stat-card-icon,
.step-icon-wrapper,
.cta-icon,
.form-icon,
.closed-icon,
.success-icon {
  font-size: 0 !important;
  color: currentColor;
}

.form-icon::before,
.closed-icon::before,
.success-icon::before {
  content: '';
  display: inline-block;
  width: 1.35rem;
  height: 1.35rem;
  background: transparent var(--icon) center / contain no-repeat;
}

.form-icon { --icon: var(--icon-register); }
.closed-icon { --icon: var(--icon-lock); }
.success-icon { --icon: var(--icon-check); }

.nav-logo-icon {
  color: var(--color-primary-dark);
  border-radius: 14px;
}

.info-card-item-icon::before,
.btn-wa::before,
.btn-outline::before,
.success-wa-btn::before,
.page-header h1 .ui-icon,
.footer-brand h3 .ui-icon,
.footer-social .ui-icon {
  filter: brightness(0) invert(1);
}

.page-header h1 .ui-icon,
.footer-brand h3 .ui-icon {
  filter: brightness(0) saturate(100%) invert(83%) sepia(53%) saturate(461%) hue-rotate(358deg) brightness(101%) contrast(90%);
}

.btn-primary::before,
.nav-cta::before,
.form-submit::before {
  filter: brightness(0) saturate(100%) invert(16%) sepia(33%) saturate(1083%) hue-rotate(113deg) brightness(92%) contrast(98%);
}

.nav-links {
  gap: clamp(0.75rem, 1.6vw, 2rem);
}

.nav-links a {
  letter-spacing: 0;
}

.nav-cta::before,
.btn::before {
  content: '';
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  background: transparent var(--icon) center / contain no-repeat;
  flex: 0 0 auto;
}

.btn-primary {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M12 12v6'/%3E%3C/svg%3E");
}

.btn,
.nav-cta {
  min-height: 44px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.hero {
  min-height: 94vh;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(3, 31, 23, 0.92), rgba(7, 94, 69, 0.76)),
    url('assets/images/hero-bg.png') center / cover no-repeat;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(3, 31, 23, 0.86), rgba(3, 31, 23, 0.38) 48%, rgba(3, 31, 23, 0.72)),
    url('assets/images/hero-bg.png') center / cover no-repeat;
  opacity: 0.58;
  mix-blend-mode: normal;
  filter: saturate(0.9) contrast(1.05);
}

.hero::after {
  background: linear-gradient(180deg, rgba(3, 31, 23, 0.12), rgba(3, 31, 23, 0.82));
  opacity: 1;
}

.hero-content {
  max-width: 920px;
}

.hero-badge,
.hero-stats,
.info-card,
.progress-container,
.stat-card,
.group-card,
.step-card,
.faq-item,
.form-card {
  border-radius: var(--radius-lg);
}

.hero-title {
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-subtitle,
.section-subtitle {
  text-wrap: pretty;
}

.hero-stats {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(18px);
}

.hero-stat {
  padding: var(--space-4) var(--space-6);
}

.hero-stat-divider {
  display: none;
}

.about-feature,
.info-card-item {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(7, 94, 69, 0.08);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
}

.about-feature-icon {
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px rgba(7, 94, 69, 0.08);
}

.about-feature:nth-child(2) .about-feature-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Cpath d='m8 11 2 2 4-4'/%3E%3C/svg%3E"); }
.about-feature:nth-child(3) .about-feature-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.about-feature:nth-child(4) .about-feature-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E"); }

.info-card-item:nth-child(1) .info-card-item-icon { --icon: var(--icon-target); }
.info-card-item:nth-child(2) .info-card-item-icon { --icon: var(--icon-users); }
.info-card-item:nth-child(3) .info-card-item-icon { --icon: var(--icon-coins); }
.info-card-item:nth-child(4) .info-card-item-icon { --icon: var(--icon-calendar); }
.info-card-item:nth-child(5) .info-card-item-icon { --icon: var(--icon-coins); }
.info-card-item:nth-child(6) .info-card-item-icon { --icon: var(--icon-mosque); }

.step-icon-wrapper {
  color: var(--color-primary-dark);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.72), 0 16px 34px rgba(7, 94, 69, 0.12);
}

.step-icon-wrapper::before {
  position: relative;
  inset: auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent var(--icon) center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(20%) sepia(35%) saturate(1060%) hue-rotate(118deg) brightness(92%) contrast(95%);
  transition: transform var(--transition-base);
}

.step-card:hover .step-icon-wrapper::before {
  inset: auto;
  border: 0;
  transform: scale(1.08);
}

.step-icon-wrapper.gold-bg {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M12 12v6'/%3E%3C/svg%3E");
}

.step-card:nth-child(3) .step-icon-wrapper {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.step-card:nth-child(4) .step-icon-wrapper {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.7A8.4 8.4 0 0 1 4 11.5a8.5 8.5 0 0 1 17 0Z'/%3E%3C/svg%3E");
}

.cta-icon {
  color: var(--color-primary-dark);
  --icon: var(--icon-mosque);
}

.cta-icon::before {
  width: 2.25rem;
  height: 2.25rem;
  filter: brightness(0) saturate(100%) invert(14%) sepia(43%) saturate(1147%) hue-rotate(116deg) brightness(93%) contrast(96%);
}

.scroll-top {
  font-size: 0;
  color: #fff;
}

.scroll-top::before {
  font-size: 1.4rem;
}

.form-submit,
.success-wa-btn,
.success-kelompok,
.form-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.alert {
  display: none;
}

.alert.visible {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.form-submit::before,
.success-wa-btn::before {
  content: '';
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  background: transparent var(--icon-register) center / contain no-repeat;
  flex: 0 0 auto;
}

.success-wa-btn::before {
  background-image: var(--icon-message);
  filter: brightness(0) invert(1);
}

.page-header h1,
.footer-brand h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.page-header h1 .ui-icon,
.footer-brand h3 .ui-icon {
  width: 1em;
  height: 1em;
  color: var(--color-gold-light);
}

.info-card-header h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.progress-title-row h3 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.group-card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.group-card-badge::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.group-card-badge.open::before {
  background: var(--color-warning);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.cow-item {
  font-size: 0;
}

.cow-item::before {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  background: transparent var(--icon-target) center / contain no-repeat;
}

.cow-item.filled { color: var(--color-primary); }
.cow-item.partial { color: var(--color-gold-dark); }
.cow-item.empty { color: var(--color-text-muted); }

.cow-label {
  font-size: 0.72rem;
  font-weight: 800;
  margin-left: 0.1rem;
}

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip; /* Ensure no horizontal scrolling */
    overscroll-behavior-x: none;
  }

  body {
    touch-action: pan-y;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .navbar .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    padding: 96px var(--space-5) var(--space-8);
    background: rgba(3, 31, 23, 0.98);
    backdrop-filter: blur(22px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-3);
    overflow-y: auto;
    opacity: 0;
    transform: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    visibility: hidden;
    pointer-events: none;
    overscroll-behavior: contain;
    contain: layout paint;
  }

  .nav-links.active {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    font-size: var(--font-size-base);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 7.5rem 0 4.5rem;
  }

  .hero-title {
    line-height: 1.16;
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-stat {
    padding: var(--space-4) var(--space-2);
  }

  .page-header h1,
  .section-title {
    line-height: 1.15;
  }
}

@media (max-width: 520px) {
  .nav-logo-text span:first-child {
    font-size: 0.98rem;
  }

  .nav-logo-text span:last-child {
    font-size: 0.68rem;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form-submit,
  .success-wa-btn {
    width: 100%;
    max-width: none;
    min-height: 50px;
  }

  .countdown-grid,
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-card,
  .stat-card {
    min-width: 0;
  }

  .progress-title-row,
  .progress-info,
  .footer-bottom,
  .footer-bottom-links {
    gap: var(--space-3);
  }
}
