/* ============================================
   新大道AI店长 AI店长系统 - 全局样式表
   byee.com | v1.0 | 2026-04-11
   ============================================ */

:root {
    --primary: #165DFF;
    --primary-dark: #0D47A1;
    --primary-light: #E6F0FF;
    --primary-glow: rgba(22, 93, 255, 0.3);
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --purple: #7C3AED;
    --purple-light: #EDE9FE;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-dark: #111827;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 20px rgba(22, 93, 255, 0.1);
    --shadow-lg: 0 10px 40px rgba(22, 93, 255, 0.15);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); background: var(--bg-white); line-height: 1.6; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
input, button, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 420px; margin: 0 auto; padding: 0 24px; }

/* 导航 */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: 72px; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); z-index: 1000; }
.navbar .container { height: 100%; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--primary); }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), #4F46E5); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 10px 16px; font-size: 15px; font-weight: 500; color: var(--text-gray); border-radius: var(--radius-sm); transition: var(--transition); }
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-size: 14px; font-weight: 600; border-radius: var(--radius); transition: var(--transition); white-space: nowrap; border: none; cursor: pointer; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-white { background: white; color: var(--primary); border: 2px solid white; }
.btn-white:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--text-gray); }
.btn-ghost:hover { background: var(--bg-light); color: var(--text-dark); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius); }
.btn-full { width: 100%; }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }

/* Hero */
.hero { padding: 160px 0 80px; background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23165DFF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 600px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--primary-light); border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 24px; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { font-size: 52px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, var(--primary), #4F46E5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 18px; color: var(--text-gray); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-item h3 { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-item p { font-size: 14px; color: var(--text-gray); }
.hero-visual { position: relative; }
.hero-card { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.hero-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hero-card-icon { width: 56px; height: 56px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.hero-card-title { font-size: 18px; font-weight: 700; }
.hero-card-subtitle { font-size: 13px; color: var(--text-gray); }
.hero-card-stat { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--border); }
.hero-card-stat span { font-size: 14px; color: var(--text-gray); }
.hero-card-stat strong { font-size: 24px; color: var(--primary); font-weight: 700; }

/* 区块标题 */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); color: white; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-label { display: inline-block; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.section-title { font-size: 40px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.section-desc { font-size: 18px; color: var(--text-gray); }

/* 网格布局 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* 功能卡片 */
.feature-card { background: white; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); transition: var(--transition); }
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 64px; height: 64px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 20px; }
.feature-icon.blue { background: var(--primary-light); }
.feature-icon.green { background: var(--success-light); }
.feature-icon.purple { background: var(--purple-light); }
.feature-icon.orange { background: var(--warning-light); }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--text-gray); margin-bottom: 16px; line-height: 1.7; }
.feature-list { list-style: none; }
.feature-list li { font-size: 14px; color: var(--text-gray); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* 场景卡片 */
.scenario-card { background: white; border-radius: var(--radius-lg); padding: 32px; text-align: center; transition: var(--transition); border: 1px solid var(--border); }
.scenario-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scenario-icon { font-size: 56px; margin-bottom: 16px; }
.scenario-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.scenario-card p { font-size: 14px; color: var(--text-gray); }

/* 价格卡片 */
.pricing-card { background: white; border-radius: var(--radius-lg); padding: 40px 32px; border: 2px solid var(--border); text-align: center; transition: var(--transition); position: relative; }
.pricing-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--primary); background: linear-gradient(180deg, var(--primary-light) 0%, white 50%); }
.pricing-card.popular::before { content: '最受欢迎'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.pricing-badge { display: inline-block; padding: 4px 12px; background: var(--primary-light); color: var(--primary); border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.pricing-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.pricing-desc { font-size: 14px; color: var(--text-gray); margin-bottom: 24px; }
.pricing-price { margin-bottom: 24px; }
.pricing-price .price { font-size: 48px; font-weight: 700; color: var(--primary); }
.pricing-price .unit { font-size: 14px; color: var(--text-gray); }
.pricing-features { text-align: left; margin-bottom: 32px; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-gray); display: flex; align-items: center; gap: 10px; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* 统计数据 */
.stats-card { background: white; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); }
.stats-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.stats-card-title { font-size: 14px; color: var(--text-gray); }
.stats-card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.stats-card-icon.blue { background: var(--primary-light); color: var(--primary); }
.stats-card-icon.green { background: var(--success-light); color: var(--success); }
.stats-card-icon.orange { background: var(--warning-light); color: var(--warning); }
.stats-card-icon.purple { background: var(--purple-light); color: var(--purple); }
.stats-card-value { font-size: 32px; font-weight: 700; margin-bottom: 4px; }
.stats-card-change { font-size: 13px; display: flex; align-items: center; gap: 4px; }
.stats-card-change.up { color: var(--success); }
.stats-card-change.down { color: var(--danger); }

/* 案例卡片 */
.case-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card-img { height: 200px; background: linear-gradient(135deg, var(--primary), #4F46E5); display: flex; align-items: center; justify-content: center; font-size: 64px; color: white; }
.case-card-body { padding: 24px; }
.case-card-tag { display: inline-block; padding: 4px 12px; background: var(--primary-light); color: var(--primary); border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.case-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--text-gray); margin-bottom: 16px; }
.case-card-stat { display: flex; gap: 24px; }
.case-card-stat span { font-size: 14px; color: var(--text-gray); }
.case-card-stat strong { color: var(--primary); font-weight: 700; }

/* 底部 */
.footer { background: var(--bg-dark); color: white; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-brand p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.footer-col h4 { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: var(--text-light); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--border-dark); display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-light); }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: white; }

