:root {
  --bg: #f5f6fa;
  --bg-soft: #eef2f7;
  --panel: #ffffff;
  --text: #111827;
  --muted: #475569;
  --line: #e7eaf0;
  --line-strong: #dbe2ec;
  --primary: #178cf6;
  --navy: #07142f;
  --max: 1140px;
  --radius-card: 22px;
  --shadow-card: 0 10px 26px rgba(18, 38, 63, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafd 0%, #f4f7fb 100%);
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(900px, calc(100% - 48px)); }
.section { padding: 112px 0; }
.section-alt { background: var(--bg-soft); }
.section-title {
  margin: 0 0 12px;
  text-align: center;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.2;
}
.section-subtitle {
  margin: 0 auto 44px;
  text-align: center;
  color: #526071;
  font-size: clamp(16px, 1.35vw, 20px);
  max-width: 860px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(12px);
  background: rgba(250, 252, 255, 0.86);
  border-bottom: 1px solid rgba(120, 137, 165, 0.16);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand-en {
  font-family: "SF Pro Display", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.01em;
}
.nav-links { display: flex; gap: 34px; font-size: 15px; color: #334155; }
.nav-links a { font-weight: 520; transition: color .18s ease; }
.nav-links a:hover { color: var(--primary); }
.menu-toggle { display: none; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; padding: 8px 13px; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 126px;
  padding-bottom: 106px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}
.hero::before {
  width: 460px; height: 460px;
  left: -120px; top: 30px;
  background: radial-gradient(circle, rgba(201, 220, 252, 0.45), rgba(201, 220, 252, 0.02));
}
.hero::after {
  width: 380px; height: 380px;
  right: -90px; top: 120px;
  background: radial-gradient(circle, rgba(247, 206, 220, 0.38), rgba(247, 206, 220, 0.02));
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 72px;
  align-items: center;
}
.hero-mark {
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  border-radius: 28px;
  box-shadow: 0 18px 34px rgba(53, 79, 121, 0.16);
}
.hero-content h1 {
  margin: 0 0 14px;
  font-size: clamp(48px, 5.2vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-content h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.hero-content .hero-lead {
  margin: 0 0 10px;
  font-size: 24px;
  color: #334155;
  font-weight: 520;
}
.hero-content .hero-desc {
  margin: 0;
  max-width: 620px;
  font-size: 19px;
  color: #4a5c72;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 620;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(125deg, #14c6dc 0%, #257ef6 84%);
  color: #fff;
  box-shadow: 0 10px 25px rgba(39, 126, 246, 0.34);
}
.btn-secondary {
  background: #f8fafc;
  border-color: #d8e0ea;
  color: #1e293b;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.hero-device { display: flex; justify-content: center; }
.device-frame {
  width: min(420px, 100%);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.device-frame img {
  width: 100%;
  display: block;
  border-radius: 26px;
  background: transparent;
  filter: drop-shadow(0 26px 52px rgba(8, 15, 34, 0.22));
}

.text-block p { color: #3f5066; margin: 0 0 20px; font-size: 17px; }
.card-grid { display: grid; gap: 22px; }
.two-by-two, .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.support-card,
.scenario-strip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.card {
  padding: 28px;
  min-height: 242px;
}
.card h3 { margin: 10px 0 10px; font-size: 29px; letter-spacing: -0.02em; line-height: 1.22; }
.card p { margin: 0; color: #526073; font-size: 16px; }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(65, 90, 130, 0.16);
}

.scenario-strip { margin-top: 30px; padding: 30px; }
.scenario-strip h3 { text-align: center; margin: 0 0 20px; font-size: 36px; letter-spacing: -0.02em; }
.scenario-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scenario-grid article {
  background: #f8fbff;
  border: 1px solid #e4eaf2;
  border-radius: 16px;
  padding: 16px;
}
.scenario-grid h4 { margin: 0 0 8px; font-size: 18px; }
.scenario-grid p { margin: 0; color: #58687d; font-size: 14px; }

.support-card { padding: 32px; }
.support-card h3 { margin: 0 0 10px; font-size: 23px; }
.support-card p { margin: 0 0 16px; color: #44546a; }
.support-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.mail-link { color: #0f766e; font-weight: 700; }
.legal-card { min-height: 266px; }
.text-link { display: inline-block; margin-top: 16px; font-weight: 700; color: #1d4ed8; }
.legal-note { margin: 24px 0 0; text-align: center; color: #5a6880; }
.operation-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.operation-row:last-child { border-bottom: 0; }
.operation-row span { color: #43556d; }

.site-footer {
  background: linear-gradient(160deg, #081836 0%, #09152f 100%);
  color: #dbeafe;
  padding: 74px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h3,
.site-footer h4 { margin: 0 0 10px; color: #fff; }
.site-footer h3 { font-size: 24px; }
.site-footer p,
.site-footer a { margin: 0 0 9px; color: #bfdbfe; display: block; font-size: 14px; line-height: 1.75; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(191, 219, 254, 0.21);
}
.footer-bottom p { margin: 6px 0; color: #a9b7e4; font-size: 13px; }

.doc-main { min-height: calc(100vh - 220px); }
.doc-card {
  margin: 40px auto 76px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.doc-card h1 { margin-top: 0; }
.doc-meta { color: #5b6a80; }

@media (max-width: 1050px) {
  .hero-grid { gap: 44px; }
  .hero-content .hero-lead { font-size: 21px; }
  .card h3 { font-size: 25px; }
}

@media (max-width: 980px) {
  .hero-grid,
  .three-col,
  .two-by-two,
  .two-col,
  .scenario-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
  .hero-device { order: -1; }
  .card { min-height: 0; }
  .device-frame { width: min(380px, 92%); }
}

@media (max-width: 760px) {
  .container,
  .narrow { width: calc(100% - 30px); }
  .section { padding: 76px 0; }
  .section-title { font-size: 34px; }
  .section-subtitle { margin-bottom: 30px; font-size: 16px; }
  .nav-wrap { min-height: 66px; position: relative; }
  .brand { font-size: 18px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    right: 0;
    top: 62px;
    width: 224px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.2s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hero-mark { width: 74px; height: 74px; margin-bottom: 18px; }
  .hero-content h1 { font-size: 46px; }
  .hero-content h2 { font-size: 28px; }
  .hero-content .hero-lead { font-size: 20px; }
  .hero-content .hero-desc { font-size: 16px; }
  .card h3 { font-size: 24px; }
  .scenario-strip h3 { font-size: 30px; }
  .operation-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}
