/* ============================================
   Tiba-Tiba Sah — Style Utama
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark: #24262F;
  --light: #FFFFFF;
  --bg: #FFFFFF;            /* latar halaman */
  --surface: #FFFFFF;       /* kartu/permukaan terangkat */
  --gray-bg: #F3F3F3;       /* section abu (fitur, testimonial) */
  --gray-card: #F5F5F5;     /* tema-wrap, label, kartu basic */
  --icon-bg: #F1F1F1;
  --nav-bg: rgba(255,255,255,0.92);
  --text-main: rgba(36,38,47,0.82);
  --text-muted: rgba(63,66,84,0.74);
  --gold: #A88757;
  --btn-bg: #E4E4E4;
  --btn-text: #3F4254;
  --premium-btn: #C79AA7;
  --border-soft: rgba(63,66,84,0.13);
  --card-shadow: rgba(0,0,0,0.07);
}

/* ── DARK MODE ──────────────────────────── */
[data-theme="dark"] {
  --light: #2c2f3a;         /* dipakai utk hover bg → jadi gelap */
  --bg: #15161b;
  --surface: #1f212a;
  --gray-bg: #1a1b21;
  --gray-card: #23252e;
  --icon-bg: #2a2c36;
  --nav-bg: rgba(21,22,27,0.92);
  --text-main: rgba(255,255,255,0.87);
  --text-muted: rgba(255,255,255,0.6);
  --btn-bg: #2c2f3a;
  --btn-text: #e7e7ea;
  --border-soft: rgba(255,255,255,0.13);
  --card-shadow: rgba(0,0,0,0.45);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Helvetica, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  overflow-x: hidden;
}

/* transisi halus saat ganti tema */
body, nav, section, footer,
.fitur-card, .tema-card, .feat-item, .feat-img-card, .testi-card,
.tema-section-wrap, .tema-card-label, .price-card, .fitur-icon, .btn, .tab-btn {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}

/* ── THEME TOGGLE ───────────────────────── */
.theme-toggle {
  background: none; border: 1px solid var(--border-soft);
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-main);
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.1); border-color: var(--gold); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── NAVBAR ──────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 38px; width: auto; display: block; transition: filter .4s ease; }
[data-theme="dark"] .nav-brand img { filter: invert(1) brightness(1.6); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  color: var(--btn-text); transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--dark); color: #fff;
  border: none; padding: 10px 22px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold); }

/* Tombol hamburger — hanya tampil di mobile (lihat responsive.css) */
.nav-links-cta { display: none; }
.nav-toggle {
  display: none;
  position: relative;
  width: 26px; height: 20px;
  background: none; border: none; padding: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; position: absolute; left: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--text-main);
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
nav.open .nav-toggle span:nth-child(1) { top: 9px; transform: rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ── HERO ───────────────────────────────── */
#hero {
  min-height: 100vh;
  padding: 140px 60px 100px;
  background: var(--bg);
  display: flex; align-items: center;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 40% 60%; gap: 0; align-items: end;
}
.hero-left { padding-bottom: 20px; min-width: 0; }
.hero-badge {
  display: block; white-space: nowrap;
  font-family: 'Inter', Helvetica, sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted); margin-top: 12px;
}
.hero-badge b { font-weight: 700; color: var(--gold); }
.hero-big {
  font-family: 'Playfair Display', 'Trebuchet MS', serif;
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 700; line-height: 0.9;
  color: var(--text-main);
}
.hero-domain {
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 20px; display: block;
}
.hero-right { padding-left: 20px; }
.hero-title {
  font-family: 'Playfair Display', 'Trebuchet MS', serif;
  font-size: clamp(52px, 8vw, 130px);
  font-weight: 700; line-height: 0.88;
  color: var(--text-main); text-align: right;
}
.hero-desc {
  font-size: 15px; font-weight: 500; line-height: 25px;
  color: var(--text-muted); text-align: right;
  margin-top: 20px; max-width: 480px; margin-left: auto;
}
.hero-desc b { font-family: 'Playfair Display', serif; color: var(--gold); }

