:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-soft: #eff6ff;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-deep: #0f172a;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .35);
}
.brand small { font-weight: 500; color: var(--muted); font-size: 12px; display: block; margin-top: -4px; }
.brand .logo-mark { width: 40px; height: 40px; border-radius: 11px; flex: 0 0 40px; display: block; box-shadow: 0 6px 16px rgba(37,99,235,.28); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--text); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,.42); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.32); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { background: var(--primary-soft); color: var(--primary-dark); }
.btn-ghost:hover { background: #dbeafe; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 150px 0 90px; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #dbeafe 0%, transparent 60%),
              radial-gradient(900px 500px at 0% 20%, #ffedd5 0%, transparent 55%),
              var(--bg-soft);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); font-size: 13px; color: var(--muted);
  box-shadow: var(--shadow); margin-bottom: 26px;
}
.badge b { color: var(--primary); }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.12; font-weight: 850; letter-spacing: -0.5px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 2vw, 20px); color: var(--muted); margin: 22px 0 34px; max-width: 660px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 50px; }
.hero-meta .item { display: flex; flex-direction: column; }
.hero-meta .num { font-size: 28px; font-weight: 800; color: var(--primary-dark); }
.hero-meta .lbl { font-size: 13px; color: var(--muted); }

/* ===== Sections ===== */
section { padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin: 10px 0 14px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); font-size: 16px; }

.bg-soft { background: var(--bg-soft); }

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

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c7d6f5; }
.card .idx {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual {
  border-radius: 20px; min-height: 320px; padding: 34px; color: #fff;
  background: linear-gradient(150deg, var(--primary-dark), #3b82f6 60%, var(--accent));
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.split .visual h4 { font-size: 20px; margin-bottom: 16px; }
.split .visual ul { list-style: none; display: grid; gap: 12px; }
.split .visual li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.split .visual li::before { content: "✓"; font-weight: 800; color: #fff; background: rgba(255,255,255,.2); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 22px; }
.split .copy h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; font-weight: 800; }
.split .copy p { color: var(--muted); margin-bottom: 16px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 18px; box-shadow: var(--shadow); }
.stat .n { font-size: 34px; font-weight: 850; background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
.contact-info { background: var(--bg-deep); color: #e2e8f0; border-radius: var(--radius); padding: 40px; }
.contact-info h3 { color: #fff; font-size: 24px; margin-bottom: 22px; }
.contact-info .row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.contact-info .row:first-of-type { border-top: none; }
.contact-info .row .k { color: #94a3b8; flex: 0 0 70px; }
.contact-info .row .v { color: #f1f5f9; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--bg-soft); transition: border .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.note { font-size: 13px; color: var(--accent-dark); margin-top: 4px; }

/* footer */
.footer { background: var(--bg-deep); color: #94a3b8; padding: 46px 0 30px; }
.footer .top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer .brand { color: #fff; }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .links a { color: #cbd5e1; font-size: 14px; }
.footer .links a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 20px; font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 24px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 12px; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .hero { padding: 120px 0 64px; }
}
