:root {
  --ink: #12141C;
  --muted: #5B6472;
  --muted-2: #9AA3B2;
  --border: #E4E7EC;
  --bg: #F4F5F7;
  --accent: #0E7A3E;
  --green-bg: #DCFCE7; --green-text: #166534;
  --amber-bg: #FEF3C7; --amber-text: #92400E;
  --red-bg: #FEE2E2; --red-text: #991B1B;
  --blue-bg: #DBEAFE; --blue-text: #1E3A8A;
  --purple-bg: #EDE9FE; --purple-text: #5B21B6;
  --gray-bg: #E5E7EB; --gray-text: #374151;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}
h1, h2, h3 { font-family: 'Space Grotesk', system-ui, sans-serif; margin: 0; }
a { text-decoration: none; color: inherit; }
main { flex: 1 0 auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: 1200px; margin: 0 auto; position: relative; }
.logo { font-weight: 700; font-size: 18px; color: var(--ink); }
.logo .accent { color: var(--accent); }
.logo .logo-tld { color: var(--muted-2); font-weight: 500; font-size: 13px; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 30px; width: auto; display: block; }
.footer-logo-img { height: 34px; width: auto; display: block; }
.header-menu { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; margin-left: 24px; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-link { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-link-active { background: var(--bg); color: var(--accent); }
.header-account { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hamburger-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; background: none; color: var(--ink); cursor: pointer; padding: 0; flex-shrink: 0; }
.hamburger-btn .icon-close { display: none; }
.hamburger-btn.is-open .icon-open { display: none; }
.hamburger-btn.is-open .icon-close { display: block; }
.btn-google { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #DADCE0; border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.google-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; background: conic-gradient(#4285F4 0deg 90deg, #34A853 90deg 180deg, #FBBC05 180deg 270deg, #EA4335 270deg 360deg); }
.account-chip { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.account-info { line-height: 1.25; }
.account-name { display: block; font-size: 13px; font-weight: 600; }
.account-logout { font-size: 12px; color: var(--muted); }

/* Hero */
.hero { background: var(--ink); padding: 70px 24px 100px 24px; text-align: center; }
.hero-page { padding: 56px 24px; }
.hero h1 { color: #fff; font-size: 36px; font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.hero-page h1 { font-size: 28px; }
.hero p { color: #B7BFCC; font-size: 15px; max-width: 520px; margin: 0 auto 28px auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); color: #B7BFCC; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 20px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary { display: inline-block; padding: 12px 24px; border: none; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn-secondary { display: inline-block; padding: 12px 24px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-outline-light { display: inline-block; padding: 13px 28px; border: 1px solid #333846; border-radius: 8px; background: transparent; color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn-block { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
.btn-small { padding: 8px 14px; font-size: 13px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }

/* Sections */
.features-section { max-width: 1100px; margin: -46px auto 64px auto; padding: 0 24px; position: relative; z-index: 5; }
.how-section { max-width: 900px; margin: 0 auto 64px auto; padding: 0 24px; text-align: center; }
.how-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 36px; }
.fleet-section { max-width: 1100px; margin: 0 auto 64px auto; padding: 0 24px; }
.fleet-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.filter-bar-wrap { max-width: 900px; margin: -46px auto 40px auto; padding: 0 24px; position: relative; z-index: 5; }
.filter-bar { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.filter-field { flex: 1; min-width: 160px; }
.page-content { padding: 50px 24px 60px 24px; }

/* Feature / step cards */
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.icon-badge { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon-green { background: var(--green-bg); color: var(--green-text); }
.icon-blue { background: var(--blue-bg); color: var(--blue-text); }
.icon-amber { background: var(--amber-bg); color: var(--amber-text); }
.icon-purple { background: var(--purple-bg); color: var(--purple-text); }
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.step { text-align: center; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; margin: 0 auto 14px auto; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; }

/* Car cards */
.car-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.car-card-img { height: 140px; background: var(--green-bg); display: flex; align-items: center; justify-content: center; color: var(--green-text); }
.car-card-img-sm { height: 56px; width: 56px; border-radius: 10px; flex-shrink: 0; }
.car-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.car-name { font-weight: 700; font-size: 16px; }
.car-type { font-size: 12px; color: var(--muted); margin-top: 2px; }
.car-specs { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.car-price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #EEF0F3; }
.car-price { font-weight: 700; font-size: 16px; }
.car-price-unit { font-size: 12px; color: var(--muted); font-weight: 500; }

/* CTA */
.cta-section { background: var(--accent); padding: 50px 24px; text-align: center; }
.cta-section h2 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 24px; }
.cta-section .btn-primary { background: #fff; color: var(--ink); }

/* Cards / forms */
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.center-card { text-align: center; padding: 40px 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
input[type=text], input[type=date], input[type=time], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=file], select, textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--ink); font-family: inherit;
}
textarea { resize: vertical; }
.form-note { background: var(--bg); border-radius: 8px; padding: 12px 14px; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.form-error { background: var(--red-bg); color: var(--red-text); padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.booking-summary { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #EEF0F3; margin-bottom: 20px; }
.back-link { border: none; background: none; color: var(--accent); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 16px; display: inline-block; }

/* Confirmation */
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-bg); color: var(--green-text); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px auto; }
.booking-code { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--accent); margin: 4px 0 18px 0; }

/* Status pill */
.status-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-green { background: var(--green-bg); color: var(--green-text); }
.status-amber { background: var(--amber-bg); color: var(--amber-text); }
.status-blue { background: var(--blue-bg); color: var(--blue-text); }
.status-red { background: var(--red-bg); color: var(--red-text); }
.status-gray { background: var(--gray-bg); color: var(--gray-text); }
.status-purple { background: var(--purple-bg); color: var(--purple-text); }

/* Booking list */
.page-title { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.booking-list { display: flex; flex-direction: column; gap: 12px; }
.booking-row { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.booking-kode { font-weight: 700; font-size: 14px; }
.booking-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.booking-right { display: flex; align-items: center; gap: 14px; }
.booking-total { font-weight: 700; font-size: 14px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; text-align: center; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Contact */
.contact-info-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-label { font-size: 12px; color: var(--muted); }
.contact-value { font-size: 14px; font-weight: 600; }
.map-placeholder { height: 180px; border-radius: 12px; background-color: var(--bg); background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 24px 24px; position: relative; }
.map-pin-wrap { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.map-pin-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.map-pin-label { font-size: 11px; font-weight: 600; background: #fff; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border); white-space: nowrap; }

/* Tabs */
.tabs { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.tab { border: none; background: none; padding: 10px 4px; margin-right: 24px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; }
.tab-active { color: var(--accent); border-bottom-color: var(--accent); }
.legal-section { display: flex; flex-direction: column; gap: 24px; }
.legal-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.legal-section p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fff; padding: 40px 24px 24px 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.footer-desc { margin: 10px 0 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 260px; }
.footer-heading { font-size: 12px; font-weight: 700; color: var(--muted-2); margin-bottom: 10px; }
.site-footer a, .site-footer span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #EEF0F3; padding-top: 18px; text-align: center; color: var(--muted-2); font-size: 12px; max-width: 1100px; margin: 0 auto; }

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .hero { padding: 44px 20px 76px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }

  .logo-img { height: 24px; }

  .hamburger-btn { display: flex; }
  .header-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 18px 20px;
    box-shadow: 0 12px 20px rgba(18,20,28,0.08);
  }
  .header-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 2px; }
  .nav-link { padding: 11px 10px; }
  .header-account {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1px solid var(--border);
  }
  .header-account .nav-link { padding: 11px 10px; }
  .btn-google, .account-chip { justify-content: center; }
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 40;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* Star rating input (halaman ulasan) */
.star-rating { display: flex; gap: 4px; }
.star-btn { background: none; border: none; font-size: 32px; line-height: 1; color: var(--border); cursor: pointer; padding: 2px; transition: color 0.1s ease; }
.star-btn.filled { color: #F59E0B; }
