/* ============================================================
   MOBILSEWA.WEB.ID - CSS Utama
   Desain: modern, bersih, mobile-first, performa tinggi
   Struktur: Reset -> Variabel -> Base -> Layout -> Section -> Komponen -> Responsive
   ============================================================ */

/* ---------------------- VARIABEL DESAIN ---------------------- */
:root {
  --color-primary: #1d4ed8;        /* Biru utama */
  --color-primary-dark: #1e3a8a;   /* Biru gelap hover */
  --color-accent: #f59e0b;         /* Kuning aksen (CTA) */
  --color-bg: #f8fafc;             /* Latar belakang halaman */
  --color-surface: #ffffff;        /* Latar kartu */
  --color-text: #1e293b;           /* Teks utama */
  --color-text-muted: #64748b;     /* Teks sekunder */
  --color-border: #e2e8f0;         /* Garis pemisah */
  --color-success: #16a34a;        /* WhatsApp hijau */
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-stack: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1140px;
  --header-height: 72px;
}

/* ---------------------- RESET & BASE ---------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }

body {
  font-family: var(--font-stack);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
address { font-style: normal; }

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

/* ---------------------- TYPOGRAPHI SECTION ---------------------- */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

section { padding: 72px 0; }

/* ---------------------- TOMBOL ---------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: var(--color-surface); color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ---------------------- HEADER & NAVIGASI ---------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.35rem; color: var(--color-text); }
.logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.6rem; }
.logo-tld { color: var(--color-primary); }

.nav-list { display: flex; gap: 24px; }
.nav-list a { color: var(--color-text); font-weight: 500; font-size: 0.95rem; }
.nav-list a:hover { color: var(--color-primary); text-decoration: none; }

.btn-header { white-space: nowrap; }

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ---------------------- HERO ---------------------- */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%); padding: 80px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block;
  background: rgba(29, 78, 216, 0.1);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text);
}
.hero-lead { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hero-stats .stat { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); }
.hero-stats span { font-size: 0.85rem; color: var(--color-text-muted); }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }

