/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== Hero ==================== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #eff6ff 0%, #f5f3ff 50%, #ecfeff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1f2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 2px #374151;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1f2937;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
}

.browser-bar {
    padding: 40px 16px 12px;
    background: #f3f4f6;
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.browser-dots span:first-child {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-url {
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.app-preview {
    padding: 40px 20px;
    text-align: center;
}

.app-icon-big {
    font-size: 64px;
    margin-bottom: 16px;
}

.app-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-btn {
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.app-btn.android {
    background: linear-gradient(135deg, #10b981, #059669);
}

.app-btn.ios {
    background: linear-gradient(135deg, #6b7280, #374151);
}

.phone-home {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #6b7280;
    border-radius: 2px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 100px;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 120px;
    right: -40px;
    animation-delay: 1.5s;
}

.card-icon {
    font-size: 28px;
}

.card-title {
    font-weight: 600;
    font-size: 14px;
}

.card-sub {
    font-size: 12px;
    color: var(--text-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ==================== Section 通用 ==================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== 功能特性 ==================== */
.features {
    background: white;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.feature-icon-1 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.feature-icon-2 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.feature-icon-3 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.feature-icon-4 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.feature-icon-5 { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.feature-icon-6 { background: linear-gradient(135deg, #cffafe, #a5f3fc); }

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* ==================== 平台对比 ==================== */
.platforms {
    background: var(--bg-gray);
}

.platforms-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.platform-card {
    flex: 1;
    max-width: 420px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.android-card {
    border-top: 4px solid #10b981;
}

.ios-card {
    border-top: 4px solid #6b7280;
}

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

.platform-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.platform-card > p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.platform-features li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text);
}

.platform-vs {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-lighter);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

/* ==================== 在线封装 ==================== */
.builder {
    background: white;
}

.builder-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-gray);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
}

.step.active .step-circle {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.step.active .step-label {
    color: var(--primary);
}

.step-line {
    width: 100px;
    height: 3px;
    background: var(--bg-gray);
    margin: 0 16px;
    margin-bottom: 28px;
    border-radius: 2px;
}

.builder-form {
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.required {
    color: var(--danger);
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    line-height: 1.5;
    transition: var(--transition);
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
}

.form-select {
    height: 48px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select option {
    color: var(--text);
    background: #ffffff;
    padding: 8px;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* 平台选择 */
.platform-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.platform-option {
    cursor: pointer;
}

.platform-option input {
    display: none;
}

.option-content {
    padding: 20px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.platform-option:hover .option-content {
    border-color: var(--primary-light);
}

.platform-option.selected .option-content {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.option-icon {
    font-size: 36px;
}

.option-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.option-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* 配置项 */
.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.config-item {
    margin-bottom: 0;
}

.icon-upload {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-preview {
    width: 72px;
    height: 72px;
    background: white;
    border: 2px dashed var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.icon-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.color-picker {
    display: flex;
    gap: 12px;
    align-items: center;
}

.color-picker input[type="color"] {
    width: 50px;
    height: 48px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 4px;
}

.color-input {
    flex: 1;
}

/* 开关选项 */
.toggle-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.toggle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-item:hover {
    background: #f9fafb;
}

.toggle-item input {
    display: none;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-item input:checked + .toggle-switch {
    background: var(--primary);
}

.toggle-item input:checked + .toggle-switch::after {
    left: 22px;
}

.toggle-label {
    font-size: 14px;
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
}

.form-actions.center {
    justify-content: center;
}

/* 结果页面 */
.result-container {
    text-align: center;
    padding: 20px 0;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.result-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-desc {
    color: var(--text-light);
    margin-bottom: 32px;
}

.progress-wrapper {
    max-width: 400px;
    margin: 0 auto 32px;
}

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.download-section {
    animation: fadeIn 0.5s ease;
}

.download-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto 32px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.download-icon {
    font-size: 36px;
}

.download-info {
    flex: 1;
    text-align: left;
}

.download-name {
    font-weight: 700;
    margin-bottom: 2px;
}

.download-size {
    font-size: 13px;
    color: var(--text-light);
}

.qr-section {
    margin: 32px 0;
}

.qr-code {
    width: 140px;
    height: 140px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 12px;
}

.qr-text {
    font-size: 14px;
    color: var(--text-light);
}

/* ==================== 价格方案 ==================== */
.pricing {
    background: var(--bg-gray);
}

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

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    font-size: 15px;
    color: var(--text-light);
}

.pricing-features {
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 15px;
}

.pricing-features li.disabled {
    color: var(--text-lighter);
}

/* ==================== FAQ ==================== */
.faq {
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-gray);
}

.faq-icon {
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-gray);
}

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

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== CTA ==================== */
.cta {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
}

.cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-dark);
    color: #9ca3af;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.footer-bottom a {
    color: #6b7280;
}

/* ==================== 内页样式 ==================== */
.page-header {
    background: linear-gradient(180deg, #eff6ff 0%, #f5f3ff 100%);
    padding: 140px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.content-wrapper h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 32px 0 16px;
}

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

.content-wrapper h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.content-wrapper p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-wrapper li {
    margin-bottom: 8px;
    line-height: 1.8;
    color: var(--text-light);
}

.tutorial-steps {
    margin: 24px 0;
}

.tutorial-step {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.contact-card {
    padding: 24px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    text-align: center;
}

.contact-card-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.contact-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ==================== 响应式 ==================== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .platforms-wrapper {
        flex-direction: column;
    }

    .platform-vs {
        transform: rotate(90deg);
    }

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

    .section-title {
        font-size: 30px;
    }

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

    .toggle-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .builder-form {
        padding: 24px;
    }

    .platform-select {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .page-title {
        font-size: 32px;
    }

    .content-wrapper {
        padding: 24px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

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

/* ==================== 封装入口板块 ==================== */
.builder-entry {
    background: white;
}

.entry-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.entry-step {
    text-align: center;
    padding: 32px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    width: 240px;
}

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

.entry-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.entry-step-arrow {
    font-size: 24px;
    color: var(--text-lighter);
    font-weight: 700;
}

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

/* ==================== 公益理念板块 ==================== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.mission-card {
    padding: 36px;
    background: white;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

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

.mission-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mission-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.mission-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

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

.mission-cta p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
}

/* ==================== 封装页面 ==================== */
.builder-page {
    padding: 60px 0 100px;
    background: var(--bg-gray);
    min-height: 60vh;
}

/* 卡密验证 */
.card-key-verify {
    max-width: 500px;
    margin: 0 auto 40px;
}

.verify-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
}

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

.verify-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.verify-desc {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 14px;
}

.verify-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.verify-input-group .form-input {
    flex: 1;
}

.verify-skip {
    font-size: 14px;
}

.verify-skip a {
    color: var(--primary);
}

/* 有效期信息 */
.expiry-info {
    text-align: center;
    color: var(--text-light);
    margin: 16px 0;
    font-size: 14px;
}

/* ==================== 管理后台布局 ==================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 70px;
    background: var(--bg-gray);
}

/* 侧边栏 */
.admin-sidebar {
    width: 240px;
    background: white;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.admin-sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.admin-username {
    font-weight: 700;
    font-size: 15px;
}

.admin-role {
    font-size: 12px;
    color: var(--text-light);
}

.admin-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    margin-bottom: 4px;
}

.admin-nav-item:hover {
    background: var(--bg-gray);
    color: var(--text);
}

.admin-nav-item.active {
    background: var(--gradient);
    color: white;
}

.admin-nav-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.admin-sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border);
}

/* 主内容区 */
.admin-main {
    flex: 1;
    margin-left: 240px;
    padding: 24px 32px;
    min-width: 0;
}

.admin-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 10px;
    margin-bottom: 16px;
}

.admin-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

.admin-page {
    display: none;
}

.admin-page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.admin-header {
    margin-bottom: 24px;
}

.admin-title {
    font-size: 28px;
    font-weight: 800;
}

.admin-subtitle {
    color: var(--text-light);
    font-size: 15px;
    margin-top: 4px;
}

/* 统计卡片 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.stat-card-blue .stat-card-icon { background: #dbeafe; }
.stat-card-green .stat-card-icon { background: #d1fae5; }
.stat-card-purple .stat-card-icon { background: #e0e7ff; }
.stat-card-orange .stat-card-icon { background: #fef3c7; }

.stat-card-body {
    flex: 1;
}

.stat-card-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 13px;
    color: var(--text-light);
}

.stat-card-trend {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 11px;
    font-weight: 600;
}

.stat-card-trend.up { color: var(--success); }
.stat-card-trend.down { color: var(--warning); }

/* 面板 */
.admin-panel {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    overflow: hidden;
}

.admin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}

.admin-panel-title {
    font-size: 18px;
    font-weight: 700;
}

.admin-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

/* 工具栏 */
.admin-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-search {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    width: 240px;
}

.admin-search:focus {
    outline: none;
    border-color: var(--primary);
}

.admin-filter {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

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

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.admin-table tbody tr:hover {
    background: var(--bg-gray);
}

.text-ellipsis {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* 徽章 */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-green { background: #d1fae5; color: #065f46; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-orange { background: #fef3c7; color: #92400e; }
.badge-gray { background: #f3f4f6; color: #374151; }

/* 链接单元格 */
.link-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-text {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-light);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 16px;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--bg-gray);
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.empty-row {
    text-align: center;
    color: var(--text-light);
    padding: 40px !important;
}

/* 图表占位 */
.chart-placeholder {
    padding: 24px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    gap: 12px;
}

.chart-bar {
    flex: 1;
    max-width: 60px;
    background: var(--gradient);
    border-radius: 8px 8px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
}

.chart-bar-value {
    position: absolute;
    top: -24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.chart-bar-label {
    position: absolute;
    bottom: -24px;
    font-size: 12px;
    color: var(--text-light);
}

/* 卡密生成器 */
.cardkey-generator {
    padding: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.cardkey-result {
    padding: 0 24px 24px;
}

.cardkey-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cardkey-result-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.cardkey-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cardkey-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

.cardkey-code {
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}

.cardkey-code-table {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* 设置表单 */
.settings-form {
    padding: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

.info-label {
    font-size: 12px;
    color: var(--text-light);
}

.info-value {
    font-size: 14px;
    font-weight: 600;
}

/* 遮罩层 */
.admin-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}

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

/* ==================== 后台响应式 ==================== */
@media (max-width: 1024px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-search {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        padding: 16px;
    }

    .admin-menu-toggle {
        display: flex;
    }

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

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .admin-search {
        width: 100%;
    }

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

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

    .entry-steps {
        flex-direction: column;
    }

    .entry-step-arrow {
        transform: rotate(90deg);
    }

    .mission-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto 48px;
    }

    .admin-table {
        font-size: 12px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
}
