/* Homepage visual refinement — loaded after the base styles. */
:root {
  --bg: #f6f7fb;
  --paper: rgba(255, 255, 255, 0.9);
  --ink: #151a2d;
  --muted: #667085;
  --brand: #6657e8;
  --brand-deep: #4c3dcc;
  --line: rgba(93, 82, 190, 0.12);
  --shadow: 0 22px 60px rgba(42, 37, 94, 0.1);
}

body {
  background:
    radial-gradient(circle at 8% 18%, rgba(108, 92, 231, 0.055), transparent 23%),
    radial-gradient(circle at 94% 48%, rgba(0, 184, 148, 0.035), transparent 22%),
    var(--bg);
}

.container {
  width: min(1240px, calc(100% - 48px));
}

.site-header {
  background: rgba(250, 250, 253, 0.82);
  border-bottom: 1px solid rgba(93, 82, 190, 0.09);
  box-shadow: 0 6px 24px rgba(31, 35, 60, 0.035);
}

.nav {
  height: 76px;
}

.brand {
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #7668f1, #5947dc);
  box-shadow: 0 10px 25px rgba(102, 87, 232, 0.28);
}

nav {
  gap: 28px;
}

nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  transition: color 0.2s;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.2s;
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  padding: 64px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 42%, rgba(111, 92, 234, 0.13), transparent 35%),
    linear-gradient(180deg, #fbfbfe 0%, #f6f7fb 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("hero-cat-bg.svg") right 38% center / min(960px, 58vw) auto no-repeat;
  opacity: 0.27;
  transform: translateX(4%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  height: auto;
  background:
    linear-gradient(90deg, rgba(251, 251, 254, 0.99) 0%, rgba(251, 251, 254, 0.92) 38%, rgba(251, 251, 254, 0.16) 72%, rgba(251, 251, 254, 0.04) 100%),
    linear-gradient(to bottom, transparent 72%, var(--bg));
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, 0.82fr);
  gap: 64px;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow,
.pill {
  border-color: rgba(102, 87, 232, 0.17);
  background: rgba(239, 237, 255, 0.82);
  color: #5849d1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hero h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  font-size: clamp(48px, 4.1vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(120deg, #6d5ce8, #4e3ed0 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.9;
}

.actions {
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 15px;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, #7364ef, #5745db);
  box-shadow: 0 12px 28px rgba(102, 87, 232, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(93, 82, 190, 0.15);
  box-shadow: 0 8px 24px rgba(31, 35, 60, 0.07);
  backdrop-filter: blur(12px);
}

.dashboard {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17, 23, 42, 0.96), rgba(35, 31, 80, 0.93));
  box-shadow: 0 35px 80px rgba(35, 31, 90, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(1deg) translateY(8px);
  backdrop-filter: blur(18px);
}

.dashboard::before {
  opacity: 0.58;
}

.route {
  height: 125px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric {
  min-width: 0;
  padding: 17px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.075);
}

.metric b {
  font-size: 25px;
}

section:not(.hero) {
  position: relative;
  padding: 104px 0;
}

#advantages {
  background: linear-gradient(180deg, var(--bg), #fff 45%, #fff);
}

#platforms,
#articles,
#faq {
  background:
    radial-gradient(circle at 92% 12%, rgba(102, 87, 232, 0.05), transparent 24%),
    #f7f7fc;
}

#pricing,
#reviews {
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 14px 0 15px;
  font-size: clamp(34px, 3.2vw, 50px);
  letter-spacing: -0.045em;
}

.section-head p {
  margin: 0;
  font-size: 16px;
}

.card-grid,
.price-grid,
.quotes {
  gap: 24px;
}

