/* ==========================================================================
   AIwenAD 内容页样式（GEO服务 / 价格套餐 / 常见问题）
   复用 mkt.css 的主题变量与基础组件，这里只补充页面级模块
   ========================================================================== */

/* ---------- 页面头图 ---------- */
.page-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 55%, #DCEBFB 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -45%;
    right: -15%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(98, 72, 232, 0.12) 0%, rgba(98, 72, 232, 0) 70%);
    border-radius: 50%;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .crumb {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 18px;
}

.page-hero .crumb a {
    color: var(--gray);
    text-decoration: none;
}

.page-hero .crumb a:hover {
    color: var(--primary);
}

.page-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.3;
    font-weight: 800;
    color: var(--secondary);
    max-width: 960px;
    margin-bottom: 20px;
}

.page-hero .lead {
    font-size: 17px;
    line-height: 1.9;
    color: var(--dark-gray);
    max-width: 860px;
    margin-bottom: 28px;
}

.page-hero .lead strong {
    color: var(--primary);
}

.ph-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.ph-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid rgba(98, 72, 232, 0.18);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.ph-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- 通用区块 ---------- */
.sec {
    padding: 84px 0;
}

.sec--gray {
    background: var(--light);
}

.sec--tight {
    padding: 60px 0;
}

.sec .section-header {
    margin-bottom: 48px;
}

.sec .section-header.left {
    text-align: left;
    margin-bottom: 32px;
}

.prose p {
    color: var(--dark-gray);
    font-size: 16px;
    line-height: 1.95;
    margin-bottom: 18px;
}

.prose h3 {
    font-size: 22px;
    color: var(--secondary);
    margin: 28px 0 12px;
}

.prose ul {
    margin: 0 0 18px 20px;
}

.prose li {
    color: var(--dark-gray);
    line-height: 1.95;
    margin-bottom: 8px;
}

.prose strong {
    color: var(--primary-dark);
}

/* ---------- KPI 数据行 ---------- */
.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.kpi-item {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: var(--border-radius);
    padding: 22px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.kpi-item .kpi-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.kpi-item .kpi-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 6px;
}

/* ---------- 服务卡片 ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-card {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: var(--border-radius-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(98, 72, 232, 0.25);
}

.svc-card .svc-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: var(--gradient-primary);
    margin-bottom: 18px;
}

.svc-card h3 {
    font-size: 19px;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 700;
}

.svc-card p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray);
}

.svc-card .svc-step {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 34px;
    font-weight: 800;
    color: rgba(98, 72, 232, 0.08);
    line-height: 1;
}

/* ---------- 流程步骤 ---------- */
.flow-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    counter-reset: flow;
}

.flow-item {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: var(--border-radius);
    padding: 26px 20px 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
    counter-increment: flow;
}

.flow-item::before {
    content: counter(flow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 14px;
}

.flow-item h3 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.flow-item p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray);
}

/* ---------- 平台标签 ---------- */
.plat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.plat-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: 30px;
    padding: 10px 18px 10px 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.plat-chip img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 6px;
}

.plat-chip small {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: var(--gray);
}

/* 豆包作为核心主战场的高亮 */
.plat-chip {
    position: relative;
}

.plat-chip--core {
    border-color: #ff6b35;
    background: #FFF7ED;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.18);
}

.plat-core-tag {
    position: absolute;
    top: -10px;
    right: 12px;
    background: #ff6b35;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    line-height: 1.6;
    white-space: nowrap;
}

/* ---------- 对比表格 ---------- */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    font-size: 15px;
}

.cmp-table th,
.cmp-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid #EEF2F8;
    vertical-align: top;
    color: var(--dark-gray);
}

.cmp-table thead th {
    background: #F7F9FD;
    color: var(--secondary);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.cmp-table tbody tr:hover {
    background: #FAFBFF;
}

.cmp-table .col-hl {
    background: rgba(98, 72, 232, 0.04);
    font-weight: 600;
    color: var(--secondary);
}

.cmp-table td .yes {
    color: var(--success);
    font-weight: 700;
}

.cmp-table td .no {
    color: #CBD5E1;
}

/* ---------- 价格页补充 ---------- */
.pkg-tip {
    margin-top: 26px;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: var(--border-radius);
    padding: 20px 24px;
    font-size: 15px;
    line-height: 1.9;
    color: #9A3412;
}

.pkg-tip strong {
    color: #C2410C;
}

.billing-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.billing-item {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 18px 20px;
}

.billing-item h3 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 6px;
}

.billing-item p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--gray);
}

/* ---------- FAQ ---------- */
.faq-wrap {
    max-width: 100%;
    margin: 0 auto;
}

.faq-cat {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin: 36px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.faq-cat:first-of-type {
    margin-top: 0;
}

.faq-item {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item[open] {
    border-color: rgba(98, 72, 232, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 56px 20px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    position: relative;
    line-height: 1.6;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--primary);
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item .faq-body {
    padding: 0 22px 22px;
    font-size: 15px;
    line-height: 1.95;
    color: var(--dark-gray);
    border-top: 1px dashed #EEF2F8;
    padding-top: 16px;
    margin-top: 2px;
}

.faq-item .faq-body p {
    margin-bottom: 10px;
}

.faq-item .faq-body p:last-child {
    margin-bottom: 0;
}

/* ---------- CTA 区块 ---------- */
.cta-band {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-xl);
}

.cta-band h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
}

.cta-band p {
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.92;
    max-width: 720px;
    margin: 0 auto 26px;
}

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

.cta-band .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
}

.cta-band .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.cta-band .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ---------- 页面锚点导航 ---------- */
.anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.anchor-nav a {
    font-size: 14px;
    color: var(--gray);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    padding: 8px 16px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.anchor-nav a:hover {
    color: var(--primary);
    border-color: rgba(98, 72, 232, 0.35);
    background: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-list { grid-template-columns: repeat(2, 1fr); }
    .kpi-row { grid-template-columns: repeat(2, 1fr); }
    .billing-list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .page-hero { padding: 150px 0 56px; }
    .sec { padding: 56px 0; }
    .svc-grid { grid-template-columns: 1fr; }
    .flow-list { grid-template-columns: 1fr; }
    .kpi-row { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 36px 22px; }
    .faq-item summary { font-size: 15px; padding: 16px 44px 16px 16px; }
}
