/* PT Revolusi Digital Solusi — Static Site */
:root {
  --green: #1f9d55;
  --green-dark: #157a3f;
  --green-darker: #0f5a2e;
  --yellow: #f5c518;
  --yellow-dark: #d9ac0c;
  --ink: #0f1e17;
  --muted: #5b6b63;
  --line: #e6ecea;
  --bg: #ffffff;
  --bg-soft: #f4faf6;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15,30,23,.05), 0 2px 8px rgba(15,30,23,.05);
  --shadow-md: 0 10px 30px rgba(15,30,23,.08);
  --grad: linear-gradient(135deg, #1f9d55 0%, #157a3f 55%, #0f5a2e 100%);
  --grad-soft: linear-gradient(135deg, #f4faf6 0%, #fffbeb 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2vw + .8rem, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; color: var(--muted); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 12px; position: relative;
}
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink);
  min-width: 0; flex-shrink: 1; z-index: 2;
}
.brand > span:last-child { min-width: 0; }
.brand-logo {
  height: 36px; width: auto; display: block; flex-shrink: 0;
}
.brand-logo.icon { height: 34px; width: 34px; object-fit: contain; }
.brand-logo.wordmark { height: 32px; max-width: min(148px, 42vw); }
.brand-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.brand-text strong { font-size: .95rem; letter-spacing: .02em; }
.brand-mark {
  /* legacy fallback if image missing */
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: var(--grad); display: grid; place-items: center; color: white; font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.brand small {
  display: block; font-weight: 500; color: var(--muted); font-size: .68rem;
  letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw;
}
footer .brand-logo.wordmark { filter: brightness(1.05); }
@media (min-width: 960px) {
  .brand-logo.wordmark { height: 36px; max-width: 168px; }
  .brand small { max-width: none; }
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; z-index: 2;
  border: 1px solid var(--line); background: white; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle[aria-expanded="true"] { border-color: var(--green); color: var(--green-dark); }
.nav-panel {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; box-shadow: var(--shadow-md); flex-direction: column; gap: 8px; z-index: 45;
}
.nav-panel.open { display: flex; }
.nav-links { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; color: var(--muted); }
.nav-links a {
  display: block; padding: 10px 12px; border-radius: 10px; color: var(--muted);
  transition: color .15s, background .15s, box-shadow .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active,
.nav-links a.is-active {
  color: var(--green-dark);
  background: rgba(31,157,85,.14);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(31,157,85,.22);
}
.nav-links a.active:hover,
.nav-links a.is-active:hover {
  color: var(--green-darker);
  background: rgba(31,157,85,.18);
}
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-panel {
    display: flex !important; position: static; flex-direction: row; align-items: center;
    gap: 20px; padding: 0; border: 0; box-shadow: none; background: transparent;
    flex: 1; justify-content: flex-end; min-width: 0;
  }
  .nav-links { flex-direction: row; flex-wrap: nowrap; gap: 4px; flex-shrink: 1; }
  .nav-links a { padding: 8px 10px; white-space: nowrap; font-size: .88rem; }
  .nav-cta { width: auto; flex-shrink: 0; padding: 10px 16px; font-size: .88rem; }
  .brand small { max-width: none; }
}

/* Anchor offset under sticky header */
section[id], #produk, #coverage, #infra, #pengajuan, #tentang, #kontak {
  scroll-margin-top: 84px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: white; box-shadow: 0 8px 20px rgba(31,157,85,.28); }
.btn-primary:hover { opacity: .95; }
.btn-accent { background: var(--yellow); color: #3a2e00; }
.btn-accent:hover { background: var(--yellow-dark); }
.btn-outline { background: white; color: var(--ink); border-color: var(--line); }
.btn-ghost { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.28); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(245,197,24,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(31,157,85,.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
  padding: 56px 0 40px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } .hero { padding: 88px 0 72px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(31,157,85,.1); color: var(--green-dark);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
}
.hero h1 { margin-top: 18px; }
.hero h1 span { color: var(--green); }
.hero p.lead { margin-top: 18px; font-size: 1.1rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.hero-stats div span { font-size: .82rem; color: var(--muted); }
.hero-media {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(160deg, #fff8d6 0%, #eaf7ee 100%);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.hero-media img { border-radius: 16px; }

/* Section base */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { margin-top: 14px; }

/* Grid cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(31,157,85,.35); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); display: grid; place-items: center; color: white; font-size: 1.1rem;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 6px; }
.card .tag { color: var(--green-dark); font-size: .82rem; font-weight: 600; }
.card p { margin-top: 10px; font-size: .93rem; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink); }
.card ul li { padding-left: 22px; position: relative; margin: 6px 0; }
.card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--green-dark); font-weight: 600; font-size: .9rem; }

/* Coverage */
.coverage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-soft);
}
.coverage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.coverage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .55;
}
.coverage-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244,250,246,.94) 0%, rgba(244,250,246,.72) 42%, rgba(244,250,246,.88) 100%),
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(255,255,255,.15), transparent 70%);
}
.coverage .container { position: relative; z-index: 2; }
.coverage .section-head h2,
.coverage .section-head p { text-shadow: 0 1px 12px rgba(255,255,255,.85); }
.coverage-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (min-width: 600px) { .coverage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .coverage-grid { grid-template-columns: repeat(5, 1fr); } }
.chip {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  font-weight: 600;
  font-size: .88rem;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.chip.hot {
  background: rgba(245,197,24,.96);
  border-color: var(--yellow-dark);
  color: #3a2e00;
}

/* Infra */
.infra-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .infra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .infra-grid { grid-template-columns: repeat(4, 1fr); } }
.infra-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: white;
}
.infra-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.infra-list { display: flex; flex-wrap: wrap; gap: 8px; }
.infra-list span {
  background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 10px; border-radius: 8px;
  font-size: .82rem; font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
  max-width: 820px; margin: 0 auto;
}
@media (min-width: 700px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: white; box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 10px; font-weight: 700;
}
.contact-card p, .contact-card a {
  font-size: 1rem; color: var(--ink); font-weight: 600; line-height: 1.45;
}
.contact-card a:hover { color: var(--green-dark); }
.contact-card .muted { display: block; margin-top: 8px; font-size: .85rem; font-weight: 500; color: var(--muted); }

