:root {
  --bg: #FFF8E6;
  --bg-tint: #FFF0C7;
  --card: #FFFFFF;
  --ink: #4A3200;
  --ink-soft: #7A6236;
  --accent: #FFB21E;
  --accent-deep: #F09A00;
  --accent-soft: #FFE7A3;
  --line: #F2DDA8;
  --sky1: #CDEEFF;
  --sky2: #9BD6F5;
  --tg: #2AABEE;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Nunito", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.15; margin: 0; }
a { color: inherit; }
img { display: block; }
code { background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #3B2600;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--accent-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s;
}
.btn:hover { background: #FFC23F; transform: translateY(-2px); box-shadow: 0 6px 0 var(--accent-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-deep); }
.btn-big { padding: 16px 30px; font-size: 19px; }
.btn-small { padding: 8px 18px; font-size: 15px; }
.btn-tg { padding: 13px 24px; background: var(--tg); color: #fff; box-shadow: 0 4px 0 #1C8BC4; white-space: nowrap; }
.btn-tg:hover { background: #3DB7F3; box-shadow: 0 6px 0 #1C8BC4; }

/* ---------- Navigasi ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(20px, calc((100% - 1120px) / 2));
  background: rgba(255, 248, 230, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 22px "Baloo 2", sans-serif; text-decoration: none; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

/* ---------- Bagian atas ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 56px 20px 72px;
}
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); font-weight: 800; font-size: 14px;
}
.hero h1 { margin: 18px 0 14px; font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -0.01em; }
.lead { margin: 0 0 28px; font-size: 19px; color: var(--ink-soft); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.meta { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.mobile-note { display: none; margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px dashed var(--accent); font-weight: 700; font-size: 15px; }
.is-mobile .mobile-note { display: block; }

.hero-stage { position: relative; }
.desktop {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--sky1), var(--sky2));
  box-shadow: 0 30px 60px -20px rgba(122, 78, 0, 0.35), 0 0 0 8px #fff;
  aspect-ratio: 16 / 11;
}
.desktop::before {
  /* bukit hijau di wallpaper */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 28px; height: 38%;
  background: radial-gradient(ellipse at 30% 100%, #B7E58C 0 60%, transparent 61%),
              radial-gradient(ellipse at 80% 110%, #9AD86E 0 55%, transparent 56%);
}
.desktop-bar { position: absolute; top: 12px; left: 14px; display: flex; gap: 7px; z-index: 2; }
.desktop-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.75); }
#stage { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; z-index: 1; }
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 700;
}
.tb-tray { display: flex; align-items: center; gap: 8px; }
.tb-tray img { border-radius: 4px; }
.stage-hint { margin: 16px 0 0; text-align: center; font-weight: 700; color: var(--ink-soft); font-size: 15px; }

/* ---------- Bagian umum ---------- */
.section { padding: 80px 20px; }
.section > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.section-tint { background: var(--bg-tint); }
.section h2 { font-size: clamp(30px, 4vw, 42px); text-align: center; font-weight: 800; }
.section-lead { text-align: center; color: var(--ink-soft); margin: 10px auto 40px; max-width: 620px; font-size: 18px; }
.center { text-align: center; margin-top: 36px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 26px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 0 16px 30px -18px rgba(122, 78, 0, 0.4); }
.f-emoji { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.feature h3 { font-size: 23px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.wardrobe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.outfit { text-align: center; }
.outfit canvas { width: 100%; aspect-ratio: 1; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.outfit span { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step-n {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); font: 800 22px "Baloo 2", sans-serif;
}
.steps h3 { font-size: 22px; margin-bottom: 4px; }
.steps p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

.faq { max-width: 760px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 800; font-size: 17px; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 0; top: 13px; color: var(--accent-deep); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

.help-card {
  display: flex; align-items: center; gap: 24px; max-width: 900px;
  padding: 30px 34px; border-radius: 28px;
  background: var(--card); border: 2px dashed var(--accent);
}
.help-emoji { font-size: 48px; }
.help-card h2 { text-align: left; font-size: 28px; }
.help-card p { margin: 4px 0 0; color: var(--ink-soft); }
.help-card .btn { margin-left: auto; }

.footer {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 30px 20px 40px; color: var(--ink-soft); font-weight: 700; font-size: 15px;
}
.footer img { border-radius: 8px; }

/* ---------- Layar kecil ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 32px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .wardrobe { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .features, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 16px; }
  .hero { padding: 24px 16px 48px; }
  .btn-big { width: 100%; }
  .help-card { flex-direction: column; text-align: center; }
  .help-card h2 { text-align: center; }
  .help-card .btn { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature, .btn { transition: none; }
}