/* 表单 */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 15px; transition: var(--transition); }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-input::placeholder { color: var(--text-light); }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.input-group { position: relative; }
.input-group .form-input { padding-right: 120px; }
.input-group-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.form-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.form-check label { font-size: 14px; color: var(--text-gray); }
.form-link { color: var(--primary); font-size: 14px; font-weight: 500; }
.form-link:hover { text-decoration: underline; }
.form-error { color: var(--danger); font-size: 13px; margin-top: 6px; }

/* 弹窗提示 */
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 12px; }
.alert-success { background: var(--success-light); color: var(--success); }
.alert-danger { background: var(--danger-light); color: var(--danger); }
.alert-warning { background: var(--warning-light); color: var(--warning); }
.alert-info { background: var(--primary-light); color: var(--primary); }

/* Auth 页面 */
.auth-page { min-height: 100vh; display: flex; }
.auth-left { flex: 1; background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px; position: relative; overflow: hidden; color: white; }
.auth-left::before { content: ''; position: absolute; width: 500px; height: 500px; background: rgba(255,255,255,0.1); border-radius: 50%; top: -100px; right: -100px; }
.auth-left::after { content: ''; position: absolute; width: 300px; height: 300px; background: rgba(255,255,255,0.05); border-radius: 50%; bottom: -50px; left: -50px; }
.auth-brand { position: relative; z-index: 1; text-align: center; }
.auth-brand-logo { width: 80px; height: 80px; background: rgba(255,255,255,0.2); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 32px; backdrop-filter: blur(10px); }
.auth-brand h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.auth-brand p { font-size: 16px; opacity: 0.9; max-width: 400px; }
.auth-features { margin-top: 48px; display: flex; gap: 24px; position: relative; z-index: 1; }
.auth-feature { background: rgba(255,255,255,0.15); padding: 16px 24px; border-radius: var(--radius); backdrop-filter: blur(10px); text-align: center; }
.auth-feature span { font-size: 28px; display: block; margin-bottom: 8px; }
.auth-feature p { font-size: 13px; opacity: 0.9; }
.auth-right { width: 520px; display: flex; flex-direction: column; justify-content: center; padding: 60px; background: white; }
.auth-header { margin-bottom: 32px; }
.auth-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.auth-header p { color: var(--text-gray); font-size: 15px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 32px; background: var(--bg-light); padding: 4px; border-radius: var(--radius); }
.auth-tab { flex: 1; padding: 12px; text-align: center; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--text-gray); cursor: pointer; transition: var(--transition); border: none; background: transparent; }
.auth-tab.active { background: white; color: var(--primary); box-shadow: var(--shadow-sm); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-gray); }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--text-light); font-size: 14px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-social { display: flex; gap: 12px; }
.auth-social-btn { flex: 1; padding: 14px; border: 1.5px solid var(--border); border-radius: var(--radius); background: white; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--transition); }
.auth-social-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.auth-social-btn img { width: 20px; height: 20px; }