/* ── KEUNGGULAN CARDS ───────────────────── */
.keunggulan { background: var(--bg); padding: 0 60px 80px; }
.keunggulan-inner { max-width: 1200px; margin: 0 auto; }
.white-card-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.feat-img-col {
  background-image: url('../assets/images/hero.png');
  background-size: cover; background-position: center;
  border-radius: 4px; min-height: 600px;
  position: relative; overflow: hidden;
}
.feat-img-card {
  position: absolute; bottom: 35px; left: 35px; right: 35px;
  background: var(--surface); padding: 35px; border-radius: 2px;
}
.feat-img-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600;
  color: var(--text-main); margin-bottom: 10px;
}
.feat-img-card p { font-size: 14px; color: var(--text-muted); line-height: 22px; }
.feat-img-mobile { display: none; }   /* hanya tampil di mobile (lihat responsive.css) */
.feat-right-col { display: flex; flex-direction: column; gap: 16px; }
.feat-mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.feat-item {
  background: var(--surface); padding: 28px; box-shadow: 0 4px 20px var(--card-shadow);
}
.feat-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600;
  color: var(--text-main); margin-bottom: 8px;
}
.feat-item p { font-size: 13px; color: var(--text-muted); line-height: 20px; }
.feat-img-sub {
  border-radius: 2px; overflow: hidden; flex: 1;
}
.feat-img-sub img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── SECTION TITLES ─────────────────────── */
.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', 'Trebuchet MS', serif;
  font-size: clamp(22px, 4vw, 35px);
  font-weight: 500; text-transform: uppercase;
  color: var(--text-main); line-height: 1.2;
  margin-bottom: 32px;
}
.section-title strong { color: var(--gold); }

/* ── FITUR GRID (gray bg) ───────────────── */
#fitur {
  background: var(--gray-bg);
  padding: 80px 60px;
  position: relative;
}
#fitur::before {
  content: '';
  display: block; height: 50px;
  background: linear-gradient(to bottom right, var(--bg) 50%, transparent 50%);
  position: absolute; top: 0; left: 0; right: 0;
}
#fitur::after {
  content: '';
  display: block; height: 35px;
  background: linear-gradient(to bottom left, var(--bg) 50%, transparent 50%);
  position: absolute; bottom: 0; left: 0; right: 0;
}
.fitur-inner { max-width: 1200px; margin: 0 auto; padding-top: 30px; }
.fitur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
}
.fitur-card {
  background: var(--surface);
  padding: 35px 25px;
  box-shadow: 0 4px 20px var(--card-shadow);
}
.fitur-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600;
  color: var(--text-main); margin-bottom: 10px; line-height: 1.3;
}
.fitur-card p { font-size: 13px; color: var(--text-muted); line-height: 20px; }
.fitur-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--icon-bg); border: 2px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 22px;
}

/* ── BUTTONS ────────────────────────────── */
.btn {
  display: inline-block; cursor: pointer;
  font-family: 'Inter', Helvetica, sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  padding: 12px 32px;
  background: var(--btn-bg); color: var(--btn-text);
  border: 1px solid var(--border-soft);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-2px); }
.btn-center { text-align: center; margin-top: 16px; }
.btn-dark {
  background: var(--dark); color: #fff; border-color: var(--dark);
}
.btn-dark:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ── TEMA SECTION ───────────────────────── */
#tema { padding: 100px 60px 50px; background: var(--bg); }
.tema-inner { max-width: 1200px; margin: 0 auto; }
.tema-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px;
}
.tab-btn {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer;
  padding: 10px 24px;
  background: var(--btn-bg); color: var(--btn-text);
  border: 1px solid var(--border-soft);
  transition: background .2s, color .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--gold); color: #fff; border-color: var(--gold);
}

.tema-section { display: none; }
.tema-section.active { display: block; }

.tema-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px,3vw,35px); font-weight: 500;
  text-transform: uppercase; color: var(--text-main);
  margin-bottom: 28px; text-align: center;
}
.tema-section-title span { color: var(--gold); }

.tema-section-wrap {
  background: var(--gray-card); padding: 45px 20px; margin-bottom: 50px;
}
.card-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.tema-card {
  background: var(--surface); box-shadow: 0 4px 16px var(--card-shadow);
  padding: 5px 5px 20px;
}
.tema-card-label {
  background: var(--gray-card); color: var(--text-main);
  font-family: 'Playfair Display', serif;
  font-size: 14px; font-weight: 500;
  padding: 10px 16px; display: block;
  margin-bottom: -8px; position: relative; z-index: 1;
}
.tema-card img {
  width: 100%; display: block;
  aspect-ratio: 3/4; object-fit: cover;
}
.tema-card-actions {
  display: flex; gap: 6px; padding: 12px 6px 0;
}
.tema-card-actions a {
  flex: 1; text-align: center; padding: 8px 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none;
  background: var(--btn-bg); color: var(--btn-text);
  border: 1px solid var(--border-soft);
  transition: background .2s;
}
.tema-card-actions a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.tema-card-actions a.tema-price {
  background: var(--dark); color: #fff; border-color: var(--dark);
}
[data-theme="dark"] .tema-card-actions a.tema-price { background: var(--gold); border-color: var(--gold); }
.tema-card-actions a.tema-price:hover {
  background: var(--gold); border-color: var(--gold); color: #fff;
}

