/* Auto Care Pro — Perawatan Mobil Profesional (Clean Green) */
:root {
  --primary: #0f5c3f;
  --primary-dark: #073d2c;
  --primary-light: #1a8659;
  --accent: #10b981;
  --accent-light: #34d399;
  --accent-dark: #059669;
  --bg: #f0fdf4;
  --bg-white: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #d1fae5;
  --shadow: 0 2px 12px rgba(15,92,63,0.08);
  --shadow-lg: 0 8px 32px rgba(15,92,63,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: 36px;
}
img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; }

/* DEMO BAR */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}
.demo-bar a { color: var(--accent-light); text-decoration: underline; margin: 0 4px; }
.demo-bar a:hover { color: #fff; }

/* NAVBAR */
header {
  background: var(--primary);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 36px;
  z-index: 900;
}
.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { color: #fff; }
.logo-text span { color: var(--accent-light); }

/* MOBILE MENU TOGGLE */
#nav-toggle { display: none; }
.nav-burger {
  display: none;
  width: 28px; height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 999;
}
.nav-burger span {
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
#nav-toggle:checked ~ .nav-burger span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
#nav-toggle:checked ~ .nav-burger span:nth-child(2) {
  opacity: 0;
}
#nav-toggle:checked ~ .nav-burger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
#nav-toggle:checked ~ nav {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
}

/* NAVIGATION */
nav {
  display: flex;
  align-items: center;
}
nav ul {
  display: flex;
  gap: 0;
}
nav a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}
.nav-cta a {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  border-bottom: none;
  margin-left: 8px;
}
.nav-cta a:hover { background: var(--accent-dark); }

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 60px 0;
  margin-top: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content { }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: var(--accent-light);
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero h1 span { color: var(--accent-light); }
.hero-content > p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.95;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3); }
.btn-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-svg-wrap {
  width: 100%;
  max-width: 350px;
  height: auto;
}
.car-svg-wrap svg { width: 100%; height: auto; }

/* FEATURES / GRID SECTIONS */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.feature-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: all 0.3s ease;
  text-align: center;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CONTENT SECTIONS */
section {
  padding: 60px 0;
}
section:nth-child(even) {
  background: var(--bg-white);
}
section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--primary);
}
section .section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* LAYOUT: TWO COLUMN */
.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.section-text h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-text p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-text ul {
  margin: 20px 0;
  padding-left: 0;
}
.section-text li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
}
.section-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.section-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* PRICING / SERVICE CARDS */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(to bottom, var(--bg), var(--bg-white));
}
.pricing-card .label {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.pricing-card .price {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  margin: 16px 0;
}
.pricing-card .price small {
  font-size: 0.6em;
  color: var(--text-light);
}
.pricing-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.pricing-card ul {
  text-align: left;
  margin: 20px 0;
  font-size: 0.9rem;
}
.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.pricing-card li:last-child { border-bottom: none; }
.pricing-card .btn {
  margin-top: 20px;
  display: block;
  width: 100%;
}

/* TESTIMONIALS */
.testimonials-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.testimonial-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.testimonial-author small {
  display: block;
  color: var(--text-light);
  font-weight: normal;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* CONTACT FORM */
.contact-form {
  max-width: 600px;
  margin: 32px auto 0;
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 24px;
  margin-top: 60px;
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
footer h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--accent-light);
}
footer a {
  display: block;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
footer a:hover { color: #fff; }
footer p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-size: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-burger { display: flex; }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 899;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
  }
  nav a {
    width: 100%;
    padding: 12px 16px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  nav a:hover, nav a.active {
    border-left-color: var(--accent);
    border-bottom: none;
  }
  .nav-cta { width: 100%; }
  .nav-cta a { margin-left: 0; margin-top: 8px; width: 100%; }

  .hero {
    padding: 40px 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }

  section {
    padding: 40px 0;
  }
  section h2 {
    font-size: 1.6rem;
  }
  .section-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section-visual {
    min-height: 240px;
  }

  .features-grid,
  .pricing-cards,
  .testimonials-wrap {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 16px;
  }

  footer .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  body { padding-top: 32px; }
  header { top: 32px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-content > p { font-size: 1rem; }
  section h2 { font-size: 1.4rem; }
  .hero-btns { gap: 8px; }
}
