/* ============================================
   MickeyAI 官方网站样式
   白底黑白极简风格 | 黑白渐变 | 卡片对齐 | 响应式
   ============================================ */

:root {
    /* 白底黑白配色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #f0f0f0;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-card-hover: rgba(0, 0, 0, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.9);

    /* 文字色彩 */
    --text-primary: #000000;
    --text-secondary: #444444;
    --text-tertiary: #888888;
    --text-muted: #bbbbbb;

    /* 强调色 - 黑白 */
    --accent-primary: #000000;
    --accent-secondary: #333333;
    --accent-gradient: linear-gradient(135deg, #000000 0%, #555555 50%, #999999 100%);
    --accent-glow: rgba(0, 0, 0, 0.08);

    /* 边框 */
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --border-strong: rgba(0, 0, 0, 0.18);

    /* 功能色 */
    --success: #16a34a;
    --warning: #d97706;
    --error: #dc2626;

    --font-body: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* ===== 导航栏 - 白底黑字 ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 68px; display: flex; align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
    width: 100%; max-width: 1200px; margin: 0 auto;
    padding: 0 var(--space-xl); display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: var(--space-sm); font-weight: 800; font-size: 1.125rem; }
.logo-mark {
    width: 34px; height: 34px; background: #000; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 900; color: #fff;
}
.logo-text { color: #000; font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: var(--space-xs); }
.nav-link {
    padding: var(--space-sm) var(--space-md); font-size: 0.875rem; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-md);
    transition: all var(--transition-fast); position: relative;
}
.nav-link:hover { color: #000; background: rgba(0, 0, 0, 0.04); }
.nav-link.active { color: #000; background: rgba(0, 0, 0, 0.06); }
.nav-link.active::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 14px; height: 2px; background: #000; border-radius: var(--radius-full);
}

.nav-user-menu { position: relative; margin-left: var(--space-md); }
.nav-user-toggle {
    display: flex; align-items: center; gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md); background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-full);
    color: #000; font-size: 0.875rem; font-weight: 500;
    cursor: pointer; transition: all var(--transition-fast);
}
.nav-user-toggle:hover { background: rgba(0, 0, 0, 0.06); }
.user-avatar {
    width: 26px; height: 26px; background: #000; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700; color: #fff;
}
.user-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
    background: #fff; backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium); border-radius: var(--radius-lg);
    padding: var(--space-sm); opacity: 0; visibility: hidden;
    transform: translateY(-8px); transition: all var(--transition-fast); z-index: 1001;
    box-shadow: var(--shadow-lg);
}
.user-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
    display: flex; align-items: center; gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md);
    font-size: 0.875rem; color: var(--text-secondary); transition: all var(--transition-fast);
}
.dropdown-item:hover { background: rgba(0, 0, 0, 0.04); color: #000; }

.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: var(--space-sm); background: none; border: none; cursor: pointer; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: #000; border-radius: var(--radius-full); }

.mobile-nav {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(20px);
    z-index: 999; opacity: 0; visibility: hidden; transition: all var(--transition-base);
}
.mobile-nav.show { opacity: 1; visibility: visible; }
.mobile-nav-content { padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-xs); }
.mobile-nav-link {
    padding: var(--space-md) var(--space-lg); font-size: 1.125rem; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-md); transition: all var(--transition-fast);
}
.mobile-nav-link:hover { background: rgba(0, 0, 0, 0.04); color: #000; }

/* ===== 按钮 - 黑白 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
    padding: 0.625rem 1.25rem; font-family: var(--font-body); font-size: 0.875rem;
    font-weight: 600; border-radius: var(--radius-md); border: none;
    cursor: pointer; transition: all var(--transition-fast); white-space: nowrap;
}
.btn-primary { background: #000; color: #fff; }
.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-medium); }
.btn-ghost:hover { background: rgba(0, 0, 0, 0.04); color: #000; border-color: var(--border-strong); }
.btn-large { padding: 0.875rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }

/* ===== 闪存消息 ===== */
.flash {
    position: fixed; top: 84px; right: var(--space-xl);
    padding: var(--space-md) var(--space-xl); border-radius: var(--radius-md);
    font-size: 0.875rem; font-weight: 500; z-index: 1002;
    animation: slideIn 0.3s ease; display: flex; align-items: center; gap: var(--space-md);
}
.flash-success { background: rgba(22, 163, 74, 0.08); color: #16a34a; border: 1px solid rgba(22, 163, 74, 0.15); }
.flash-error { background: rgba(220, 38, 38, 0.08); color: #dc2626; border: 1px solid rgba(220, 38, 38, 0.15); }
.flash-close { background: none; border: none; color: inherit; font-size: 1.25rem; cursor: pointer; opacity: 0.6; }
.flash-close:hover { opacity: 1; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== Hero - 白底 + 黑白渐变光晕 ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 68px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
    content: ''; position: absolute; top: -40%; left: -10%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 70%);
    border-radius: 50%; animation: pulse 8s ease-in-out infinite;
}
.hero-bg::after {
    content: ''; position: absolute; bottom: -30%; right: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 70%);
    border-radius: 50%; animation: pulse 10s ease-in-out infinite reverse;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 0.8; } }

