:root {
  --bg: #0a0f16;
  --bg-alt: #0d141d;
  --card: #111a24;
  --card-border: #1d2a38;
  --accent: #0d9488;
  --accent-bright: #14b8a6;
  --accent-soft: rgba(13, 148, 136, 0.14);
  --text: #e7eef6;
  --muted: #93a3b4;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }

a { text-decoration: none; color: inherit; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13, 148, 136, .5); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--card-border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn-outline { background: transparent; color: var(--accent-bright); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 38px; font-size: 18px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- NAVBAR ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 22, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff; font-size: 15px; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav-login:hover { color: var(--accent-bright); }

/* ---------- HERO ---------- */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(13, 148, 136, .18), transparent 60%),
    var(--bg);
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.badge-pill {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-bright);
  font-size: 14px; font-weight: 600; margin-bottom: 22px;
  border: 1px solid rgba(13, 148, 136, .3);
}
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 660px; margin: 20px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.stats {
  display: flex; gap: 18px; justify-content: center; margin-top: 54px; flex-wrap: wrap;
}
.stat {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 18px 28px; min-width: 130px;
}
.stat-num { font-size: 26px; font-weight: 800; color: var(--accent-bright); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- SECTIONS ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 34px; font-weight: 800; text-align: center; letter-spacing: -.4px; }
.section-sub { color: var(--muted); text-align: center; max-width: 620px; margin: 14px auto 0; font-size: 16px; }

/* ---------- GRID ---------- */
.grid { display: grid; gap: 22px; margin-top: 48px; }
.features { grid-template-columns: repeat(3, 1fr); }
.testimonials { grid-template-columns: repeat(3, 1fr); }
.pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

/* ---------- CARDS ---------- */
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }

.feature-icon { font-size: 34px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- PRICING ---------- */
.price { position: relative; display: flex; flex-direction: column; }
.price-popular {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .1), 0 20px 50px rgba(0,0,0,.4);
}
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.price-desc { color: var(--muted); font-size: 14px; margin: 8px 0 18px; min-height: 40px; }
.price-amount { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.price-amount .rp { font-size: 20px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.price-amount .period { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price-specs { list-style: none; margin: 22px 0 26px; flex: 1; }
.price-specs li {
  padding: 9px 0; border-bottom: 1px dashed var(--card-border);
  color: var(--text); font-size: 14.5px;
}
.price-specs li::before { content: "✓ "; color: var(--accent-bright); font-weight: 700; }

/* ---------- SPEC TABLE ---------- */
.table-wrap { overflow-x: auto; margin-top: 44px; border-radius: var(--radius); border: 1px solid var(--card-border); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; font-size: 15px; }
.spec-table thead th { background: var(--card); font-weight: 700; color: var(--text); }
.spec-table th.th-popular, .spec-table td.td-popular { color: var(--accent-bright); font-weight: 700; }
.spec-table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.spec-table tbody td:first-child { color: var(--muted); }
.spec-table .tr-price td { font-weight: 800; color: var(--accent-bright); font-size: 17px; border-top: 2px solid var(--card-border); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; }
.faq-item {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none;
  position: relative; font-size: 16px;
}
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent-bright); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- TESTIMONIALS ---------- */
.testimonial { display: flex; flex-direction: column; }
.testi-text { color: var(--text); font-size: 15.5px; font-style: italic; flex: 1; }
.testi-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.testi-name { font-weight: 700; font-size: 15px; }
.testi-role { color: var(--muted); font-size: 13px; }

/* ---------- CTA FINAL ---------- */
.cta-final {
  padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, var(--accent), #0b7f76);
}
.cta-final h2 { font-size: 34px; font-weight: 800; }
.cta-final p { margin: 12px 0 28px; opacity: .92; font-size: 16px; }
.cta-final .btn-primary { background: #fff; color: #0b5f58; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* ---------- FOOTER ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--card-border); background: var(--bg-alt); }
.footer-inner { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.footer-brand { font-weight: 800; font-size: 18px; }
.footer-contact { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.footer-contact a { color: var(--muted); font-size: 14px; }
.footer-contact a:hover { color: var(--accent-bright); }
.footer-note { color: var(--muted); font-size: 13px; }

/* ---------- FLOATING WA ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .features, .testimonials, .pricing { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 29px; }
  .hero-sub { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .stats { gap: 10px; }
  .stat { min-width: 105px; padding: 14px 16px; }
  .stat-num { font-size: 22px; }
  .price-amount { font-size: 32px; }
}