/* ---------------------- ANSWER BOXES (AEO) ---------------------- */
.answer-boxes { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 56px 0; }
.answer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.answer-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.answer-box h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.answer-box p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------------------- KEUNGGULAN ---------------------- */
.keunggulan { background: var(--color-surface); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------------------- FLEET ---------------------- */
.fleet { background: var(--color-bg); }
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 24px; }
.fleet-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fleet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fleet-card-featured { border: 2px solid var(--color-primary); }
.fleet-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 2;
}
.fleet-card > .fleet-badge { position: static; }
.fleet-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; position: relative; }
.fleet-placeholder {
  background: linear-gradient(135deg, #e0e7ff, #f1f5f9);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.fleet-info { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.fleet-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.fleet-specs { color: var(--color-text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.fleet-specs li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.fleet-specs li::before { content: "•"; position: absolute; left: 4px; color: var(--color-primary); }
.fleet-price { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.price-label { font-size: 0.8rem; color: var(--color-text-muted); }
.price-value { font-size: 1.2rem; font-weight: 800; color: var(--color-primary); }
.price-value small { font-size: 0.8rem; font-weight: 500; }
.fleet-info .btn { margin-top: auto; }

/* ---------------------- PROSES ---------------------- */
.proses { background: var(--color-surface); }
.step-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; counter-reset: none; }
.step-item { position: relative; padding-top: 8px; }
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------------------- PRICING ---------------------- */
.pricing { background: var(--color-bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: stretch; }
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.price-card-featured { border: 2px solid var(--color-primary); box-shadow: var(--shadow-md); }
.price-header {
  padding: 24px 28px 18px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  position: relative;
}
.price-header h3 { font-size: 1.25rem; font-weight: 800; }
.price-header p { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 4px; }
.price-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.price-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.price-amount { font-size: 2.1rem; font-weight: 800; color: var(--color-text); }
.price-amount .currency { font-size: 1.1rem; vertical-align: super; font-weight: 600; }
.price-amount .period { font-size: 0.95rem; color: var(--color-text-muted); font-weight: 500; }
.price-note { color: var(--color-text-muted); font-size: 0.82rem; margin: 8px 0 18px; }
.price-features { margin-bottom: 24px; flex: 1; }
.price-features li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border);
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}
.pricing-note { text-align: center; color: var(--color-text-muted); font-size: 0.85rem; margin-top: 36px; max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------------------- TESTIMONIAL ---------------------- */
.testimoni { background: var(--color-surface); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.testimonial-card .stars { font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card > p { font-style: italic; color: var(--color-text); margin-bottom: 18px; flex: 1; }
.testimonial-card footer cite { font-style: normal; font-weight: 700; font-size: 0.95rem; display: block; }
.testimonial-meta { color: var(--color-text-muted); font-size: 0.82rem; }

/* ---------------------- KONTAK ---------------------- */
.kontak { background: var(--color-bg); }
.kontak-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.text-left { text-align: left; }
.contact-details { margin-top: 28px; }
.contact-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-item a { color: var(--color-primary); }
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.required { color: #dc2626; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.form-note { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 12px; text-align: center; }

/* ---------------------- KEUNGGULAN KIA PREGIO ---------------------- */
.keunggulan-pregio { background: var(--color-bg); }
.pregio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pregio-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.pregio-specs .spec {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px;
}
.pregio-specs .spec strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.pregio-specs .spec span { font-weight: 600; color: var(--color-text); font-size: 0.9rem; }
.pregio-text .btn { margin-top: 8px; }
.pregio-features { display: grid; gap: 16px; }
.pf-item {
  display: flex;
  gap: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pf-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.pf-icon { font-size: 1.6rem; line-height: 1.4; flex-shrink: 0; }
.pf-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.pf-item p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; }
@media (max-width: 900px) {
  .pregio-grid { grid-template-columns: 1fr; }
  .pregio-specs { grid-template-columns: 1fr 1fr; }
}

/* ---------------------- LOKASI / MAP ---------------------- */
.lokasi { background: var(--color-surface); }
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.map-wrapper iframe { width: 100%; height: 420px; border: 0; }

/* ---------------------- FAQ ---------------------- */
.faq { background: var(--color-bg); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::before { content: "−"; }
.faq-answer { padding: 0 24px 22px 64px; color: var(--color-text-muted); }
.faq-answer p { margin-bottom: 8px; }

/* ---------------------- FOOTER ---------------------- */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo-text { color: #fff; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #94a3b8; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-contact address p { font-size: 0.92rem; margin-bottom: 10px; }
.footer-contact a { color: #cbd5e1; }
.footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid #1e293b; text-align: center; font-size: 0.85rem; color: #64748b; }

/* ---------------------- WHATSAPP FLOATING BUTTON ---------------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-success);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  text-decoration: none !important;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float-icon { font-size: 1.3rem; }

/* ============================================================
   RESPONSIVE - TABLET (max-width: 960px)
   ============================================================ */
@media (max-width: 960px) {
  .nav-list { display: none; }
  .btn-header { display: none; }
  .nav-toggle { display: block; }

  /* Menu mobile: dropdown penuh layar */
  .main-nav.open .nav-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 16px 20px;
    gap: 4px;
  }
  .main-nav.open .nav-list a { display: block; padding: 12px 8px; border-radius: var(--radius); }
  .main-nav.open .nav-list a:hover { background: var(--color-bg); }

  .site-header { position: relative; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .kontak-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE - MOBILE (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .hero { padding: 48px 0 52px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-wrapper iframe { height: 300px; }
  .wa-float-text { display: none; }
  .wa-float { padding: 14px; }
  .contact-form { padding: 22px; }
  .fleet-grid { grid-template-columns: 1fr; }
}