/* Form */
.form-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--grad-soft);
}
.form-wrap-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.form-wrap-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .5;
}
.form-wrap-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(244,250,246,.78) 45%, rgba(255,251,235,.88) 100%),
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(255,255,255,.25), transparent 72%);
}
.form-wrap .container { position: relative; z-index: 2; }
.form-wrap .section-head h2,
.form-wrap .section-head p { text-shadow: 0 1px 14px rgba(255,255,255,.9); }
.form-card {
  max-width: 720px; margin: 0 auto; background: rgba(255,255,255,.97);
  border-radius: 20px;
  border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); background: white; border-radius: 10px;
  padding: 11px 14px; font-size: .95rem; font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,157,85,.18);
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.form-status { display: none; margin-top: 12px; color: var(--green-dark); font-weight: 600; font-size: .9rem; }
.form-status.show { display: inline-flex; align-items: center; gap: 6px; }

/* Footer */
footer { background: #0f1e17; color: #cbd8d1; padding: 56px 0 28px; margin-top: 40px; }
footer h4 { color: white; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
footer a { color: #cbd8d1; }
footer a:hover { color: white; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #8ea59a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* WA Floating + product picker */
.wa-widget {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.wa-panel {
  width: min(300px, calc(100vw - 40px));
  background: white; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-md); padding: 14px; display: none;
}
.wa-panel.open { display: block; }
.wa-panel-title {
  font-size: .82rem; font-weight: 700; color: var(--ink); margin: 0 0 10px;
}
.wa-panel-list { display: grid; gap: 6px; max-height: min(52vh, 360px); overflow: auto; }
.wa-panel-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--ink); background: white;
  transition: border-color .15s, background .15s;
}
.wa-panel-list a:hover { border-color: rgba(31,157,85,.4); background: var(--bg-soft); color: var(--green-dark); }
.wa-panel-list a span { color: var(--muted); font-weight: 500; font-size: .75rem; }
.wa-fab {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: #25D366; color: white; font-weight: 600; font-size: .92rem;
  box-shadow: 0 12px 28px rgba(37,211,102,.35);
  transition: transform .15s; font-family: inherit;
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
.wa-fab .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--yellow);
  position: absolute; top: -2px; right: -2px; border: 2px solid white;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.3); } }
@media (max-width: 500px) { .wa-fab span.label { display: none; } .wa-fab { padding: 14px; } }

/* Product detail hero */
.pd-hero {
  background: var(--grad); color: white; padding: 88px 0 56px;
  position: relative; overflow: hidden;
}
.pd-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 240px at 90% 10%, rgba(245,197,24,.22), transparent 60%);
  pointer-events: none;
}
.pd-hero .back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); font-size: .88rem; }
.pd-hero .eyebrow { background: rgba(255,255,255,.15); color: var(--yellow); margin-top: 20px; }
.pd-hero h1 { margin-top: 12px; color: white; }
.pd-hero p { color: rgba(255,255,255,.9); margin-top: 16px; max-width: 640px; font-size: 1.05rem; }
.pd-hero .hero-cta { margin-top: 26px; }

.pd-body { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pd-body { grid-template-columns: 2fr 1fr; } }
.feature-list { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 600px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-item {
  display: flex; gap: 12px; padding: 14px; border-radius: 12px;
  border: 1px solid var(--line); background: white;
}
.feature-item .tick { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: white; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: .85rem; }
.pd-aside {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: var(--bg-soft); height: fit-content;
  position: sticky; top: 92px;
}
.pd-aside h3 { margin-bottom: 8px; }
.pd-aside .btn { width: 100%; margin-top: 10px; }

.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mt-6 { margin-top: 36px; }
