/* ========================================
   CHCC — wander above wonder
   Design System for RM700M Infrastructure
   ======================================== */

/* ===== VARIABLES ===== */
:root {
  --brand: #c7332d;
  --brand-light: #e04842;
  --brand-dim: rgba(199,51,45,0.12);
  --brand-glow: rgba(199,51,45,0.06);
  --gold: #d4a017;
  --gold-light: #e8c04a;
  --gold-dim: rgba(212,160,23,0.12);
  --gold-glow: rgba(212,160,23,0.05);
  --bg: #121f18;
  --bg2: #182a20;
  --bg3: #1e3328;
  --surface: #16251d;
  --surface-hover: #1c3026;
  --text: #dce4dc;
  --text-dim: #8a9a8a;
  --text-muted: #5a6a5a;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.12);
  --emerald: #1a5035;
  --emerald-glow: rgba(26,80,53,0.3);
  --section-light-bg: #1a2e24;
  --section-accent: #182a20;
  --transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --brand: #b52b26;
  --brand-light: #c7332d;
  --brand-dim: rgba(181,43,38,0.15);
  --brand-glow: rgba(181,43,38,0.06);
  --gold: #6e520e;
  --gold-light: #8a6912;
  --gold-dim: rgba(110,82,14,0.15);
  --gold-glow: rgba(110,82,14,0.06);
  --bg: #e8e4dd;
  --bg2: #dbd6cc;
  --bg3: #cdc7bb;
  --section-light-bg: #fafaf7;
  --section-accent: #dbd6cc;
  --surface: #f5f2ed;
  --surface-hover: #efebe5;
  --text: #111111;
  --text-dim: #3a3a3a;
  --text-muted: #5a5a5a;
  --border: rgba(0,0,0,0.12);
  --border-light: rgba(0,0,0,0.2);
  --emerald: #1a5c35;
  --emerald-glow: rgba(26,92,53,0.12);
}

/* Theme toggle icon visibility */
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
[data-theme="light"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: none; }
[data-theme="light"] .navbar.scrolled {
  background: rgba(232,228,221,0.92) !important;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}
[data-theme="light"] .nav-links a { color: var(--text-dim); }
[data-theme="light"] .nav-links a:hover { color: var(--text); }
[data-theme="light"] .hero-title .hero-line { color: #1a1a1a; }
[data-theme="light"] .vision-card h3,
[data-theme="light"] .eco-primary h3,
[data-theme="light"] .eco-card h4,
[data-theme="light"] .update-card h3,
[data-theme="light"] .why-card h3,
[data-theme="light"] .impact-card h3,
[data-theme="light"] .benefit-item h3,
[data-theme="light"] .route-info h4,
[data-theme="light"] .feature-content h2,
[data-theme="light"] .concept-card h3,
[data-theme="light"] .journey-info h4,
[data-theme="light"] .stat-item h3,
[data-theme="light"] .eco-primary h3,
[data-theme="light"] .section-title.light {
  color: var(--text);
}
[data-theme="light"] .nav-logo span { color: var(--text); }
[data-theme="light"] .hero-sub { color: var(--text-dim); }
[data-theme="light"] .section-title { color: var(--text); }
[data-theme="light"] .section-desc { color: var(--text-dim); }
[data-theme="light"] .eco-primary > p { color: var(--text-dim); }
[data-theme="light"] .feature-desc,
[data-theme="light"] .teaser-desc { color: var(--text-dim); }
[data-theme="light"] .route-info p { color: var(--text-dim); }
[data-theme="light"] .eco-specs li { color: var(--text-dim); }
[data-theme="light"] .stats { border-color: var(--border-light); }
[data-theme="light"] .hero-badge {
  border-color: var(--brand-dim);
  color: var(--brand);
  background: var(--brand-glow);
}
[data-theme="light"] .section-tag {
  border-color: var(--brand-dim);
  color: var(--brand);
  background: var(--brand-glow);
}
[data-theme="light"] .feature-label {
  border-color: var(--brand-dim);
  color: var(--brand);
  background: var(--brand-glow);
}
[data-theme="light"] .nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
}
[data-theme="light"] .nav-cta:hover {
  background: var(--brand-light) !important;
  color: #fff !important;
}
[data-theme="light"] .hero-overlay::after {
  background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 100%);
  opacity: 0.85;
}
[data-theme="light"] .eco-bg { display: none; }
[data-theme="light"] .stats-bg { display: none; }
[data-theme="light"] .teaser-mosque { background: var(--bg2); }


