/* =============================================
   Dapur Pintar — Marketing / Landing (SaaS)
   Emerald + dark green + gold accent
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --mkt-emerald: #047857;
  --mkt-emerald-dark: #064e3b;
  --mkt-emerald-light: #10b981;
  --mkt-gold: #c9a227;
  --mkt-gold-soft: rgba(201, 162, 39, 0.18);
  --mkt-bg: #f8faf9;
  --mkt-surface: #ffffff;
  --mkt-text: #0f1f17;
  --mkt-muted: #5b6f66;
  --mkt-border: rgba(6, 78, 59, 0.12);
  --mkt-shadow: 0 18px 48px rgba(6, 78, 59, 0.1);
  --mkt-radius: 14px;
  --mkt-radius-lg: 22px;
  --mkt-nav-h: 68px;
}

.mkt-page {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  background: var(--mkt-bg);
  color: var(--mkt-text);
  line-height: 1.6;
  min-height: 100vh;
}

.mkt-page *,
.mkt-page *::before,
.mkt-page *::after {
  box-sizing: border-box;
}

.mkt-container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* === NAV === */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--mkt-nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--mkt-surface) 92%, transparent);
  border-bottom: 1px solid var(--mkt-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mkt-nav__inner {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mkt-text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.mkt-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.mkt-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mkt-nav__links a {
  text-decoration: none;
  color: var(--mkt-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.mkt-nav__links a:hover,
.mkt-nav__links a.is-active {
  color: var(--mkt-emerald-dark);
  background: rgba(4, 120, 87, 0.08);
}

.mkt-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mkt-nav__toggle {
  display: none;
  border: 1px solid var(--mkt-border);
  background: var(--mkt-surface);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* === BUTTONS === */
.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.mkt-btn:active {
  transform: scale(0.98);
}

.mkt-btn--primary {
  background: linear-gradient(135deg, var(--mkt-emerald) 0%, var(--mkt-emerald-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(4, 120, 87, 0.28);
}

.mkt-btn--primary:hover {
  box-shadow: 0 14px 32px rgba(4, 120, 87, 0.35);
}

.mkt-btn--ghost {
  background: transparent;
  color: var(--mkt-emerald-dark);
  border: 1px solid var(--mkt-border);
}

.mkt-btn--gold {
  background: linear-gradient(135deg, #d4af37 0%, var(--mkt-gold) 100%);
  color: #1a1508;
  box-shadow: 0 8px 24px var(--mkt-gold-soft);
}

.mkt-btn--disabled,
.mkt-btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

/* === HERO === */
.mkt-hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(16, 185, 129, 0.14) 0%, transparent 55%),
    radial-gradient(60% 50% at 100% 20%, var(--mkt-gold-soft) 0%, transparent 50%),
    linear-gradient(180deg, #ecfdf5 0%, var(--mkt-bg) 100%);
}

.mkt-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.mkt-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mkt-emerald);
  margin-bottom: 12px;
}

.mkt-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 800;
}

.mkt-hero__lead {
  font-size: 1.08rem;
  color: var(--mkt-muted);
  max-width: 34rem;
  margin: 0 0 24px;
}

.mkt-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.mkt-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--mkt-muted);
}

.mkt-hero__trust strong {
  color: var(--mkt-emerald-dark);
}

.mkt-hero__panel {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-lg);
  padding: 24px;
  box-shadow: var(--mkt-shadow);
}

.mkt-hero__panel h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.mkt-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mkt-stat {
  padding: 14px;
  border-radius: var(--mkt-radius);
  background: #f0fdf4;
  border: 1px solid var(--mkt-border);
}

.mkt-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--mkt-emerald-dark);
}

.mkt-stat span {
  font-size: 0.75rem;
  color: var(--mkt-muted);
}

/* === SECTIONS === */
.mkt-section {
  padding: 64px 0;
}

.mkt-section--alt {
  background: var(--mkt-surface);
  border-block: 1px solid var(--mkt-border);
}

.mkt-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.mkt-section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.mkt-section__head p {
  margin: 0;
  color: var(--mkt-muted);
}

/* === CARDS GRID === */
.mkt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mkt-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.05);
}

.mkt-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 120, 87, 0.1);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.mkt-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.mkt-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mkt-muted);
}

/* === PRICING === */
.mkt-pricing-card {
  position: relative;
  padding: 26px 22px;
}

.mkt-pricing-card.is-featured {
  border-color: var(--mkt-emerald);
  box-shadow: 0 16px 40px rgba(4, 120, 87, 0.15);
}

.mkt-pricing-card.is-featured::before {
  content: 'Populer';
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mkt-gold-soft);
  color: #7a5c00;
}

.mkt-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--mkt-emerald-dark);
  margin: 8px 0 16px;
}

.mkt-pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-pricing-card li {
  font-size: 0.88rem;
  color: var(--mkt-muted);
  padding: 6px 0 6px 22px;
  position: relative;
}

.mkt-pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--mkt-emerald);
  font-weight: 800;
}

/* === FAQ === */
.mkt-faq {
  max-width: 720px;
  margin: 0 auto;
}

.mkt-faq-item {
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  margin-bottom: 10px;
  background: var(--mkt-surface);
  overflow: hidden;
}

.mkt-faq-item button {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--mkt-text);
}

.mkt-faq-item [data-faq-panel] {
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--mkt-muted);
}

.mkt-faq-item [data-faq-panel][hidden] {
  display: none;
}

/* === TESTIMONIALS === */
.mkt-testimonial {
  font-style: italic;
}

.mkt-testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mkt-emerald-dark);
}

/* === DOWNLOAD === */
.mkt-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mkt-download-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.mkt-badge-soon {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
}

.mkt-badge-live {
  background: #d1fae5;
  color: #065f46;
}

/* === CTA BAND === */
.mkt-cta-band {
  padding: 48px 32px;
  border-radius: var(--mkt-radius-lg);
  background: linear-gradient(135deg, var(--mkt-emerald-dark) 0%, var(--mkt-emerald) 100%);
  color: #fff;
  text-align: center;
}

.mkt-cta-band h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.mkt-cta-band p {
  margin: 0 0 22px;
  opacity: 0.9;
}

.mkt-cta-band .mkt-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* === FOOTER === */
.mkt-footer {
  padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--mkt-border);
  background: var(--mkt-emerald-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
}

.mkt-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.mkt-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.mkt-footer a:hover {
  text-decoration: underline;
}

.mkt-footer h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.mkt-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkt-footer li {
  margin-bottom: 8px;
}

.mkt-footer__bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .mkt-hero__grid,
  .mkt-grid-3,
  .mkt-footer__grid,
  .mkt-download-grid {
    grid-template-columns: 1fr;
  }

  .mkt-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mkt-nav__panel {
    position: fixed;
    inset: var(--mkt-nav-h) 0 auto 0;
    background: var(--mkt-surface);
    border-bottom: 1px solid var(--mkt-border);
    padding: 16px 20px 20px;
    display: none;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--mkt-shadow);
  }

  .mkt-nav__panel.is-open {
    display: flex;
  }

  .mkt-nav__links {
    flex-direction: column;
    align-items: stretch;
  }

  .mkt-nav__actions {
    flex-direction: column;
    width: 100%;
  }

  .mkt-nav__actions .mkt-btn {
    width: 100%;
  }
}
