/* ============ Tokens ============ */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --dark: #0b1220;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --accent: #38bdf8;
  --wa: #25d366;
  --wa-2: #1ebe5b;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 40px); }
.ico { width: 18px; height: 18px; flex: none; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.3em; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(37, 99, 235, .35); }
.btn--primary:hover { background: var(--primary-2); }
.btn--wa { background: var(--wa); color: #06341a; }
.btn--wa:hover { background: var(--wa-2); }
.btn--ghost { color: #e2e8f0; border-color: rgba(226, 232, 240, .25); }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); }
.btn--ghost-dark { color: var(--ink-2); border-color: var(--line); background: #fff; }
.btn--sm { padding: .55em 1em; font-size: .875rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(148, 163, 184, .12); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: #cbd5e1; font-size: .92rem; font-weight: 500; }
.nav__links a:hover { color: #fff; text-decoration: none; }

/* ============ Hero ============ */
.hero { background: radial-gradient(1000px 500px at 80% 0%, rgba(37, 99, 235, .25), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(56, 189, 248, .12), transparent 60%), var(--dark); color: #e2e8f0; padding: 72px 0 88px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); color: #fff; font-weight: 800; }
.grad { background: linear-gradient(90deg, #60a5fa, #38bdf8 60%, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: #94a3b8; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 32px; list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid rgba(148, 163, 184, .15); }
.hero__stats strong { display: block; font-size: 1.5rem; color: #fff; }
.hero__stats span { font-size: .85rem; color: #94a3b8; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3); color: #86efac; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.dot--live { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.hero__art { position: relative; }
.rack { width: 100%; max-width: 460px; margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.led { animation: blink 1.6s infinite; }
.led.l2 { animation-duration: 2.3s; animation-delay: .4s; }
.led.l3 { animation-duration: 1.1s; animation-delay: .8s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.float { animation: float 6s ease-in-out infinite; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3)); }
.float.f2 { animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ Trust bar ============ */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 18px 0; color: var(--muted); font-size: .9rem; }
.trust ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.trust li { font-weight: 600; color: var(--ink-2); }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }

/* ============ Features ============ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.feature:hover { border-color: #bfdbfe; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #eff6ff, #e0f2fe); color: var(--primary); margin-bottom: 18px; }
.feature__ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ============ Stock ============ */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; margin-bottom: 28px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: #93c5fd; }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); margin-left: 8px; cursor: pointer; }
.toggle input { width: 16px; height: 16px; accent-color: var(--primary); }

.stock { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: #bfdbfe; }
.card.is-out { opacity: .6; box-shadow: none; }
.card.is-out:hover { transform: none; border-color: var(--line); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.card__name { font-size: 1.2rem; font-weight: 800; margin: 0; }
.card__id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge--ok { background: #dcfce7; color: #166534; }
.badge--warn { background: #fef3c7; color: #92400e; }
.badge--bad { background: #fee2e2; color: #991b1b; }
.badge--gpu { background: #f3e8ff; color: #6b21a8; }
.badge .dot { width: 6px; height: 6px; }
.badge--ok .dot { background: var(--ok); }
.badge--warn .dot { background: var(--warn); }
.badge--bad .dot { background: var(--bad); }
.specs { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.specs li { display: grid; grid-template-columns: 74px 1fr; gap: 8px; font-size: .92rem; }
.specs b { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tags span { font-size: .75rem; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); padding: 3px 9px; border-radius: 6px; }
.card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price small { display: block; font-size: .75rem; color: var(--muted); }
.price strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.price span { font-size: .85rem; color: var(--muted); }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 28px; }

/* ============ Configurator ============ */
.config { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.config__form { display: grid; gap: 28px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; margin-bottom: 12px; padding: 0; }
legend small { font-weight: 500; color: var(--muted); }
.step { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .8rem; }
.input { width: 100%; font: inherit; padding: .75em .9em; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
textarea.input { resize: vertical; }

.radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-grid--4 { grid-template-columns: repeat(4, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__box { display: block; height: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.opt__box strong { display: block; font-size: 1rem; }
.opt__box small { color: var(--muted); font-size: .8rem; }
.opt__box em { display: inline-block; margin-top: 6px; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--primary); }
.opt input:checked + .opt__box { border-color: var(--primary); background: #eff6ff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--accent); outline-offset: 2px; }

.addons { display: grid; gap: 10px; }
.addon { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.addon.is-on { border-color: var(--primary); background: #eff6ff; }
.addon__txt { flex: 1; min-width: 0; }
.addon__txt strong { display: block; font-size: .95rem; }
.addon__txt small { color: var(--muted); font-size: .82rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.stepper button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--ink-2); }
.stepper button:hover:not(:disabled) { background: var(--bg-alt); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.summary { position: sticky; top: 88px; background: var(--dark); color: #e2e8f0; border-radius: 18px; padding: 26px; box-shadow: 0 20px 50px rgba(15, 23, 42, .25); }
.summary h3 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.summary dl { margin: 0 0 18px; display: grid; gap: 10px; font-size: .9rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt { color: #94a3b8; }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary dd.neg { color: #86efac; }
.summary__total { border-top: 1px solid rgba(148, 163, 184, .2); padding: 18px 0; margin-bottom: 8px; }
.summary__total span { display: block; font-size: .85rem; color: #94a3b8; }
.summary__total strong { display: block; font-size: 1.9rem; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.summary__total small { color: #94a3b8; font-size: .82rem; }
.summary .btn + .btn { margin-top: 10px; }
.summary__fine { font-size: .78rem; color: #64748b; margin: 14px 0 0; text-align: center; }

/* ============ Request hardware ============ */
.request { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.request__info { position: sticky; top: 88px; background: var(--dark); color: #cbd5e1; border-radius: 18px; padding: 30px; background-image: radial-gradient(500px 260px at 100% 0%, rgba(37, 99, 235, .3), transparent 60%); }
.request__info h3 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.checklist { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; font-size: .93rem; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; flex: none; color: #4ade80; margin-top: 2px; }
.checklist b { color: #fff; }
.request__flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid rgba(148, 163, 184, .18); padding-top: 22px; }
.request__flow div { text-align: center; font-size: .8rem; }
.request__flow strong { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 10px; background: rgba(59, 130, 246, .2); color: #93c5fd; }
.request__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--actions { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 4px; }
.field--actions .btn { padding-block: .95em; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field label i { color: var(--bad); font-style: normal; }
.input.is-invalid { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.req-msg { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--bad); min-height: 1.2em; }
.req-msg.is-ok { color: var(--ok); }

/* ============ Kebijakan penggunaan ============ */
.eyebrow--bad { color: var(--bad); }
.bans { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bans li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.bans__ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fee2e2; color: var(--bad); }
.bans__ico svg { width: 22px; height: 22px; }
.bans h3 { font-size: 1rem; margin-bottom: 4px; }
.bans p { margin: 0; color: var(--muted); font-size: .9rem; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: var(--radius); background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.notice svg { flex: none; width: 26px; height: 26px; color: var(--bad); margin-top: 2px; }
.notice strong { display: block; font-size: 1.02rem; margin-bottom: 4px; color: #991b1b; }
.notice p { margin: 0; font-size: .93rem; }

.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); cursor: pointer; font-weight: 500 !important; }
.agree input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--primary); }
.agree i { color: var(--bad); font-style: normal; }
.agree.is-invalid { color: var(--bad); }
.agree--dark { color: #cbd5e1; margin-bottom: 14px; }
.agree--dark a { color: #93c5fd; }

/* ============ Steps ============ */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.steps li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 20px; transition: border-color .15s; }
.faq details[open] { border-color: #bfdbfe; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ============ CTA & Footer ============ */
.cta { background: linear-gradient(120deg, #1d4ed8, #0ea5e9); color: #fff; padding: 64px 0; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta p { margin: 0; color: #dbeafe; }

.footer { background: var(--dark); color: #94a3b8; padding: 48px 0 calc(32px + env(safe-area-inset-bottom, 0px)); font-size: .9rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.footer .logo { margin-bottom: 6px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__contact a { color: #cbd5e1; }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(148, 163, 184, .12); padding-top: 20px; margin: 8px 0 0; font-size: .82rem; }

.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .config { grid-template-columns: 1fr; }
  .summary { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .request { grid-template-columns: 1fr; }
  .request__info { position: static; }
  .bans { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { order: -1; max-width: 340px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .features, .steps, .bans { grid-template-columns: 1fr; }
  .radio-grid { grid-template-columns: 1fr; }
  .request__form { grid-template-columns: 1fr; padding: 20px; }
  .radio-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stock { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .footer__inner { grid-template-columns: 1fr; }
  .toggle { margin-left: 0; width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
