/* ===== CSS 变量 ===== */
:root {
    /* 主色 - 渐变紫蓝 */
    --primary: #7c3aed;
    --primary-2: #4f46e5;
    --primary-hover: #6d28d9;
    --primary-light: #ede9fe;
    --accent: #a78bfa;

    /* 状态色 */
    --danger: #dc2626;
    --danger-hover: #b91c1c;
    --success: #16a34a;
    --success-bg: #dcfce7;
    --error-bg: #fee2e2;
    --warning-bg: #fef3c7;

    /* 背景/卡片/文字 */
    --bg: #fafafa;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #7c3aed, #4f46e5);
    --gradient-soft: linear-gradient(135deg, #ede9fe, #e0e7ff);

    /* 阴影 - 紫色调柔和 */
    --shadow: 0 1px 3px rgba(124, 58, 237, 0.05), 0 1px 2px rgba(124, 58, 237, 0.04);
    --shadow-md: 0 4px 12px rgba(124, 58, 237, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(124, 58, 237, 0.1), 0 8px 10px -6px rgba(124, 58, 237, 0.05);
    --shadow-glow: 0 4px 20px rgba(124, 58, 237, 0.25);

    /* 圆角 */
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;

    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;

    --max-width: 960px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "Noto Sans SC", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== 导航栏 ===== */
nav {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(124, 58, 237, 0.04);
    position: sticky;
    top: 0;
    z-index: 50;
}

nav .nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 60px;
    gap: 6px;
}

nav .brand {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 16px;
    text-decoration: none;
    letter-spacing: -0.02em;
}

nav .brand:hover {
    text-decoration: none;
}

nav a.nav-link {
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.18s ease;
}

nav a.nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none;
}

nav a.nav-link.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

nav .nav-user {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

/* ===== 主内容区 ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 36px 20px;
    animation: fadeInUp 0.4s ease;
}

.page-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-desc {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

/* ===== Flash 消息 ===== */
.flash {
    padding: 12px 16px 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.25s ease;
    border-left: 4px solid transparent;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.flash-success {
    background: var(--success-bg);
    color: var(--success);
    border-left-color: var(--success);
}

.flash-error {
    background: var(--error-bg);
    color: var(--danger);
    border-left-color: var(--danger);
}

.flash-warning {
    background: var(--warning-bg);
    color: #92400e;
    border-left-color: #f59e0b;
}

.flash .flash-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0 4px;
}

.flash .flash-close:hover {
    opacity: 1;
}

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

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

/* ===== 卡片 ===== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 24px;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

/* 窄卡片（登录/注册/支付） */
.card-narrow {
    max-width: 420px;
    margin: 0 auto;
    margin-top: 15%;
}

.card-narrow-md {
    max-width: 480px;
}

/* ===== 统计区 (首页) ===== */
.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.22s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.stat-card .stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.stat-card .stat-label {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-top: 6px;
}

/* ===== 功能入口网格 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.22s ease;
    display: block;
    color: var(--text);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    text-decoration: none;
    border-color: var(--accent);
}

.feature-card .feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--gradient-soft);
}

.feature-card .feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-card .feature-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== 表单 ===== */
.form-group {
    margin-bottom: 20px;
}

/* 音色来源切换 */
.mode-switch {
    display: flex;
    gap: 8px;
}

.mode-switch .mode-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.15s;
    margin-bottom: 0;
    background: var(--card-bg);
}

.mode-switch .mode-option input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.mode-switch .mode-option:hover {
    border-color: var(--accent);
}

.mode-switch .mode-option:has(input:checked) {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group .hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"],
textarea,
select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

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

textarea.large {
    min-height: 200px;
}

/* 固定宽度输入 */
.input-narrow {
    width: 120px;
}

/* 字数统计 */
.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

.char-count.over-limit {
    color: var(--danger);
    font-weight: 600;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: var(--danger-hover);
}

.btn-secondary {
    background: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

/* 全宽按钮 */
.btn-block {
    width: 100%;
}

/* loading 状态 */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: -2px;
}

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

.loading-overlay {
    display: none;
    margin-top: 16px;
    padding: 16px;
    background: var(--gradient-soft);
    border-radius: var(--radius);
    color: var(--primary);
    font-size: 0.9rem;
    text-align: center;
}

.loading-overlay.show {
    display: block;
}

.loading-overlay .spinner-lg {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(124, 58, 237, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: -5px;
}

/* ===== 文件预览 ===== */
.file-preview {
    display: none;
    margin-top: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.file-preview.show {
    display: block;
}

.file-preview audio {
    width: 100%;
    margin-top: 8px;
}

.file-preview .file-name {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== 播放器结果区 ===== */
.result-box {
    margin-top: 24px;
    padding: 24px;
    background: var(--gradient-soft);
    border-radius: var(--radius-md);
    border: 1px solid #c7d2fe;
}

.result-box h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.result-box audio {
    width: 100%;
    margin-bottom: 12px;
}

.result-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===== 表格 ===== */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead {
    background: var(--primary-light);
}

th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    white-space: nowrap;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

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

td .voice-id-cell {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.8rem;
    color: var(--text-light);
    word-break: break-all;
    max-width: 200px;
}

/* 无边框信息表（账户/支付） */
.info-table {
    width: 100%;
}

.info-table td {
    border-bottom: none;
    padding: 10px 0;
}

.info-label {
    color: var(--text-light);
    width: 120px;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-light);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* ===== 删除确认表单 ===== */
.delete-form {
    display: inline;
}

/* ===== Badge 标签 ===== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
}

.badge-clone {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-preset {
    background: #fef3c7;
    color: #92400e;
}

/* ===== 配额进度条 ===== */
.quota-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 14px 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.quota-bar .quota-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.quota-bar .quota-progress {
    flex: 1;
    min-width: 120px;
    height: 8px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.quota-bar .quota-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 999px;
    transition: width 0.3s;
}

.quota-bar .quota-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== 定价页 ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 28px 20px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.22s ease;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pricing-card.current {
    border-image: var(--gradient-primary) 1;
    border-style: solid;
    border-width: 2px;
    background: var(--gradient-soft);
}

.pricing-card .pricing-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.pricing-card .pricing-price {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.pricing-card .pricing-price .pricing-period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    -webkit-text-fill-color: var(--text-light);
}

.pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 0.85rem;
    line-height: 2;
    color: var(--text-light);
}

.pricing-card .pricing-features li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
}

/* 批量折扣卡片 */
.batch-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.batch-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.18s;
}

.batch-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.batch-card .batch-qty {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.batch-card .batch-price {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 8px 0;
}

.batch-card .batch-unit {
    font-size: 0.8rem;
    color: var(--text-light);
}

.batch-card .batch-save {
    display: block;
    color: var(--success);
    font-weight: 600;
    margin-top: 4px;
}

/* ===== 工具 class ===== */
.section-title {
    margin: 28px 0 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.section-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.section-title:first-child,
.section-title.first {
    margin-top: 0;
}

.text-mono {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 0.85rem;
}

.text-truncate {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-sm-light {
    font-size: 0.85rem;
    color: var(--text-light);
}

.text-sm-faint {
    font-size: 0.8rem;
    color: var(--text-light);
}

.text-nowrap {
    white-space: nowrap;
}

.text-right {
    text-align: right;
}

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

.form-inline {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-footer {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 当前套餐提示卡片 */
.current-plan-card {
    background: var(--gradient-soft);
    border: 1px solid #c7d2fe;
}

.current-plan-card .plan-usage {
    margin-left: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.current-badge {
    margin-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 700;
}

/* 金额展示区 */
.amount-display {
    text-align: center;
    padding: 24px;
    background: var(--gradient-soft);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.amount-display .amount-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.amount-display .amount-value {
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* 行内购买表单 */
.purchase-form {
    margin-top: 16px;
}

.batch-purchase-form {
    margin-top: 12px;
}

/* 记录条数提示 */
.record-count {
    text-align: center;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* 空状态行动按钮 */
.empty-action {
    margin-top: 12px;
}

/* 音频历史 - 展开行 */
.audio-row {
    display: none;
}

.audio-row.show {
    display: table-row;
}

.audio-row td {
    background: var(--bg);
    padding: 12px 16px;
}

.audio-row audio {
    width: 100%;
}

/* 状态色（订单等） */
.status-pending {
    color: #92400e;
    font-weight: 600;
}

.status-paid {
    color: var(--success);
    font-weight: 600;
}

/* 表单内底部链接 */
.bottom-link {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* 间距 utility */
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

/* 小号状态文字 */
.text-status {
    font-size: 0.9rem;
}

/* ===== 页脚 ===== */
.site-footer {
    margin-top: 64px;
    padding: 32px 20px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.8;
}

.site-footer .footer-links {
    margin-bottom: 8px;
}

.site-footer .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer .footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.site-footer .footer-divider {
    margin: 0 8px;
    color: var(--border);
}

.site-footer .footer-copyright {
    color: var(--text-light);
}

.site-footer .footer-filing a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer .footer-filing a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== 协议/声明正文页 ===== */
.legal-content {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--text);
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 28px 0 12px;
    color: var(--text);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 20px 0 8px;
    color: var(--text);
}

.legal-content p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.legal-content ul,
.legal-content ol {
    margin: 8px 0 16px 20px;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

.legal-content .legal-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* ===== 营销首页 ===== */
.hero {
    text-align: center;
    padding: 56px 20px 48px;
    animation: fadeInUp 0.5s ease;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 12px 28px;
    font-size: 1rem;
}

/* 亮点栏 */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 48px 0;
}

.highlight-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.highlight-item .highlight-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--gradient-soft);
}

.highlight-item .highlight-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.highlight-item .highlight-label {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* 营销分区 */
.marketing-section {
    margin: 56px 0;
}

.marketing-section > .section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.marketing-section > .section-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

/* 功能卡（营销版） */
.features-marketing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 110px;
}

.feature-marketing {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all 0.22s ease;
}

.feature-marketing:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-marketing .feature-marketing-icon {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: #fff;
    margin-bottom: 16px;
}

.feature-marketing .feature-marketing-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-marketing .feature-marketing-desc {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* 使用流程 */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px 24px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: left;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -14px;
    left: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.step .step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 6px;
}

.step .step-desc {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* 套餐预览（简化版） */
.pricing-teaser {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.teaser-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.2s;
}

.teaser-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.teaser-card.featured {
    border-color: var(--primary);
    background: var(--gradient-soft);
}

.teaser-card .teaser-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.teaser-card .teaser-price {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.teaser-card .teaser-period {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* 底部 CTA */
.cta-section {
    margin: 64px 0 32px;
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-section .cta-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-section .cta-subtitle {
    font-size: 1rem;
    opacity: 0.92;
    margin-bottom: 28px;
}

.cta-section .btn {
    background: #fff;
    color: var(--primary);
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-left: 8px;
}

.cta-section .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ===== 响应式 ===== */
@media (max-width: 640px) {
    nav .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 16px;
    }

    nav .brand {
        width: 100%;
        margin-bottom: 6px;
    }

    nav a.nav-link {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .stats {
        flex-direction: column;
    }

    .container {
        padding: 20px 16px;
    }

    .card {
        padding: 20px;
        border-radius: var(--radius);
    }

    .stat-card,
    .feature-card,
    .pricing-card {
        border-radius: var(--radius);
    }

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

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

    .hero {
        padding: 36px 16px 32px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-section {
        padding: 32px 20px;
    }

    .cta-section .btn,
    .cta-section .btn-ghost {
        width: 100%;
        margin-left: 0;
        margin-bottom: 8px;
    }
}
