:root {
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-soft: #eef2ff;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --blue: #0284c7;
  --green: #059669;
  --orange: #d97706;
  --rose: #e11d48;
  --violet: #7c3aed;
  --teal: #0d9488;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

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

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.24);
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.3);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.btn-white {
  color: var(--brand);
  background: #fff;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .btn {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #0f172a url("../images/hero-bg.png") center 25% / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.58) 48%, rgba(15, 23, 42, 0.9) 100%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 90px 0 110px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #e0e7ff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  color: #a5b4fc;
}

.hero p {
  max-width: 660px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 19px);
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: #a5b4fc;
}

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

.feature-card {
  position: relative;
  min-height: 210px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 11px;
  color: #fff;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-card .badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  font-size: 11px;
  font-weight: 700;
}

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

.module-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.module-card .feature-icon {
  margin-bottom: 16px;
}

.module-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.module-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.module-card ul {
  display: grid;
  gap: 7px;
}

.module-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 13px;
}

.module-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 700;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 64px;
  align-items: center;
}

.showcase-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}

.showcase-copy > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.check-list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--green);
}

.check-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.check-list span {
  color: var(--muted);
  font-size: 13px;
}

.phone {
  position: relative;
  width: 320px;
  margin: 0 auto;
}

.phone::before {
  position: absolute;
  inset: -18px -14px;
  z-index: 0;
  border-radius: 38px;
  background: rgba(79, 70, 229, 0.12);
  content: "";
  transform: rotate(3deg);
}

.phone-frame {
  position: relative;
  z-index: 1;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 34px;
  background: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.phone-screen {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.phone-screen img {
  width: 100%;
  height: auto;
}

.phone-caption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cta-band {
  position: relative;
  padding: 76px 0;
  color: #fff;
  background: #1e1b4b url("../images/hero-bg.png") center 30% / cover no-repeat;
  overflow: hidden;
}

.cta-band::before {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.84);
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.25;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  padding: 60px 0 28px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.footer .brand {
  margin-bottom: 12px;
  color: #fff;
}

.footer .brand-mark {
  background: #6366f1;
}

.footer .brand-logo {
  padding: 3px;
  background: #fff;
}

.footer p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

.footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}

.footer li {
  margin-bottom: 9px;
}

.footer a {
  color: #94a3b8;
  font-size: 13px;
}

.footer a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.footer-contact svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  color: #818cf8;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
}

.footer-bottom p {
  margin: 4px 0;
  color: #64748b;
  font-size: 12px;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom .icp {
  color: #818cf8;
}

.page-hero {
  position: relative;
  padding: 88px 0 64px;
  color: #fff;
  background: #1e293b url("../images/hero-bg.png") center 32% / cover no-repeat;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.76);
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

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

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.info-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.info-table {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 20px;
}

.info-table dt {
  color: var(--muted);
  font-size: 14px;
}

.info-table dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.process-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  font-size: 13px;
}

.process-list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.process-list span {
  color: var(--muted);
  font-size: 13px;
}

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

.contact-card {
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.contact-card .feature-icon {
  margin: 0 auto 16px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.contact-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.contact-card a {
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
}

.legal {
  padding: 60px 0 80px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  margin: 34px 0 12px;
  font-size: 21px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--ink-2);
  font-size: 14px;
}

.legal-card ol {
  padding-left: 20px;
  list-style: decimal;
}

.legal-card li {
  margin-bottom: 10px;
}

.legal-meta {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

.back-link svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1024px) {
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phone {
    order: -1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav.open {
    display: block;
    position: fixed;
    inset: 68px 0 auto;
    z-index: 49;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  }

  .mobile-nav a {
    display: block;
    padding: 12px 10px;
    border-radius: 8px;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 500;
  }

  .mobile-nav a:hover {
    color: var(--brand);
    background: var(--brand-soft);
  }

  .mobile-nav .btn {
    width: 100%;
    margin-top: 12px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-inner {
    padding: 70px 0 90px;
  }

  .feature-grid,
  .module-grid,
  .steps,
  .app-about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-card {
    padding: 26px 20px;
  }

  .info-table {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero-inner {
    width: min(100% - 28px, 860px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .phone {
    width: 280px;
  }
}
