:root {
  --green: #25d366;
  --green-d: #128c7e;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --bg: #f6f9f8;
  --bg-alt: #ffffff;
  --line: #e6ecea;
  --radius: 18px;
  --shadow: 0 20px 50px -24px rgba(18, 140, 126, .35);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-d)); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-d); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(18,140,126,.5); }
.brand b { color: var(--green-d); }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.nav-links a:hover { color: var(--green-d); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 480px at 80% -10%, rgba(37, 211, 102, .16), transparent 60%),
    radial-gradient(760px 420px at 0% 10%, rgba(18, 140, 126, .12), transparent 55%),
    var(--bg);
  padding: 88px 0 96px;
  text-align: center;
}
.hero-in { max-width: 860px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--green-d); background: rgba(37, 211, 102, .12);
  border: 1px solid rgba(37, 211, 102, .28); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow.light { color: #d1fae5; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.15; letter-spacing: -.01em; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--green), var(--green-d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 22px auto 0; max-width: 700px; font-size: 18px; color: var(--ink-2); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; font-size: 14px; color: var(--muted); font-weight: 600; }
.hero-badges span { background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; }

/* ---------- sections ---------- */
.section { padding: 82px 0; }
.section.alt { background: var(--bg-alt); }
.sec-title { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.25; margin-top: 8px; letter-spacing: -.01em; }
.sec-sub { margin-top: 14px; max-width: 720px; color: var(--muted); font-size: 16px; }
.section > .container > .eyebrow { margin-bottom: 4px; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 22px; margin-top: 40px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.section.alt .card { background: var(--bg); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37,211,102,.4); }
.card .ic { font-size: 30px; }
.card h3 { margin: 14px 0 8px; font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- modes ---------- */
.mode {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  border-top: 4px solid var(--green);
}
.mode .em { font-size: 30px; }
.mode .no { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--green-d); letter-spacing: .08em; }
.mode h3 { margin: 6px 0 8px; font-size: 20px; }
.mode p { color: var(--muted); font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.step { text-align: center; padding: 12px; }
.step .num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-d)); box-shadow: var(--shadow);
}
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- download ---------- */
.download {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(37,211,102,.22), transparent 60%),
    linear-gradient(160deg, #0b3b34, #0f172a);
  color: #fff; text-align: center;
}
.download .sec-title { color: #fff; }
.download .sec-sub { color: #cbeadf; margin-left: auto; margin-right: auto; }
.download .sec-sub b { color: #fff; }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 22px; justify-content: center; margin-top: 40px; }
.dl-card {
  display: block; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 30px 26px; text-align: center;
  transition: transform .18s ease, background .2s ease, border-color .2s ease;
}
.dl-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: rgba(37,211,102,.6); }
.dl-card.primary { background: linear-gradient(135deg, var(--green), var(--green-d)); border-color: transparent; box-shadow: var(--shadow); }
.dl-card .dl-ic { font-size: 30px; }
.dl-card .dl-t { font-size: 19px; font-weight: 800; margin-top: 10px; }
.dl-card .dl-d { color: #d7efe7; font-size: 14px; margin-top: 6px; }
.dl-card.primary .dl-d { color: #eafff5; }
.dl-card .dl-meta { margin-top: 14px; font-size: 13px; font-weight: 700; opacity: .85; }
.dl-note { margin-top: 28px; font-size: 13px; color: #b8d8cf; max-width: 640px; margin-left: auto; margin-right: auto; }
.dl-support { margin-top: 14px; font-size: 15px; color: #eafff8; }
.dl-support a { color: #fff; font-weight: 700; text-decoration: underline; }
.dl-support a:hover { color: #d7fff1; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37,211,102,.4); }
.price-card.featured { border-color: var(--green); box-shadow: var(--shadow); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green), var(--green-d)); color: #fff;
  font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-size: 18px; font-weight: 800; }
.price-tag { margin: 14px 0 2px; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.price-tag small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-cycle { color: var(--muted); font-size: 14px; }
.price-quota { margin: 16px 0 4px; font-size: 15px; font-weight: 700; color: var(--green-d); }
.price-unit { font-size: 12px; color: var(--muted); }
.price-feats { list-style: none; margin: 14px 0 22px; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.price-feats li { font-size: 14px; color: var(--ink-2); padding-left: 24px; position: relative; }
.price-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--green-d); font-weight: 800; }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.price-enterprise {
  margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.price-enterprise .pe-t { font-size: 18px; font-weight: 800; }
.price-enterprise .pe-d { color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 640px; }
.price-note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- faq ---------- */
.faq { margin-top: 36px; max-width: 820px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 20px; margin-bottom: 14px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--green-d); font-weight: 800; }
.faq details[open] summary::after { content: "－"; }
.faq details p { color: var(--muted); padding: 0 0 16px; font-size: 15px; }

/* ---------- cta ---------- */
.cta { text-align: center; padding: 84px 0; background: var(--bg-alt); }
.cta h2 { font-size: clamp(24px, 3.4vw, 34px); }
.cta p { color: var(--muted); margin: 12px 0 28px; font-size: 17px; }

/* ---------- footer ---------- */
footer { background: #0f172a; color: #94a3b8; padding: 46px 0 34px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
footer .brand { color: #fff; }
.foot-links { display: flex; gap: 22px; font-size: 14px; }
.foot-links a:hover { color: var(--green); }
.disclaimer { margin-top: 22px; font-size: 13px; line-height: 1.7; }
.copyright { margin-top: 14px; font-size: 13px; color: #64748b; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) and (min-width: 901px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .g2, .g3, .steps, .dl-grid, .price-grid { grid-template-columns: 1fr; }
  .dl-grid { max-width: 380px; margin-left: auto; margin-right: auto; }
}
