/* ===== Taman Bermain Anak — style "Bento Funhub" (Social/App Landing Bento archetype) ===== */

:root {
  --bg: #f5f4ff;
  --bg-alt: #eeecff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --ink: #1c1730;
  --ink-muted: #6a6483;
  --hairline: #e3dffa;
  --primary: #6c4eff;
  --primary-dark: #5636e0;
  --secondary: #ff5da2;
  --accent: #37e2b0;
  --sun: #ffd166;
  --dark: #14102b;
  --dark-alt: #1c1740;
  --success: #2fb380;
  --warning: #f5a623;
  --danger: #ef4d67;
  --info: #3fa9f5;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow: 0 16px 40px rgba(28, 23, 64, 0.10);
  --shadow-lg: 0 30px 70px rgba(28, 23, 64, 0.16);
  --ease: 260ms cubic-bezier(.22, .61, .36, 1);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-glow: linear-gradient(135deg, var(--accent), var(--primary));
  --glass-blur: blur(18px);
}

[data-theme="dark"] {
  --bg: #14102b;
  --bg-alt: #1a1538;
  --surface: rgba(28, 23, 56, 0.55);
  --surface-solid: #1c1740;
  --ink: #f1eeff;
  --ink-muted: #a79fc9;
  --hairline: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  transition: background var(--ease), color var(--ease);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 8% 8%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    radial-gradient(500px circle at 92% 18%, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 60%),
    radial-gradient(500px circle at 50% 90%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
}

h1, h2, h3, .brand { font-family: "Poppins", "Inter", sans-serif; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.76rem; color: var(--primary); margin-bottom: 12px; }
.eyebrow.light-on-dark { color: var(--accent); }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--ink-muted); font-size: 1.02rem; line-height: 1.6; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 6px 0 12px; }

/* ===== Buttons ===== */
.btn-solid, .btn-outline, .btn-glass {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 14px;
  font-weight: 700; font-size: 0.92rem; cursor: pointer; border: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  white-space: nowrap; font-family: inherit;
}
.btn-solid { background: var(--gradient-primary); color: #fff; box-shadow: 0 14px 28px rgba(108, 78, 255, 0.32); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(108, 78, 255, 0.42); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--hairline); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-glass { background: var(--surface); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--ink); border: 1px solid var(--hairline); font-size: 0.85rem; padding: 11px 20px; }
.btn-glass:hover { border-color: var(--primary); color: var(--primary); }
.link-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); font-size: 0.9rem; }

.store-badges { display: flex; gap: 12px; margin-top: 22px; }
.store-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-sm); background: var(--surface-solid); box-shadow: var(--shadow); font-weight: 700; font-size: 0.82rem; border: 1px solid var(--hairline); }

/* ===== Navbar (glass, elevates on scroll) ===== */
.navbar { position: sticky; top: 0; z-index: 60; background: transparent; transition: all var(--ease); }
.navbar.nav-elevated { background: var(--surface); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow); }
.navbar-inner { max-width: 1240px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--primary); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-weight: 600; font-size: 0.92rem; color: var(--ink-muted); transition: color var(--ease); }
.nav-links a:hover { color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--surface-solid); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: transform var(--ease); }
.icon-btn:hover { transform: scale(1.08); }
.hamburger { display: none; }

@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 72px 16px auto 16px; background: var(--surface-solid); border-radius: var(--radius); padding: 16px; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all var(--ease); }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 10px 12px; border-radius: var(--radius-sm); }
  .hamburger { display: grid; }
  .btn-nav-cta { display: none; }
}

/* ===== Hero (app mockup, bukan foto full-bleed) ===== */
.hero { max-width: 1240px; margin: 0 auto; padding: 70px 28px 90px; display: grid; grid-template-columns: 1fr 0.9fr; gap: 50px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-solid); padding: 8px 16px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.82rem; color: var(--primary); box-shadow: var(--shadow); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.14; margin-bottom: 18px; }
.hero-text p { font-size: 1.06rem; color: var(--ink-muted); max-width: 480px; line-height: 1.65; margin-bottom: 26px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup { width: min(320px, 80%); border-radius: 36px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--surface-solid); }
.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--surface-solid); box-shadow: var(--shadow-lg); font-weight: 700; font-size: 0.8rem;
  animation: floatChip 4s ease-in-out infinite;
}
.chip-1 { top: 12%; left: -6%; color: var(--danger); }
.chip-2 { bottom: 14%; right: -8%; color: var(--warning); animation-delay: 1.5s; }
@keyframes floatChip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta-row, .store-badges { justify-content: center; }
  .floating-chip { display: none; }
}

