/* Gaya dasar bersama semua tema. Variabel palet diset di style.css tiap tema. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg, #fff); color: var(--text, #222); line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary, #06c); text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg, #fff) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--surface, #eee); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { font-weight: 700; font-size: 1.1rem; color: var(--text, #222); letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-muted, #666); font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary, #06c); }

/* Hero */
.hero { text-align: center; padding: 72px 0 48px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.avatar--monogram {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary, #06c); color: #fff;
  font-size: 3rem; font-weight: 700;
}
.hero-name { font-size: 2.2rem; line-height: 1.2; }
.hero-role { color: var(--accent, #c80); font-weight: 600; font-size: 1.1rem; }
.hero-tagline { color: var(--text-muted, #666); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }

/* Tombol */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--primary, #06c); color: #fff; font-weight: 600; font-size: 0.95rem;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn--ghost { background: transparent; color: var(--primary, #06c); border: 1.5px solid var(--primary, #06c); }

/* Statistik */
.stats { padding: 32px 0; background: var(--surface, #f5f5f5); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat-value { display: block; font-size: 2rem; font-weight: 800; color: var(--primary, #06c); }
.stat-label { color: var(--text-muted, #666); font-size: 0.9rem; }

/* Section umum */
section { padding: 56px 0; }
.section-title { font-size: 1.6rem; margin-bottom: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface, #f5f5f5); border-radius: 16px; padding: 24px; }
.card-title { font-size: 1.1rem; margin-bottom: 6px; }
.card-price { color: var(--accent, #c80); font-weight: 700; }
.testimonial { font-style: italic; }
.testimonial-author { margin-top: 8px; font-style: normal; color: var(--text-muted, #666); font-size: 0.9rem; }

/* Badge kategori */
.card-badge {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent, #c80); color: #fff; margin-bottom: 10px;
}

/* Tag */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  font-size: 0.78rem; padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--primary, #06c) 12%, transparent);
  color: var(--primary, #06c); font-weight: 600;
}

/* Kontak & footer */
.contact { text-align: center; background: var(--surface, #f5f5f5); }
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer { padding: 32px 0 40px; text-align: center; color: var(--text-muted, #666); font-size: 0.9rem; }
.demo-note { margin-top: 8px; opacity: 0.75; font-style: italic; }

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 12px; }
  .hero { padding: 48px 0 32px; }
}
