:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f5fb;
  --line: rgba(28, 45, 78, 0.12);
  --text: #17233b;
  --muted: #59677f;
  --blue: #397de8;
  --violet: #7659d8;
  --green: #168a68;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 9%, rgba(80, 120, 238, 0.12), transparent 27rem),
    radial-gradient(circle at 9% 35%, rgba(49, 151, 255, 0.07), transparent 25rem),
    var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page-shell { overflow: hidden; }

.site-header,
.hero,
.about-section,
.tools-section,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 19px;
}

.brand-mark,
.footer-brand span { color: var(--blue); }

.nav-links { display: flex; gap: 32px; color: var(--muted); font-size: 14px; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
  align-items: center;
  gap: 56px;
  padding: 76px 0 86px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 23px; height: 1px; background: var(--blue); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h1 em {
  color: transparent;
  background: linear-gradient(105deg, #78b5ff, #b893ff 75%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 33px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-width: 132px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #ffffff; background: #1d4f9a; border-color: #1d4f9a; box-shadow: 0 8px 22px rgba(29, 79, 154, .18); }
.button-secondary:hover { border-color: rgba(122, 180, 255, .55); background: rgba(106, 167, 255, .08); }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 143, 255, .22), rgba(70, 83, 190, .035) 63%, transparent 70%);
  filter: blur(2px);
}

.orbit { position: absolute; border: 1px solid rgba(72, 103, 176, .22); border-radius: 50%; }
.orbit-one { width: 72%; height: 72%; }
.orbit-two { width: 92%; height: 44%; transform: rotate(-28deg); }
.star-main { position: relative; color: #3778dc; font-size: clamp(70px, 10vw, 120px); text-shadow: 0 0 52px rgba(101, 155, 255, .36); }
.star-small { position: absolute; color: var(--violet); }
.star-a { top: 19%; right: 17%; font-size: 17px; }
.star-b { bottom: 25%; left: 12%; color: var(--blue); font-size: 12px; }

.visual-label {
  position: absolute;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #7b879c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}

.visual-label i { width: 3px; height: 3px; border-radius: 50%; background: #9aa5b8; }

.about-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

h2 { margin-bottom: 0; font-size: clamp(31px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.2; }
.about-copy { color: var(--muted); font-size: 16px; line-height: 1.9; }
.about-copy p:last-child { margin-bottom: 0; }

.tools-section { padding: 92px 0 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 40px; }
.section-heading > p { margin-bottom: 5px; color: #6e7a90; font-size: 13px; }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.tool-card {
  min-height: 390px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(42, 65, 102, .09);
  transition: transform .25s ease, border-color .25s ease;
}

.tool-card:hover { transform: translateY(-4px); border-color: rgba(57, 125, 232, .36); box-shadow: 0 22px 55px rgba(42, 65, 102, .13); }
.tool-card-top { display: flex; justify-content: space-between; align-items: center; }
.tool-number { color: #8996aa; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.tool-status { padding: 5px 9px; color: var(--green); background: rgba(22, 138, 104, .07); border: 1px solid rgba(22, 138, 104, .18); border-radius: 999px; font-size: 10px; font-weight: 700; }

.tool-icon {
  width: 50px;
  height: 50px;
  margin: 35px 0 24px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.tool-icon-blue { color: #397de8; background: rgba(57, 125, 232, .09); }
.tool-icon-green { color: #168a68; background: rgba(22, 138, 104, .08); }
.tool-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool-card h3 { margin-bottom: 15px; font-size: 22px; line-height: 1.45; letter-spacing: -0.02em; }
.tool-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.tool-link { margin-top: auto; padding-top: 24px; color: #244d8b; font-size: 14px; font-weight: 750; }
.tool-link span { margin-left: 6px; color: var(--blue); }

.tool-notice {
  margin-top: 20px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #68758b;
  background: #f5f8fc;
  border: 1px solid rgba(28, 45, 78, .09);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
}

.tool-notice span { flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center; color: var(--blue); border: 1px solid rgba(106, 167, 255, .45); border-radius: 50%; font-family: Georgia, serif; font-size: 11px; }
.tool-notice p { margin: 0; }

.site-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #778198;
  font-size: 12px;
}

.footer-brand { color: #24334f; font-weight: 750; font-size: 15px; }
.site-footer p { margin: 0; }
.copyright { text-align: right; }

@media (max-width: 820px) {
  .site-header, .hero, .about-section, .tools-section, .site-footer { width: min(calc(100% - 36px), var(--max)); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 16px; padding: 70px 0; }
  .hero-visual { width: min(88vw, 470px); margin: 0 auto; }
  .about-section { grid-template-columns: 1fr; gap: 35px; padding: 72px 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 40px 0; }
  .copyright { text-align: center; }
}

@media (max-width: 520px) {
  .site-header { height: 72px; }
  .nav-links { gap: 18px; }
  .hero { padding-top: 56px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 15px; }
  .hero-visual { margin-top: -10px; }
  .section-heading { align-items: start; flex-direction: column; }
  .tool-card { min-height: 375px; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
