:root {
  --brand: #1a8cff;
  --brand-dark: #0b64c8;
  --brand-soft: #eaf4ff;
  --cyan: #22d3ee;
  --ink: #0e1726;
  --body: #4a5a70;
  --line: #e3eaf3;
  --bg: #ffffff;
  --bg-soft: #f5f9ff;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(16, 63, 122, 0.1);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: 44px; letter-spacing: -0.5px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }

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

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 20px; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; flex-wrap: wrap; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a.active { color: var(--brand); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-switch { font-size: 14px; color: var(--body); }
.lang-switch a { color: var(--body); }
.lang-switch a.active { color: var(--brand); font-weight: 600; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; box-shadow: 0 10px 24px rgba(26, 140, 255, .3); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-lg { padding: 16px 34px; font-size: 17px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--brand-soft), #fff); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--brand); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.lead { font-size: 18px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { font-size: 13px; color: #8496ac; margin-top: 14px; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow); }

/* sections */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 17px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: 34px; color: var(--brand); }
.stat span { font-size: 14px; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 70px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.step h3 { margin-bottom: 6px; font-size: 17px; }
.step p { margin: 0; font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.price { font-size: 40px; color: var(--ink); font-weight: 700; line-height: 1.1; margin: 10px 0 4px; }
.price small { font-size: 15px; color: var(--body); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.plan li { padding-left: 26px; position: relative; font-size: 15px; margin-bottom: 10px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.plan .btn { margin-top: auto; text-align: center; }

/* tables & faq */
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.table th { background: var(--bg-soft); color: var(--ink); }
.table tr:last-child td { border-bottom: none; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { margin: 12px 0 0; font-size: 15px; }

.cta { background: linear-gradient(135deg, #0b64c8, #22d3ee); color: #fff; text-align: center; }
.cta h2, .cta p { color: #fff; }
.cta .btn-ghost { background: #fff; border-color: #fff; color: var(--brand-dark); }

/* footer */
.site-footer { background: #0e1726; color: #a9b6c8; padding: 56px 0 28px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { color: #a9b6c8; font-size: 14px; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.breadcrumb { font-size: 14px; padding: 18px 0 0; }
.page-head { background: var(--brand-soft); padding: 56px 0; text-align: center; }
.page-head p { max-width: 680px; margin: 0 auto; font-size: 17px; }

@media (max-width: 960px) {
  h1 { font-size: 34px; } h2 { font-size: 26px; }
  .hero-grid, .grid-3, .grid-4, .grid-2, .plans, .stats, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav { height: auto; flex-wrap: wrap; padding: 14px 0; gap: 12px; }
  .nav-links { order: 3; width: 100%; gap: 16px; }
  .nav-right { margin-left: auto; }
}