.card,
.price-card,
.quote,
.article-card,
.content-card {
  border-color: rgba(93, 82, 190, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 45px rgba(35, 45, 80, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.price-card:hover,
.article-card:hover,
.quote:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 87, 232, 0.22);
  box-shadow: 0 24px 60px rgba(35, 45, 80, 0.12);
}

.card-grid .card {
  min-height: 250px;
  padding: 32px;
}

.card-grid .card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.card-grid .card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(102, 87, 232, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, #f3f0ff, #eae6ff);
}

.platforms {
  gap: 28px;
}

.platform-cloud {
  gap: 16px;
}

.platform {
  min-height: 130px;
  border-color: rgba(93, 82, 190, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(35, 45, 80, 0.055);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.platform:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 87, 232, 0.24);
  box-shadow: 0 20px 42px rgba(35, 45, 80, 0.1);
}

.platform span {
  margin-bottom: 4px;
  font-size: 31px;
}

.ai-panel {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 100% 0, rgba(118, 104, 241, 0.34), transparent 36%),
    linear-gradient(145deg, #171d30, #27204e);
  box-shadow: 0 24px 60px rgba(28, 26, 70, 0.18);
}

.ai-panel h3 {
  margin: 28px 0 14px;
  font-size: 25px;
}

.ai-panel p {
  color: #d4d7e5;
}

.price-card {
  padding: 32px;
}

.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #fff, #f8f6ff);
  box-shadow: 0 24px 65px rgba(102, 87, 232, 0.18);
}

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

.article-card {
  min-height: 275px;
  padding: 28px;
}

.article-card h3 {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.5;
}

.quote {
  padding: 30px;
}

.faq details {
  margin: 14px 0;
  padding: 20px 22px;
  border-color: rgba(93, 82, 190, 0.1);
  box-shadow: 0 10px 30px rgba(35, 45, 80, 0.045);
}

.faq summary {
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.section-nav button {
  border: 1px solid rgba(93, 82, 190, 0.1);
  color: var(--brand-deep);
  backdrop-filter: blur(14px);
}

.site-footer {
  background:
    radial-gradient(circle at 50% 0, rgba(102, 87, 232, 0.18), transparent 34%),
    #121625;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 36px;
  }

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

@media (max-width: 850px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .hero {
    min-height: auto;
    padding: 64px 0 74px;
  }

  .hero::before {
    background-position: center 12%;
    background-size: 880px auto;
    opacity: 0.13;
    transform: none;
  }

  .hero::after {
    background: linear-gradient(rgba(251, 251, 254, 0.84), rgba(246, 247, 251, 0.94));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(44px, 9vw, 58px);
  }

  .dashboard {
    width: min(100%, 620px);
    margin: 0 auto;
    transform: none;
  }

  section:not(.hero) {
    padding: 78px 0;
  }

  .card-grid,
  .price-grid,
  .articles-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  .card-grid .card,
  .article-card {
    min-height: auto;
  }
}

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

  .nav {
    height: 66px;
  }

  .hero {
    padding: 44px 0 58px;
  }

  .hero h1 {
    margin: 18px 0;
    font-size: 41px;
    line-height: 1.13;
  }

  .hero p {
    font-size: 15px;
  }

  .dashboard {
    padding: 19px;
    border-radius: 22px;
  }

  .route {
    height: 90px;
  }

  .metric-grid {
    flex-direction: row;
    gap: 7px;
  }

  .metric {
    padding: 12px 9px;
  }

  .metric b {
    font-size: 18px;
  }

  .nodes {
    gap: 5px;
  }

  section:not(.hero) {
    padding: 64px 0;
  }

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

  .section-head h2 {
    font-size: 34px;
  }

  .card-grid .card,
  .price-card,
  .article-card,
  .quote {
    padding: 24px;
  }

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

  .platform {
    min-height: 110px;
  }

  .ai-panel {
    padding: 26px;
  }
}

.hero h1 em {
  display: inline-block;
  color: var(--ink);
  font-style: normal;
  white-space: nowrap;
}

