/* ===== ELECTRIC YELLOW — Perbaikan Listrik & Instalasi ===== */
:root {
  --primary: #F4A30B;           /* Electric/warm yellow */
  --primary-dark: #D47E0A;      /* Darker amber */
  --secondary: #1F2937;         /* Dark charcoal */
  --accent: #F97316;            /* Bright orange */
  --accent-light: #FBBF24;      /* Light amber */
  --success: #10B981;           /* Green for safety */
  --warning: #EF4444;           /* Red warning */
  --bg: #FAFAF9;                /* Almost white */
  --white: #FFFFFF;             /* Pure white */
  --text-dark: #1F2937;         /* Dark text */
  --text-light: #6B7280;        /* Light gray text */
  --border: #E5E7EB;            /* Light border */
  --shadow: rgba(0, 0, 0, 0.1); /* Shadow color */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ===== DEMO BAR ===== */
.demo-bar {
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px 16px;
  font-size: 0.85rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.demo-bar a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 500;
}

.demo-bar a:hover {
  color: var(--accent-light);
}

.demo-bar .divider {
  opacity: 0.5;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px var(--shadow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 18px;
  height: 18px;
}

/* ===== MOBILE MENU ===== */
#nav-toggle {
  display: none;
}

.hamburger-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger-label span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s ease;
}

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

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

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

.nav-menu {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--white) !important;
}

#nav-toggle:checked ~ .nav-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 16px var(--shadow);
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 768px) {
  .hamburger-label {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  #nav-toggle:checked ~ .nav-menu {
    display: flex;
    gap: 0;
  }

  .nav-inner {
    height: 60px;
  }

  .nav-logo {
    font-size: 1rem;
    gap: 8px;
  }
}

/* ===== MAIN CONTAINER ===== */
main {
  min-height: 60vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 16px auto 32px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary-dark);
}

.page-hero {
  text-align: center;
  padding: 60px 16px;
  background: linear-gradient(135deg, rgba(244, 163, 11, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
  border-bottom: 2px solid var(--primary);
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 80px 16px;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-icon-wrap {
  margin-bottom: 32px;
  font-size: 3rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(244, 163, 11, 0.3);
}

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

.btn-white:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

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

/* ===== STATS ===== */
.stats {
  background: var(--white);
  padding: 40px 0;
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item strong {
  font-size: 2rem;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 8px;
}

.stat-item span {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(244, 163, 11, 0.2);
  border-color: var(--primary);
}

.card-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.card-icon svg {
  width: 48px;
  height: 48px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-price {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 16px rgba(244, 163, 11, 0.1);
}

.step-num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.step-body h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step-body p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.3s ease;
}

.testi-card:hover {
  box-shadow: 0 8px 16px rgba(244, 163, 11, 0.15);
}

.testi-card .stars {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testi-quote {
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}

.testi-card p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.7;
}

.testi-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testi-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testi-loc {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 60px 16px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 16px var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(244, 163, 11, 0.3);
}

/* ===== PRICING TABLE ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.price-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  background: var(--white);
  transition: all 0.3s ease;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(244, 163, 11, 0.2);
  transform: scale(1.05);
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.price-tag span {
  font-size: 1rem;
  color: var(--text-light);
}

.price-list {
  list-style: none;
  margin-bottom: 32px;
}

.price-list li {
  padding: 10px 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.price-list li:last-child {
  border: none;
}

.price-list li:before {
  content: '✓ ';
  color: var(--success);
  font-weight: 700;
}

/* ===== FORM ===== */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

input,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(244, 163, 11, 0.1);
}

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

/* ===== FOOTER ===== */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 16px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

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

  .hero {
    padding: 60px 16px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .hero-badges {
    flex-direction: column;
  }

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

  .btn {
    width: 100%;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .cards-grid,
  .steps,
  .testi-grid,
  .pricing-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: scale(1);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-menu {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .demo-bar {
    flex-direction: column;
    gap: 8px;
  }

  .nav-inner {
    height: 55px;
    padding: 0 12px;
  }

  .nav-logo {
    font-size: 0.9rem;
  }

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

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

  .card {
    padding: 20px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
