:root {
  --bg: #0a0d13;
  --bg2: #0f141f;
  --card: #141a27;
  --card2: #1a2130;
  --line: #232c3f;
  --text: #e6ebf3;
  --muted: #93a0b5;
  --blue: #4d8dff;
  --blue2: #6aa0ff;
  --green: #2ecc71;
  --red: #ff5d5d;
  --yellow: #ffce54;
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", system-ui, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 78px 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h2.section-title { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.eyebrow { color: var(--blue); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 17px; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 19, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 22px; margin-left: 18px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: 1px solid transparent; transition: 0.15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue2); }
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* ---- hero ---- */
.hero { padding: 70px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; background: radial-gradient(ellipse, rgba(77,141,255,0.18), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
.hero h1 b { color: var(--blue); }
.hero p { color: var(--muted); font-size: 18px; margin-bottom: 26px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* mock bot panel */
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5); overflow: hidden;
}
.mock-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; } .mock-dot.y { background: #febc2e; } .mock-dot.g { background: #28c840; }
.mock-title { margin-left: 8px; font-size: 13px; color: var(--muted); }
.mock-status { display: flex; gap: 10px; padding: 14px 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.mock-chip { background: var(--card2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; font-size: 12px; }
.mock-chip b { color: var(--blue2); }
.mock-chip.pos b { color: var(--green); }
.mock-log { padding: 14px 16px; font-family: "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 1.9; }
.mock-log .t { color: var(--muted); }
.mock-log .ok { color: var(--green); }
.mock-log .info { color: var(--blue2); }

/* ---- feature / step grids ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.card-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: 0.15s;
}
.card-box:hover { border-color: #34405c; transform: translateY(-3px); }
.card-box .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(77,141,255,0.14); color: var(--blue2);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.card-box h3 { font-size: 17px; margin-bottom: 8px; }
.card-box p { color: var(--muted); font-size: 14px; }
.num { font-size: 13px; font-weight: 800; color: var(--blue); margin-bottom: 6px; }

.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- steps (numbered list) ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step .badge { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* ---- pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.popular { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 18px 50px rgba(77,141,255,0.12); position: relative; }
.plan.popular::before { content: "Populer"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.plan h3 { font-size: 18px; margin-bottom: 6px; }
.plan .price { font-size: 34px; font-weight: 800; margin: 12px 0 4px; }
.plan .price span { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { font-size: 14px; color: var(--muted); padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan .btn { margin-top: auto; }
.pay-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }
.pay-methods { display: flex; gap: 12px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.pay-chip { background: var(--card2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13px; }

/* ---- limits / disclaimer ---- */
.limit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.limit { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.limit .x { color: var(--red); font-size: 22px; font-weight: 800; line-height: 1; }
.limit b { display: block; margin-bottom: 4px; }
.limit p { color: var(--muted); font-size: 13.5px; }

.warn-box { background: #221d0c; border: 1px solid #4a3d12; color: var(--yellow); border-radius: 12px; padding: 20px 24px; margin-top: 30px; font-size: 14px; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: var(--card); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-size: 15.5px; font-weight: 600; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { color: var(--blue); font-size: 22px; transition: 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; color: var(--muted); font-size: 14.5px; }
.faq-a div { padding: 0 20px 18px; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, #16223c, #0f141f); border: 1px solid var(--line); border-radius: 18px; padding: 46px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 52px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer a { color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--text); }
.footer .about { color: var(--muted); font-size: 13.5px; max-width: 320px; margin-top: 12px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; color: var(--muted); font-size: 12.5px; }

/* ---- guide page ---- */
.guide { max-width: 860px; margin: 0 auto; }
.guide-hero { padding: 56px 0 20px; }
.guide-hero h1 { font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 12px; }
.guide-step { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.guide-step:first-of-type { border-top: none; }
.guide-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.guide-body h3 { font-size: 19px; margin-bottom: 8px; }
.guide-body p { color: var(--muted); margin-bottom: 10px; }
.guide-body ul, .guide-body ol { color: var(--muted); margin: 8px 0 8px 20px; }
.guide-body li { margin-bottom: 6px; }
.code { background: #0c1119; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-family: "SF Mono", Menlo, monospace; font-size: 13px; color: var(--blue2); margin: 10px 0; overflow-x: auto; }
.kbd { background: var(--card2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; font-size: 12.5px; font-family: monospace; }
.callout { background: var(--card); border-left: 3px solid var(--blue); border-radius: 8px; padding: 14px 18px; margin: 14px 0; color: var(--muted); font-size: 14px; }
.callout.warn { border-left-color: var(--yellow); }
.callout b { color: var(--text); }

/* ---- blog listing ---- */
.blog-hero { padding: 56px 0 24px; }
.blog-hero h1 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 12px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.blog-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: 0.15s; display: flex; flex-direction: column;
}
.blog-card:hover { border-color: #34405c; transform: translateY(-4px); }
.blog-thumb {
  height: 160px; background: linear-gradient(135deg, #16223c, #1a2540);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; border-bottom: 1px solid var(--line);
}
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--blue); margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.35; }
.blog-card p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 14px; }
.blog-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; }
.blog-read { color: var(--blue2); font-size: 14px; font-weight: 600; margin-top: 12px; }

/* ---- blog article ---- */
.article { max-width: 780px; margin: 0 auto; padding: 48px 22px 70px; }
.article h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.article h2 { font-size: 22px; margin: 32px 0 12px; }
.article h3 { font-size: 18px; margin: 24px 0 10px; }
.article p { color: var(--text); margin-bottom: 14px; font-size: 16px; line-height: 1.75; }
.article ul, .article ol { color: var(--text); margin: 10px 0 16px 22px; }
.article li { margin-bottom: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue2); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.back-link:hover { color: var(--text); }

/* ---- payment page ---- */
.pay-page { padding: 40px 0 70px; }
.pay-header { margin-bottom: 32px; }
.pay-header h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 8px; }
.pay-header p { color: var(--muted); }
.pay-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.pay-section { margin-bottom: 28px; }
.pay-section h2 { font-size: 16px; margin-bottom: 14px; color: var(--muted); }
.pkg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pkg-card {
  background: var(--card); border: 2px solid var(--line); border-radius: 12px;
  padding: 18px; cursor: pointer; transition: 0.15s; position: relative;
}
.pkg-card:hover { border-color: #3a4a68; }
.pkg-card.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.pkg-card input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.pkg-badge.lite { background: rgba(77,141,255,0.18); color: var(--blue2); }
.pkg-badge.pro { background: rgba(155,89,255,0.18); color: #b88aff; }
.pkg-card h3 { font-size: 15px; margin-bottom: 6px; }
.pkg-meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.pkg-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.pkg-price { font-size: 28px; font-weight: 800; }
.pkg-price span { font-size: 14px; color: var(--muted); font-weight: 500; }

.pay-methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-method {
  background: var(--card); border: 2px solid var(--line); border-radius: 10px;
  padding: 16px; cursor: pointer; text-align: center; transition: 0.15s;
}
.pay-method:hover { border-color: #3a4a68; }
.pay-method.selected { border-color: var(--blue); }
.pay-method .ico { font-size: 28px; margin-bottom: 6px; }
.pay-method b { display: block; font-size: 14px; }
.pay-method span { font-size: 12px; color: var(--muted); }

.pay-summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 80px;
}
.pay-summary h3 { font-size: 16px; margin-bottom: 16px; }
.pay-summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.pay-summary .row .lbl { color: var(--muted); }
.pay-summary .total { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; font-size: 22px; font-weight: 800; display: flex; justify-content: space-between; }
.pay-summary .empty { color: var(--muted); font-size: 14px; text-align: center; padding: 30px 0; }
.pay-summary .btn { width: 100%; margin-top: 16px; }
.pay-summary .hint { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }

/* pricing cards on index — 5 plan grid */
.pricing-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 42px; }
.plan-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; display: flex; flex-direction: column; transition: 0.15s;
}
.plan-card:hover { border-color: #34405c; transform: translateY(-3px); }
.plan-card.popular { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.plan-card .badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; width: fit-content; }
.plan-card .badge.lite { background: rgba(77,141,255,0.18); color: var(--blue2); }
.plan-card .badge.pro { background: rgba(155,89,255,0.18); color: #b88aff; }
.plan-card h3 { font-size: 15px; margin-bottom: 6px; }
.plan-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.plan-card .desc { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; flex: 1; }
.plan-card .price { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.plan-card .price span { font-size: 13px; color: var(--muted); font-weight: 500; }

@media (max-width: 1100px) {
  .pricing-5 { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .steps, .pricing, .grid-2, .limit-grid, .pricing-5, .blog-grid, .pkg-grid { grid-template-columns: 1fr; }
  .pay-layout { grid-template-columns: 1fr; }
  .pay-summary { position: static; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg2); padding: 14px 22px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { gap: 26px; }
}
