/* Dapur Hemat AI – website. Token warna & font sama dengan aplikasi (mobile/src/theme). */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --primary: #FFC107;
  --primary-dark: #F5A800;
  --primary-soft: #FFF3C4;
  --cream: #FFF8E1;
  --ink: #1A1A1A;
  --ink-2: #4B5563;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --outline: #E5E7EB;
  --dark: #1F1F1F;
  --green: #15803D;
  --green-soft: #DCFCE7;
  --blue: #1D4ED8;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --phone-shadow: drop-shadow(0 28px 36px rgba(110, 60, 0, .28)) drop-shadow(0 8px 12px rgba(110, 60, 0, .16));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 193, 7, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header.light { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--outline); }
.site-header .bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(255, 255, 255, .45); }
.site-header.light .nav a:hover { background: var(--bg); }
.nav a.btn-dark { color: #fff; }
.nav a.btn-dark:hover { background: #000; }
.lang { font-weight: 700 !important; border: 1.5px solid rgba(26, 26, 26, .35); }
.header-cta { margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; }
.btn-dark { background: var(--dark); color: #fff; box-shadow: 0 10px 20px rgba(31, 31, 31, .18); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost { color: var(--ink); border: 2px solid rgba(26, 26, 26, .8); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn .sub { display: block; font-size: .72rem; font-weight: 600; opacity: .8; line-height: 1.1; }
.btn .main { display: block; line-height: 1.15; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 640px at 80% 0%, rgba(255, 240, 190, .65), rgba(255, 240, 190, 0) 62%),
    linear-gradient(168deg, #FFCB2E 0%, #FFC107 45%, #F6AA00 100%);
}
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -320px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, .14); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding-top: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .7); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; margin: 18px 0 18px; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 .mark { display: inline-block; background: #fff; padding: 0 .18em .04em; border-radius: .18em; box-shadow: 0 6px 0 #E39A00; transform: rotate(-1.5deg); margin-top: .08em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #2B2B2B; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; font-weight: 700; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-visual { position: relative; min-height: 600px; display: flex; justify-content: center; align-items: flex-end; }
.hero-visual .phone { width: min(360px, 78%); margin-bottom: -150px; filter: var(--phone-shadow); position: relative; z-index: 2; }
.plate { position: absolute; border-radius: 50%; box-shadow: 0 24px 40px rgba(120, 64, 0, .32), 0 6px 12px rgba(120, 64, 0, .2); }
.float { position: absolute; z-index: 3; filter: drop-shadow(0 18px 24px rgba(110, 60, 0, .22)) drop-shadow(0 4px 8px rgba(110, 60, 0, .14)); }
.hero-visual .plate-a { width: 46%; left: -6%; bottom: 40px; z-index: 1; transform: rotate(-8deg); }
.hero-visual .plate-b { width: 34%; right: -4%; top: 30px; z-index: 1; transform: rotate(12deg); }
.hero-visual .float-budget { width: 58%; right: -6%; bottom: 120px; transform: rotate(-3deg); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }
.kicker { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #8A5A00; margin-bottom: 10px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin: 16px 0 8px; }
.card p { color: var(--ink-2); }
.icon-bubble { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary); }
.icon-bubble.green { background: var(--green-soft); }
.icon-bubble.blue { background: #E0ECFF; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.reverse .feature-media { order: 2; }
.feature h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.feature p { color: var(--ink-2); font-size: 1.08rem; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; margin-top: 2px; }
.feature-media { position: relative; height: 560px; border-radius: 32px; overflow: hidden; background: radial-gradient(420px 320px at 70% 20%, #FFFDF5, rgba(255, 253, 245, 0) 70%), var(--primary-soft); display: flex; justify-content: center; }
.feature-media .phone { width: 300px; margin-top: 48px; filter: var(--phone-shadow); position: relative; z-index: 2; }
.feature-media .plate { width: 220px; z-index: 1; }
.feature-media .float { z-index: 3; }
.media-1 .float { width: 64%; left: 4%; bottom: 36px; transform: rotate(-3deg); }
.media-1 .plate { right: -50px; top: 40px; transform: rotate(10deg); }
.media-2 .float { width: 66%; right: 3%; top: 64px; transform: rotate(3deg); }
.media-2 .plate { left: -60px; bottom: -30px; transform: rotate(-12deg); }
.media-3 .float { width: 58%; right: 2%; bottom: 28px; transform: rotate(2deg); }
.media-3 .plate { left: -40px; top: 30px; transform: rotate(-14deg); }
.media-4 .float { width: 54%; right: 2%; top: 40px; transform: rotate(3deg); }
.media-4 .plate { left: -50px; bottom: -20px; transform: rotate(8deg); }

.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.mini h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.mini p { color: var(--ink-2); font-size: .97rem; }
.mini .icon-bubble { width: 44px; height: 44px; border-radius: 14px; flex: none; background: var(--primary-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); font-weight: 800; font-size: 1.15rem; align-items: center; justify-content: center; margin-bottom: 16px; }
.steps h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: .97rem; }

.privacy-band { background: var(--dark); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.privacy-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; }
.privacy-band ul { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; gap: 12px; }
.privacy-band li { display: flex; gap: 12px; align-items: flex-start; color: #E5E7EB; }
.privacy-band li svg, .trust svg { flex: none; }
.privacy-band .lock { width: 140px; height: 140px; border-radius: 40px; background: var(--primary); display: flex; align-items: center; justify-content: center; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--outline); border-radius: 18px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; padding: 20px 36px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 0 20px; }

.cta-band { background: linear-gradient(168deg, #FFCB2E, #FFC107 45%, #F6AA00); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; }
.cta-band p { margin-top: 8px; color: #2B2B2B; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #D1D5DB; padding: 56px 0 32px; margin-top: 96px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #F3F4F6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { border-top: 1px solid #374151; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: #9CA3AF; }
.site-footer .blurb { margin-top: 12px; max-width: 30em; }

/* ---------- Halaman dokumen (Kebijakan Privasi) ---------- */
.doc-hero { background: var(--primary); padding: 48px 0 40px; }
.doc-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); font-weight: 800; }
.doc-hero p { margin-top: 8px; }
.doc { max-width: 820px; margin: 0 auto; padding: 32px 20px 0; font-size: 1rem; line-height: 1.7; }
.doc h2 { font-size: 1.4rem; font-weight: 800; margin: 44px 0 12px; padding-top: 12px; border-top: 1px solid var(--outline); scroll-margin-top: 84px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc p + p { margin-top: 12px; }
.doc .box { background: var(--surface); border: 1px solid var(--outline); border-radius: 18px; padding: 20px 24px; margin: 18px 0; }
.doc .glance { border-left: 6px solid var(--primary); }
.doc .glance h2 { border: 0; margin-top: 0; padding-top: 0; }
.doc .ok { background: var(--green-soft); border-radius: 14px; padding: 14px 18px; margin: 14px 0; }
.doc .ok strong { color: var(--green); }
.doc .muted { color: var(--ink-2); font-size: .95rem; }
.doc nav ol { columns: 2; column-gap: 32px; margin: 8px 0 0; padding-left: 22px; }
.doc nav li { break-inside: avoid; margin: 2px 0; }
.table-scroll { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; background: var(--surface); }
.doc caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--outline); }
.doc th { background: #F3F4F6; }

/* ---------- Responsif ---------- */
@media (max-width: 980px) {
  .nav .hide-md { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; text-align: center; }
  .hero-grid .lead { margin: 0 auto; }
  .hero-actions, .trust { justify-content: center; }
  .hero-visual { min-height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .feature-media { order: 0; }
  .cards-3, .grid-6 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .privacy-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .privacy-band .lock { width: 96px; height: 96px; border-radius: 28px; }
  .cta-band { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; justify-items: center; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .nav a { padding: 8px 10px; }
  .section { padding: 72px 0; }
  .hero-visual { min-height: 460px; }
  .hero-visual .phone { width: 72%; margin-bottom: -120px; }
  .feature-media { height: 480px; }
  .feature-media .phone { width: 250px; }
  .feature-media .plate { width: 170px; }
  .cards-3, .grid-6, .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .doc nav ol { columns: 1; }
}
@media print {
  .site-header, .site-footer { display: none; }
  .doc-hero { background: none; border-bottom: 2px solid var(--ink); }
}
