:root {
  --primary: #FF6B35;
  --primary-dark: #E55100;
  --primary-light: #FF8A50;
  --accent: #FFA500;
  --accent-light: #FFB84D;
  --accent-pale: #FFF0E6;
  --bg-light: #FFF8F0;
  --bg-lighter: #FFFBF5;
  --text-dark: #1A1A1A;
  --text-muted: #666666;
  --border: #E8D4C8;
  --success: #27AE60;
  --font-main: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-heading: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --sp: 1rem;
  --sp-sm: 0.5rem;
  --sp-lg: 2rem;
  --sp-xl: 3rem;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  background: #ffffff;
}

/* ====== DEMO BAR ====== */
.demo-bar {
  background: #333;
  color: white;
  padding: 0.5rem var(--sp);
  font-size: 0.85rem;
  text-align: center;
  border-bottom: 3px solid var(--primary);
}

.demo-bar a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.demo-bar a:hover {
  color: white;
}

/* ====== HEADER & NAV ====== */
header {
  background: white;
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  transition: color 0.3s;
  z-index: 101;
}

.logo:hover {
  color: var(--primary-dark);
}

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 0.85rem;
}

.logo-text span {
  font-weight: 700;
  color: var(--accent);
}

/* Mobile menu toggle */
#nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 102;
  padding: 0.5rem;
}

.nav-burger span {
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

#nav-toggle:checked ~ nav {
  display: block;
}

#nav-toggle:checked ~ .nav-burger span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

#nav-toggle:checked ~ .nav-burger span:nth-child(2) {
  opacity: 0;
}

#nav-toggle:checked ~ .nav-burger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 2px solid var(--border);
  padding: var(--sp);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: var(--sp);
  align-items: flex-start;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
  display: block;
  padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

nav .nav-cta a {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: background 0.3s;
}

nav .nav-cta a:hover {
  background: var(--primary-dark);
}

/* Desktop nav */
@media (min-width: 768px) {
  nav {
    display: block;
    position: static;
    background: transparent;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
  }

  nav ul {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }

  .nav-burger {
    display: none;
  }
}

/* ====== CONTAINER & UTILITIES ====== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font-main);
}

.btn-accent {
  background: var(--primary);
  color: white;
}

.btn-accent:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 107, 53, 0.3);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-pale);
  border-color: var(--primary-dark);
}

/* ====== HERO SECTION ====== */
.hero {
  padding: 4rem var(--sp) 3rem;
  background: linear-gradient(135deg, var(--accent-pale) 0%, #FFF5E6 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero h1 span {
  color: var(--primary);
}

.hero > .container > .hero-content > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.hero-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem var(--sp) 4rem;
  }

  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
  }

  .hero-btns {
    flex-direction: row;
  }
}

/* ====== FEATURES SECTION ====== */
.features {
  padding: 4rem var(--sp);
  background: white;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-lighter);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.15);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ====== STATS BAR ====== */
.stats-bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  padding: 2rem var(--sp);
  color: white;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent-light);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ====== GRID SECTIONS (Flota, Harga) ====== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem var(--sp);
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.2);
}

.product-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.product-header svg {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-specs {
  background: var(--bg-lighter);
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.product-specs p {
  margin: 0.5rem 0;
  color: var(--text-muted);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-card .btn {
  width: 100%;
  text-align: center;
}

/* ====== FORM ====== */
.form-section {
  padding: 4rem var(--sp);
  background: white;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-lighter);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--primary);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.form-submit:hover {
  background: var(--primary-dark);
}

/* ====== FOOTER ====== */
footer {
  background: #2C2C2C;
  color: #CCCCCC;
  padding: 3rem var(--sp) 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #CCCCCC;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  font-size: 0.85rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 767px) {
  .nav-burger {
    display: flex;
  }

  .hero {
    padding: 2rem var(--sp);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .features {
    padding: 2rem var(--sp);
  }

  .section-title {
    font-size: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    padding: 2rem var(--sp);
  }

  .form-section {
    padding: 2rem var(--sp);
  }

  .form-container {
    padding: 1.5rem;
  }

  footer {
    padding: 2rem var(--sp) 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