@media (max-width: 850px) {
  .hero h1 em {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 851px) {
  .hero h1 {
    font-size: clamp(50px, 3.65vw, 58px);
  }
}

@media (max-width: 520px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 38px;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
  }

  .hero h1 em {
    width: 100%;
    line-height: 1.18;
    word-break: break-all;
  }

  .hero-grid,
  .hero-grid > div,
  .actions {
    width: 100%;
    max-width: 100%;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-grid > div,
  .dashboard,
  .metric-grid {
    min-width: 0;
    overflow: hidden;
  }

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

/* Denser branded hero and methodology strip */
.hero {
  min-height: 790px;
  padding: 78px 0 96px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.96) 0 12%, transparent 38%),
    radial-gradient(circle at 84% 28%, rgba(122, 103, 240, 0.28), transparent 31%),
    radial-gradient(circle at 70% 92%, rgba(105, 214, 196, 0.13), transparent 25%),
    linear-gradient(135deg, #ecebff 0%, #f8f7ff 48%, #e5e1ff 100%);
}

.hero::before {
  background-position: right 8% center;
  background-size: min(900px, 56vw) auto;
  opacity: 0.34;
  filter: saturate(0.92);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(244, 243, 255, 0.7), rgba(244, 243, 255, 0.08) 58%, rgba(244, 243, 255, 0.1)),
    linear-gradient(to bottom, transparent 78%, rgba(246, 247, 251, 0.92));
}

.hero-grid {
  grid-template-columns: minmax(0, 1.03fr) minmax(480px, 0.97fr);
  gap: 46px;
}

.hero-copy {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 30px 80px rgba(55, 47, 126, 0.13), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
}

.hero-copy h1 {
  margin-top: 21px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-points span {
  padding: 8px 11px;
  border: 1px solid rgba(102, 87, 232, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4f5870;
  font-size: 12px;
  font-weight: 800;
}

.hero-note {
  display: block;
  margin-top: 17px;
  color: #7a8295;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 510px;
}

.visual-label {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 18px;
  display: flex;
  flex-direction: column;
  min-width: 205px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 35px rgba(55, 47, 126, 0.13);
  backdrop-filter: blur(14px);
}

.visual-label span {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 900;
}

.visual-label b {
  margin-top: 3px;
  font-size: 14px;
}

.hero-visual .dashboard {
  width: 100%;
  margin-top: 38px;
}

.live-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aab2c7;
  font-size: 12px;
}

.live-state .pulse {
  display: inline-block;
}

.route-label {
  position: absolute;
  bottom: 13px;
  left: 17px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.route-label.end {
  right: 17px;
  left: auto;
}

.dashboard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.dashboard-foot small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  white-space: nowrap;
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  padding: 0 0 54px;
  background: transparent;
}

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

.proof-grid article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 19px;
  border: 1px solid rgba(93, 82, 190, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(35, 45, 80, 0.08);
}

.proof-grid article > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #ece9ff, #ddd7ff);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 900;
}

.proof-grid article div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.proof-grid strong {
  font-size: 14px;
}

.proof-grid small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.9fr);
  }

  .hero-copy {
    padding: 32px;
  }

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

@media (max-width: 850px) {
  .hero {
    min-height: auto;
    padding-bottom: 100px;
  }

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

  .hero-copy {
    padding: 30px;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-label {
    top: -16px;
  }

  .proof-strip {
    margin-top: -54px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 34px 0 94px;
  }

  .hero-copy {
    padding: 22px 18px;
    border-radius: 25px;
  }

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

  .hero-points span:last-child {
    grid-column: 1 / -1;
  }

  .visual-label {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-bottom: 12px;
  }

  .hero-visual {
    display: block;
  }

  .hero-visual .dashboard {
    margin-top: 0;
  }

  .dashboard-foot {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .proof-grid article {
    min-height: 82px;
  }
}

/* 热门文章栏目分类筛选 Tabs */
.article-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 34px;
  max-width: 860px;
}

.article-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #d8d2ff;
  background: #fff;
  color: #5544cf;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.05);
}

.article-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(108, 92, 231, 0.15);
}

.article-tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 8px 22px rgba(108, 92, 231, 0.28);
}

.article-card.hidden {
  display: none !important;
}

