/* ===== 匠星官网 — 子页面共用样式 ===== */
/* 依赖 inline-extracted.css 中的 CSS 变量 */

/* ── 页面顶部 Hero ── */
.page-hero {
    background: linear-gradient(135deg, #064E3B 0%, #065F46 50%, #0D9488 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2314B8A6' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #A7F3D0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .page-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.8;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* ── 通用页面区块 ── */
.page-section {
    padding: 100px 0;
}

.page-section.gray {
    background: var(--bg-root);
}

/* ── 价值观/使命卡片 ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.value-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: scale(1.1);
}

.value-card:hover .value-icon svg {
    fill: white;
}

.value-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--primary);
    transition: fill 0.3s;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── 里程碑时间线 ── */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transform: translateX(-50%);
}

.milestone {
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
}

.milestone:nth-child(odd) {
    flex-direction: row;
}

.milestone:nth-child(even) {
    flex-direction: row-reverse;
}

.milestone-content {
    width: calc(50% - 40px);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.milestone-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.milestone-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.milestone-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-surface);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.milestone-year {
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2;
}

.milestone:nth-child(odd) .milestone-year {
    display: none;
}

.milestone:nth-child(even) .milestone-dot {
    display: none;
}

/* ── 统计数据条 ── */
.stats-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding: 60px 0;
}

.stat-block {
    text-align: center;
}

.stat-block .stat-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-block .stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ── 团队成员 ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.team-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.team-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow-md);
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-card .team-role {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── 联系信息卡片 ── */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.contact-info-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.contact-info-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
    transition: fill 0.3s;
}

.contact-info-card:hover .contact-icon svg {
    fill: white;
}

.contact-info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* ── 表单样式 ── */
.form-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label .required {
    color: #EF4444;
    margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-root);
    transition: all 0.3s;
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
    background: white;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%2394A3B8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-submit {
    margin-top: 32px;
    text-align: center;
}

.form-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ── FAQ 手风琴 ── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    gap: 16px;
    user-select: none;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-toggle {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.faq-item.active .faq-toggle {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: rotate(180deg);
}

.faq-toggle svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
    transition: fill 0.3s;
}

.faq-item.active .faq-toggle svg {
    fill: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ── 要求清单 ── */
.requirements-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
}

.requirement-check {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.requirement-check svg {
    width: 14px;
    height: 14px;
    fill: white;
}

/* ── 流程步骤（竖向） ── */
.steps-vertical {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.steps-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.step-v {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.step-v:last-child {
    margin-bottom: 0;
}

.step-v-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.step-v-content {
    flex: 1;
    padding-top: 8px;
}

.step-v-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-v-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── 筛选标签 ── */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.filter-tab:hover {
    color: var(--primary);
    border-color: rgba(13, 148, 136, 0.2);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-md);
}

/* ── 收益/佣金卡片 ── */
.earnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.earning-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.earning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

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

.earning-card .earning-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.earning-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.earning-card .earning-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.earning-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ── CTA 横幅 ── */
.cta-banner {
    background: linear-gradient(135deg, #064E3B 0%, #065F46 50%, #0D9488 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2314B8A6' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner .container,
.cta-banner-content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn {
    min-width: 200px;
}

/* ── 合作模式卡片 ── */
.coop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.coop-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.coop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

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

.coop-card .coop-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.coop-card:hover .coop-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: scale(1.1);
}

.coop-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.coop-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.coop-card .coop-features {
    list-style: none;
    padding: 0;
}

.coop-card .coop-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.coop-card .coop-features li svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
    flex-shrink: 0;
}

/* ── 服务详情卡片 ── */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.service-detail-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 24px;
}

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

.service-detail-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.service-detail-card:hover .service-detail-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.service-detail-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-detail-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-detail-body .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

/* ── 下载特色展示 ── */
.feature-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-showcase-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.feature-showcase-card .feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s;
}

.feature-showcase-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.feature-showcase-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-showcase-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── 地图占位 ── */
.map-placeholder {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, #E0F2FE, #CCFBF1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
    fill: var(--text-muted);
}

/* ── 保障徽章 ── */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.guarantee-item {
    text-align: center;
    padding: 24px 16px;
}

.guarantee-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.guarantee-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.guarantee-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── 页面导航/锚点列表 ── */
.page-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.page-nav a {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-surface);
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.page-nav a:hover,
.page-nav a.active {
    color: var(--primary);
    border-color: var(--primary);
}

/* ── 客户 Logo 墙 ── */
.client-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.client-logo {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.client-logo:hover {
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

/* ── 二栏布局 ── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ── 系统要求表 ── */
.sys-req-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sys-req-table th {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 16px 24px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
}

.sys-req-table td {
    padding: 14px 24px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 14px;
    color: var(--text-secondary);
}

.sys-req-table tr:last-child td {
    border-bottom: none;
}

.sys-req-table tr:hover td {
    background: rgba(13, 148, 136, 0.03);
}

/* ── 扫码引导 ── */
.scan-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.scan-step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.scan-step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.scan-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.scan-step p {
    font-size: 14px;
    color: var(--text-secondary);
}

.scan-arrow {
    font-size: 32px;
    color: var(--text-muted);
}

/* ── 移动端响应式 ── */
@media (max-width: 1024px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline::before {
        left: 20px;
    }

    .milestone {
        flex-direction: row !important;
        padding-left: 52px;
    }

    .milestone-content {
        width: 100%;
    }

    .milestone-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .milestone-year {
        left: 20px;
        transform: translateX(-50%);
    }

    .milestone:nth-child(odd) .milestone-year {
        display: block;
    }

    .milestone:nth-child(even) .milestone-dot {
        display: block;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 130px 0 60px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero .page-hero-desc {
        font-size: 16px;
    }

    .page-section {
        padding: 60px 0;
    }

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

    .form-card {
        padding: 32px 24px;
    }

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

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

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

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        flex-direction: column;
        text-align: center;
    }

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

    .stat-block .stat-num {
        font-size: 36px;
    }

    .scan-guide {
        gap: 32px;
    }

    .scan-arrow {
        display: none;
    }

    .download-platforms {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .requirements-list {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .stats-band {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   动态组件样式 - 编辑器渲染的组件
   ============================================================ */
.dynamic-section {
  width: 100%;
}

.dynamic-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dynamic-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.dynamic-swiper {
  position: relative;
}

.dynamic-swiper .swiper-pagination-bullet-active {
  background: #0D9488;
}

.dynamic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.dynamic-grid-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}

.dynamic-notice-bar {
  border-left: 4px solid #0D9488;
}

.dynamic-search-bar input:focus {
  box-shadow: none;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .dynamic-list-card [style*="grid-template-columns"],
  .dynamic-grid-nav [style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .dynamic-list-card [style*="grid-template-columns"],
  .dynamic-grid-nav [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* 动态内容容器：给固定导航栏留出空间 */
#dynamic-content {
    padding-top: 80px;
}

/* 首页hero自带padding-top:80px，不需要额外间距，覆盖掉 */
.hero #dynamic-content {
    padding-top: 0;
}
