/* AIGEO 专题页 — 继承 about-page hero/section 体系，补充专题组件 */
@import url('page-assist.css');

body.aigeo-page.has-page-assist {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.aigeo-page .page-wrap.article-page {
  padding: 0;
}

.aigeo-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.aigeo-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--text2, #3A3632);
  background: var(--surface-2, #F4F2EE);
  border: 1px solid var(--card-border, rgba(12,11,10,0.08));
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.aigeo-subnav a:hover,
.aigeo-subnav a[aria-current="page"] {
  color: var(--gold-deep, #8a6010);
  border-color: var(--border-accent, rgba(201,154,46,0.4));
  background: var(--gold-dim, rgba(184, 136, 42, 0.14));
}

.aigeo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.aigeo-hero__actions .btn-primary,
.aigeo-hero__actions .btn-secondary {
  flex: 1 1 200px;
  justify-content: center;
  text-align: center;
}

.aigeo-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2rem);
  background: var(--surface-1, #FAFAF8);
}

.aigeo-section--alt {
  background: var(--surface-0, #fff);
}

.aigeo-section__inner {
  max-width: var(--max-w, 1420px);
  margin: 0 auto;
}

.aigeo-section__title {
  font-family: var(--ff-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  color: var(--ink, #0C0B0A);
  margin: 0 0 1rem;
}

.aigeo-section__title .accent {
  color: var(--gold, #b8882a);
}

.aigeo-section__lede {
  max-width: 61.8%;
  font-size: var(--text-md, 1.0625rem);
  line-height: var(--leading-relaxed, 1.82);
  color: var(--muted, #6B6560);
  margin: 0 0 2rem;
}

.aigeo-shift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.aigeo-shift-card {
  padding: 1.5rem;
  background: var(--surface-0, #fff);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius, 16px);
  box-shadow: var(--card-shadow);
}

.aigeo-shift-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.aigeo-shift-card p {
  margin: 0;
  font-size: var(--text-sm-plus, 0.9375rem);
  line-height: 1.72;
  color: var(--muted);
}

.aigeo-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm-plus, 0.9375rem);
  background: var(--surface-0, #fff);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.aigeo-compare th,
.aigeo-compare td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
  vertical-align: top;
}

.aigeo-compare th {
  background: var(--surface-2, #F4F2EE);
  font-weight: 700;
  color: var(--ink);
}

.aigeo-compare tr:last-child td {
  border-bottom: none;
}

.aigeo-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.aigeo-bento__item {
  padding: 1.5rem 1.65rem;
  background: var(--surface-0, #fff);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.aigeo-bento__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-dim);
  border-radius: 999px;
}

.aigeo-bento__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.aigeo-bento__item p {
  margin: 0;
  font-size: var(--text-sm-plus);
  line-height: 1.72;
  color: var(--muted);
}

.aigeo-bento__deliver {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--card-border);
  font-size: var(--text-sm, 0.875rem);
  color: var(--text2);
}

.aigeo-value-grid {
  display: grid;
  grid-template-columns: 61.8fr 38.2fr;
  gap: 2rem;
  align-items: start;
}

.aigeo-value-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aigeo-value-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--card-border);
}

.aigeo-value-list li:last-child {
  border-bottom: none;
}

.aigeo-value-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.aigeo-value-list span {
  font-size: var(--text-sm-plus);
  line-height: 1.72;
  color: var(--muted);
}

.aigeo-proof-card {
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(184,136,42,0.08), rgba(99,102,241,0.06));
  border: 1px solid var(--border-accent);
  border-radius: var(--card-radius);
}

.aigeo-proof-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.aigeo-proof-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: var(--text-sm-plus);
  line-height: 1.75;
  color: var(--text2);
}

.aigeo-hub-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.aigeo-hub-card {
  display: block;
  padding: 1.35rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface-0);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.aigeo-hub-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--card-shadow-hover);
}

.aigeo-hub-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  color: var(--ink);
}

.aigeo-hub-card p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--muted);
}

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

.aigeo-article-link {
  display: block;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface-0);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md, 12px);
  transition: border-color 0.2s;
}

.aigeo-article-link:hover {
  border-color: var(--border-accent);
}

.aigeo-article-link strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--text-sm-plus);
  color: var(--ink);
}

.aigeo-article-link span {
  font-size: var(--text-sm);
  color: var(--muted);
}

.aigeo-faq {
  max-width: 820px;
}

.aigeo-faq details {
  border-bottom: 1px solid var(--card-border);
  padding: 0.85rem 0;
}

.aigeo-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

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

.aigeo-faq details p {
  margin: 0.65rem 0 0;
  font-size: var(--text-sm-plus);
  line-height: 1.75;
  color: var(--muted);
}

.aigeo-cta-band {
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  background: var(--hero-bg, #07060A);
  color: var(--hero-text, #F5F3EF);
}

.aigeo-cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.aigeo-cta-band p {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: var(--hero-text-muted);
  line-height: 1.75;
}

.aigeo-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.aigeo-cta-band__actions .btn-primary,
.aigeo-cta-band__actions .btn-secondary {
  min-width: min(100%, 220px);
  justify-content: center;
}

.aigeo-pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-0);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.aigeo-pricing-table th,
.aigeo-pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
  vertical-align: top;
  font-size: var(--text-sm-plus);
}

