:root {
  --bg: #060913;
  --bg-elev: #0d1324;
  --card: rgba(15, 23, 42, 0.78);
  --card-hover: rgba(20, 31, 56, 0.92);
  --border: rgba(148, 163, 184, 0.16);
  --border-glow: rgba(16, 185, 129, 0.48);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #10b981;
  --accent-2: #06b6d4;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --warn: #f59e0b;
  --radius: 16px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.6; }
body {
  margin: 0;
  background:
    radial-gradient(900px 440px at 18% -6%, rgba(16, 185, 129, 0.16), transparent 65%),
    radial-gradient(850px 420px at 85% 4%, rgba(6, 182, 212, 0.15), transparent 65%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: #34d399; text-decoration: none; transition: color 0.18s ease, opacity 0.18s ease; }
a:hover { color: #6ee7b7; }

.container { width: min(var(--maxw), 92vw); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 9, 19, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap; padding: 8px 0;
}
.brand-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-grid; place-items: center; color: #031510; font-weight: 900; font-size: 15px;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: #cbd5e1; font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-pill {
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border);
  color: #cbd5e1; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,0.03);
}
.lang-pill:hover { border-color: var(--accent); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; font-weight: 700; font-size: 14.5px;
  cursor: pointer; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #059669);
  color: #021610; box-shadow: 0 8px 28px rgba(16, 185, 129, 0.32);
}
.btn-primary:hover { color: #021610; box-shadow: 0 10px 34px rgba(16, 185, 129, 0.46); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.05); color: var(--text);
  border-color: rgba(148, 163, 184, 0.28);
}
.btn-secondary:hover { color: #fff; border-color: var(--accent-2); background: rgba(6, 182, 212, 0.1); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }

/* Hero */
.hero { padding: 72px 0 54px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: var(--accent-soft); border: 1px solid rgba(16, 185, 129, 0.35); color: #6ee7b7;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 58px); line-height: 1.1; letter-spacing: -0.035em;
  margin: 0 auto 20px; max-width: 920px; font-weight: 850;
}
.gradient-text {
  background: linear-gradient(95deg, #34d399 0%, #38bdf8 55%, #a7f3d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19.5px); color: var(--muted);
  max-width: 760px; margin: 0 auto 30px;
}
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-meta { font-size: 12.5px; color: #64748b; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* Trust Strip */
.trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin: 38px 0 24px;
}
.trust-item {
  background: rgba(15, 23, 42, 0.55); border: 1px solid var(--border);
  border-radius: 13px; padding: 15px 18px; text-align: left;
}
.trust-item strong { display: block; font-size: 14px; color: #e2e8f0; margin-bottom: 3px; }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* Interactive Workbench Mockup */
.workbench {
  margin: 34px auto 0; max-width: 1060px; text-align: left;
  background: #0b1120; border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(16, 185, 129, 0.12);
}
.wb-top {
  background: #0f172a; padding: 11px 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.wb-dots { display: flex; gap: 7px; align-items: center; }
.wb-dots i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.wb-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.wb-tab {
  padding: 6px 13px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,0.04); color: #94a3b8; border: 1px solid transparent; cursor: pointer;
}
.wb-tab.active { background: var(--accent-soft); color: #34d399; border-color: rgba(16, 185, 129, 0.4); }
.wb-body { padding: 22px; }
.wb-panel { display: none; }
.wb-panel.active { display: block; }
.fission-bar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: #070b16; border: 1px solid var(--border); padding: 12px; border-radius: 11px; margin-bottom: 14px;
}
.fission-bar select, .fission-bar input {
  background: #0f172a; color: #fff; border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 8px 12px; border-radius: 8px; font-size: 13px;
}
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(16, 185, 129, 0.13); border: 1px solid rgba(16, 185, 129, 0.35); color: #6ee7b7;
}
.demo-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.demo-table th, .demo-table td { padding: 10px 12px; border-bottom: 1px solid rgba(148,163,184,0.12); text-align: left; }
.demo-table th { color: #94a3b8; font-weight: 600; font-size: 12px; text-transform: uppercase; }

/* Sections & Bento Grid */
.section { padding: 68px 0; }
.section-head { max-width: 740px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; letter-spacing: -0.025em; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }

.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; transition: border-color 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: var(--border-glow); background: var(--card-hover); }
.card-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 6px; background: rgba(6, 182, 212, 0.14); color: #38bdf8; margin-bottom: 12px;
}
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; font-size: 13.8px; color: #cbd5e1; }
.check-list li::before { content: "✓ "; color: var(--accent); font-weight: 900; margin-right: 4px; }

/* Comparison Table */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: rgba(13, 19, 36, 0.8); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
th { background: rgba(255,255,255,0.03); color: #e2e8f0; font-weight: 700; }
tr:last-child td { border-bottom: none; }

/* Pricing */
.billing-toggle-bar { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.seg-group {
  display: inline-flex; background: #0d1324; border: 1px solid var(--border);
  padding: 4px; border-radius: 11px; gap: 4px;
}
.seg-btn {
  padding: 7px 15px; border-radius: 8px; border: none; background: transparent;
  color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer;
}
.seg-btn.active { background: var(--accent); color: #031811; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 42px rgba(16, 185, 129, 0.16); }
.price-num { font-size: 42px; font-weight: 850; letter-spacing: -0.03em; margin: 10px 0 4px; color: #fff; }
.price-num small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-note { font-size: 12.5px; color: #34d399; margin-bottom: 16px; }

/* Activation & Checkout Form */
.checkout-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; color: #cbd5e1; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  background: #070b16; border: 1px solid rgba(148, 163, 184, 0.3);
  color: #fff; font-size: 14.5px; outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); }
.mid-status { font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.mid-status.ok { color: #34d399; }
.mid-status.err { color: #fbbf24; }
.qr-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0;
  text-align: center;
}
.qr-card { background: #fff; color: #0f172a; padding: 14px; border-radius: 12px; }
.qr-card img { width: 100%; max-width: 165px; height: auto; display: block; margin: 0 auto 6px; }
.qr-card strong { font-size: 13px; display: block; }

/* Prose / Docs */
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.18; margin-bottom: 14px; }
.prose h2 { font-size: 23px; margin: 34px 0 12px; color: #e2e8f0; }
.prose p, .prose li { color: #cbd5e1; font-size: 16px; }
.quick-answer {
  background: rgba(16, 185, 129, 0.09); border-left: 4px solid var(--accent);
  padding: 18px 20px; border-radius: 0 12px 12px 0; margin: 22px 0 30px;
}
.quick-answer strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #34d399; margin-bottom: 6px; }

/* FAQ & Category Tabs */
.faq-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.faq-tab-btn {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); color: #cbd5e1; font-size: 13px; font-weight: 700; cursor: pointer;
}
.faq-tab-btn.active, .faq-tab-btn:hover { background: var(--accent-soft); border-color: var(--accent); color: #34d399; }
details.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 12px;
}
details.faq-item summary { cursor: pointer; font-weight: 700; font-size: 15.5px; color: #f1f5f9; }
details.faq-item p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* 4-Step Daily Workflow & Changelog Timeline */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.step-card {
  background: rgba(15, 23, 42, 0.72); border: 1px solid var(--border);
  border-radius: 15px; padding: 22px; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800;
  color: #34d399; background: rgba(16, 185, 129, 0.14); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.qr-box-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 14px 0; text-align: center; }
.timeline { display: flex; flex-direction: column; gap: 20px; max-width: 860px; margin: 0 auto; }
.tl-item {
  background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 48px 0 36px; margin-top: 64px;
  background: rgba(5, 8, 17, 0.9); color: var(--muted); font-size: 13.5px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 30px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { color: #fff; margin: 0 0 12px; font-size: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: #fff; }
