:root {
  --bg: #0b1220;
  --bg-alt: #0f172a;
  --surface: #111c33;
  --surface-2: #16233f;
  --border: #1f2f4d;
  --text: #e8eefb;
  --muted: #9fb0cc;
  --brand: #4f8cff;
  --brand-2: #34d3a6;
  --accent: #ffd166;
  --radius: 14px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06121f; font-weight: 900; font-size: 14px;
}
.brand-name { font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), #3f7bff);
  color: #fff; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(79, 140, 255, 0.28);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(79, 140, 255, 0.4); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); box-shadow: none; }
.btn-ghost:hover { border-color: var(--brand); box-shadow: none; }

/* Hero */
.hero { padding: 64px 0 56px; background:
  radial-gradient(900px 420px at 12% -10%, rgba(79,140,255,.18), transparent 60%),
  radial-gradient(800px 420px at 100% 0%, rgba(52,211,166,.14), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-block; color: var(--brand-2); font-weight: 700; font-size: 14px; margin: 0 0 8px;
  background: rgba(52,211,166,.1); padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 46px); margin: 0 0 16px; }
.lede { color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.lede strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-num { display: block; font-size: 26px; font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; text-align: center; }
.section-sub { color: var(--muted); text-align: center; max-width: 720px; margin: 0 auto 38px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.price-featured { border-color: var(--brand); box-shadow: 0 12px 34px rgba(79,140,255,.18); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06121f; font-weight: 800; font-size: 12px; padding: 5px 14px; border-radius: 999px; }
.price-card h3 { margin: 0 0 8px; font-size: 20px; }
.price { margin: 0 0 16px; }
.price .amt { font-size: 34px; font-weight: 900; }
.price .unit { color: var(--muted); font-size: 14px; margin-left: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); border-bottom: 1px dashed var(--border); }
.price-card li::before { content: "✔"; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* CTA band */
.cta-band { padding: 60px 0; background: linear-gradient(135deg, rgba(79,140,255,.16), rgba(52,211,166,.12)); border-top: 1px solid var(--border); }
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.cta-inner p { color: var(--muted); margin: 0 0 22px; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 30px; }
.footer-grid h3 { font-size: 15px; margin: 0 0 12px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav a { color: var(--muted); }
.footer-note { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; text-align: center; }

/* Content pages */
.page-hero { padding: 56px 0 32px; background: radial-gradient(800px 360px at 20% -10%, rgba(79,140,255,.16), transparent 60%); }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 12px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 760px; margin: 0; }
.breadcrumb { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.breadcrumb a { color: var(--muted); }
.prose { max-width: 820px; margin: 0 auto; padding: 40px 0 64px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h3 { font-size: 20px; margin: 26px 0 8px; }
.prose p, .prose li { color: #c8d4ec; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 16px 16px 16px 60px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin: 12px 0; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06121f; font-weight: 800; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .card-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .card-grid, .price-grid, .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
