/* ============ Design tokens ============ */
:root {
  --blue: #2f7bff;
  --blue-dark: #1f5fe0;
  --blue-soft: #eaf1ff;
  --orange: #ffa614;
  --orange-soft: #fff3e0;
  --green: #22c08a;

  --ink: #0e1726;
  --text: #2b3445;
  --muted: #6b7585;
  --line: #e7eaf0;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(18, 38, 80, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 38, 80, 0.14);
  --container: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

/* ============ Reset ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }

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

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47, 123, 255, 0.3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { color: var(--blue); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; }
.brand-name { font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; color: var(--text); font-weight: 500; transition: color 0.15s; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 7px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, var(--blue-soft), transparent 60%),
    radial-gradient(700px 400px at -5% 20%, var(--orange-soft), transparent 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 84px 24px 90px;
}
.hero-copy h1 { font-size: 52px; font-weight: 800; margin-bottom: 20px; }
.hero-copy .accent {
  background: linear-gradient(90deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 18px; color: var(--muted); max-width: 56ch; }
.hero-cta { display: flex; gap: 14px; margin: 30px 0 36px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 36px; list-style: none; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 28px; color: var(--ink); font-weight: 800; }
.hero-trust span { font-size: 14px; color: var(--muted); }

/* Hero visual mockups */
.hero-visual { position: relative; min-height: 380px; }
.mock-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}
.mock-board { top: 0; left: 0; width: 86%; }
.mock-head { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-head .dot:nth-child(1) { background: #ff5f57; }
.mock-head .dot:nth-child(2) { background: #febc2e; }
.mock-head .dot:nth-child(3) { background: #28c840; }
.mock-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.mock-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col-label { font-size: 11px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 8px; }
.task { height: 26px; border-radius: 7px; background: var(--bg-alt); margin-bottom: 8px; }
.task.t-blue { background: var(--blue); }
.task.t-orange { background: var(--orange); }
.task.t-green { background: var(--green); }

.mock-score {
  bottom: 0; right: 0; width: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: float 5s ease-in-out infinite;
}
.score-ring {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--blue) 0 75%, var(--orange) 75% 92%, var(--bg-alt) 92% 100%);
}
.score-ring span {
  width: 70px; height: 70px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-size: 24px; font-weight: 800; color: var(--ink);
}
.score-bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.score-bars i { width: 12px; height: var(--h); background: var(--blue-soft); border-radius: 4px; }
.score-bars i:nth-child(even) { background: var(--orange); }
.score-bars i:nth-child(4) { background: var(--blue); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ Strip ============ */
.strip { padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.strip p { text-align: center; color: var(--muted); font-size: 15px; font-weight: 500; }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--muted); }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
}
.ic-blue { background: var(--blue-soft); }
.ic-orange { background: var(--orange-soft); }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }
.why h3 { font-size: 20px; margin-bottom: 10px; }
.why p { color: var(--muted); }

/* ============ Split (performance) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-copy h2 { font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.split-copy .lead { margin-bottom: 24px; }
.checklist { list-style: none; margin-bottom: 28px; }
.checklist li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
  color: var(--text); font-size: 16px;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}

.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px;
}
.panel-row {
  display: grid; grid-template-columns: 1fr 70px 56px;
  align-items: center; padding: 16px 18px;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.panel-head { color: var(--muted); font-weight: 700; font-size: 13px; }
.panel-row span:nth-child(2), .panel-row span:nth-child(3) { text-align: right; }
.badge {
  justify-self: end;
  min-width: 40px; text-align: center;
  padding: 3px 8px; border-radius: 8px; font-weight: 700; font-size: 14px;
}
.b-green { background: #e3f8f0; color: #129a6b; }
.b-blue { background: var(--blue-soft); color: var(--blue-dark); }
.b-orange { background: var(--orange-soft); color: #c97a06; }
.panel-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px; background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 12px; margin: 6px; color: #fff;
}
.panel-total strong { font-size: 26px; }

/* ============ Steps ============ */
.steps .step {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.step-no {
  font-size: 34px; font-weight: 800; color: var(--blue);
  opacity: 0.25; display: block; margin-bottom: 8px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ============ CTA ============ */
.cta {
  background: linear-gradient(120deg, var(--blue), #4f6dff 55%, var(--orange));
  color: #fff;
}
.cta-inner { text-align: center; padding: 80px 24px; }
.cta h2 { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 14px; }
.cta p { font-size: 18px; color: rgba(255, 255, 255, 0.9); }
.cta .hero-cta { justify-content: center; margin: 30px 0 18px; }
.cta-mail { font-size: 15px; }
.cta-mail a { text-decoration: underline; font-weight: 600; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: #aeb8c8; padding: 56px 0 28px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand img { border-radius: 8px; }
.footer-brand p { margin-top: 12px; font-size: 14px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 15px; transition: color 0.15s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; font-size: 14px; color: #7b8699;
}

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 42px; }
}
@media (max-width: 720px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px; gap: 4px;
  }
  .site-header.open .nav a { padding: 10px 0; }
  .site-header.open .header-actions {
    display: flex; position: absolute; top: calc(68px + 200px); left: 0; right: 0;
    padding: 0 24px 16px; background: #fff;
  }
  .hero-copy h1 { font-size: 34px; }
  .section-head h2, .cta h2, .split-copy h2 { font-size: 27px; }
  .section { padding: 60px 0; }
  .hero-trust { gap: 24px; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
}
