:root {
  --blue: #0b63f6;
  --blue-dark: #064bc5;
  --sky: #eef7ff;
  --ink: #101b35;
  --muted: #6d7890;
  --line: #e5edf7;
  --green: #13b56b;
  --shadow: 0 18px 45px rgba(24, 79, 160, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6fbff 0, #fff 34%, #f8fbff 100%);
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(248, 252, 255, .88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}

.brand-logo {
  height: 40px;
  display: block;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  font-weight: 700;
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 12px 0;
}

.nav a.active,
.nav a:hover {
  color: var(--blue);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 22px rgba(11, 99, 246, .22);
}

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

.btn-soft {
  color: var(--blue);
  background: #eef5ff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1160px;
  min-height: 620px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #315a95;
  background: #eaf4ff;
  font-weight: 700;
}

.eyebrow::before,
.trust-list li::before,
.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.12;
}

h1 span,
h2 span {
  color: var(--blue);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}

h3 {
  font-size: 18px;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.search-bar {
  display: flex;
  max-width: 620px;
  margin-top: 30px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.search-bar input,
.knowledge-search input,
.knowledge-search select,
.search-widget select,
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.search-bar input {
  min-width: 0;
  border: 0;
  padding: 0 18px;
  outline: 0;
}

.trust-list,
.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.trust-list {
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 28px;
  font-size: 14px;
}

.trust-list li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.hero-visual {
  position: relative;
  min-height: 400px;
  border-radius: 0 0 80px 0;
  background: radial-gradient(circle at 75% 20%, #d8edff 0, transparent 34%), linear-gradient(135deg, #f7fbff, #e9f5ff);
}

.result-panel,
.contact-card,
.dashboard,
.search-widget,
.compare,
.article-list,
.recommend,
.price-card,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.result-panel {
  position: absolute;
  left: 34px;
  top: 46px;
  width: min(78%, 420px);
  padding: 22px;
}

.result-row {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.result-row span,
.contact-card span,
.mini-company span,
.quote span,
.team-grid span {
  color: var(--muted);
}

.contact-card {
  position: absolute;
  right: 58px;
  top: 105px;
  width: 245px;
  padding: 24px;
}

.avatar,
.portrait {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #2b80ff, #50c1d3);
  font-weight: 900;
}

.icon-stack {
  position: absolute;
  right: 0;
  top: 45px;
  display: grid;
  gap: 18px;
}

.icon-stack span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 900;
  font-size: 22px;
}

.feature-grid,
.topic-grid,
.pricing-grid,
.testimonial-grid,
.team-grid {
  display: grid;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px;
  gap: 18px;
}

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

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

.card,
.quote,
.team-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card-icon {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  object-fit: contain;
}

.card p,
.quote p,
.page-hero p,
.about-split p,
.team-section p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section,
.feature-layout,
.article-layout,
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  max-width: 1160px;
  margin: 48px auto;
  padding: 0 24px;
}

.dashboard {
  padding: 26px;
}

.window-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b5f;
}

.window-dots i:nth-child(2) {
  background: #ffbd3d;
}

.window-dots i:nth-child(3) {
  background: #34c759;
}

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

.metrics span,
.mini-stats span {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius);
  background: #f4f8ff;
  color: var(--muted);
  font-size: 13px;
}

.metrics strong,
.mini-stats strong {
  color: var(--blue);
  font-size: 20px;
}

.chart-area {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.donut {
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#1977ff 0 28%, #50c4c8 28% 47%, #ff9a3c 47% 63%, #a15eea 63% 78%, #a7bfd0 78% 100%);
  box-shadow: inset 0 0 0 42px #fff;
}

.testimonials,
.team-section {
  max-width: 1160px;
  margin: 40px auto;
  padding: 0 24px;
  text-align: center;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 0;
  text-align: left;
}

.quote b {
  color: #ffbd00;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
  align-items: center;
  margin: 30px 0;
  padding: 0;
  color: #d7192b;
  font-size: 25px;
  text-align: center;
}

.logo-strip strong:nth-child(even) {
  color: #0873bf;
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto 20px;
  padding: 0 24px;
}

.stat-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 0 0 20px;
  padding: 24px;
  border-radius: var(--radius);
  color: #dcecff;
  background: linear-gradient(135deg, #0868f8, #064dc4);
}

.stat-bar span {
  display: grid;
  gap: 4px;
  text-align: center;
}

.stat-bar strong {
  color: #fff;
  font-size: 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) 1fr minmax(220px, .8fr);
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-brand p,
.footer-contact span {
  color: var(--muted);
  line-height: 1.8;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-links a {
  color: #405070;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-contact .btn {
  width: max-content;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: center;
  padding: 18px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--muted);
}

.page-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 68px 24px 36px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 50px);
}

