:root {
  --ink: #0e1117;
  --ink2: #3a4155;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --border: #e2e6ef;
  --radius: 12px;
  --mono: 'DM Mono', monospace;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 6vw; display: flex; align-items: center; justify-content: space-between; height: 62px;
}
.nav-logo { font-family: var(--mono); font-weight: 500; font-size: 1rem; letter-spacing: 0.1em; color: var(--ink); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--ink2); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding: 8px 18px; border-radius: 8px; }
.nav-cta:hover { background: var(--accent2) !important; }
.hero {
  max-width: 1200px; margin: 0 auto; padding: 96px 6vw 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eff6ff; color: var(--accent); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; padding: 5px 13px;
  border-radius: 20px; border: 1px solid #bfdbfe; margin-bottom: 22px;
}
.hero-badge::before { content: '\25CF'; font-size: 0.5em; color: #34d399; }
h1 { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.5rem); line-height: 1.13; margin-bottom: 18px; }
h1 em { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 460px; margin-bottom: 34px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-size: 0.95rem; font-weight: 600;
  padding: 13px 26px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3); transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); color: var(--ink); font-size: 0.95rem; font-weight: 500;
  padding: 13px 26px; border-radius: 10px; text-decoration: none;
  border: 1.5px solid var(--border); transition: border-color .2s, transform .15s;
}
.btn-secondary:hover { border-color: var(--accent); transform: translateY(-1px); }
.hero-visual { background: #0e1117; border-radius: 16px; overflow: hidden; box-shadow: 0 28px 70px rgba(14,17,23,0.22); }
.win-bar { background: #1a2030; padding: 11px 16px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #2d3447; }
.win-dot { width: 11px; height: 11px; border-radius: 50%; }
.win-dot.r{background:#ff5f57}.win-dot.y{background:#febc2e}.win-dot.g{background:#28c840}
.win-title { font-family: var(--mono); font-size: 0.68rem; color: #4a5568; margin-left: 8px; }
.win-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.win-row { background: #131926; border-radius: 6px; padding: 9px 13px; font-family: var(--mono); font-size: 0.68rem; display: flex; align-items: center; }
.win-row .c1 { color: #94a3b8; width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 0; }
.win-row .ok { color: #34d399; font-weight: 500; flex: 1; }
.win-row .pend { color: #f59e0b; flex: 1; }
.win-row .src { color: #60a5fa; font-size: 0.62rem; margin-left: auto; }
.win-footer { background: #131926; border-radius: 6px; padding: 10px 13px; }
.win-stats { display: flex; gap: 20px; font-family: var(--mono); font-size: 0.65rem; color: #4a5568; margin-bottom: 8px; }
.win-stats .ok{color:#34d399}.win-stats .fa{color:#f87171}
.prog-bar { height: 4px; background: #1e2432; border-radius: 2px; overflow: hidden; }
.prog-fill { height: 100%; width: 78%; background: linear-gradient(90deg,#2563eb,#34d399); border-radius: 2px; animation: prog 2.5s ease-in-out infinite alternate; }
@keyframes prog { from{width:55%} to{width:88%} }
.sources-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface); padding: 14px 6vw;
  display: flex; align-items: center; gap: 10px; overflow-x: auto;
}
.strip-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; margin-right: 8px; }
.src-pill { background: #eff6ff; color: var(--accent2); font-size: 0.72rem; font-weight: 500; padding: 4px 11px; border-radius: 20px; white-space: nowrap; border: 1px solid #dbeafe; }
section { padding: 80px 6vw; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
h2 { font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.5rem); color: var(--ink); margin-bottom: 12px; }
.section-desc { font-size: 1rem; color: var(--muted); max-width: 540px; line-height: 1.75; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 20px; }
.feat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.feat-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.07); transform: translateY(-2px); }
.feat-icon { width: 44px; height: 44px; border-radius: 10px; background: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.feat-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.feat-card p { font-size: 0.855rem; color: var(--muted); line-height: 1.65; }
.hiw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 18px; padding: 22px 0; position: relative; }
.step:not(:last-child)::after { content:''; position: absolute; left: 18px; top: 50px; width: 2px; bottom: 0; background: var(--border); }
.step-num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 0.82rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #eff6ff; }
.step h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 5px; }
.step p { font-size: 0.855rem; color: var(--muted); line-height: 1.65; }
.hiw-visual { background: #0e1117; border-radius: 14px; padding: 24px 26px; box-shadow: 0 16px 48px rgba(14,17,23,0.16); }
.code-line { font-family: var(--mono); font-size: 0.73rem; line-height: 1.95; }
.code-line .kw{color:#c084fc}.code-line .str{color:#34d399}.code-line .cm{color:#3a5068}.code-line .fn{color:#60a5fa}.code-line .num{color:#f59e0b}.code-line .ok{color:#34d399}
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; max-width: 860px; }
.plan-card { border: 1.5px solid var(--border); border-radius: 16px; padding: 30px; background: var(--surface); position: relative; }
.plan-card.featured { border-color: var(--accent); box-shadow: 0 8px 36px rgba(37,99,235,0.13); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-size: 0.78rem; font-weight: 600; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 8px; }
.plan-price { font-family: var(--serif); font-size: 2.6rem; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.plan-price sub { font-family: var(--sans); font-size: 0.9rem; font-weight: 400; color: var(--muted); vertical-align: baseline; }
.plan-period { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.plan-features li { font-size: 0.855rem; color: var(--ink2); display: flex; gap: 10px; }
.plan-features li::before { content: '\2713'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan-btn { display: block; text-align: center; padding: 12px 20px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.plan-btn.primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,0.25); }
.plan-btn.primary:hover { background: var(--accent2); transform: translateY(-1px); }
.plan-btn.outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.plan-btn.outline:hover { background: #eff6ff; }
.faq-list { max-width: 720px; }
details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); }
summary { padding: 18px 4px; font-size: 0.95rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.2rem; color: var(--accent); font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 4px 18px; font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
footer { background: var(--ink); color: #94a3b8; padding: 52px 6vw 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand .logo { font-family: var(--mono); font-size: 0.95rem; letter-spacing: 0.1em; color: #fff; margin-bottom: 10px; }
.footer-brand .logo span { color: #60a5fa; }
.footer-brand p { font-size: 0.82rem; line-height: 1.65; max-width: 280px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 600; color: #e2e8f0; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { font-size: 0.82rem; color: #94a3b8; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e2432; padding-top: 24px; font-size: 0.8rem; }
/* ── DOWNLOAD SECTION ── */
.download-box {
  max-width: 580px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(37,99,235,0.07);
}
.dl-icon { font-size: 3rem; margin-bottom: 1rem; }
.download-box h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); margin-bottom: .5rem; }
.dl-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.8rem; }
.dl-btn { font-size: 1rem; padding: 14px 32px; border-radius: 12px; }
.dl-meta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.dl-meta span {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--mono);
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ── PRICING NOTE ── */
.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--mono);
}
.pricing-note a { color: var(--accent); text-decoration: none; }
.pricing-note a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 5vw 48px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-top { flex-direction: column; }
}
