/* ===== Warna & dasar ===== */
:root {
  --blue: #055baa;
  --blue-dark: #03417a;
  --blue-light: #e8f1fb;
  --navy: #0b1a2e;
  --navy-2: #12263f;
  --text: #1c2733;
  --muted: #5b6b7c;
  --line: #e3e9f0;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(5, 91, 170, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* ===== Tombol ===== */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(5,91,170,.3); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; color: var(--white) !important; }
.btn-block { width: 100%; }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 500; color: var(--navy); }
.brand img { width: 36px; height: auto; }
.brand b { color: var(--blue); font-weight: 800; }
.brand-light { color: var(--white); }
.menu { display: flex; align-items: center; gap: 1.8rem; font-weight: 600; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--blue); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 80% 30%, rgba(5,91,170,.45), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 5rem 0 6rem;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-block; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; font-weight: 800; margin-bottom: 1.2rem; }
.hl { color: #6fb3f5; }
.hero p { color: #c4d3e3; font-size: 1.08rem; max-width: 540px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: #c4d3e3; font-size: .92rem; }
.hero-points li::before { content: "✓ "; color: #6fb3f5; font-weight: 800; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.phone {
  width: 220px; height: 440px; border-radius: 40px;
  background: #1b2a3d; border: 3px solid #3a4c63; padding: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 80px rgba(5,91,170,.4);
  position: relative; animation: float 6s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; background: #0b1a2e; border-radius: 20px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; background: var(--white); display: grid; place-items: center; overflow: hidden; position: relative; }
.screen-content { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; }
.screen-logo { width: 60%; }
.screen-cert { width: 86%; }
.scan {
  position: absolute; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(5,91,170,.25), transparent);
  animation: scan 3s linear infinite;
}
.chip {
  position: absolute; background: var(--white); color: var(--navy);
  font-weight: 700; font-size: .85rem; padding: .55rem 1rem; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.chip-1 { top: 12%; left: 0; animation-delay: -1s; }
.chip-2 { top: 48%; right: -4%; animation-delay: -2.5s; }
.chip-3 { bottom: 8%; left: 6%; animation-delay: -4s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scan { from { top: -60px; } to { top: 100%; } }

/* ===== Section umum ===== */
.section { padding: 5.5rem 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-soft { background: var(--blue-light); padding: 3.5rem 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head h2, .tips h2, .contact h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.25; font-weight: 800; margin-bottom: .8rem; }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.section-dark .eyebrow { color: #6fb3f5; }

.grid { display: grid; gap: 1.5rem; }

/* ===== Kartu layanan ===== */
.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-light); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ===== Keunggulan ===== */
.features { grid-template-columns: repeat(2, 1fr); }
.feature { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 2rem; }
.num { font-size: 2.2rem; font-weight: 800; color: var(--blue); line-height: 1; display: block; margin-bottom: .8rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature p { color: #a9bbcf; font-size: .95rem; }
.cert { margin: 3rem auto 0; width: min(260px, 70%); background: var(--white); border-radius: var(--radius); padding: 1.2rem; }

/* ===== Proses ===== */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: var(--line); z-index: -1; }
.steps li { counter-increment: s; text-align: center; padding: 0 .5rem; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; margin: 0 auto 1rem;
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white);
  font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 0 8px var(--white);
}
.steps b { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.steps span { color: var(--muted); font-size: .93rem; }

/* ===== Tips ===== */
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.tips h2 { margin: 0; }
.tips ul { list-style: none; display: grid; gap: .8rem; }
.tips li { background: var(--white); padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; }

/* ===== Ulasan Google ===== */
.reviews-widget { min-height: 120px; max-width: 100%; overflow: hidden; }
.reviews-footer { text-align: center; margin-top: 2rem; }

/* ===== FAQ ===== */
.faq { display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--blue); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: .7rem; }

/* ===== Kontak ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info > p { color: #a9bbcf; margin-bottom: 2rem; }
.info-list { list-style: none; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list li > span { font-size: 1.3rem; }
.info-list b { display: block; font-size: .85rem; color: #6fb3f5; }
.info-list div { color: #dbe5f0; }
.info-list a:hover { text-decoration: underline; }
.form { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
.form input, .form textarea {
  font: inherit; font-weight: 400; padding: .8rem 1rem; border: 1px solid var(--line);
  border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5,91,170,.15); }
.form small { color: #c0392b; min-height: 1em; }
.map { margin-top: 3rem; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); display: block; }
@media (max-width: 560px) { .map iframe { height: 280px; } }

/* ===== Footer ===== */
.footer { background: #071222; color: #8597ab; padding: 2rem 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ===== WhatsApp melayang ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 84px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Animasi muncul saat scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .chip, .scan { animation: none; }
}

/* ===== Responsif ===== */
@media (max-width: 900px) {
  .hero-inner, .contact, .tips { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 4rem; }
  .hero-visual { min-height: 380px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
}
@media (max-width: 720px) {
  .burger { display: block; }
  .menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1rem; display: none;
  }
  .menu.open { display: flex; }
  .menu a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .menu a.btn { margin-top: .8rem; text-align: center; border-bottom: 0; }
}
@media (max-width: 560px) {
  .cards, .features, .steps { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .phone { width: 180px; height: 360px; }
  .chip { font-size: .78rem; }
  .chip-2 { right: 0; }
  .form { padding: 1.4rem; }
  .footer-inner { justify-content: center; text-align: center; }
}