.aigeo-pricing-table th {
  background: var(--surface-2);
  font-weight: 700;
}

.aigeo-pricing-table .price {
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.aigeo-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.aigeo-checklist-group {
  padding: 1.25rem;
  background: var(--surface-0);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
}

.aigeo-checklist-group h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--gold-deep);
}

.aigeo-checklist-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  font-size: var(--text-sm-plus);
  line-height: 1.55;
  color: var(--text2);
  cursor: pointer;
}

.aigeo-checklist-item input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.aigeo-checklist-progress {
  position: sticky;
  top: calc(var(--nav-total-h, 72px) + 1rem);
  padding: 1.25rem;
  background: var(--surface-0);
  border: 1px solid var(--border-accent);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.aigeo-checklist-progress__bar {
  height: 8px;
  margin: 0.75rem 0;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.aigeo-checklist-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.aigeo-trust-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text2);
  background: rgba(20, 184, 122, 0.08);
  border: 1px solid rgba(20, 184, 122, 0.22);
  border-radius: var(--radius-md);
}

.aigeo-bento--spaced {
  margin-top: 1.5rem;
}

.aigeo-muted-note {
  color: var(--muted);
  font-size: var(--text-sm, 0.875rem);
}

.aigeo-proof-card--spaced {
  margin-top: 1.25rem;
}

.aigeo-proof-card code {
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: 0.9em;
  color: var(--text2, #3A3632);
  background: rgba(26, 24, 20, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.aigeo-articles-empty {
  margin: 0;
  padding: 1.25rem;
  font-size: var(--text-sm-plus);
  line-height: 1.7;
  color: var(--muted);
  background: var(--surface-0);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-md);
}

.aigeo-articles-empty a {
  color: var(--gold-deep, #8a6010);
}

.aigeo-proof-card a,
.aigeo-section a:not(.btn-primary):not(.btn-secondary):not(.aigeo-hub-card):not(.aigeo-article-link) {
  color: var(--gold-deep, #8a6010);
  text-decoration: underline;
  text-decoration-color: rgba(138, 96, 16, 0.35);
  text-underline-offset: 0.15em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.aigeo-proof-card a:hover,
.aigeo-section a:not(.btn-primary):not(.btn-secondary):not(.aigeo-hub-card):not(.aigeo-article-link):hover {
  color: var(--gold, #b8882a);
  text-decoration-color: rgba(184, 136, 42, 0.55);
}

.aigeo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

@media (max-width: 900px) {
  .aigeo-section__lede,
  .aigeo-value-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .aigeo-shift-grid,
  .aigeo-bento,
  .aigeo-hub-links,
  .aigeo-articles,
  .aigeo-checklist-grid {
    grid-template-columns: 1fr;
  }

  .aigeo-compare {
    display: block;
    overflow-x: visible;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 768px) {
  .aigeo-section {
    padding: clamp(2.75rem, 7vw, 3.5rem) clamp(1rem, 4vw, 1.25rem);
  }

  .aigeo-section__lede {
    max-width: none;
    font-size: var(--text-sm-plus, 0.9375rem);
  }

  .aigeo-subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.35rem;
  }

  .aigeo-subnav::-webkit-scrollbar {
    display: none;
  }

  .aigeo-subnav a {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .aigeo-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .aigeo-hero__actions .btn-primary,
  .aigeo-hero__actions .btn-secondary {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
  }

  .aigeo-cta-band__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
  }

  .aigeo-cta-band__actions .btn-primary,
  .aigeo-cta-band__actions .btn-secondary {
    width: 100%;
    min-height: 48px;
  }

  .aigeo-checklist-progress {
    position: static;
    margin-bottom: 1.25rem;
  }

  .aigeo-bento__item,
  .aigeo-shift-card,
  .aigeo-hub-card {
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .aigeo-compare thead {
    display: none;
  }

  .aigeo-compare tbody {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .aigeo-compare tr {
    display: block;
    background: var(--surface-0, #fff);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
  }

  .aigeo-compare th[scope="row"],
  .aigeo-compare td:first-child {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--surface-2, #F4F2EE);
    border-bottom: 1px solid var(--card-border);
    font-weight: 700;
    color: var(--ink);
  }

  .aigeo-compare td {
    display: block;
    padding: 0.6rem 1rem;
    border-bottom: 1px dashed var(--card-border);
  }

  .aigeo-compare td:last-child {
    border-bottom: none;
  }

  .aigeo-pricing-table thead {
    display: none;
  }

  .aigeo-pricing-table tbody {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .aigeo-pricing-table tr {
    display: block;
    background: var(--surface-0);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
  }

  .aigeo-pricing-table td {
    display: block;
    padding: 0.65rem 1rem;
    border-bottom: 1px dashed var(--card-border);
  }

  .aigeo-pricing-table td:first-child {
    padding-top: 0.85rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--card-border);
  }

  .aigeo-pricing-table td.price {
    font-size: 1.05rem;
    padding-bottom: 0.85rem;
    border-bottom: none;
  }
}