/* ── TESTIMONIAL ────────────────────────── */
#testimonial {
  background: var(--gray-bg);
  padding: 90px 60px;
  position: relative;
}
#testimonial::before {
  content: '';
  display: block; height: 50px;
  background: linear-gradient(to bottom right, var(--bg) 50%, transparent 50%);
  position: absolute; top: 0; left: 0; right: 0;
}
#testimonial::after {
  content: '';
  display: block; height: 35px;
  background: linear-gradient(to bottom left, var(--bg) 50%, transparent 50%);
  position: absolute; bottom: 0; left: 0; right: 0;
}
.testimonial-inner { max-width: 1200px; margin: 0 auto; padding-top: 30px; }
.testi-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 20px;
}
.testi-card {
  background: var(--surface);
  padding: 50px;
}
.testi-person {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.testi-avatar {
  width: 56px; height: 56px; border-radius: 12px;
  object-fit: cover; flex-shrink: 0;
}
.testi-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 500; color: var(--text-main); }
.testi-job { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.testi-quote {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 500;
  color: var(--text-main); margin-bottom: 12px; line-height: 1.4;
}
.testi-body { font-size: 13px; color: var(--text-muted); line-height: 25px; font-weight: 300; }

/* ── PRICING ────────────────────────────── */
#pricing { padding: 100px 60px 60px; background: var(--bg); }
.pricing-inner { max-width: 900px; margin: 0 auto; }
.pricing-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.pricing-hero-text h2 {
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500;
  color: var(--text-main); text-transform: uppercase; line-height: 1.3; margin-bottom: 20px;
}
.pricing-hero-text p { font-size: 15px; color: var(--text-muted); line-height: 25px; }
.pricing-hero img { width: 100%; border-radius: 4px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 24px; }
.price-card {
  padding: 65px 30px;
}
.price-card-basic {
  background: var(--gray-card);
  margin-top: 40px;
}
.price-card-premium {
  background: var(--dark); color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative; z-index: 1;
}
.price-name {
  font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.price-from { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 500; }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 40px; font-weight: 700; line-height: 1.1; margin: 6px 0;
}
.price-desc { font-size: 14px; line-height: 22px; margin-bottom: 16px; font-weight: 500; }
.price-divider { border: none; border-top: 1px solid rgba(63,66,84,0.15); margin: 16px 0; }
.price-divider-white { border-top-color: rgba(255,255,255,0.18); }
.price-features { list-style: none; margin-bottom: 20px; }
.price-features li {
  font-size: 14px; padding: 5px 0; display: flex; align-items: center; gap: 10px;
}
.feat-check { color: #61CE70; font-size: 18px; }
.feat-cross { color: #D5D5D5; font-size: 18px; text-decoration: line-through; }
.price-features .crossed { color: #A7A7A7; }
.btn-premium {
  background: var(--premium-btn); color: #fff;
  border-color: transparent; width: 100%; text-align: center; display: block; padding: 14px;
}
.btn-premium:hover { background: #fff; color: var(--dark); }
.payment-section { text-align: center; margin-top: 40px; }
.payment-section p { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.payment-section img { max-width: 480px; width: 100%; }

/* ── FAQ ────────────────────────────────── */
#faq {
  background: var(--dark); padding: 100px 60px 80px;
  position: relative;
}
#faq::before {
  content: '';
  display: block; height: 50px;
  background: linear-gradient(to bottom left, var(--bg) 50%, transparent 50%);
  position: absolute; top: 0; left: 0; right: 0;
}
.faq-inner { max-width: 1200px; margin: 0 auto; padding-top: 30px; }
.faq-title {
  font-family: 'Playfair Display', serif; font-size: clamp(24px,4vw,35px);
  font-weight: 500; text-transform: uppercase; color: rgba(255,255,255,0.82);
  text-align: center; margin-bottom: 6px;
}
.faq-sub {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #CACACA; text-align: center; margin-bottom: 40px;
}
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item {
  background: rgba(228,228,228,0.08);
  padding: 1em; margin-bottom: 8px; cursor: pointer;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 500; color: #fff;
}
.faq-toggle { font-size: 18px; transition: transform .3s; }
.faq-answer {
  font-size: 13px; color: rgba(255,255,255,0.55); line-height: 22px;
  max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s;
  font-weight: 300;
}
.faq-item.open .faq-answer { max-height: 200px; padding-top: 16px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ── MEET THE BUILDER ───────────────────── */
#builder { background: var(--dark); padding: 90px 60px; }
.builder-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.8fr; gap: 50px; align-items: center;
}
.builder-title {
  font-family: 'Playfair Display', 'Trebuchet MS', serif;
  font-size: clamp(34px, 4vw, 52px); font-weight: 700;
  line-height: 1.05; color: #fff;
}
.builder-title span { color: var(--gold); }
.builder-desc {
  font-size: 13px; font-weight: 600; line-height: 1.6;
  color: rgba(255,255,255,0.8); margin-top: 18px; max-width: 280px;
}
.builder-card {
  background: rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px;
}
.builder-person { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.builder-avatar {
  width: 96px; height: 96px; border-radius: 12px;
  object-fit: cover; flex-shrink: 0;
  background: rgba(255,255,255,0.1);
}
.builder-name {
  font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: #fff;
  line-height: 1.2;
}
.builder-name span { color: var(--gold); }
.builder-role { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); margin-top: 4px; }
.builder-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.builder-actions a {
  text-align: center; padding: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  text-decoration: none; border-radius: 4px;
  background: var(--btn-bg); color: var(--btn-text);
  transition: background .2s, color .2s;
}
.builder-actions a:hover { background: var(--gold); color: #fff; }

/* ── FOOTER ─────────────────────────────── */
#footer {
  background: var(--dark); padding: 40px 60px 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-cta-text {
  font-family: 'Playfair Display', serif;
  font-size: 15px; color: #fff; text-align: center;
  line-height: 26px; font-weight: 500; margin-bottom: 20px;
}
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 20px 0; }
.footer-social-label {
  font-family: 'Inter', Helvetica, sans-serif;
  font-size: 13px; font-weight: 600; color: #D5D5D5;
  text-align: center; margin-bottom: 12px;
}
.footer-social {
  display: flex; justify-content: center; gap: 16px;
}
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(228,228,228,0.08);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .2s;
}
.footer-social a:hover { background: var(--gold); }
.footer-social img {
  width: 20px; height: 20px; display: block;
  /* abu-abu (#D5D5D5) bawaan SVG → putih saat hover */
  transition: filter .2s;
}
.footer-social a:hover img { filter: brightness(0) invert(1); }

/* ── SCROLL REVEAL ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── ANIMASI INTERAKTIF ─────────────────── */

/* Hero masuk perlahan saat load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left, .hero-right { animation: fadeUp .9s ease both; }
.hero-right { animation-delay: .15s; }

/* Hover angkat untuk kartu */
.fitur-card, .feat-item, .tema-card {
  transition: transform .3s ease, box-shadow .3s ease,
              background-color .4s ease, color .4s ease;
}
.fitur-card:hover, .feat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px var(--card-shadow);
}
.tema-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px var(--card-shadow);
}
.tema-card img { transition: transform .4s ease; }
.tema-card:hover img { transform: scale(1.04); }

/* Ikon fitur memantul saat kartunya di-hover */
.fitur-card:hover .fitur-icon { animation: iconPop .5s ease; }
@keyframes iconPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18) rotate(-6deg); }
  100% { transform: scale(1); }
}

