/* =========================================================
   WEB CUAN — MASTER LANDING PAGE TEMPLATE
   Style ini bersifat GENERIK dan dapat dipakai untuk bisnis
   apapun. Ubah variabel warna di :root untuk rebranding cepat.
   ========================================================= */

:root {
  /* Warna utama — ganti untuk rebranding klien lain */
  --color-primary: #0878d9;
  --color-primary-dark: #0c4c8f;
  --color-primary-light: #eaf2fd;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1ebe57;

  --color-text: #1b2430;
  --color-text-muted: #5b6675;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f9fc;
  --color-border: #e4e9f0;
  --color-white: #ffffff;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(20, 30, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 30, 60, 0.10);
  --shadow-lg: 0 16px 40px rgba(20, 30, 60, 0.14);

  --container-width: 1140px;
  --header-height: 76px;

  /* Aksen warna untuk step/badge — dipakai secukupnya, tidak mendominasi */
  --accent-blue: #0878d9;
  --accent-blue-bg: #eaf2fd;
  --accent-green: #25d366;
  --accent-green-bg: #e3faec;
  --accent-pink: #ef476f;
  --accent-pink-bg: #fdeaef;
  --accent-purple: #7c5cfc;
  --accent-purple-bg: #efeafe;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}
.section-header .eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-top: 8px;
}
.section-header p {
  color: var(--color-text-muted);
  margin-top: 10px;
  font-size: 1.02rem;
}

.section-alt { background: var(--color-bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary-light); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }

/* ---------- Accent utilities ---------- */
.accent-blue { background: var(--accent-blue-bg); color: var(--accent-blue); }
.accent-green { background: var(--accent-green-bg); color: var(--accent-green); }
.accent-pink { background: var(--accent-pink-bg); color: var(--accent-pink); }
.accent-purple { background: var(--accent-purple-bg); color: var(--accent-purple); }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 2px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.nav-logo-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.nav-logo-badge svg { width: 21px; height: 21px; }
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-tagline {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 480px) {
  .nav-tagline { display: block; }
}
.nav-menu {
  display: none;
  align-items: center;
  gap: 30px;
}
.nav-menu a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-menu a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { display: none; }

.nav-toggle {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { padding: 24px 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 8px;
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu .btn { margin: 20px; width: calc(100% - 40px); }

body.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav-menu { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 36px 0 44px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, #ffffff 70%);
}
.hero .container {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero h1 .line-blue { color: var(--color-primary); }
.hero-subheadline {
  margin-top: 14px;
  font-size: 1.04rem;
  color: var(--color-text-muted);
  max-width: 46ch;
}
.hero-benefits {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}
.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
@media (min-width: 640px) {
  .hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .hero-benefits li { flex: 0 0 auto; }
}
.hero-benefit-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-benefit-icon svg { width: 13px; height: 13px; }
.hero-cta { margin-top: 22px; }
.hero-microcopy {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-frame {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border-radius: 999px;
  padding: 9px 16px 9px 9px;
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}
.hero-float-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-1 { top: 6%; right: 2%; }
.hero-float-2 { bottom: 14%; left: 0%; }
.hero-float-3 { bottom: -3%; right: 6%; }

@media (max-width: 479px) {
  .hero-float { padding: 7px 13px 7px 7px; font-size: 0.72rem; }
  .hero-float-icon { width: 22px; height: 22px; }
  .hero-float-1 { top: 2%; right: 0; }
  .hero-float-2 { bottom: 8%; left: 0; }
  .hero-float-3 { bottom: -4%; right: 2%; }
}

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
  .hero-visual { order: 2; }
  .hero-photo-frame { max-width: none; aspect-ratio: auto; height: 100%; min-height: 460px; }
  .hero-float-1 { top: 8%; right: -4%; }
  .hero-float-2 { bottom: 16%; left: -8%; }
  .hero-float-3 { bottom: -3%; right: 4%; }
}

/* ---------- Service Cards ---------- */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #dceafd 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 22px 0;
}
.card-icon svg { width: 32px; height: 32px; }
.card h3 { font-size: 1.12rem; font-weight: 700; }
.card p { color: var(--color-text-muted); margin-top: 8px; font-size: 0.95rem; flex-grow: 1; }
.card .price {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-primary-light);
  font-weight: 800;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
}
.card { cursor: pointer; }

/* ---------- Steps ---------- */
.grid-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}
@media (min-width: 640px) { .grid-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  text-align: center;
  padding: 10px;
  position: relative;
}
.step-icon {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 28px; height: 28px; }
.step-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-text);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.05rem; font-weight: 700; }
.step p { color: var(--color-text-muted); margin-top: 6px; font-size: 0.92rem; }

.step-arrow {
  display: none;
}
@media (min-width: 640px) {
  .step-arrow {
    display: flex;
    position: absolute;
    top: 34px;
    right: -12px;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: var(--color-border);
    z-index: 1;
  }
}

/* ---------- Testimonials ---------- */
.grid-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .grid-testimonials { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f5a623; font-size: 0.95rem; letter-spacing: 2px; }
.testimonial-text {
  margin-top: 12px;
  color: var(--color-text);
  font-size: 0.97rem;
  line-height: 1.6;
}
.testimonial-author {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--color-white), 0 0 0 4px var(--color-border);
}
.testimonial-card {
  box-shadow: var(--shadow-md);
}
.testimonial-author span { font-weight: 700; font-size: 0.92rem; }

.testimonial-disclaimer {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-top: 28px;
  font-style: italic;
}

/* ---------- FAQ + Kontak (two-column layout) ---------- */
.faq-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .faq-contact-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

.section-header-left {
  text-align: left;
  max-width: none;
  margin: 0 0 32px;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-text);
}
.faq-question .chevron { transition: transform 0.2s ease; flex-shrink: 0; color: var(--color-primary); }
.faq-item.is-open .faq-question .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  padding: 0 20px 18px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- Contact / Location ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.contact-info {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-info h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
.contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 13px;
}
.contact-row[hidden] { display: none; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row .icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row strong { display: block; font-size: 0.95rem; }
.contact-row p { color: var(--color-text-muted); font-size: 0.92rem; margin-top: 2px; }
.contact-info .btn { margin-top: 18px; }

.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #f0f5fc 100%);
  position: relative;
}
.map-placeholder svg { width: 55%; max-width: 180px; height: auto; opacity: 0.9; }
.map-placeholder .map-pin-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center 85%;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 46, 92, 0.92) 0%, rgba(12, 76, 143, 0.86) 60%, rgba(8, 46, 92, 0.92) 100%);
}
.final-cta .container {
  position: relative;
  z-index: 1;
}
.final-cta-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.final-cta h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 800; }
.final-cta p { margin-top: 12px; font-size: 1.05rem; opacity: 0.92; }
.final-cta .btn-whatsapp { margin-top: 26px; }
.final-cta-benefits {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}
.final-cta-benefits li { font-weight: 600; font-size: 0.92rem; opacity: 0.95; }

/* ---------- Footer ---------- */
.footer {
  background: #0f2a4a;
  color: rgba(255, 255, 255, 0.88);
  padding: 42px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand h3 { color: var(--color-white); font-size: 1.2rem; font-weight: 800; }
.footer-brand p { margin-top: 8px; color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; }
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }
.footer-col a:hover { color: var(--color-white); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Demo badge ---------- */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}