.hero-container {
    position: relative; z-index: 1; width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 0 var(--space-xl);
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md); background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius-full);
    font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); margin-bottom: var(--space-xl);
}
.hero-badge-dot { width: 6px; height: 6px; background: #000; border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: var(--space-lg); }
/* 黑白渐变文字 */
.hero-title .gradient {
    background: linear-gradient(135deg, #000 0%, #555 50%, #999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.125rem); font-weight: 500; color: var(--text-secondary); margin-bottom: var(--space-md); }
.hero-description { font-size: 1rem; color: var(--text-tertiary); line-height: 1.7; margin-bottom: var(--space-2xl); max-width: 460px; }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-xl); }

.hero-preview { position: relative; perspective: 1000px; }
.hero-preview-card {
    background: #fff; backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
    padding: var(--space-xl); box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(2deg); transition: transform var(--transition-base);
}
.hero-preview-card:hover { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.preview-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--border-subtle); }
.preview-dots { display: flex; gap: 6px; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: #ddd; }
.preview-dots span:nth-child(2) { background: #bbb; }
.preview-dots span:nth-child(3) { background: #999; }
.preview-title { font-size: 0.8125rem; color: var(--text-tertiary); font-weight: 500; }
.preview-content { display: flex; flex-direction: column; gap: var(--space-md); }
.chat-message { display: flex; gap: var(--space-md); align-items: flex-start; }
.chat-avatar { width: 30px; height: 30px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.chat-avatar.user { background: #f0f0f0; color: var(--text-secondary); }
.chat-avatar.ai { background: #000; color: #fff; }
.chat-bubble { background: rgba(0,0,0,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-md); font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; max-width: 260px; }
.chat-bubble.ai-bubble { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
.preview-input { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); background: rgba(0,0,0,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); margin-top: var(--space-sm); }
.preview-input-text { flex: 1; font-size: 0.8125rem; color: var(--text-muted); }
.preview-input-icon { width: 26px; height: 26px; background: #000; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: #fff; }

/* ===== 数据条 ===== */
.stats-bar { position: relative; z-index: 2; padding: var(--space-4xl) 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); background: var(--bg-secondary); }
.stats-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.stat-item { text-align: center; padding: var(--space-xl); }
.stat-number { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; color: #000; line-height: 1; margin-bottom: var(--space-sm); }
.stat-label { font-size: 0.875rem; color: var(--text-tertiary); font-weight: 500; }

/* ===== 功能区域 ===== */
.section { padding: var(--space-5xl) 0; position: relative; }
.section + .section { padding-top: var(--space-4xl); }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto var(--space-4xl); }
.section-label {
    display: inline-flex; align-items: center; gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md); background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 600; color: var(--text-secondary);
    margin-bottom: var(--space-lg); text-transform: uppercase; letter-spacing: 0.08em;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--space-lg); }
.section-description { font-size: 1.0625rem; color: var(--text-tertiary); line-height: 1.7; }

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--space-lg);
    align-items: stretch;
}
.bento-card {
    background: #fff; backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
    padding: var(--space-2xl); transition: all var(--transition-base);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    height: 100%;
}
.bento-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}
.bento-card:hover { background: #fff; border-color: var(--border-medium); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento-card.large { grid-column: span 2; grid-row: span 2; }
.bento-card.medium { grid-column: span 2; grid-row: span 1; }
.bento-card.small { grid-column: span 1; grid-row: span 1; }
.bento-icon {
    width: 44px; height: 44px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-lg); font-size: 1.25rem;
    background: #000; color: #fff;
}
.bento-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.bento-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-sm); color: #000; }
.bento-card p { font-size: 0.875rem; color: var(--text-tertiary); line-height: 1.6; flex: 1; }
.bento-card .card-meta { display: flex; gap: var(--space-sm); margin-top: auto; flex-wrap: wrap; }
.card-tag {
    padding: var(--space-xs) var(--space-sm); background: rgba(0,0,0,0.03);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
    font-size: 0.75rem; color: var(--text-tertiary); font-weight: 500;
}
.card-preview { margin-top: auto; padding: var(--space-md); background: rgba(0,0,0,0.02); border-radius: var(--radius-md); border: 1px solid var(--border-subtle); }
.card-preview-bar { display: flex; gap: 4px; margin-bottom: var(--space-sm); }
.card-preview-bar span { width: 6px; height: 6px; border-radius: 50%; background: #ddd; }
.card-preview-content { display: flex; flex-direction: column; gap: 6px; }
.preview-line { height: 5px; background: rgba(0,0,0,0.05); border-radius: var(--radius-full); }
.preview-line.short { width: 60%; }
.preview-line.medium { width: 80%; }

/* ===== 优势 ===== */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.advantage-card {
    padding: var(--space-2xl); background: #fff;
    border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
    transition: all var(--transition-base); display: flex; flex-direction: column; height: 100%;
}
.advantage-card:hover { border-color: var(--border-medium); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.advantage-icon {
    width: 36px; height: 36px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-lg); font-size: 1.125rem;
    background: #000; color: #fff;
}
.advantage-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: var(--space-sm); color: #000; }
.advantage-card p { font-size: 0.875rem; color: var(--text-tertiary); line-height: 1.6; flex: 1; }

/* ===== 评价 ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.testimonial-card {
    padding: var(--space-2xl); background: #fff;
    border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
    transition: all var(--transition-base); display: flex; flex-direction: column; height: 100%;
}
.testimonial-card:hover { border-color: var(--border-medium); box-shadow: var(--shadow-sm); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-lg); color: #000; }
.testimonial-content { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--space-xl); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-md); margin-top: auto; }
.testimonial-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8125rem; font-weight: 700; color: #fff;
}
.testimonial-info h4 { font-size: 0.875rem; font-weight: 600; color: #000; }
.testimonial-info p { font-size: 0.75rem; color: var(--text-tertiary); }

/* ===== 定价 - 按钮底部对齐 ===== */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl);
    align-items: stretch;
}
.pricing-card {
    background: #fff; border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl); padding: var(--space-2xl);
    transition: all var(--transition-base); position: relative;
    display: flex; flex-direction: column; height: 100%;
}
.pricing-card:hover { border-color: var(--border-medium); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
    border-color: rgba(0,0,0,0.12);
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, #fff 100%);
}
.pricing-badge {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    padding: var(--space-xs) var(--space-lg); background: #000; color: #fff;
    font-size: 0.75rem; font-weight: 700; border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.pricing-name { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-xs); color: #000; }
.pricing-subtitle { font-size: 0.875rem; color: var(--text-tertiary); margin-bottom: var(--space-xl); }
.pricing-price { display: flex; align-items: baseline; gap: var(--space-xs); margin-bottom: var(--space-md); }
.pricing-price .currency { font-size: 1.25rem; font-weight: 700; color: #000; }
.pricing-price .amount { font-size: 2.5rem; font-weight: 900; color: #000; line-height: 1; }
.pricing-price .period { font-size: 0.875rem; color: var(--text-tertiary); }
.pricing-features { list-style: none; margin-bottom: var(--space-xl); flex: 1; }
.pricing-features li {
    display: flex; align-items: center; gap: var(--space-sm);
    padding: var(--space-sm) 0; font-size: 0.875rem; color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { width: 16px; height: 16px; color: #000; flex-shrink: 0; }
.pricing-card .btn-block { margin-top: auto; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-xl) 0; background: none; border: none; color: #000;
    font-size: 1.0625rem; font-weight: 600; text-align: left; cursor: pointer;
    font-family: var(--font-body); transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--text-secondary); }
.faq-question svg { width: 18px; height: 18px; color: var(--text-tertiary); transition: transform var(--transition-fast); flex-shrink: 0; margin-left: var(--space-md); }
.faq-item.active .faq-question svg { transform: rotate(180deg); color: #000; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-base), padding var(--transition-base); }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: var(--space-xl); }
.faq-answer p { font-size: 0.9375rem; color: var(--text-tertiary); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section { padding: var(--space-5xl) 0 var(--space-4xl); position: relative; overflow: hidden; background: var(--bg-secondary); }
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.03) 0%, transparent 70%);
}
.cta-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl); text-align: center; }
.cta-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--space-lg); }
.cta-description { font-size: 1.0625rem; color: var(--text-tertiary); max-width: 520px; margin: 0 auto var(--space-2xl); line-height: 1.7; }

