:root {
  --blue: #1a8cff;
  --blue-dark: #0d6fd8;
  --blue-deep: #0a4f9c;
  --cyan: #33c4ff;
  --bg: #f4f8fc;
  --bg-alt: #e8f2fb;
  --text: #1a2b3c;
  --muted: #5a6f82;
  --white: #ffffff;
  --line: #d4e4f2;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(13, 111, 216, 0.12);
  --max: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { 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.75;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--cyan); }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }

.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--text); font-weight: 700; font-size: 1.05rem;
}
.brand img {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.nav a {
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
  padding: 0.25rem 0;
}
.nav a:hover, .nav a.active { color: var(--blue-dark); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px;
  font-weight: 600;
}
.menu-toggle {
  display: none; border: 1px solid var(--line); background: var(--white);
  border-radius: 8px; padding: 0.4rem 0.65rem; cursor: pointer; color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(51,196,255,0.25), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(26,140,255,0.18), transparent),
    linear-gradient(160deg, #0a4f9c 0%, #1a8cff 45%, #33c4ff 100%);
  color: #fff;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.25; margin-bottom: 1rem; font-weight: 800;
}
.hero-lead { font-size: 1.05rem; opacity: 0.95; margin-bottom: 1.5rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.35rem; border-radius: 999px; font-weight: 700;
  border: none; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #fff; color: var(--blue-deep);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-ghost {
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.hero-visual {
  display: flex; justify-content: center; gap: 0.75rem;
}
.phone-frame {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 22px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
  max-width: 220px;
}
.phone-frame img { border-radius: 16px; width: 100%; }

/* Sections */
.section { padding: 3.25rem 0; }
.section-alt { background: var(--white); }
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.65rem; color: var(--blue-deep); font-weight: 800;
}
.section-desc { color: var(--muted); margin-bottom: 1.75rem; max-width: 48em; }
.prose p { margin-bottom: 1rem; }
.prose h2 {
  font-size: 1.35rem; color: var(--blue-deep);
  margin: 2rem 0 0.85rem; padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.prose h3 { font-size: 1.1rem; color: var(--text); margin: 1.4rem 0 0.6rem; }
.prose strong { color: var(--blue-deep); }

/* Feature cards / grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13,111,216,0.06);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; }
.feature-card .body { padding: 1rem 1.1rem 1.2rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--blue-deep); }
.feature-card p { color: var(--muted); font-size: 0.92rem; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.split.reverse .split-text { order: 2; }
.split.reverse .split-media { order: 1; }
.split-media {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid var(--line);
}
.split-media img {
  border-radius: 12px;
  margin: 0 auto;
  max-width: 280px;
  box-shadow: var(--shadow);
}
.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.shot-row figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot-row img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; }
.shot-row figcaption {
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; font-weight: 700; font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.65rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--blue-deep);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 0.5rem; }
.faq p { color: var(--muted); font-size: 0.95rem; }

.cta-band {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue), var(--cyan));
  color: #fff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; font-size: 1.5rem; }
.cta-band p { opacity: 0.95; margin-bottom: 1.2rem; }
.cta-band .btn-primary { color: var(--blue-deep); }

.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.page-hero {
  padding: 1.5rem 0 0.5rem;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.internal-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem;
  margin-top: 1.5rem;
}
.internal-links a {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.88rem;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1rem;
}
.error-page h1 {
  font-size: 4rem; color: var(--blue);
  line-height: 1; margin-bottom: 0.5rem;
}
.error-page h2 { margin-bottom: 0.75rem; color: var(--blue-deep); }
.error-page p { color: var(--muted); margin-bottom: 1.5rem; }

/* Footer */
.site-footer {
  background: #0b2d52;
  color: rgba(255,255,255,0.82);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 { color: #fff; margin-bottom: 0.75rem; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,0.78); display: block; margin: 0.35rem 0; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand {
  display: flex; align-items: center; gap: 0.65rem;
  margin-bottom: 0.75rem; color: #fff; font-weight: 700;
}
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* Mobile */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 64px;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 0.75rem 1rem 1rem; gap: 0.15rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.65rem 0.4rem; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
  .hero-grid, .split, .split.reverse .split-text, .split.reverse .split-media {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-text, .split.reverse .split-media { order: initial; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .shot-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .phone-frame { max-width: 160px; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr 1fr; }
  body { font-size: 15px; }
}