/* ===== Bento grid fitur asimetris ===== */
.bento-section { max-width: 1240px; margin: 0 auto; padding: 40px 28px 90px; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 20px; }
.bento-card {
  position: relative; overflow: hidden; background: var(--surface-solid); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px; cursor: pointer; box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-medium { grid-column: span 2; grid-row: span 1; }
.bento-small { grid-column: span 1; grid-row: span 1; }
.bento-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-glow); color: #fff; display: grid; place-items: center; font-size: 1.05rem; margin-bottom: 14px; }
.bento-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.bento-card p { color: var(--ink-muted); font-size: 0.86rem; line-height: 1.5; margin: 0; }
.bento-shot { position: absolute; right: -20px; bottom: -20px; width: 46%; opacity: 0.9; border-radius: 12px; pointer-events: none; }
.bento-large .bento-shot { width: 42%; }
.bento-small .bento-shot { display: none; }

@media (max-width: 980px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-large, .bento-medium, .bento-small { grid-column: span 2; }
}

/* ===== Zone strip (icon chip list, bukan tab-carousel) ===== */
.zone-strip-section { max-width: 1120px; margin: 0 auto; padding: 20px 28px 90px; }
.zone-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.zone-chip {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 158px; padding: 22px 14px;
  background: var(--surface-solid); border: 1px solid var(--hairline); border-radius: var(--radius); cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease); box-shadow: var(--shadow);
}
.zone-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.zone-chip i { font-size: 1.5rem; color: var(--primary); }
.zone-chip-name { font-weight: 700; font-size: 0.9rem; text-align: center; }
.zone-chip-age { font-size: 0.76rem; color: var(--ink-muted); }
.zone-density { font-size: 0.7rem; font-weight: 800; padding: 3px 10px; border-radius: var(--radius-pill); text-transform: uppercase; }
.density-low { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }
.density-mid { background: color-mix(in srgb, var(--warning) 20%, transparent); color: var(--warning); }
.density-high { background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger); }

/* ===== Stat strip ===== */
.stat-strip { max-width: 1120px; margin: 0 auto 90px; padding: 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { background: var(--surface-solid); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px 16px; box-shadow: var(--shadow); }
.stat-num { display: block; font-size: 2.1rem; font-weight: 800; color: var(--primary); font-family: "Poppins", sans-serif; }
.stat-label { color: var(--ink-muted); font-size: 0.84rem; font-weight: 600; }
@media (max-width: 800px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ===== Pricing (membership 3 kolom) ===== */
.pricing-section { max-width: 1120px; margin: 0 auto; padding: 20px 28px 90px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { position: relative; background: var(--surface-solid); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: all var(--ease); }
.price-card.highlight { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-8px); background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 8%, var(--surface-solid)), var(--surface-solid)); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-primary); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 6px 16px; border-radius: var(--radius-pill); box-shadow: var(--shadow); white-space: nowrap; }
.price-tier { display: block; font-weight: 800; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; margin-bottom: 10px; }
.price-value { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.price-value small { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-muted); }
.price-tagline { color: var(--ink-muted); font-size: 0.9rem; margin: 12px 0 20px; }
.price-includes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-includes li { display: flex; gap: 10px; font-size: 0.88rem; }
.price-includes i { color: var(--success); margin-top: 3px; }
.price-cta { width: 100%; justify-content: center; }
@media (max-width: 940px) { .pricing-grid { grid-template-columns: 1fr; } .price-card.highlight { transform: none; } }

/* ===== Quote section — 1 kutipan besar berputar ===== */
.quote-section { max-width: 860px; margin: 0 auto; padding: 20px 28px 90px; }
.quote-wrap { background: var(--surface-solid); border: 1px solid var(--hairline); border-radius: 28px; padding: 56px 48px; text-align: center; box-shadow: var(--shadow-lg); position: relative; }
.quote-icon { font-size: 2rem; color: var(--primary); opacity: 0.3; margin-bottom: 14px; }
.quote-slide { display: none; }
.quote-slide.active { display: block; animation: quoteFade 0.5s ease; }
@keyframes quoteFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.quote-text { font-size: 1.25rem; font-weight: 600; line-height: 1.55; margin-bottom: 20px; }
.quote-name { font-weight: 800; }
.quote-role { color: var(--ink-muted); font-size: 0.86rem; }
.quote-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.quote-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--hairline); cursor: pointer; transition: all var(--ease); }
.quote-dot.active { background: var(--primary); width: 22px; border-radius: var(--radius-pill); }