/* ===== 页脚 ===== */
.footer { padding: var(--space-5xl) 0 var(--space-2xl); border-top: 1px solid var(--border-subtle); background: var(--bg-secondary); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-4xl); margin-bottom: var(--space-4xl); }
.footer-brand { max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: var(--space-sm); font-weight: 800; font-size: 1.125rem; margin-bottom: var(--space-lg); }
.footer-desc { font-size: 0.875rem; color: var(--text-tertiary); line-height: 1.7; margin-bottom: var(--space-xl); }
.footer-social { display: flex; gap: var(--space-md); }
.social-link {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.03); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); color: var(--text-tertiary); transition: all var(--transition-fast);
}
.social-link:hover { background: rgba(0,0,0,0.06); border-color: var(--border-medium); color: #000; transform: translateY(-2px); }
.footer-links-group h4 { font-size: 0.8125rem; font-weight: 700; color: #000; margin-bottom: var(--space-lg); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links-group a { display: block; padding: var(--space-xs) 0; font-size: 0.875rem; color: var(--text-tertiary); transition: color var(--transition-fast); }
.footer-links-group a:hover { color: #000; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-2xl); border-top: 1px solid var(--border-subtle); font-size: 0.8125rem; color: var(--text-muted); }

/* ===== 登录/注册 ===== */
.auth-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: var(--space-2xl); padding-top: 100px; position: relative;
}
.auth-page::before {
    content: ''; position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    border-radius: 50%;
}
.auth-card {
    position: relative; z-index: 1; width: 100%; max-width: 400px;
    background: #fff; backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
    padding: var(--space-3xl); box-shadow: var(--shadow-lg);
}
.auth-header { text-align: center; margin-bottom: var(--space-2xl); }
.auth-header .logo-mark { margin: 0 auto var(--space-lg); width: 44px; height: 44px; font-size: 1.25rem; }
.auth-header h1 { font-size: 1.375rem; font-weight: 800; margin-bottom: var(--space-sm); color: #000; }
.auth-header p { font-size: 0.875rem; color: var(--text-tertiary); }
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary); margin-bottom: var(--space-sm); }
.form-input {
    width: 100%; padding: 0.75rem 1rem; background: rgba(0,0,0,0.02);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
    color: #000; font-family: inherit; font-size: 0.9375rem;
    transition: all var(--transition-fast);
}
.form-input:focus { outline: none; border-color: #000; background: rgba(0,0,0,0.03); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.form-input::placeholder { color: #bbb; }
.auth-footer { text-align: center; margin-top: var(--space-xl); font-size: 0.875rem; color: var(--text-tertiary); }
.auth-footer a { color: #000; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ===== 通用页面 ===== */
.page-header { padding: 130px 0 var(--space-4xl); text-align: center; position: relative; overflow: hidden; }
.page-header::before {
    content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 60%);
    border-radius: 50%;
}
.page-header-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 0 var(--space-xl); }
.page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: var(--space-lg); color: #000; }
.page-description { font-size: 1.0625rem; color: var(--text-tertiary); line-height: 1.7; }
.page-content { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl) var(--space-5xl); }

