:root {
  --dr-primary: #0f766e;
  --dr-primary-dark: #0d5c56;
  --dr-primary-light: #14b8a6;
  --dr-accent: #f59e0b;
  --dr-accent-dark: #d97706;
  --dr-bg: #f0fdfa;
  --dr-surface: #ffffff;
  --dr-text: #0f172a;
  --dr-muted: #64748b;
  --dr-radius: 16px;
  --dr-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing {
  font-family: var(--dr-font);
  color: var(--dr-text);
  background: #f8fafc;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,118,110,.08);
}

.landing-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dr-primary-dark) !important;
  letter-spacing: -0.02em;
}

.landing-nav .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.landing-nav .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dr-muted);
}

.landing-nav .nav-link:hover { color: var(--dr-primary); }

.btn-dr {
  background: linear-gradient(135deg, var(--dr-accent), #fbbf24);
  border: none;
  color: #1c1917;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-dr:hover {
  background: linear-gradient(135deg, var(--dr-accent-dark), #f59e0b);
  color: #1c1917;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,158,11,.35);
}

.btn-dr-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 20px;
}

.btn-dr-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

.btn-dr-teal {
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-light));
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
}

.btn-dr-teal:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* ── Hero ── */
.landing-hero {
  background: linear-gradient(145deg, #042f2e 0%, #0f766e 40%, #0891b2 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.2), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.landing-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  bottom: -100px;
  left: -50px;
  pointer-events: none;
}

.landing-hero .container { position: relative; z-index: 1; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.landing-hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.landing-hero .lead {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 540px;
  line-height: 1.6;
}

.hero-stats {
  background: rgba(255,255,255,.97);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  color: var(--dr-text);
}

.hero-stat-item {
  text-align: center;
  padding: 0.5rem;
}

.hero-stat-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dr-primary);
  line-height: 1.1;
}

.hero-stat-item span {
  font-size: 0.75rem;
  color: var(--dr-muted);
  font-weight: 500;
}

.hero-stat-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 1rem 0;
}

.hero-updated {
  font-size: 0.78rem;
  color: var(--dr-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Services strip ── */
.services-strip {
  background: var(--dr-surface);
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
}

.services-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.services-scroll::-webkit-scrollbar { display: none; }

.service-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--dr-bg);
  border: 1px solid #ccfbf1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dr-primary-dark);
}

.service-chip i { font-size: 1.1rem; }

/* ── Section common ── */
.landing-section {
  padding: 4rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dr-primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--dr-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ── Feature cards ── */
.feature-card {
  background: var(--dr-surface);
  border-radius: var(--dr-radius);
  padding: 1.5rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,118,110,.12);
  border-color: #99f6e4;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card__icon.wa { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #15803d; }
.feature-card__icon.panel { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; }
.feature-card__icon.api { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--dr-muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Register timeline ── */
.register-section {
  background: linear-gradient(180deg, var(--dr-bg) 0%, #fff 100%);
  scroll-margin-top: 5rem;
}

.contact-banner {
  background: linear-gradient(135deg, var(--dr-primary-dark), var(--dr-primary));
  border-radius: var(--dr-radius);
  padding: 1.25rem 1.5rem;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-banner__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.timeline { position: relative; padding-left: 0; }

.timeline-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: -12px;
  width: 2px;
  background: #ccfbf1;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-light));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--dr-muted);
  margin: 0;
  line-height: 1.5;
}

.cmd-box {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  margin: 0.75rem 0;
}

.cmd-box .hl { color: #fbbf24; }

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.cmd-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.cmd-card code {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dr-primary-dark);
  margin-bottom: 4px;
  word-break: break-all;
}

.cmd-card span {
  font-size: 0.75rem;
  color: var(--dr-muted);
}

.wa-commands-panel {
  background: var(--dr-surface);
  border-radius: var(--dr-radius);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,23,42,.04);
}

.wa-commands-panel__head {
  padding: 1rem 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-commands-panel__body {
  padding: 1.25rem;
}

/* ── Pricelist ── */
#pricelist-section { scroll-margin-top: 5rem; }

.price-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.price-badge {
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-light));
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.price-segment {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 1rem;
}

.price-segment .nav-link {
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dr-muted);
  background: transparent;
}

.price-segment .nav-link.active {
  background: #fff;
  color: var(--dr-primary-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.price-toolbar {
  background: var(--dr-surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--dr-radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.03);
}

.price-search-wrap {
  position: relative;
}

.price-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dr-muted);
}

.price-search-wrap input {
  padding-left: 40px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
}

.price-search-wrap input:focus {
  border-color: var(--dr-primary-light);
  box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}

.table-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: var(--dr-radius);
  background: var(--dr-surface);
}

.table-prices {
  font-size: 0.88rem;
  margin: 0;
}

.table-prices thead th {
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dr-muted);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid #e2e8f0;
}

.table-prices tbody tr:hover { background: #f0fdfa; }

.sku-code {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
}

.price-idr {
  font-weight: 700;
  color: var(--dr-primary-dark);
  white-space: nowrap;
}

/* ── Footer ── */
.landing-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.5rem 0 1.5rem;
}

.landing-footer a { color: #cbd5e1; text-decoration: none; }
.landing-footer a:hover { color: #fff; }

.footer-contact { list-style: none; padding: 0; margin: 0; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .55rem;
  font-size: .875rem;
  line-height: 1.45;
}

.footer-contact .fi {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: .45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: #5eead4;
  font-size: .95rem;
  margin-top: .1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
}

.footer-links .fi { color: #5eead4; font-size: 1rem; }

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.footer-brand-title .fi { color: #5eead4; font-size: 1.15rem; }

@media (max-width: 767.98px) {
  .landing-hero { padding: 3rem 0 2.5rem; }
  .hero-stats { margin-top: 1.5rem; }
  .cmd-grid { grid-template-columns: 1fr; }
}
