:root {
  --brand: #ad1010;
  --brand-soft: #ffe5e5;
  --bg: #f5f5f7;
  --bg-alt: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Reset ringan */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
  min-height: 56px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--brand-soft);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  color: var(--brand);
  font-size: 16px;
  letter-spacing: 0.01em;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--muted);
}

/* NAV */
.main-nav {
  display: flex;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 12px;
  align-items: center;
}

.main-nav > ul > li {
  position: relative;
}

/* Link utama nav */
.main-nav a {
  text-decoration: none;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(173, 16, 16, 0.15);
}

.main-nav a.active {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(173, 16, 16, 0.35);
}

/* DROPDOWN PRICE LIST */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
}

/* Dropdown menu (desktop default) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin-top: 6px;
  padding: 8px 0;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  list-style: none;
  display: none;              /* default: tertutup */
  z-index: 40;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  text-decoration: none;
  color: #111827;
  border-radius: 0;
  box-shadow: none;
}

.dropdown-menu a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  transform: none;
  box-shadow: none;
}

/* kalau class .open aktif (dari klik JS, jika nanti mau dipakai), dropdown terbuka */
.dropdown.open .dropdown-menu {
  display: block;
}

/* Desktop: buka juga saat hover (lebih enak untuk mouse) */
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile: dropdown menempel ke menu, tidak float */
@media (max-width: 767px) {
  .dropdown {
    position: static;
  }
  .dropdown-menu {
    position: static;
    margin-top: 4px;
    box-shadow: none;
    border-radius: 8px;
    border: 1px solid rgba(229, 231, 235, 0.7);
    background: #f9fafb;
  }
}

/* NAV TOGGLE (MOBILE) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.7);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Animasi hamburger -> X */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO */
.hero {
  padding: 32px 0 40px;
  background: radial-gradient(circle at top left, #ffe5e5, #ffffff 40%);
}

.hero-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero-content h1 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.25;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(173, 16, 16, 0.07);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 8px;
}

.hero-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-primary,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(173, 16, 16, 0.35);
}

.btn-primary:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #ffffff;
  color: #111827;
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand-soft);
}

.btn-outline:hover {
  background: var(--brand);
  color: #ffffff;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12px;
  color: var(--muted);
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

/* HERO IMAGE */
.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 5s ease-out;
}

.hero-image-card:hover .hero-image {
  transform: scale(1.08);
}

.hero-image-overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  border-radius: 16px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.82), rgba(173, 16, 16, 0.5));
  color: #ffffff;
  font-size: 12px;
}

.hero-image-overlay .overlay-badge {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2px 8px;
  font-size: 11px;
  margin-bottom: 4px;
}

/* SECTION GENERIC */
.section {
  padding: 32px 0;
}

.section-alt {
  background: #f9fafb;
}

.section-heading {
  text-align: left;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.section-heading p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* FEATURES */
.features-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 14px 14px 12px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.03);
  transform: translateY(4px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.2s ease;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.feature-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

.feature-card:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

/* UNIT GRID */
.unit-grid {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.unit-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.2s ease, transform 0.15s ease-out;
}

.unit-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

.unit-card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.unit-image-wrap {
  position: relative;
  overflow: hidden;
}

.unit-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 3s ease-out;
}

.unit-card:hover .unit-image {
  transform: scale(1.08);
}

.unit-body {
  padding: 14px 14px 10px;
}

.unit-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.unit-tagline {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.unit-points {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #374151;
}

.unit-footer {
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  display: flex;
  justify-content: flex-start;
}

.unit-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.unit-link:hover {
  text-decoration: underline;
}

.more-link-wrap {
  margin-top: 16px;
}

/* MARKETING CARD */
.marketing-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 18px 16px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-card);
}

.marketing-info h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.marketing-info p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.marketing-points {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 13px;
}

.marketing-cta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.marketing-note {
  font-size: 12px;
  color: var(--muted);
}

/* STEPS */
.steps-grid {
  display: grid;
  gap: 12px;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  border: 1px dashed rgba(229, 231, 235, 0.9);
  position: relative;
}

.step-number {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--brand);
  background: #ffffff;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  overflow: hidden;
}

.faq-list details {
  padding: 10px 14px;
  border-top: 1px dashed rgba(229, 231, 235, 0.8);
}

.faq-list details:first-of-type {
  border-top: none;
}

.faq-list summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.faq-list p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  background: #111827;
  color: #e5e7eb;
  margin-top: 24px;
}

.footer-inner {
  display: grid;
  gap: 18px;
  padding: 20px 0 14px;
}

.footer-title {
  font-weight: 700;
  font-size: 15px;
}

.footer-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: #9ca3af;
}

.footer-links h4,
.footer-meta h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-meta p {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

.footer-bottom {
  border-top: 1px solid #1f2933;
  padding: 8px 0;
  background: #030712;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  font-size: 12px;
  color: #9ca3af;
}

.footer-bottom-note {
  font-size: 12px;
  color: #6b7280;
}

/* ANIMASI MASUK (dipakai via class .in-view) */
.in-view {
  /* kelas ini dipakai JS, properti animasi per elemen sudah diatur di atas */
}

/* RESPONSIVE */
@media (min-width: 640px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .section-heading h2 {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex !important;
  }

  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .unit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1.4fr;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Dropdown di dalam nav mobile selalu terbuka supaya mudah diakses */
  .main-nav.is-open .dropdown-menu {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    padding: 8px 16px 12px;
    gap: 4px;
    align-items: flex-start;
  }

  .main-nav a {
    padding: 8px 10px;
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image-card {
    max-width: 460px;
  }
}


@media (max-width: 767px) {
  .header-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