/* Admin 后台 */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--bg-dark); color: white; position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto; z-index: 100; }
.admin-sidebar-logo { padding: 24px; border-bottom: 1px solid var(--border-dark); display: flex; align-items: center; gap: 12px; }
.admin-sidebar-logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.admin-sidebar-logo span { font-size: 18px; font-weight: 700; }
.admin-sidebar-section { padding: 20px 0; }
.admin-sidebar-title { padding: 0 24px; font-size: 11px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.admin-sidebar-menu { list-style: none; }
.admin-sidebar-item { display: flex; align-items: center; gap: 12px; padding: 12px 24px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); cursor: pointer; transition: var(--transition); border-left: 3px solid transparent; }
.admin-sidebar-item:hover { background: rgba(255,255,255,0.05); color: white; }
.admin-sidebar-item.active { background: rgba(22, 93, 255, 0.2); color: white; border-left-color: var(--primary); }
.admin-sidebar-item .icon { font-size: 18px; width: 24px; text-align: center; }
.admin-sidebar-item .badge { margin-left: auto; background: var(--primary); color: white; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
.admin-sidebar-footer { padding: 24px; border-top: 1px solid var(--border-dark); margin-top: auto; }
.admin-user { display: flex; align-items: center; gap: 12px; }
.admin-user-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), #4F46E5); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; }
.admin-user-info h4 { font-size: 14px; font-weight: 600; }
.admin-user-info p { font-size: 12px; color: var(--text-light); }
.admin-main { flex: 1; margin-left: 260px; background: var(--bg-light); }
.admin-topbar { background: white; border-bottom: 1px solid var(--border); padding: 0 32px; height: 72px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 99; }
.admin-topbar-left { display: flex; align-items: center; gap: 24px; }
.admin-page-title { font-size: 20px; font-weight: 700; }
.admin-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-gray); }
.admin-breadcrumb span { color: var(--text-light); }
.admin-topbar-right { display: flex; align-items: center; gap: 16px; }
.admin-search { display: flex; align-items: center; gap: 12px; background: var(--bg-light); padding: 10px 16px; border-radius: var(--radius); width: 280px; }
.admin-search input { border: none; background: transparent; font-size: 14px; width: 100%; }
.admin-icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); cursor: pointer; transition: var(--transition); font-size: 18px; position: relative; }
.admin-icon-btn:hover { background: var(--bg-light); }
.admin-icon-btn .count { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--danger); border-radius: 50%; }
.admin-content { padding: 32px; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 32px; }
.admin-welcome { background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%); color: white; padding: 32px; border-radius: var(--radius-lg); margin-bottom: 32px; }
.admin-welcome h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.admin-welcome p { opacity: 0.9; }
.admin-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.admin-card { background: white; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-card-title { font-size: 16px; font-weight: 700; }
.admin-card-link { font-size: 14px; color: var(--primary); font-weight: 500; }
.admin-card-link:hover { text-decoration: underline; }
.quick-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quick-action { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg-light); border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.quick-action:hover { background: var(--primary-light); }
.quick-action-icon { width: 40px; height: 40px; background: white; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.quick-action span { font-size: 14px; font-weight: 500; }
.ai-prompt-list { list-style: none; }
.ai-prompt-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.ai-prompt-item:last-child { border-bottom: none; }
.ai-prompt-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.ai-prompt-item p { font-size: 13px; color: var(--text-gray); }

/* 表格 */
.table-wrapper { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: 14px 16px; font-size: 13px; font-weight: 600; color: var(--text-gray); background: var(--bg-light); border-bottom: 1px solid var(--border); }
.table td { padding: 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.table tr:hover { background: var(--bg-light); }
.table-img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; }
.table-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.table-badge.success { background: var(--success-light); color: var(--success); }
.table-badge.warning { background: var(--warning-light); color: var(--warning); }
.table-badge.danger { background: var(--danger-light); color: var(--danger); }
.table-badge.primary { background: var(--primary-light); color: var(--primary); }
.table-actions { display: flex; gap: 8px; }
.table-action { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); font-size: 16px; }
.table-action:hover { background: var(--bg-light); }
.table-action.edit { color: var(--primary); }
.table-action.delete { color: var(--danger); }

/* 标签页 */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab { padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text-gray); cursor: pointer; transition: var(--transition); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* 分页 */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; }
.pagination button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; cursor: pointer; transition: var(--transition); }
.pagination button:hover { border-color: var(--primary); color: var(--primary); }
.pagination button.active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination button:disabled { opacity: 0.5; cursor: not-allowed; }

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

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav-actions .btn { display: none; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 36px; }
    .hero-desc { font-size: 16px; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .auth-page { flex-direction: column; }
    .auth-left { display: none; }
    .auth-right { width: 100%; padding: 40px 24px; }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-main { margin-left: 0; }
    .admin-stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .pricing-card { margin-bottom: 20px; }
}

