/* =========================================================
   Worthy Box — Style
   Ganti warna tema cukup di :root
   ========================================================= */
:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-soft: #ccfbf1;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --pink: #ec4899;
  --bg: #fffbf5;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #ece6dc;
  --danger: #dc2626;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(31, 41, 55, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.narrow { width: min(780px, 92%); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: .3em .8em; border-radius: 999px; margin-bottom: .9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-soft); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.link:hover { color: var(--primary); }
.danger { color: var(--danger); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f3f4f6; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.icon-btn:hover { background: #e5e7eb; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 245, .85); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 4px 20px -10px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--primary-dark); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text em { font-style: normal; color: var(--accent); }
.brand-text { display: inline-flex; align-items: baseline; gap: .1em; flex-wrap: wrap; }
.brand-by { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: .35em; }
.brand-footer .brand-by { color: #8fb3ae; }
.brand-logo { height: 40px; width: auto; }
.nav { display: flex; gap: 1.8rem; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero { padding: 3.5rem 0 2rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.03em; }
.hero-text > p { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2.2rem; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-size: 1.5rem; color: var(--primary-dark); }
.stats span { font-size: .85rem; color: var(--muted); }
.hero-visual img { width: 100%; height: auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 4.5rem 0; }
.section.alt { background: linear-gradient(180deg, var(--accent-soft), var(--bg)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.02em; }
.features-section { padding-top: 1rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 1rem; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Catalog */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--border); background: var(--surface); padding: .5em 1.1em; border-radius: 999px; cursor: pointer; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.toolbar-right { display: flex; gap: .5rem; }
.toolbar input, .toolbar select { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: .55em 1.1em; min-width: 0; }
.toolbar input { width: 200px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; border: 0; padding: 0; cursor: pointer; background: none; aspect-ratio: 1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; }
.badge-disc { left: auto; right: 12px; background: var(--pink); }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.card-meta { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.stars { color: var(--accent); letter-spacing: 1px; }
.stars .off { color: #e5e7eb; }
.card-cat { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: .25rem; }
.card-items { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.card-items strong { color: var(--text); font-weight: 600; }
.card-desc { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-weight: 800; font-size: 1.1rem; color: var(--primary-dark); display: block; }
.price-old { font-size: .82rem; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: relative; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.testimonial { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; }
.testimonial blockquote { margin: 0; font-size: .95rem; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .7rem; }
.testimonial figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial small { color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }

/* CTA */
.cta-band { padding: 0 0 1rem; }
.cta-inner { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 28px; padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-inner p { margin: 0; opacity: .9; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 1.3rem; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item ul { color: var(--muted); margin: 0; padding: 0 0 1.1rem 1.2rem; display: grid; gap: .5rem; }
.faq-item p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* Footer */
.footer { background: #13302d; color: #d1e7e4; margin-top: 4rem; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { color: #fff; margin-bottom: 1rem; }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-list svg { flex-shrink: 0; margin-top: .2em; color: var(--accent); }
.contact-list a { text-decoration: none; color: #fff; }
.contact-list a:hover { color: #fff; text-decoration: underline; }
.order-note { display: inline-block; background: var(--accent); color: #1f2937; font-weight: 700; font-size: .9rem; padding: .45em .9em; border-radius: 12px; }
.muted-light { color: #8fb3ae; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.3rem 0; font-size: .85rem; color: #8fb3ae; }

/* WA float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .5); opacity: 0; transition: opacity .2s; }
.open .modal-backdrop { opacity: 1; }
.modal-card { position: relative; width: min(860px, 94%); max-height: 90vh; overflow: auto; margin: 5vh auto 0; background: var(--surface); border-radius: 24px; opacity: 0; transform: translateY(20px) scale(.98); transition: all .2s; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal-body { display: grid; grid-template-columns: 1fr 1.1fr; }
.modal-img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal-info { padding: 2rem; }
.modal-info h3 { font-size: 1.6rem; }
.modal-price { margin-bottom: 1rem; }
.modal-price .price { font-size: 1.5rem; display: inline; margin-right: .5rem; }
.modal-info h4 { font-size: 1rem; margin-top: .5rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .35rem; }
.check-list li { padding-left: 1.6rem; position: relative; font-size: .93rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .6rem; }


/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text > p { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { max-width: 440px; margin: 0 auto; order: -1; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .cta-inner { flex-direction: column; text-align: center; padding: 2rem; }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); padding: .5rem 4%; box-shadow: 0 10px 20px -10px rgba(0,0,0,.2); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .toolbar-right { width: 100%; }
  .toolbar input { flex: 1; width: auto; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-img { min-height: 0; max-height: 260px; }
  .modal-card { margin-top: 3vh; }
}
@media (max-width: 520px) {
  .features, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.2rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