/* ============================================
   后台管理样式 - 白底黑白
   ============================================ */

.admin-body { background: #fff; }

.admin-layout { 
    min-height: 100vh;
    padding-left: 260px;
}

.admin-sidebar {
    width: 260px; 
    position: fixed;
    left: 0; top: 0; bottom: 0;
    background: #fff; 
    border-right: 1px solid rgba(0,0,0,0.06);
    padding: 1.5rem;
    overflow-y: auto; 
    z-index: 100;
    display: flex; 
    flex-direction: column;
}

.admin-sidebar-header {
    display: flex; 
    align-items: center; 
    gap: 0.5rem;
    padding-bottom: 1.5rem; 
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.admin-sidebar-header .logo-mark { 
    width: 32px; 
    height: 32px; 
    background: #000 !important; 
    color: #fff !important;
    border-radius: 8px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1rem; 
    font-weight: 900;
    flex-shrink: 0;
}

.admin-sidebar-header span { 
    font-weight: 800; 
    font-size: 1.0625rem; 
    color: #000;
    white-space: nowrap;
}

.admin-nav { 
    display: flex; 
    flex-direction: column; 
    gap: 0.25rem; 
    flex: 1; 
}

.admin-nav-item {
    display: flex; 
    align-items: center; 
    gap: 0.75rem;
    padding: 0.625rem 0.75rem; 
    border-radius: 8px;
    font-size: 0.875rem; 
    font-weight: 500; 
    color: #666;
    transition: all 0.15s ease; 
    text-decoration: none;
    white-space: nowrap;
}

.admin-nav-item:hover { 
    background: rgba(0,0,0,0.04); 
    color: #000; 
}

/* 激活状态 - 黑底白字 */
.admin-nav-item.active { 
    background: #000 !important; 
    color: #fff !important; 
    font-weight: 600;
}

.admin-nav-item svg { 
    width: 18px; 
    height: 18px; 
    flex-shrink: 0; 
}

.admin-main { 
    padding: 1.5rem; 
    min-height: 100vh;
    width: 100%;
    max-width: calc(100vw - 260px);
}

.admin-header {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    margin-bottom: 2rem; 
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    gap: 1rem;
}

.admin-header h1 { 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: #000;
    white-space: nowrap;
}

.admin-card {
    background: #fff; 
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px; 
    padding: 1.5rem; 
    margin-bottom: 1.5rem;
}

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

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

.admin-table th, .admin-table td {
    padding: 0.75rem 1rem; 
    text-align: left; 
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    white-space: nowrap;
}

.admin-table th { 
    font-weight: 600; 
    color: #888; 
    text-transform: uppercase; 
    font-size: 0.6875rem; 
    letter-spacing: 0.05em; 
}

.admin-table td { 
    color: #000; 
}

.admin-table tr:hover td { 
    background: rgba(0,0,0,0.01); 
}

/* 徽章 */
.admin-badge { 
    display: inline-flex; 
    padding: 0.125rem 0.5rem; 
    border-radius: 9999px; 
    font-size: 0.75rem; 
    font-weight: 600;
    border: 1px solid;
}

.badge-success { 
    background: rgba(0,0,0,0.04); 
    color: #000; 
    border-color: rgba(0,0,0,0.1); 
}

.badge-warning { 
    background: rgba(0,0,0,0.02); 
    color: #666; 
    border-color: rgba(0,0,0,0.06); 
}

.badge-error { 
    background: rgba(220, 38, 38, 0.06); 
    color: #dc2626; 
    border-color: rgba(220, 38, 38, 0.1); 
}

/* 按钮 */
.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 1rem; 
    font-size: 0.8125rem;
    font-weight: 600; 
    border-radius: 8px; 
    border: none;
    cursor: pointer; 
    transition: all 0.15s ease;
    white-space: nowrap;
    text-decoration: none;
}

.admin-btn-sm { 
    padding: 0.25rem 0.5rem; 
    font-size: 0.75rem; 
}

/* 主按钮：黑底白字 */
.admin-btn-primary { 
    background: #000; 
    color: #fff; 
}

.admin-btn-primary:hover { 
    background: #333; 
}

/* 次按钮：白底黑边框 */
.admin-btn-secondary { 
    background: #fff; 
    color: #000; 
    border: 1px solid rgba(0,0,0,0.2);
}

.admin-btn-secondary:hover { 
    background: #f5f5f5; 
    border-color: rgba(0,0,0,0.3);
}

.admin-btn-danger { 
    background: rgba(220, 38, 38, 0.06); 
    color: #dc2626; 
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.admin-btn-danger:hover { 
    background: rgba(220, 38, 38, 0.1); 
}

/* 表单 */
.form-group { 
    margin-bottom: 1rem; 
}

.form-label { 
    display: block; 
    font-size: 0.8125rem; 
    font-weight: 600; 
    color: #666; 
    margin-bottom: 0.5rem; 
}

.form-input {
    width: 100%; 
    padding: 0.625rem 0.875rem; 
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.08); 
    border-radius: 8px;
    color: #000; 
    font-family: inherit; 
    font-size: 0.9375rem;
    transition: all 0.15s ease;
}

.form-input:focus { 
    outline: none; 
    border-color: #000; 
    background: rgba(0,0,0,0.03); 
}

.form-input::placeholder { 
    color: #bbb; 
}

/* 移动端后台 */
@media (max-width: 1024px) {
    .admin-layout { 
        padding-left: 0; 
    }

    .admin-sidebar { 
        transform: translateX(-100%); 
        transition: transform 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    }

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

    .admin-main { 
        max-width: 100vw; 
    }

    .admin-sidebar-toggle {
        display: flex !important;
        position: fixed; 
        bottom: 24px; 
        right: 24px;
        width: 48px; 
        height: 48px; 
        background: #000; 
        color: #fff;
        border-radius: 50%; 
        align-items: center; 
        justify-content: center;
        z-index: 201; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        border: none;
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .admin-header { 
        flex-wrap: wrap; 
        gap: 0.75rem; 
    }

    .admin-header h1 { 
        font-size: 1.25rem; 
    }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: var(--space-3xl); text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-preview { max-width: 480px; margin: 0 auto; }

    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.large { grid-column: span 2; grid-row: span 2; }
    .bento-card.medium { grid-column: span 2; grid-row: span 1; }
    .bento-card.small { grid-column: span 1; grid-row: span 1; }

    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }

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

    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large, .bento-card.medium, .bento-card.small { grid-column: span 1; grid-row: span 1; }

    .advantages-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.5rem; }
    .flash { left: var(--space-md); right: var(--space-md); }
}

/* ===== 动画 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