[data-theme="light"] .scroll-mouse { border-color: var(--border-light); }
/* ===== HERO ELEVATION TAG ===== */
.hero-elevation {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
}
[data-theme="light"] .page-loader { background: var(--bg); }
[data-theme="light"] .hero-canvas {
  opacity: 0.85;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, var(--emerald-glow) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, var(--gold-glow) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(26,92,53,0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 40%, var(--bg3) 70%, var(--bg) 100%);
}

/* ===== LIGHT THEME — comprehensive overrides ===== */
[data-theme="light"] .hero-title .hero-line { color: #1a1a1a; }
[data-theme="light"] .hero-title .hero-line-sub { color: var(--gold); }
[data-theme="light"] .hero-sub { color: var(--text-dim); }
[data-theme="light"] .hero-actions .btn-outline {
  color: var(--text);
  border-color: var(--border-light);
}
[data-theme="light"] .hero-actions .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
[data-theme="light"] .hero-scroll span { color: var(--text-muted); }
[data-theme="light"] .scroll-mouse { border-color: var(--border-light); }
[data-theme="light"] .stat-num { color: var(--gold); }
[data-theme="light"] .stat-label { color: var(--text-dim); }
[data-theme="light"] .stat-unit { color: var(--text-muted); }
[data-theme="light"] .route-node:hover {
  border-left-color: var(--gold);
  background: var(--bg2);
}
[data-theme="light"] .feature-stat span { color: var(--gold); }
[data-theme="light"] .feature-stat label { color: var(--text-muted); }
[data-theme="light"] .eco-specs li span { color: var(--gold); }
[data-theme="light"] .update-badge {
  border-color: var(--brand-dim);
  color: var(--brand);
}
[data-theme="light"] .update-timeline-item {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="light"] .update-timeline-dot { background: var(--brand); }
[data-theme="light"] .update-timeline-item strong { color: var(--text); }
[data-theme="light"] .update-timeline-label { color: var(--text-muted); }
[data-theme="light"] .benefit-number { color: var(--brand-dim); }
[data-theme="light"] .eco-card-icon,
[data-theme="light"] .vision-emoji,
[data-theme="light"] .eco-primary-icon { opacity: 1; }
[data-theme="light"] .nav-logo span { color: var(--text); }
[data-theme="light"] .loader-bar { background: var(--border); }
[data-theme="light"] .loader-bar-fill { background: var(--gold); }
[data-theme="light"] .page-loader-inner img { opacity: 0.9; }
[data-theme="light"] .eco-primary {
  background: var(--bg2);
  border-color: var(--border-light);
}
[data-theme="light"] .footer-company { color: var(--text-muted); }
[data-theme="light"] .footer-tagline { color: var(--gold); }
[data-theme="light"] .footer-bottom p { color: var(--text-muted); }
[data-theme="light"] .back-to-top {
  background: var(--bg3);
  border-color: var(--border-light);
  color: var(--text-dim);
}
[data-theme="light"] .back-to-top:hover {
  background: var(--brand-dim);
  border-color: var(--brand);
  color: var(--brand);
}
[data-theme="light"] .particle { background: var(--gold); }
[data-theme="light"] .hero-badge { background: var(--brand-glow); }
[data-theme="light"] .section-tag { background: var(--brand-glow); }
[data-theme="light"] .feature-label { background: var(--brand-glow); }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #000; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 8px; }

/* ===== SECTION ===== */
.section { padding: clamp(40px, 8vw, 80px) 0; position: relative; }
.section-light { background: var(--section-light-bg); }
[data-theme="light"] .section-light .section-tag { color: #5a4a3a; border-color: rgba(90,74,58,0.2); background: rgba(90,74,58,0.06); }
[data-theme="light"] .section-light .section-title { color: #1a1a1a; }
[data-theme="light"] .section-light .section-desc { color: #4a4a4a; }
[data-theme="light"] .section-light .vision-card,
[data-theme="light"] .section-light .why-card,
[data-theme="light"] .section-light .impact-card,
[data-theme="light"] .section-light .why-card,
[data-theme="light"] .section-light .update-card,
[data-theme="light"] .section-light .eco-card { background: linear-gradient(135deg, #fafaf7, #f0ede6); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .section-light .vision-card h3,
[data-theme="light"] .section-light .why-card h3,
[data-theme="light"] .section-light .impact-card h3,
[data-theme="light"] .section-light .why-card h3,
[data-theme="light"] .section-light .update-card h3,
[data-theme="light"] .section-light .eco-card h4 { color: #1a1a1a; }
[data-theme="light"] .section-light .vision-card p,
[data-theme="light"] .section-light .why-card p,
[data-theme="light"] .section-light .impact-card p,
[data-theme="light"] .section-light .why-card p,
[data-theme="light"] .section-light .update-card p,
[data-theme="light"] .section-light .eco-card p { color: #4a4a4a; }
[data-theme="light"] .section-light .why-number,
[data-theme="light"] .section-light .impact-number,
[data-theme="light"] .section-light .why-number { color: rgba(0,0,0,0.30); }
[data-theme="light"] .section-light .update-badge { color: #5a4a3a; border-color: rgba(90,74,58,0.2); background: rgba(90,74,58,0.06); }
[data-theme="light"] .section-light .update-timeline-label { color: #6a5a4a; }
[data-theme="light"] .section-light .eco-primary { background: #fff; border-color: rgba(0,0,0,0.04); }
[data-theme="light"] .section-light .eco-primary h3 { color: #1a1a1a; }
[data-theme="light"] .section-light .eco-primary p { color: #4a4a4a; }
[data-theme="light"] .section-light .eco-specs li { color: #4a4a4a; }
[data-theme="light"] .section-light .eco-specs li span { color: #2a2a2a; }
[data-theme="light"] .section-light .eco-bg { display: none; }
[data-theme="light"] .section-light .feature-content h2 { color: #1a1a1a; }
[data-theme="light"] .section-light .feature-desc { color: #4a4a4a; }
[data-theme="light"] .section-light .feature-label { color: #5a4a3a; border-color: rgba(90,74,58,0.2); background: rgba(90,74,58,0.06); }
[data-theme="light"] .section-light .feature-stat span { color: #2a2a2a; }
[data-theme="light"] .section-light .feature-stat label { color: #5a5a5a; }
.section-header { max-width: none; margin-bottom: 40px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  background: var(--gold-glow);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
}
.section-title.light { color: #fff; }
.section-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-top: 24px;
  max-width: 1100px;
  line-height: 1.8;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(6,11,9,0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold) !important;
  color: #000 !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* ===== NAV RIGHT (toggle + hamburger) ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 7px;
  cursor: pointer;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
  opacity: 0.85;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--surface-hover);
  opacity: 1;
}
[data-theme="light"] .theme-toggle {
  background: var(--bg2);
  border-color: var(--border-light);
  color: var(--text);
}
[data-theme="light"] .theme-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-dim);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Hamburger → X animation */
body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu overlay */
#navOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}
body.menu-open #navOverlay {
  display: block;
}

@media (max-width: 900px) {
  .route-layout { grid-template-columns: 1fr; }
  .route-svg { max-height: 400px; }
}

@media (max-width: 900px) {
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col-wide { grid-column: span 1; }
}

body.menu-open { overflow: hidden; }

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    background: var(--bg2);
    flex-direction: column;
    padding: 100px 40px;
    gap: 20px;
    border-left: 1px solid var(--border);
    transition: var(--transition);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle span { background: #fff; }
}

/* ===== HERO ===== */
main { position: relative; overflow: hidden; }
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, var(--emerald-glow) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, var(--gold-glow) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(10,40,30,0.5) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #0a1810 40%, #0d1f15 70%, var(--bg) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* Grid pattern overlay */
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,160,23,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
/* Gradient vignette */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 24px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero-emblem { margin-bottom: 24px; }
.hero-emblem img {
  filter: drop-shadow(0 0 40px rgba(199,51,45,0.25));
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero-line {
  display: block;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: #fff;
}
.hero-line-sub {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--gold);
  font-weight: 600;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-dim);
  line-height: 2.2;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding-bottom: clamp(40px, 8vw, 80px); }
@media (max-width: 768px) {
  .hero-content { margin-top: -40px; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 28px; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212,160,23,0.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}
.btn-outline.light { border-color: rgba(255,255,255,0.25); color: #fff; }
.btn-outline.light:hover { border-color: var(--gold); color: var(--gold); }

/* ===== SCROLL INDICATOR ===== */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}
.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}
.scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ===== STATS STRIP ===== */
.stats {
  position: relative;
  padding: clamp(30px, 6vw, 60px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, var(--gold-glow) 0%, transparent 70%);
  opacity: 0.5;
}
.stats-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.stat-item { flex: 1; text-align: center; position: relative; }
.stat-num {
  display: inline;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-unit {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 2px;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 6px;
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-inner { flex-wrap: wrap; gap: 24px 8px; }
  .stat-item { flex: 0 0 calc(50% - 16px); }
  .stat-divider { display: none; }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== VISION SECTION ===== */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.vision-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-hover));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: var(--transition);
}
.vision-card > .vision-icon,
.vision-card > h3 {
  text-align: left;
}
.vision-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  background: var(--surface-hover);
}
.vision-icon { margin-bottom: 20px; text-align: left; }
.vision-emoji { font-size: 2rem; }
.vision-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.vision-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.vision-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vision-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.8;
  padding-left: 0;
}
.vision-list li::before {
  content: '•';
  color: var(--brand);
  margin-right: 8px;
}

@media (max-width: 900px) { .vision-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .vision-grid { grid-template-columns: 1fr; } }

/* ===== ROUTE SECTION ===== */
.route-section { padding-top: clamp(40px, 8vw, 80px); padding-bottom: clamp(40px, 8vw, 80px); background: radial-gradient(ellipse 70% 40% at 50% 20%, var(--emerald-glow) 0%, transparent 70%), var(--bg); }

/* Two-column layout: map left, stations right */
.route-layout {
  display: block;
  width: 100%;
}

/* SVG map container */
.route-map-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}
.route-svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: none;
  object-fit: contain;
}


/* Stations column */
.route-stations { display: flex; flex-direction: column; gap: 12px; padding-left: 0; }
.route-node {
  display: block;
  background: var(--bg3);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 24px;
  transition: var(--transition);
  cursor: default;
}
.route-node:hover {
  border-left-color: var(--gold);
  background: var(--surface-hover);
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.route-info { padding-top: 8px; }
.route-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.route-alt {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.route-info p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== ECOSYSTEM ===== */
.eco-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.eco-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(26,80,53,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 30%, rgba(212,160,23,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.eco-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.eco-primary {
  background: linear-gradient(145deg, var(--surface), var(--bg3));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
}
.eco-primary-icon { font-size: 2.4rem; margin-bottom: 16px; }
.eco-primary h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.eco-primary > p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}
.eco-specs { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
.eco-specs li {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.eco-specs li span {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}
.eco-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.eco-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-hover));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}
.eco-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.eco-card-icon { font-size: 1.6rem; margin-bottom: 12px; }
.eco-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.eco-card p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .eco-showcase { grid-template-columns: 1fr; }
  .eco-secondary-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) { .eco-secondary-grid { grid-template-columns: 1fr; } }

/* ===== FEATURE BLOCKS ===== */
.feature {
  position: relative;
  padding: 70px 0;
  overflow: hidden;
}
.feature-mosque {
}
.feature-phase2 {
  background: var(--section-accent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background:
    radial-gradient(circle at 80% 40%, var(--gold) 0%, transparent 40%),
    radial-gradient(circle at 20% 60%, #1a4a35 0%, transparent 40%);
}
.feature-content {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .feature-content { flex-direction: column !important; }
  .feature-content > div:last-child { flex: 0 0 auto !important; max-width: 320px; margin: 24px auto 0; }
}
.feature-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  background: var(--gold-glow);
}
.feature-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.feature-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.feature-stats {
  display: flex;
  gap: 40px;
}
.feature-stat span {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.feature-stat label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== WHY CHCC ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.why-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.why-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(212,160,23,0.30);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
}
.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== ROUTE MEDIA CARDS ===== */
.route-media-card {
  transition: all 0.3s ease;
}
.route-media-card:hover {
  border-color: var(--gold-dim) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}


/* ===== IMPACT ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.impact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.impact-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.impact-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(212,160,23,0.30);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
}
.impact-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.impact-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}
@media (max-width: 768px) { .impact-grid { grid-template-columns: 1fr; } }

/* ===== UPDATES ===== */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.update-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-hover));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  transition: var(--transition);
}
.update-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.update-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.update-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 3px 10px;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
}
.update-date {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.update-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.update-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Update card inner timeline */
.update-timeline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.update-timeline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  padding: 10px 14px;
  flex: 1;
  min-width: 120px;
}
.update-timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.update-timeline-item strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
}
.update-timeline-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
}

@media (max-width: 600px) { .updates-grid { grid-template-columns: 1fr; } }


.social-link { transition: color 0.2s ease; }
.social-link.linkedin:hover { color: #0A66C2 !important; }
.social-link.facebook:hover { color: #1877F2 !important; }


/* ===== BULLET LISTS ===== */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullet-list--tight { gap: 6px; }
.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.bullet-dot {
  color: var(--gold-dim);
  flex-shrink: 0;
}


/* ===== UTILITY CLASSES ===== */
.subtitle { font-weight: 400; opacity: 0.7; font-size: 0.7em; }
.social-link-item { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 4px; }
.img-card { width: 100%; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.flex-center { display: flex; align-items: center; gap: 48px; max-width: 1100px; }
.flex-col { flex: 1; min-width: 0; }
.img-col { flex: 0 1 420px; min-width: 180px; }
.footer-col-flex { flex: 1 0 250px; }
.footer-col-brand { text-align: center; flex: 1 0 250px; }
.route-card-wrap { max-width: 700px; margin: 16px auto 0; }
.route-svg-img { max-width: 100%; height: auto; width: 100%; border-radius: 16px; }
.eco-sdg-img { height: 64px; border-radius: 4px; cursor: pointer; transition: transform 0.2s; }
.eco-sdg-img:hover { transform: scale(1.05); }
.vision-list-inline { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-desc-wide { max-width: none; }
.hero-svg-wrap { width: 100%; height: auto; min-height: 60px; overflow: hidden; max-width: 1000px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer {
  padding: clamp(40px, 8vw, 80px) 0 clamp(20px, 4vw, 40px);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-top { margin-bottom: 48px; }
.footer-brand { margin-bottom: 40px; }
.footer-tagline {
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 600;
  margin-top: 12px;
}
.footer-company { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col-wide { grid-column: span 1; }
@media (min-width: 769px) { .footer-col-wide { grid-column: span 2; } }
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-col p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-col a[href^="tel"], .footer-col a[href^="mailto"] {
  color: var(--text-dim);
  text-decoration: none;
}
.footer-col a[href^="tel"]:hover, .footer-col a[href^="mailto"]:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.72rem; color: var(--text-muted); }

@media (max-width: 768px) { .footer-links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-links-grid { grid-template-columns: 1fr; } }

/* ========================================
   PREMIUM EFFECTS
   ======================================== */

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-inner {
  text-align: center;
}
.loader-bar {
  width: 160px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin: 24px auto 0;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: loaderFill 1.9s ease-out forwards;
}
@keyframes loaderFill {
  0% { width: 0; }
  10% { width: 8%; }
  40% { width: 35%; }
  75% { width: 75%; }
  100% { width: 100%; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
}
[data-theme="light"] .back-to-top:hover {
  background: var(--brand-dim);
  border-color: var(--brand);
  color: var(--brand);
}

/* ===== CABLE CAR ANIMATION ===== */
/* Cable Car Scene */
.cable-car-scene {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.cable-car-scene svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cable-car-scene line {
  opacity: 0.6;
}
.cc-window {
  fill: #c7332d;
  animation: cc-breathe 4s ease-in-out infinite;
}
.cc-glow {
  fill: #d4a017;
  opacity: 0.35;
  animation: cc-glow-pulse 4s ease-in-out infinite;
}
@keyframes cc-breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.4; }
}
@keyframes cc-glow-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}
[data-theme="light"] .cable-car {
  color: #7a5c10;
  opacity: 0.7;
}
/* ===== HERO PARTICLE GRID ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.5; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120px); }
}

/* ===== 3D CARD TILT ===== */
.tilt-card {
  perspective: 1000px;
}
.tilt-card-inner {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

/* ===== SECTION DIVIDER WAVES ===== */
.section-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
}
.section-wave svg {
  width: 100%;
  height: 100%;
}

/* ===== GLOW TEXT ACCENTS ===== */
.glow-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
