/* ============================================
   A.I.D.E.N. v80.1 Shared Components CSS
   减少各页面内联重复代码
   ============================================ */

/* CSS Variables */
:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --gold: #fbbf24;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --darker: #020617;
    --darkest: #000000;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Microsoft YaHei', sans-serif;
    background: var(--darkest);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== Dynamic Background ===== */
.bg-fixed { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.bg-mesh {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: conic-gradient(from 180deg at 50% 50%, #0f172a 0deg, #1e293b 120deg, #0f172a 240deg, #020617 360deg);
    opacity: 0.5;
}
.bg-orbs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; animation: orbFloat 20s ease-in-out infinite; }
.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, #667eea, transparent 70%); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #764ba2, transparent 70%); bottom: -150px; right: -150px; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #f093fb, transparent 70%); top: 50%; left: 50%; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0) scale(1)} 25%{transform:translate(50px,-50px) scale(1.1)} 50%{transform:translate(0,50px) scale(0.9)} 75%{transform:translate(-50px,0) scale(1.05)} }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 18px 40px; border: none; border-radius: 100px;
    font-size: 1.1rem; font-weight: 700; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; box-shadow: 0 10px 40px rgba(102,126,234,0.4); }
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(102,126,234,0.6); }
.btn-gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; box-shadow: 0 10px 40px rgba(245,158,11,0.4); }
.btn-gold:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(245,158,11,0.6); }
.btn-lg { padding: 22px 48px; font-size: 1.2rem; }

/* ===== Page Header ===== */
.page-header { text-align: center; margin-bottom: 50px; }
.page-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 28px; background: rgba(102,126,234,0.12);
    border: 1px solid rgba(102,126,234,0.25); border-radius: 100px;
    font-size: 0.9rem; font-weight: 700; color: #667eea; margin-bottom: 24px;
    box-shadow: 0 0 40px rgba(102,126,234,0.25); animation: badgePulse 3s ease-in-out infinite;
}
.page-badge .dot { width: 10px; height: 10px; background: #10b981; border-radius: 50%; box-shadow: 0 0 20px #10b981; animation: dotPulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100%{box-shadow:0 0 40px rgba(102,126,234,0.25)} 50%{box-shadow:0 0 60px rgba(102,126,234,0.4)} }
@keyframes dotPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.3);opacity:0.7} }
.page-title {
    font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #e2e8f0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* ===== Stats Cards ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 50px; }
.stat-card {
    position: relative; background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06); border-radius: 24px; padding: 28px;
    text-align: center; transition: all 0.5s; overflow: hidden; backdrop-filter: blur(30px);
}
.stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0); transition: transform 0.5s;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { transform: translateY(-8px); border-color: rgba(102,126,234,0.3); box-shadow: 0 30px 80px rgba(102,126,234,0.2); }
.stat-icon { font-size: 2.8rem; margin-bottom: 16px; display: block; animation: bounce 3s ease-in-out infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.stat-value {
    font-size: 3rem; font-weight: 900;
    background: linear-gradient(135deg, #667eea, #f093fb);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: block; margin-bottom: 8px;
}
.stat-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

/* ===== Cards ===== */
.card {
    position: relative; background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06); border-radius: 28px;
    padding: 36px; transition: all 0.5s; overflow: hidden; backdrop-filter: blur(20px);
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0); transition: transform 0.5s;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-8px); border-color: rgba(102,126,234,0.3); box-shadow: 0 30px 80px rgba(102,126,234,0.2); }

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; padding: 10px 24px;
    background: rgba(102,126,234,0.12); border: 1px solid rgba(102,126,234,0.25);
    border-radius: 100px; font-size: 0.9rem; font-weight: 700; color: #667eea; margin-bottom: 20px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #e2e8f0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* ===== Footer ===== */
.footer {
    padding: 60px 5%; background: rgba(2,6,23,0.8);
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center; color: var(--text-muted); position: relative; z-index: 1;
}
.footer-text { font-size: 0.95rem; margin-bottom: 12px; }
.footer-slogan { font-size: 1.1rem; font-weight: 700; color: #667eea; letter-spacing: 1px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .btn { padding: 14px 28px; font-size: 1rem; }
}
