/* ===== 基础样式 ===== */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.btn-secondary { background: var(--dark); color: var(--white); }
.btn-secondary:hover { background: var(--dark-light); }

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

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

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; }
.logo-icon { font-size: 1.8rem; }
.logo-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--gray-light); font-weight: 500; padding: 8px 0; position: relative; }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--white); }

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #5b21b6 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle { font-size: 1.3rem; color: var(--gray-light); margin-bottom: 40px; }

.hero-stats { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.9rem; color: var(--gray); }

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

/* 浮动标签 */
.hero-visual {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    height: 400px;
    pointer-events: none;
}

.hero-visual-left { left: 3%; }
.hero-visual-right { right: 3%; }

.floating-cards { position: relative; width: 100%; height: 100%; }

.float-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    color: var(--white);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
}

.float-card:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.float-card:nth-child(2) { top: 22%; right: 5%; animation-delay: 1s; }
.float-card:nth-child(3) { top: 38%; left: 0; animation-delay: 2s; }
.float-card:nth-child(4) { top: 52%; right: 8%; animation-delay: 3s; }
.float-card:nth-child(5) { bottom: 22%; left: 12%; animation-delay: 4s; }
.float-card:nth-child(6) { bottom: 10%; right: 0; animation-delay: 5s; }

.float-tag { background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.4); }

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

/* ===== Section ===== */
.section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; color: var(--dark); }
.section-header p { font-size: 1.1rem; color: var(--gray); max-width: 600px; margin: 0 auto; }

/* ===== Intro Grid ===== */
.intro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.intro-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s;
}

.intro-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); border-color: rgba(59, 130, 246, 0.3); }
.intro-icon { font-size: 3rem; margin-bottom: 20px; }
.intro-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--dark); }
.intro-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

/* ===== Card Grid ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); border-color: rgba(59, 130, 246, 0.3); }
.card-icon { font-size: 3rem; margin-bottom: 16px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--dark); }
.card p { color: var(--gray); margin-bottom: 16px; line-height: 1.6; }

.card-list { list-style: none; }
.card-list li { padding: 8px 0 8px 24px; position: relative; color: var(--dark-light); font-size: 0.95rem; }
.card-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: bold; }

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    color: var(--white);
    padding: 80px 0;
}

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

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.stat-card:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-5px); }
.stat-icon { font-size: 2.5rem; margin-bottom: 15px; }
.stat-value { font-size: 2.8rem; font-weight: 800; margin-bottom: 8px; color: #ffffff !important; }
.stat-desc { font-size: 0.95rem; color: var(--gray-light); }

/* ===== News Section ===== */
.news-section { background: var(--white); }

.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.news-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); background: var(--white); border-color: rgba(59, 130, 246, 0.2); }
.news-card.featured { grid-column: span 2; background: var(--gradient); color: var(--white); }
.news-card.featured .news-tag { background: var(--accent); }
.news-card.featured .news-date, .news-card.featured .news-link { color: rgba(255, 255, 255, 0.8); }

.news-tag { display: inline-block; background: var(--primary); color: var(--white); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; margin-bottom: 12px; }
.news-tag.hot { background: var(--error); }

.news-card h3 { font-size: 1.1rem; margin-bottom: 12px; line-height: 1.4; }
.news-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; line-height: 1.6; }
.news-card.featured p { color: rgba(255, 255, 255, 0.9); }

.news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.news-date { color: var(--gray-light); }
.news-link { color: var(--primary); font-weight: 500; }

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 80px 0;
}

.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta-content p { font-size: 1.1rem; color: var(--gray-light); margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--gray); margin-top: 12px; }
.footer-links h4 { margin-bottom: 20px; font-size: 1rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray); transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-light); }

.footer-bottom { border-top: 1px solid var(--dark-light); padding-top: 30px; text-align: center; color: var(--gray); }

/* ===== Page Header ===== */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    text-align: center;
}

.page-header h1 { font-size: 3rem; margin-bottom: 12px; color: var(--white); }
.page-header p { font-size: 1.2rem; color: var(--gray-light); }

/* ===== Content Section ===== */
.content-section { padding: 60px 0; }
.content-section h2 { font-size: 1.8rem; margin-bottom: 20px; color: var(--dark); }
.content-section p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; }
.content-section ul { margin-bottom: 20px; }
.content-section li { padding: 8px 0 8px 20px; position: relative; color: var(--dark-light); }
.content-section li::before { content: '•'; position: absolute; left: 0; color: var(--primary); }

/* ===== Resource List ===== */
.resource-list { display: flex; flex-direction: column; gap: 16px; }

.resource-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.resource-item:hover { background: var(--white); box-shadow: var(--shadow); }
.resource-icon { font-size: 2rem; }
.resource-info { flex: 1; }
.resource-info h4 { margin-bottom: 4px; }
.resource-info p { font-size: 0.9rem; color: var(--gray); margin: 0; }
.resource-link { padding: 8px 20px; background: var(--primary); color: var(--white); border-radius: var(--radius); font-size: 0.9rem; }

/* ===== 场景卡片 ===== */
.scenario-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.scenario-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.scenario-number {
    background: var(--gradient);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.scenario-header h3 { flex: 1; font-size: 1.4rem; color: var(--dark); font-weight: 600; }
.scenario-tag { background: var(--light); color: var(--primary); padding: 4px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; }

.scenario-content { padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario-info h4 { font-size: 1rem; margin-bottom: 12px; color: var(--dark); font-weight: 600; }
.scenario-info ul { list-style: none; }
.scenario-info li { padding: 6px 0 6px 20px; position: relative; color: var(--dark-light); font-size: 0.9rem; }
.scenario-info li::before { content: '•'; position: absolute; left: 0; color: var(--primary); }

.scenario-result { background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%); padding: 20px; border-radius: var(--radius); text-align: center; border: 1px solid rgba(16, 185, 129, 0.2); }
.scenario-result h4 { font-size: 1rem; margin-bottom: 12px; color: var(--dark); }
.scenario-result p { color: var(--gray); margin: 0; font-size: 0.9rem; }
.result-number { font-size: 1.8rem; font-weight: 800; color: var(--success); }

/* ===== 服务网格 ===== */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-5px); }
.service-number { background: var(--gradient); color: var(--white); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; margin: 0 auto 16px; }
.service-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--gray-light); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-visual { display: none; }
    .intro-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card.featured { grid-column: span 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .scenario-content { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 2rem; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    
    .intro-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured { grid-column: span 1; }
    .stats-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .service-grid { grid-template-columns: 1fr; }
}