.side-tabs {
  display: grid;
  gap: 12px;
  align-self: start;
}

.side-tabs a {
  padding: 16px 20px;
  border-radius: var(--radius);
  color: #405070;
  font-weight: 800;
}

.side-tabs a.active,
.side-tabs a:hover {
  color: #fff;
  background: var(--blue);
}

.feature-detail {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 42px;
  align-items: center;
}

.search-widget {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.search-widget label,
.apply-form label {
  display: grid;
  gap: 8px;
  color: #3c4963;
  font-weight: 700;
}

.search-widget select,
.apply-form input,
.apply-form select,
.apply-form textarea {
  min-height: 42px;
  padding: 10px 12px;
}

.mini-company {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: var(--radius);
  background: #f8fbff;
}

.compact {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--muted);
}

.billing-toggle b,
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
}

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

.price-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 34px;
}

.price-card.highlighted {
  border-color: var(--blue);
  transform: translateY(-12px);
}

.price-card strong {
  color: var(--blue);
  font-size: 38px;
}

.price-card small {
  color: var(--muted);
  font-size: 16px;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
}

.compare {
  max-width: 1160px;
  margin: 30px auto 50px;
  padding: 28px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

td:not(:first-child) {
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.knowledge-search {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 14px;
  max-width: 850px;
  margin: 28px auto 0;
}

.knowledge-search input,
.knowledge-search select {
  min-height: 48px;
  padding: 0 16px;
}

.article-layout {
  grid-template-columns: 1fr 300px;
  align-items: start;
}

.article-list,
.recommend {
  padding: 28px;
}

.article-list a,
.recommend a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.article-list b {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--green);
  background: #eafff5;
  font-size: 12px;
}

.article-list time {
  color: var(--muted);
}

.empty-state {
  margin: 0;
  padding: 18px 0;
  color: var(--muted);
  line-height: 1.7;
}

.recommend a {
  grid-template-columns: 1fr;
  color: #34405a;
}

.about-split {
  grid-template-columns: 1fr 1fr;
}

.office-visual {
  min-height: 340px;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dcefff, #f7fbff);
}

.building {
  position: relative;
  height: 300px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255,255,255,.24) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(255,255,255,.28) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(135deg, #73aee5, #2d72b8);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-10deg);
}

.building span {
  position: absolute;
  right: 24px;
  top: 34px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.team-grid {
  grid-template-columns: repeat(5, 1fr);
  padding-left: 0;
  padding-right: 0;
}

.team-grid article {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}

.modal.is-open {
  display: flex;
}

.modal.is-open .modal-backdrop {
  animation: modalBackdropIn .3s ease forwards;
}

.modal-lock {
  overflow: hidden;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 21, 45, .72), rgba(12, 46, 91, .58)),
    rgba(10, 22, 46, .54);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: 0;
}

.apply-modal-panel {
  border-color: rgba(218, 230, 247, .9);
  background: #fff;
  box-shadow: 0 30px 90px rgba(4, 18, 43, .28);
}

.apply-modal-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 560px;
}

.apply-modal-intro {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 40px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 99, 246, .96), rgba(19, 181, 107, .9)),
    #0b63f6;
}

.apply-kicker {
  width: max-content;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 13px;
  font-weight: 800;
}

.apply-modal-intro h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.apply-modal-intro p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  line-height: 1.8;
}

.apply-benefits {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.apply-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.apply-benefits span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}

.apply-metrics {
  display: grid;
  gap: 4px;
  width: max-content;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.apply-metrics strong {
  font-size: 34px;
  line-height: 1;
}

.apply-metrics span {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(239, 245, 255, .9);
  color: #24507f;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  background: var(--blue);
  color: #fff;
}

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 16px;
  padding: 44px 36px 34px;
}

.apply-field {
  display: grid;
  gap: 8px;
  color: #2f3f5c;
  font-size: 14px;
  font-weight: 800;
}

.apply-field-wide {
  grid-column: 1 / -1;
}

.apply-field input,
.apply-field select,
.apply-field textarea {
  min-height: 46px;
  padding: 11px 13px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.apply-field textarea {
  line-height: 1.7;
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 99, 246, .1);
}

.apply-field.is-error input,
.apply-field.is-error select,
.apply-field.is-error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .1);
}

.apply-field input:disabled,
.apply-field select:disabled,
.apply-field textarea:disabled {
  color: #8290a5;
  background: #f7faff;
  cursor: wait;
}

.modal.is-open .apply-field,
.modal.is-open .apply-submit,
.modal.is-open .apply-privacy {
  animation: applyFieldIn .42s cubic-bezier(.22, 1, .36, 1) both;
}

