/* Gaya bersama untuk semua landing page. Warna per produk diatur lewat class di <body>. */
:root {
  --ink: #1f2430;
  --muted: #5b6272;
  --line: #e7e2dc;
  --bg: #ffffff;
  --soft: #f7f5f2;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --accent-soft: #fff1e8;
  --hero-from: #fff7f1;
  --hero-to: #ffe2cf;
  --cta: #c2410c;
  --cta-ink: #ffffff;
  --radius: 14px;
  --wrap: 1080px;
}
body.padel {
  --accent: #0f766e;
  --accent-dark: #115e59;
  --accent-soft: #e8f6f3;
  --hero-from: #0a3d39;
  --hero-to: #1f8a7e;
  --cta: #fbbf24;
  --cta-ink: #1f2430;
}
body.hub { --accent: #334155; --accent-dark: #1e293b; --accent-soft: #f1f5f9; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; text-decoration: none; color: var(--ink); letter-spacing: -.2px; }
.topbar .btn { padding: 9px 18px; font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--cta); color: var(--cta-ink);
  font-weight: 800; text-decoration: none; padding: 16px 30px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0,0,0,.14); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn.ghost { background: transparent; color: inherit; box-shadow: none; border: 2px solid currentColor; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--hero-from), var(--hero-to)); padding: 64px 0 72px; }
body.padel .hero { color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
body.padel .kicker { color: #a7f3d0; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.8px; }
.hero h1 em { font-style: normal; color: var(--accent); }
body.padel .hero h1 em { color: #fbbf24; }
.hero .lead { font-size: 19px; color: var(--muted); margin: 0 0 22px; }
body.padel .hero .lead { color: #d1fae5; }
.claim { display: inline-block; font-weight: 700; font-size: 15px; background: rgba(255,255,255,.75); color: var(--ink); border-radius: 999px; padding: 7px 16px; margin: 0 0 22px; }
body.padel .claim { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero-price { font-size: 16px; }
.hero-price s { opacity: .65; margin-right: 6px; }
.hero-price b { font-size: 24px; }
.mock { position: relative; height: 470px; }
.mock img { position: absolute; border-radius: 6px; box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.mock .m1 { width: 62%; left: 22%; top: 0; z-index: 3; }
.mock .m2 { width: 52%; left: 0; top: 60px; transform: rotate(-7deg); z-index: 2; }
.mock .m3 { width: 52%; right: 0; top: 60px; transform: rotate(7deg); z-index: 1; }
.countdown { font-size: 14px; margin-top: 14px; opacity: .85; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.4px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.sub { color: var(--muted); max-width: 720px; margin: 0 0 30px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

.pains { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.pains li { position: relative; padding-left: 30px; }
.pains li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #dc2626; font-weight: 800; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ico { font-size: 26px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.toc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.toc-part { margin: 0 0 6px; font-weight: 800; color: var(--accent); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.toc ol { margin: 0 0 14px; padding-left: 22px; }
.toc li { margin: 4px 0; }

.who { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.who .card ul { margin: 0; padding-left: 20px; }
.who .card li { margin: 6px 0; color: var(--ink); }
.who .no h3 { color: #b91c1c; }
.who .yes h3 { color: var(--accent-dark); }

.preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.preview figure { margin: 0; }
.preview img { border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.preview figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }

.price-box { max-width: 560px; margin: 0 auto; background: #fff; border: 2px solid var(--accent); border-radius: 20px; padding: 34px 30px; text-align: center; box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.price-box .old { text-decoration: line-through; color: var(--muted); font-size: 20px; }
.price-box .now { font-size: 48px; font-weight: 800; color: var(--accent-dark); line-height: 1.1; margin: 4px 0 6px; }
.price-box .note { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.price-box ul { text-align: left; list-style: none; padding: 0; margin: 0 0 26px; }
.price-box li { padding-left: 28px; position: relative; margin: 8px 0; }
.price-box li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.guarantee { display: flex; gap: 14px; align-items: flex-start; max-width: 560px; margin: 22px auto 0; background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; font-size: 15px; }
.guarantee b { display: block; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quotes blockquote { margin: 0; background: #fff; border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; color: var(--muted); font-style: italic; }
.quotes-note { font-size: 14px; color: var(--muted); margin: 0 0 18px; }

details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 26px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

.final { background: linear-gradient(160deg, var(--hero-from), var(--hero-to)); text-align: center; }
body.padel .final { color: #fff; }

footer { padding: 30px 0 90px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer p { margin: 6px 0; }

/* Sticky CTA di HP */
.sticky-cta { display: none; }

/* ---------- Hub ---------- */
.hub-hero { padding: 72px 0 40px; text-align: center; }
.hub-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 12px; letter-spacing: -.6px; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: transform .12s ease, box-shadow .12s ease; }
.product:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.10); }
.product .thumb { height: 300px; overflow: hidden; display: flex; align-items: flex-start; justify-content: center; padding-top: 28px; }
.product .thumb img { width: 62%; border-radius: 6px; box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.product.p-claude .thumb { background: linear-gradient(160deg, #fff7f1, #ffd9bf); }
.product.p-padel .thumb { background: linear-gradient(160deg, #0a3d39, #1f8a7e); }
.product .body { padding: 22px 24px 26px; }
.product .tag { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.product h2 { font-size: 24px; margin: 6px 0 8px; }
.product p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.product .go { font-weight: 800; }
.product.p-claude .go { color: #9a3412; }
.product.p-padel .go { color: #115e59; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .mock { height: 340px; max-width: 420px; margin: 0 auto; width: 100%; }
  .pains, .cards, .toc, .who, .preview, .quotes, .products { grid-template-columns: 1fr; }
  section { padding: 46px 0; }
  .topbar .btn { display: none; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); text-align: center; }
  .sticky-cta .btn { display: block; padding: 14px; }
}

/* Perbaikan kecil */
.hub-hero .sub { margin: 0 auto 30px; }
body.padel .price-box .kicker { color: var(--accent); }