/* Avatar builder mengambang lembut */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.builder-avatar { animation: float 4s ease-in-out infinite; }

/* Reveal bertahap untuk anak grid (stagger) */
.reveal.is-visible .fitur-card,
.reveal.is-visible .tema-card {
  animation: fadeUp .6s ease both;
}
.reveal.is-visible .fitur-card:nth-child(2) { animation-delay: .07s; }
.reveal.is-visible .fitur-card:nth-child(3) { animation-delay: .14s; }
.reveal.is-visible .fitur-card:nth-child(4) { animation-delay: .21s; }
.reveal.is-visible .fitur-card:nth-child(5) { animation-delay: .28s; }
.reveal.is-visible .fitur-card:nth-child(6) { animation-delay: .35s; }

/* Tombol WhatsApp mengambang */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 26px rgba(37,211,102,0.6); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 28px rgba(37,211,102,0.85); }
}

/* Tombol "Kembali ke atas" */
.to-top {
  position: fixed; right: 20px; bottom: 86px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--dark); color: #fff; border: none; cursor: pointer;
  font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); }
[data-theme="dark"] .to-top { background: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .hero-left, .hero-right, .builder-avatar,
  .reveal.is-visible .fitur-card, .reveal.is-visible .tema-card,
  .wa-float { animation: none; }
}