.modal.is-open .apply-field:nth-child(2) { animation-delay: .03s; }
.modal.is-open .apply-field:nth-child(3) { animation-delay: .06s; }
.modal.is-open .apply-field:nth-child(4) { animation-delay: .09s; }
.modal.is-open .apply-field:nth-child(5) { animation-delay: .12s; }
.modal.is-open .apply-field:nth-child(6) { animation-delay: .15s; }
.modal.is-open .apply-submit { animation-delay: .18s; }
.modal.is-open .apply-privacy { animation-delay: .21s; }

.apply-form textarea {
  resize: vertical;
}

.apply-submit {
  position: relative;
  min-height: 48px;
  margin-top: 4px;
}

.apply-submit:disabled {
  cursor: wait;
  opacity: .82;
}

.submit-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: applySpin .78s linear infinite;
}

.apply-submit.is-loading .submit-label {
  display: none;
}

.apply-submit.is-loading .submit-loader {
  display: inline-block;
}

.apply-privacy {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.apply-result-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.apply-result-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.apply-result-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 45, .56);
  backdrop-filter: blur(8px);
}

.apply-result-panel {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(380px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 80px rgba(4, 18, 43, .24);
  text-align: center;
  transform: translateY(16px) scale(.96);
  transition: transform .25s ease;
}

.apply-result-modal.show .apply-result-panel {
  transform: translateY(0) scale(1);
}

.apply-result-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
}

.apply-result-icon svg {
  width: 30px;
  height: 30px;
}

.apply-result-icon.is-success {
  color: #0f8b55;
  background: #e8fff5;
}

.apply-result-icon.is-error {
  color: #d92d20;
  background: #fff1f0;
}

.apply-result-panel h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.apply-result-panel p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.apply-result-btn {
  width: 100%;
}

@keyframes applySpin {
  to { transform: rotate(360deg); }
}