/* ===== About section ===== */
.about-section { max-width: 1180px; margin: 0 auto; padding: 20px 28px 90px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: 28px; box-shadow: var(--shadow-lg); }
.about-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.about-body p { color: var(--ink-muted); line-height: 1.7; margin-bottom: 16px; }
.about-points { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.about-points div { display: flex; gap: 10px; font-weight: 700; font-size: 0.92rem; }
.about-points i { color: var(--success); margin-top: 3px; }
@media (max-width: 900px) { .about-section { grid-template-columns: 1fr; } }

/* ===== Gallery visual ===== */
.gallery-visual { background: var(--dark); padding: 80px 28px; }
.gallery-visual .section-head h2 { color: #fff; }
.gallery-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); color: #fff; font-weight: 600; font-size: 0.86rem; opacity: 0; transition: opacity var(--ease); }
.gallery-item:hover .gallery-caption { opacity: 1; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Article section ===== */
.article-section { max-width: 1240px; margin: 0 auto; padding: 20px 28px 90px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--surface-solid); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform var(--ease); }
.article-card:hover { transform: translateY(-6px); }
.article-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.article-body { padding: 22px; }
.article-date { font-size: 0.78rem; color: var(--ink-muted); font-weight: 600; }
.article-body h3 { font-size: 1.05rem; margin: 10px 0; line-height: 1.4; }
.article-body p { color: var(--ink-muted); font-size: 0.88rem; line-height: 1.55; margin-bottom: 14px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }

/* ===== FAQ minimalis ===== */
.faq-section { max-width: 760px; margin: 0 auto; padding: 20px 28px 90px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-question { width: 100%; text-align: left; padding: 20px 4px; background: none; border: none; font-weight: 700; font-size: 0.96rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { color: var(--primary); transition: transform var(--ease); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--ease); }
.faq-answer p { padding: 0 4px 20px; color: var(--ink-muted); line-height: 1.6; margin: 0; font-size: 0.9rem; }

/* ===== Contact section ===== */
.contact-section { max-width: 1120px; margin: 0 auto; padding: 20px 28px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.contact-info p { color: var(--ink-muted); line-height: 1.65; margin-bottom: 24px; }
.contact-detail-list { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-list a, .contact-detail-list span { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.94rem; }
.contact-detail-list i { color: var(--primary); width: 20px; }
.contact-form { background: var(--surface-solid); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--hairline);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 0.92rem; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
@media (max-width: 860px) { .contact-section { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 60px 28px 24px; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; margin: 12px 0; color: rgba(255,255,255,0.6); }
.footer-brand .store-badges .store-badge { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.14); box-shadow: none; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.88rem; padding: 6px 0; color: rgba(255,255,255,0.65); transition: color var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding-top: 20px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--accent); font-weight: 700; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ===== Floating WA + back to top ===== */
.wa-float {
  position: fixed; bottom: 26px; left: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: var(--shadow-lg); z-index: 50; animation: pulseWa 2.4s infinite;
}
@keyframes pulseWa { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--surface-solid); color: var(--primary); border: none; cursor: pointer; box-shadow: var(--shadow-lg); z-index: 50;
  transition: transform var(--ease);
}
.back-to-top:hover { transform: translateY(-4px); }

/* ===== Toast ===== */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--surface-solid); color: var(--ink); padding: 14px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.88rem; animation: toastIn 0.25s ease; }
.toast i { color: var(--success); }
.toast.leaving { animation: toastOut 0.22s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ===== Overlay / modal chrome (glass) ===== */
.overlay-backdrop { position: fixed; inset: 0; background: rgba(20,16,43,0.55); backdrop-filter: blur(4px); z-index: 90; opacity: 0; transition: opacity var(--ease); }
.overlay-backdrop.show { opacity: 1; }
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%); width: min(520px, 92vw);
  max-height: 86vh; overflow-y: auto; background: var(--surface-solid); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-lg); z-index: 100; opacity: 0; transition: opacity var(--ease), transform var(--ease);
}
.modal.show { opacity: 1; transform: translate(-50%, -50%); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--bg-alt); color: var(--ink); cursor: pointer; }

.download-modal { text-align: center; }
.download-badge { width: 60px; height: 60px; border-radius: 50%; background: var(--gradient-primary); display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin: 0 auto 16px; }
.download-modal p { color: var(--ink-muted); line-height: 1.6; }
.download-form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.download-form input { padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--hairline); background: var(--bg); color: var(--ink); font-family: inherit; }
.download-note { font-size: 0.76rem; color: var(--ink-muted); margin-top: 12px; }

.lightbox-modal img { border-radius: var(--radius-sm); margin-bottom: 14px; }
.lightbox-modal p { text-align: center; color: var(--ink-muted); font-weight: 700; }
.lightbox-nav { display: flex; justify-content: space-between; margin-top: 14px; }
.lightbox-nav button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--bg-alt); color: var(--ink); cursor: pointer; }

.feature-detail-img, .zone-detail-img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 16px; }
.feature-detail-body p, .zone-detail-modal p { color: var(--ink-muted); line-height: 1.7; }
.zone-density-line { margin: 14px 0 20px; font-size: 0.9rem; }

.article-modal-img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 16px; aspect-ratio: 16/9; object-fit: cover; }
.article-modal p { color: var(--ink-muted); line-height: 1.7; margin-top: 12px; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
