:root {
  --bg: #f7f0e8;
  --panel: #fffdfb;
  --card: #f3eadf;
  --ink: #1a1a1a;
  --muted: #5d564f;
  --line: rgba(26, 26, 26, 0.1);
  --gold: #c8a36d;
  --gold-deep: #a77a3f;
  --shadow: 0 24px 60px -30px rgba(24, 20, 15, 0.35);
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 14px max(24px, calc((100% - 1200px) / 2));
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease;
}

.navbar.is-scrolled {
  background: var(--bg);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.logo span {
  color: var(--gold-deep);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

nav a {
  position: relative;
}

nav a.account-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 1px var(--line);
}

nav a.account-avatar::after {
  display: none;
}

nav a.account-avatar:hover,
nav a.account-avatar:focus-visible {
  background: var(--gold-deep);
}

nav a.account-avatar:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

nav a.account-avatar[hidden] {
  display: none;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 8vw, 112px);
  width: min(1200px, calc(100% - 48px));
  min-height: 640px;
  margin: 0 auto;
  padding: 72px 0;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.hero-content {
  max-width: 580px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.hero-desc {
  max-width: 520px;
  margin: 22px 0 30px;
  font-size: 1.04rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 390px);
  padding: 14px;
  border: 1px solid rgba(167, 122, 63, 0.2);
  border-radius: 220px 220px 18px 18px;
  background: #ede3d6;
  box-shadow: var(--shadow);
}

.hero-preview {
  overflow: hidden;
  border-radius: 210px 210px 10px 10px;
  background: #dce5d2;
}

.hero-preview img {
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: cover;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px -24px rgba(0, 0, 0, 0.45);
}

.btn-dark {
  background: #191919;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.catalog,
.contact,
.benefits {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.catalog {
  width: min(1320px, calc(100% - 32px));
  padding: 96px 0 36px;
  font-family: var(--font-body);
}

.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-heading p:last-child {
  color: var(--muted);
  margin-top: 12px;
}

.catalog-header-wrapper {
  margin-bottom: 28px;
}

.catalog-filters {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
  padding: 22px;
  border: 1px solid rgba(115, 91, 65, 0.12);
  border-radius: 20px;
  background: #f5efe7;
}

.catalog-filter-group {
  min-width: 0;
}

.catalog-filter-group .catalog-header-wrapper {
  margin-bottom: 0;
}

.filter-label {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.catalog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid transparent;
  background: #fff;
  border-radius: 999px;
  color: #66503a;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.package-chip {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #c9b69f;
  border-radius: 9px;
  background: transparent;
  color: #44392e;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-chip:hover,
.category-chip:focus-visible,
.category-chip.is-active {
  border-color: #67513a;
  background: #67513a;
  color: #fff;
}

.package-chip:hover,
.package-chip:focus-visible,
.package-chip.is-active {
  border-color: #67513a;
  background: #67513a;
  color: #fff;
}

.category-chip:focus-visible,
.package-chip:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.catalog-packages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 40px;
}

.pricing .section-heading {
  margin-bottom: 30px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid rgba(95, 73, 49, 0.16);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 18px 45px -35px rgba(24, 20, 15, 0.55);
}

.pricing-card.is-popular {
  border: 2px solid var(--gold-deep);
  box-shadow: 0 24px 55px -35px rgba(111, 77, 40, 0.6);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 22px;
  padding: 7px 12px;
  border-radius: 0 0 10px 10px;
  background: #67513a;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pricing-tier {
  margin: 0 0 5px;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.pricing-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.2;
}

.pricing-price {
  margin: 16px 0 4px;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-description {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-features {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: #403a34;
  font-size: 0.86rem;
}

.pricing-features li {
  position: relative;
  padding-left: 22px;
}

.pricing-features li::before {
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  content: "✓";
  font-weight: 800;
}

.pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  padding: 12px 18px;
  border: 1px solid #67513a;
  border-radius: 12px;
  background: transparent;
  color: #51402d;
  font-weight: 750;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pricing-card.is-popular .pricing-button,
.pricing-button:hover,
.pricing-button:focus-visible {
  background: #67513a;
  color: #fff;
}

.pricing-button:hover,
.pricing-button:focus-visible {
  transform: translateY(-2px);
}

.product-grid {
  width: 100%;
}

.product-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.catalog-pagination[hidden] {
  display: none;
}

.pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination-button:hover,
.pagination-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px -10px rgba(24, 20, 15, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 390px;
  margin: 4px 4px 0;
  overflow: hidden;
  border-radius: 4px;
  background: #ece9e4;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: min(166px, 42%);
  height: auto;
  aspect-ratio: 9 / 19.5;
  padding: 5px;
  border: 1px solid #343434;
  border-radius: 20px;
  background: #171717;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.36);
}

.phone-mockup::before {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 50%;
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: #080808;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background-color: var(--panel);
  background-position: center;
  background-size: cover;
}

.phone-screen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.product-info {
  padding: 5px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-align: center;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.04);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1;
}

.product-actions {
  display: grid;
  gap: 3px;
  margin-top: 0;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.product-btn:hover,
.product-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -14px rgba(26, 26, 26, 0.7);
}

.product-btn:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.product-btn.primary {
  min-height: 20px;
  padding: 1px 4px;
  background: transparent;
  color: #67513a;
  text-decoration: underline;
  box-shadow: none;
}

.product-btn.secondary {
  background: #67513a;
  color: #fff;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
}

.product-tag {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 28px 0 44px;
}

.feature-card {
  padding: 12px;
  text-align: center;
  background: rgba(255, 253, 251, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  border-radius: 10px;
  color: var(--gold-deep);
  background: #f8efdf;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.contact {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: 30px;
  text-align: left;
  background: linear-gradient(135deg, #1d1513, #3a2d22 50%, #1d1513);
  color: #fff;
  border-radius: 20px;
}

.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 600;
}

.contact p {
  margin: 8px 0 16px;
  color: rgba(255, 255, 255, 0.8);
}

.contact .btn {
  padding: 11px 20px;
  font-size: 0.86rem;
}

.contact-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 44px;
}

.faq {
  width: 100%;
  margin: 0;
  padding: 0;
}

.faq h3 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
}

.faq-list {
  max-width: none;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 16px 32px 16px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.95rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 2px;
  color: var(--gold-deep);
  content: "+";
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}

.faq-item p {
  max-width: 680px;
  margin: 0;
  padding: 0 32px 16px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

footer {
  padding: 22px 20px 44px;
  text-align: center;
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 32px;
    min-height: 560px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
  }

  .product-grid-list {
    grid-template-columns: 1fr 1fr;
  }

  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  nav {
    gap: 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
    padding: 12px 18px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(100% - 36px, 520px);
    min-height: 0;
    padding: 56px 0 48px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .hero-desc {
    margin: 18px auto 24px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: min(76%, 310px);
  }

  .hero-note {
    font-size: 1.1rem;
  }

  .product-grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .product-image {
    height: 190px;
  }

  .phone-mockup {
    width: min(78px, 72%);
  }

  .product-info {
    padding: 5px 4px 7px;
  }

  .product-name {
    font-size: 0.75rem;
  }

  .product-btn {
    min-height: 32px;
    padding: 5px 3px;
    font-size: 0.67rem;
  }

  .product-btn.primary {
    min-height: 20px;
    padding: 2px 1px;
    font-size: 0.62rem;
  }

  .pricing {
    padding-top: 56px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card:last-child {
    grid-column: auto;
  }

  .pricing-card {
    padding: 26px 22px 22px;
  }

  .pricing-description {
    min-height: 0;
  }

  .catalog-filters {
    padding: 16px;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 24px 0 36px;
  }

  .contact-faq {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 0 32px;
  }

  .contact {
    padding: 24px 20px;
  }

  .faq {
    padding: 0;
  }

  .faq h3 {
    margin-bottom: 20px;
  }
}

/* Alur Gunakan Tema -> pilih paket */
.theme-banner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 0 auto 28px; padding: 12px 20px; max-width: 640px; border: 1px solid rgba(143, 114, 60, .35); border-radius: 999px; background: rgba(143, 114, 60, .08); }
.theme-banner p { margin: 0; }
.theme-banner a { font-weight: 600; }
.pricing-card.is-unavailable { opacity: .55; }
.pricing-button.is-disabled { pointer-events: none; cursor: not-allowed; filter: grayscale(.6); }