@keyframes applyFieldIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .nav,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero,
  .split-section,
  .feature-layout,
  .about-split,
  .article-layout,
  .article-detail-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
  }

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

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

  .metrics,
  .mini-stats,
  .stat-bar,
  .footer-main,
  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.highlighted {
    transform: none;
  }

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

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

  .apply-modal-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .apply-modal-intro {
    padding: 30px 30px 26px;
  }

  .apply-form {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 16px;
  }

  .hero,
  .page-hero,
  .feature-grid,
  .topic-grid,
  .pricing-grid,
  .split-section,
  .feature-layout,
  .article-layout,
  .about-split,
  .testimonials,
  .team-section,
  .how-it-works,
  .advantages {
    padding-left: 16px;
    padding-right: 16px;
  }

  .search-bar,
  .knowledge-search {
    grid-template-columns: 1fr;
    display: grid;
  }

  .search-bar input {
    min-height: 46px;
    padding: 0 12px;
  }

  .trust-list,
  .feature-grid,
  .topic-grid,
  .pricing-grid,
  .testimonial-grid,
  .team-grid,
  .metrics,
  .mini-stats,
  .stat-bar,
  .footer-main,
  .logo-strip,
  .adv-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .result-panel,
  .contact-card {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .contact-card {
    top: 260px;
  }

  .icon-stack {
    right: 18px;
    top: 430px;
    grid-template-columns: repeat(3, 44px);
  }

  .icon-stack span {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .chart-area,
  .article-list a {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 0;
  }

  .footer-main,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .stat-bar {
    border-radius: 0;
    margin-bottom: 0;
  }

  .article-sidebar {
    position: static;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 24px;
  }

  .modal-panel {
    padding: 26px 20px;
  }

  .modal {
    align-items: stretch;
    padding: 14px;
  }

  .apply-modal-panel {
    width: 100%;
    padding: 0;
  }

  .apply-modal-intro {
    padding: 26px 20px 22px;
  }

  .apply-modal-intro h2 {
    font-size: 28px;
  }

  .apply-benefits {
    gap: 10px;
    font-size: 14px;
  }

  .apply-form {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px;
  }

  .apply-field-wide {
    grid-column: auto;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }
}

/* ====== 工作流程 ====== */
.how-it-works {
  max-width: 1160px;
  margin: 60px auto;
  padding: 0 24px;
  text-align: center;
}

.section-desc {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.step-card {
  position: relative;
  padding: 40px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

.step-card p {
  color: var(--muted);
  line-height: 1.7;
}

.step-num {
  position: absolute;
  top: -18px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(11, 99, 246, .3);
}

/* ====== 优势区块 ====== */
.advantages {
  padding: 60px 0;
  background: linear-gradient(180deg, #f0f7ff 0, #fff 100%);
}

.advantages-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.adv-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

.adv-item p {
  color: var(--muted);
  line-height: 1.7;
}

/* ====== CTA 横幅 ====== */
.cta-banner {
  max-width: 1160px;
  margin: 60px auto;
  padding: 56px 40px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: transparent;
}

.cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-lg {
  min-height: 50px;
  padding: 0 36px;
  font-size: 16px;
}

/* ====== features tab 面板 ====== */
.feature-panel {
  display: none;
  grid-template-columns: 1fr 280px;
  gap: 42px;
  align-items: center;
}

.feature-panel.is-active {
  display: grid;
}

.feature-layout .side-tabs a.is-active {
  color: #fff;
  background: var(--blue);
}

.contact-result,
.target-result,
.insight-result,
.linkedin-result,
.plugin-result {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.result-tag.green {
  background: #eafff5;
  color: var(--green);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.contact-row .avatar {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  font-size: 14px;
}

.contact-row strong {
  display: block;
  font-size: 14px;
}

.contact-row span {
  font-size: 13px;
}

.linkedin-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.linkedin-row .avatar {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  font-size: 15px;
}

.plugin-browser {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.plugin-browser .browser-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.plugin-browser .browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.plugin-browser .browser-bar i:nth-child(1) { background: #ff6b5f; }
.plugin-browser .browser-bar i:nth-child(2) { background: #ffbd3d; }
.plugin-browser .browser-bar i:nth-child(3) { background: #34c759; }

.plugin-browser .browser-url {
  flex: 1;
  padding: 6px 12px;
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--line);
}

/* ====== 分页 ====== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span,
.pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pagination a {
  text-decoration: none;
}

.pagination span {
  cursor: default;
}

.pagination a:hover,
.pagination button:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.pagination .is-active,
.pagination button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.pagination .page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--muted);
  font-weight: 700;
}

/* ====== 文章详情页 ====== */
.article-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  max-width: 1160px;
  margin: 48px auto;
  padding: 0 24px;
}

.article-content {
  min-width: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}

.back-link:hover {
  text-decoration: underline;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.article-meta b {
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--green);
  background: #eafff5;
  font-size: 12px;
}

.article-meta time {
  color: var(--muted);
  font-size: 14px;
}

.article-content h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.3;
  margin-bottom: 32px;
}

.article-body {
  color: #2c3a56;
  font-size: 16px;
  line-height: 1.9;
}

.article-body h2 {
  font-size: 22px;
  margin: 36px 0 16px;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 18px;
  color: #2c3a56;
}

.article-body ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #f8fbff;
}

.article-body blockquote p {
  margin: 0;
  color: #3c4963;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-nav a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.article-nav a:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(11, 99, 246, .1);
}

.article-nav a.is-disabled {
  color: var(--muted);
  cursor: default;
}

.article-nav a.is-disabled:hover {
  border-color: var(--line);
  box-shadow: none;
}

.article-nav a.is-disabled span {
  color: var(--muted);
}

.article-nav small {
  color: var(--muted);
  font-size: 13px;
}

.article-nav span {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.article-nav-next {
  text-align: right;
}

.article-sidebar {
  display: grid;
  gap: 24px;
  align-self: start;
  position: sticky;
  top: 100px;
}

.sidebar-cta {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f0f7ff, #fff);
  box-shadow: var(--shadow);
  text-align: center;
}

.sidebar-cta h3 {
  margin: 0 0 8px;
}

.sidebar-cta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.sidebar-cta .btn {
  width: 100%;
}

/* ====== 页面过渡动画 ====== */
body {
  opacity: 0;
  transition: opacity .38s ease;
}

body.page-enter {
  opacity: 1;
}

body.page-leave {
  opacity: 0;
  transition: opacity .38s ease;
}

/* ====== 滚动入场动画 ====== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}

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

/* 卡片交错延迟 */
.feature-grid .card:nth-child(1),
.topic-grid .card:nth-child(1),
.pricing-grid .price-card:nth-child(1),
.testimonial-grid .quote:nth-child(1) { transition-delay: 0s; }

.feature-grid .card:nth-child(2),
.topic-grid .card:nth-child(2),
.pricing-grid .price-card:nth-child(2),
.testimonial-grid .quote:nth-child(2) { transition-delay: .08s; }

.feature-grid .card:nth-child(3),
.topic-grid .card:nth-child(3),
.pricing-grid .price-card:nth-child(3),
.testimonial-grid .quote:nth-child(3) { transition-delay: .16s; }

.feature-grid .card:nth-child(4),
.topic-grid .card:nth-child(4) { transition-delay: .24s; }

.feature-grid .card:nth-child(5),
.topic-grid .card:nth-child(5) { transition-delay: .32s; }

.feature-grid .card:nth-child(6) { transition-delay: .40s; }

/* 模态框弹出动画 */
.modal.is-open {
  animation: modalFadeIn .3s ease forwards;
}

.modal.is-open .modal-panel {
  animation: modalSlideUp .35s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header 进入动画 */
.site-header {
  animation: headerSlideDown .5s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes headerSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
