:root {
  --ink: #111318;
  --ink-soft: #3a3f47;
  --muted: #646b76;
  --line: #e6ebf2;
  --blue: #0077d7;
  --blue-deep: #0b4d8c;
  --blue-light: #eef6ff;
  --blue-mid: #d2e4ff;
  --orange-1: #ff6a45;
  --orange-2: #fb3747;
  --navy: #27364d;
  --white: #ffffff;
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(20, 60, 110, 0.10);
  --shadow-soft: 0 10px 30px rgba(20, 60, 110, 0.07);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

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

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

h1, h2, h3, h4, p, figure, blockquote, ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.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;
}

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

.center {
  text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(16, 50, 90, 0.06);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-lg {
  min-height: 54px;
  padding: 0 40px;
  font-size: 17px;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(90.29deg, var(--orange-1) 18%, var(--orange-2) 103%);
  box-shadow: 0 14px 30px rgba(251, 55, 71, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(251, 55, 71, 0.34);
}

.btn-ghost {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.btn-ghost:hover {
  border-color: #cdd8e5;
  transform: translateY(-2px);
}

.btn-light {
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(10, 60, 120, 0.16);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-more {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Section basics ---------- */
.section {
  padding: 92px 0;
}

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

.section-head h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.4px;
  font-weight: 700;
}

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

h3 {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: #eaf4ff;
  background-image: url("assets/home-banner-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 700px);
  align-items: center;
  gap: 48px;
  min-height: 480px;
  padding: 54px 0 60px;
}

.hero-copy {
  max-width: 520px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.hero-title {
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.16;
  letter-spacing: -1.2px;
  font-weight: 800;
}

.hero-title .accent {
  color: var(--blue);
}

.hero-sub {
  margin-top: 18px;
  font-size: 19px;
  color: #2e3540;
}

.hero-actions {
  margin-top: 30px;
}

.hero-platforms {
  margin-top: 18px;
  color: #45505e;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.hero-rating {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #3f4854;
  font-size: 14px;
}

.rating-stars img {
  width: 95px;
  height: 18px;
}

.rating-score {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
}

.rating-label {
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 60, 120, 0.18);
}

/* ---------- Tools ---------- */
.tools {
  background: linear-gradient(180deg, #ffffff 0%, #eaf3ff 62%, #d2e4ff 100%);
  padding-top: 76px;
}

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

.tool-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 10px 18px;
  border-radius: var(--radius);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.tool-grid a:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.tool-grid img {
  width: 100%;
  max-width: 210px;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(20, 60, 120, 0.10));
}

.tool-grid p {
  font-size: 16px;
  font-weight: 700;
  color: #1d2430;
}

/* ---------- Trust ---------- */
.trust {
  background: #f4f9ff;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 64px;
}

.trust-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.trust-copy h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.trust-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.trust-copy .btn {
  margin-top: 26px;
}

/* ---------- AI band ---------- */
.ai-band {
  position: relative;
  padding: 92px 0;
  color: var(--white);
  background: linear-gradient(94deg, #27364d 1.37%, #0077d7 30.18%, #47b8ff 57.24%);
  overflow: hidden;
}

.ai-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.ai-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.ai-copy .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.ai-copy h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.5px;
}

.ai-copy p {
  margin-top: 18px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.ai-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 30, 70, 0.3);
}

.ai-cards {
  position: relative;
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ai-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.ai-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.ai-card h3 {
  font-size: 19px;
}

.ai-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

/* ---------- Platforms ---------- */
.platforms {
  background: #f7f9fc;
}

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

.platform-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.platform-card img {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
}

.platform-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Features ---------- */
.features {
  background: linear-gradient(180deg, #f7f8fa 0%, rgba(255, 255, 255, 0) 100%);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 64px;
  padding: 42px 0;
}

.feature-row + .feature-row {
  border-top: 1px solid var(--line);
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-row.reverse .feature-copy {
  order: 1;
}

.feature-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px rgba(20, 60, 120, 0.13);
}

.feature-index {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

.feature-copy h3 {
  font-size: clamp(24px, 2.4vw, 30px);
}

.feature-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Vision ---------- */
.vision {
  position: relative;
  padding: 96px 0;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62)), url("assets/vision-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vision-inner {
  max-width: 760px;
  text-align: center;
}

.vision h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.5px;
}

.vision p {
  margin: 18px auto 28px;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--white);
}

.review-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 34px 46px;
  margin-bottom: 46px;
  opacity: 0.72;
}

.review-logos img {
  width: auto;
  height: 42px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  position: relative;
  padding: 32px 28px 26px;
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid var(--line);
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 22px;
  color: #d5e2f0;
  font-family: Georgia, serif;
  font-size: 74px;
  line-height: 1;
}

.review-card blockquote {
  position: relative;
  color: #39424f;
  font-size: 15px;
  line-height: 1.8;
}

.review-card figcaption {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card figcaption strong {
  font-size: 15px;
}

.review-card figcaption span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 84px 0;
  color: var(--white);
  background: linear-gradient(94deg, #27364d 1.37%, #0077d7 42%, #47b8ff 100%);
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.5px;
}

.cta-inner p {
  margin: 14px auto 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

/* ---------- FAQ ---------- */
.faq {
  background: #f7f9fc;
}

.faq-wrap {
  max-width: 860px;
}

.faq-item {
  margin-bottom: 12px;
  padding: 0 26px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 20px 36px 20px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 30px;
  background: #202020;
  color: #e9edf2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
}

.brand-light {
  color: var(--white);
}

.footer-brand p {
  margin-top: 14px;
  max-width: 260px;
  color: #9aa4b2;
  font-size: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.3px;
}

.footer-col a {
  color: #aab3c0;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.copyright {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8b95a3;
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: 32px;
    min-height: 430px;
  }

  .tool-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .feature-row {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .section,
  .ai-band,
  .vision {
    padding: 68px 0;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(16, 50, 90, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 11px 0;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding: 48px 0 64px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-media {
    max-width: 680px;
  }

  .trust-grid,
  .ai-grid,
  .review-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ai-media {
    order: -1;
  }

  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy {
    order: initial;
  }

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

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

  .hero-title {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .btn-lg {
    width: 100%;
  }

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

  .platform-grid,
  .ai-cards {
    grid-template-columns: 1fr;
  }

  .review-logos {
    gap: 24px 30px;
  }

  .review-logos img {
    height: 32px;
  }

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

  .section-head {
    margin-bottom: 34px;
  }
}

/* ---------- Inner pages ---------- */
.page-main {
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 42%);
  padding: 64px 0 88px;
  min-height: 60vh;
}

.page-hero {
  max-width: 820px;
  margin-bottom: 42px;
}

.page-kicker {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.page-title {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-weight: 800;
}

.page-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}

.info-card {
  padding: 30px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.info-card + .info-card {
  margin-top: 16px;
}

.info-card h2 {
  font-size: 22px;
  line-height: 1.35;
}

.info-card p {
  margin-top: 10px;
  color: var(--muted);
}

.info-card ul {
  margin-top: 12px;
  padding-left: 18px;
  list-style: disc;
  color: var(--muted);
}

.info-card li + li {
  margin-top: 6px;
}

.info-aside {
  position: sticky;
  top: 88px;
  padding: 24px;
  border-radius: var(--radius);
  background: #f5f9ff;
  border: 1px solid var(--line);
}

.info-aside h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.info-aside nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-aside a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .info-aside {
    position: static;
  }
}