/* 动画 */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.animate-fadeIn { animation: fadeIn 0.6s ease forwards; }
.animate-slideIn { animation: slideIn 0.6s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.4s ease forwards; }

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-gray { color: var(--text-gray); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-full { width: 100%; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.border { border: 1px solid var(--border); }
.bg-light { background: var(--bg-light); }
.bg-white { background: white; }
.bg-primary { background: var(--primary); }
.text-white { color: white; }
.cursor-pointer { cursor: pointer; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Auth Pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 40px 20px; }
.auth-container { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; width: 100%; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.auth-left { background: linear-gradient(135deg, #165DFF 0%, #0D47A1 100%); padding: 60px; color: white; display: flex; flex-direction: column; justify-content: center; }
.auth-brand .logo { color: white; margin-bottom: 30px; }
.auth-brand h1 { font-size: 32px; margin-bottom: 12px; }
.auth-brand p { opacity: 0.9; margin-bottom: 30px; }
.auth-features { margin-bottom: 30px; }
.auth-feature { padding: 10px 0; font-size: 15px; }
.auth-pricing { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; }
.auth-pricing-label { font-size: 14px; opacity: 0.8; margin-bottom: 12px; }
.auth-pricing-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.auth-pricing-item.featured { background: rgba(255,255,255,0.2); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.auth-right { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.auth-form-container h2 { font-size: 28px; margin-bottom: 30px; }
.auth-form .form-group { margin-bottom: 20px; }
.auth-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
.auth-form input, .auth-form select { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; transition: var(--transition); }
.auth-form input:focus, .auth-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.checkbox input { width: auto; }
.link { color: var(--primary); font-size: 14px; }
.link:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { padding: 0 16px; color: var(--text-light); font-size: 14px; }
.social-login { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.btn-social { padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: white; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-social:hover { border-color: var(--primary); color: var(--primary); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-gray); }
.input-group { display: flex; gap: 12px; }
.input-group input { flex: 1; }
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* Admin Layout */
.admin-layout { display: flex; min-height: 100vh; background: var(--bg-light); }
.sidebar { width: 260px; background: white; border-right: 1px solid var(--border); position: fixed; height: 100vh; overflow-y: auto; z-index: 100; }
.sidebar-header { padding: 20px; border-bottom: 1px solid var(--border); }
.sidebar-header .logo { font-size: 18px; }
.sidebar-nav { padding: 20px 0; }
.nav-group { margin-bottom: 24px; }
.nav-group-title { padding: 0 20px; font-size: 12px; font-weight: 600; color: var(--text-light); text-transform: uppercase; margin-bottom: 8px; }
.nav-item { display: flex; align-items: center; padding: 12px 20px; font-size: 14px; color: var(--text-gray); transition: var(--transition); }
.nav-item:hover { color: var(--primary); background: var(--primary-light); }
.nav-item.active { color: var(--primary); background: var(--primary-light); font-weight: 500; }
.main-content { flex: 1; margin-left: 260px; }
.admin-header { background: white; padding: 20px 32px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 50; }
.admin-header h1 { font-size: 24px; margin-bottom: 4px; }
.header-subtitle { font-size: 14px; color: var(--text-gray); }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-time { font-size: 14px; color: var(--text-gray); }
.header-user { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.user-info { display: flex; flex-direction: column; }
.user-name { font-weight: 600; font-size: 14px; }
.user-role { font-size: 12px; color: var(--text-gray); }
.admin-body { padding: 24px 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card { background: white; border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.stat-icon.blue { background: var(--primary-light); }
.stat-icon.green { background: var(--success-light); }
.stat-icon.purple { background: var(--purple-light); }
.stat-icon.orange { background: var(--warning-light); }
.stat-info { flex: 1; }
.stat-label { font-size: 13px; color: var(--text-gray); display: block; margin-bottom: 4px; }
.stat-value { font-size: 24px; font-weight: 700; display: block; }
.stat-change { font-size: 13px; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.panel { background: white; border-radius: var(--radius); }
.panel-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.panel-header h3 { font-size: 16px; font-weight: 600; }
.panel-body { padding: 20px; }
.quick-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quick-tool { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: white; font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: var(--transition); }
.quick-tool:hover { border-color: var(--primary); background: var(--primary-light); }
.quick-tool span { font-size: 24px; }
.ai-prompts { display: flex; flex-direction: column; gap: 8px; }
.ai-prompt { padding: 12px 16px; background: var(--bg-light); border-radius: var(--radius-sm); font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.ai-prompt:hover { background: var(--primary-light); color: var(--primary); }
.ai-prompt span { font-size: 18px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.data-table th { font-weight: 600; color: var(--text-gray); background: var(--bg-light); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.badge.success { background: var(--success-light); color: var(--success); }
.badge.warning { background: var(--warning-light); color: var(--warning); }
.badge.danger { background: var(--danger-light); color: var(--danger); }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 14px; color: var(--text-gray); }

/* Promo Page */
.promo-hero { background: linear-gradient(135deg, #165DFF 0%, #0D47A1 50%, #1E3A8A 100%); }
.pain-card { background: white; border-radius: var(--radius); padding: 24px; text-align: center; }
.pain-icon { font-size: 48px; margin-bottom: 16px; }
.pain-card h3 { font-size: 18px; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--text-gray); }
.solution-card { background: white; border-radius: var(--radius); padding: 32px; display: flex; gap: 24px; }
.solution-number { font-size: 48px; font-weight: 700; color: var(--primary-light); line-height: 1; }
.solution-content h3 { font-size: 20px; margin-bottom: 12px; }
.solution-content p { color: var(--text-gray); margin-bottom: 16px; line-height: 1.7; }
.solution-content ul { display: flex; flex-direction: column; gap: 8px; }
.solution-content li { font-size: 14px; color: var(--text-gray); }
.store-card { background: white; border-radius: var(--radius); padding: 24px; text-align: center; }
.store-icon { font-size: 48px; margin-bottom: 16px; }
.store-card h3 { font-size: 18px; margin-bottom: 8px; }
.store-card p { font-size: 14px; color: var(--text-gray); }
.roi-card { padding: 32px; background: white; border-radius: var(--radius); text-align: center; }
.roi-value { font-size: 48px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.roi-label { font-size: 16px; color: var(--text-gray); }
.case-card { background: white; border-radius: var(--radius); padding: 24px; }
.case-quote { font-size: 15px; color: var(--text-gray); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.case-author { display: flex; align-items: center; gap: 12px; }
.case-avatar { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.case-author strong { display: block; font-size: 14px; }
.case-author span { font-size: 12px; color: var(--text-gray); }
.case-stats { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-gray); }
.case-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.case-tag { background: var(--primary-light); color: var(--primary); padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.case-store { font-weight: 600; font-size: 16px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 500; transition: var(--transition); }
.faq-question:hover { background: var(--bg-light); }
.faq-icon { color: var(--primary); font-size: 18px; }
.faq-answer { padding: 0 20px 16px; font-size: 14px; color: var(--text-gray); line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }
.tab-nav { display: flex; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.tab-btn { padding: 12px 0; border: none; background: none; font-size: 14px; color: var(--text-gray); cursor: pointer; border-bottom: 2px solid transparent; transition: var(--transition); }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 500; }
.pricing-original { text-align: center; margin-bottom: 16px; font-size: 14px; color: var(--text-gray); }
.save-tag { background: var(--success-light); color: var(--success); padding: 4px 8px; border-radius: 4px; font-size: 12px; margin-left: 8px; }
.pricing-features { margin-bottom: 24px; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li.disabled { color: var(--text-gray); }
.pricing-suitable { background: var(--bg-light); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 24px; }
.pricing-suitable h4 { font-size: 13px; color: var(--text-gray); margin-bottom: 8px; }
.pricing-suitable p { font-size: 14px; color: var(--text-dark); margin: 0; }
.service-card { background: white; border-radius: var(--radius); padding: 24px; }
.service-icon { font-size: 40px; margin-bottom: 16px; }
.service-content h3 { font-size: 18px; margin-bottom: 8px; }
.service-content p { font-size: 14px; color: var(--text-gray); margin-bottom: 12px; }
.service-tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.comparison-table { overflow-x: auto; }
.comparison-table table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 14px 16px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--border); }
.comparison-table th { background: var(--bg-light); font-weight: 600; }
.comparison-table th.highlight { background: var(--primary-light); color: var(--primary); }
.comparison-table td.highlight { background: rgba(22,93,255,0.05); }
.comparison-table .group-title { background: var(--bg-light); font-weight: 600; color: var(--text-dark); text-align: left; }
.solution-card { display: flex; gap: 24px; margin-bottom: 24px; }
.solution-number { font-size: 48px; font-weight: 700; color: var(--primary); opacity: 0.3; line-height: 1; }
.solution-content h3 { font-size: 20px; margin-bottom: 12px; }
.solution-content p { color: var(--text-gray); margin-bottom: 12px; line-height: 1.7; }
.solution-content ul { display: flex; flex-direction: column; gap: 8px; }
.solution-content li { font-size: 14px; color: var(--text-gray); }
.feature-list { margin-top: 12px; padding-left: 16px; }
.feature-list li { font-size: 13px; color: var(--text-gray); padding: 4px 0; }
.feature-list li::marker { color: var(--success); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-container { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-content { margin-left: 0; }
  .quick-tools { grid-template-columns: repeat(2, 1fr); }
  .social-login { grid-template-columns: 1fr; }
} 