:root {
  --blue-900: #003b8f;
  --blue-800: #0b56c8;
  --blue-700: #0b6cff;
  --blue-600: #2c84ff;
  --blue-100: #dceaff;
  --blue-50: #f2f7ff;
  --white: #ffffff;
  --text: #14213d;
  --muted: #5f6f92;
  --border: #c9dcff;
  --shadow: 0 16px 35px rgba(11, 108, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(44, 132, 255, 0.1), transparent 26%),
    radial-gradient(circle at 90% 24%, rgba(11, 108, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #f3f8ff 58%, #ffffff 100%);
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-700);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  left: 1rem;
  z-index: 1001;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(201, 220, 255, 0.85);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.8rem 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue-800);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--blue-700);
}

.nav-cta {
  background: var(--blue-700);
  color: var(--white);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: var(--blue-700);
  font-size: 1.25rem;
}

.hero {
  padding: 4.8rem 0 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 92% 10%, rgba(11, 108, 255, 0.14), transparent 28%),
    linear-gradient(160deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.2rem, 3.4vw, 2.2rem);
  box-shadow: 0 18px 34px rgba(11, 108, 255, 0.14);
}

.badge {
  display: inline-flex;
  background: var(--blue-100);
  color: var(--blue-900);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.86rem;
  padding: 0.32rem 0.85rem;
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  color: var(--blue-900);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  color: var(--blue-900);
}

h3 {
  font-size: 1.12rem;
}

.hero-subtitle,
.section-subtitle {
  color: var(--muted);
}

.hero-subtitle {
  margin: 1rem 0 1.6rem;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border-radius: 10px;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-ghost {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: var(--white);
}

.hero-metrics {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.hero-metrics li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  min-width: 140px;
  box-shadow: 0 8px 18px rgba(11, 108, 255, 0.08);
}

.hero-metrics strong {
  font-size: 1.25rem;
  color: var(--blue-800);
  display: block;
}

.hero-metrics span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-visual img {
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-section,
.templates,
.process,
.social-proof,
.faq,
.download {
  padding: 4.2rem 0;
}

.feature-section h2,
.templates h2,
.process h2,
.faq h2,
.download h2 {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0.85rem auto 2rem;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 8px 20px rgba(11, 108, 255, 0.08);
}

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

.template-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(11, 108, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.template-card img {
  width: 100%;
  height: clamp(210px, 26vw, 320px);
  object-fit: contain;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  padding: 0.55rem;
}

.template-card figcaption {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-900);
  padding: 0.8rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}

.step {
  background: linear-gradient(160deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
}

.step span {
  color: var(--blue-700);
  font-weight: 800;
  font-size: 1.15rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.proof-text p {
  color: var(--muted);
}

.quote-author {
  color: var(--blue-800);
  font-weight: 700;
}

.proof-images {
  display: grid;
  gap: 0.9rem;
}

.proof-images img {
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(11, 108, 255, 0.1);
}

.faq {
  background: linear-gradient(180deg, rgba(220, 234, 255, 0.32), rgba(255, 255, 255, 0));
}

.faq-item {
  max-width: 760px;
  margin: 0.85rem auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  padding: 0.8rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--blue-900);
}

.faq-item p {
  color: var(--muted);
  margin: 0.6rem 0 0.2rem;
}

.download-wrap {
  background: linear-gradient(145deg, #0b6cff, #0a58cf);
  color: var(--white);
  border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  text-align: center;
  box-shadow: 0 20px 36px rgba(11, 108, 255, 0.3);
}

.download-wrap h2 {
  color: var(--white);
}

.download-form {
  display: flex;
  gap: 0.7rem;
  max-width: 650px;
  margin: 1rem auto 0.5rem;
}

.download-form input,
.download-form button {
  height: 48px;
  border-radius: 10px;
  border: none;
}

.download-form input {
  flex: 1;
  padding: 0 0.9rem;
}

.download-form button {
  min-width: 146px;
  background: var(--white);
  color: var(--blue-800);
  font-weight: 800;
  padding: 0 1rem;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-wrap a {
  color: var(--blue-700);
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .hero-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    right: 4vw;
    top: 64px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 178px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-content {
    border-radius: 18px;
    padding: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    text-align: center;
  }

  .hero-metrics li {
    min-width: 110px;
    flex: 1;
  }

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

  .template-card img {
    height: clamp(220px, 62vw, 360px);
  }

  .proof-images img {
    height: clamp(170px, 52vw, 240px);
  }

  .download-form {
    flex-direction: column;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-form input {
    flex: auto !important;
  }
}
