/* ===== 品牌设计规范 ===== */
:root {
    /* 品牌色板 */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #8b5cf6;
    --accent-light: #ede9fe;
    --gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-hero: linear-gradient(135deg, #1e1b4b, #312e81, #3730a3);
    
    /* 中性色 */
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    
    /* 字体层级 */
    --font-title: 42px;
    --font-subtitle: 24px;
    --font-body: 15px;
    --font-small: 13px;
}

/* ===== 全局重置 ===== */
*, *::before, *::after { 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;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== 容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon { width: 36px; height: 36px; }

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

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

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

/* ===== Hero区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: 64px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139,92,246,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(6,182,212,0.08) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite alternate;
}

@keyframes bgMove {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

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

.hero-logo {
    height: 48px;
    margin: 0 auto 30px;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: var(--font-title);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.5;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: var(--font-body);
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* ===== 通用区块 ===== */
section { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: var(--font-subtitle);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* ===== 特色服务 ===== */
.features { background: #fff; }

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

.feature-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.1);
    border-color: var(--primary);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #fff;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: var(--font-body);
    line-height: 1.6;
}

/* ===== 数据统计 ===== */
.stats {
    background: var(--gradient);
    padding: 60px 0;
}

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

.stat-item { padding: 20px; }

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: var(--font-body);
    color: rgba(255,255,255,0.85);
}

/* ===== 案例展示 ===== */
.cases-section { background: #fff; }

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.case-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.1);
}

.case-card:hover::before { transform: scaleX(1); }

.case-card .case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-card p {
    color: var(--text-light);
    font-size: var(--font-body);
    margin-bottom: 16px;
    line-height: 1.6;
}

.case-card .case-stats {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.case-card .case-stats span {
    font-size: 13px;
    color: var(--text-light);
}

.case-card .case-stats strong {
    color: var(--primary);
    font-size: 16px;
}

/* ===== 合作流程 ===== */
.process { background: #fff; }

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg);
    border-radius: 16px;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.step-arrow {
    color: var(--primary);
    font-size: 24px;
    opacity: 0.5;
}

/* ===== 页脚 ===== */
.footer {
    background: #1e293b;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }

.footer-brand p {
    font-size: var(--font-body);
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: var(--font-body);
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-links a:hover { color: #fff; }

.footer-contact p {
    font-size: var(--font-body);
    margin-bottom: 10px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i { width: 20px; color: var(--primary); }

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: var(--font-small);
    color: rgba(255,255,255,0.4);
}

/* ===== 页面标题 ===== */
.page-header {
    padding: 120px 0 60px;
    background: var(--gradient-hero);
    text-align: center;
}

.page-header h1 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

/* ===== 关于页 ===== */
.brand-story { background: #fff; }

.story-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.story-text h2 {
    font-size: var(--font-subtitle);
    margin-bottom: 20px;
}

.story-text p {
    font-size: var(--font-body);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-card {
    background: var(--gradient);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.story-card i {
    font-size: 48px;
    margin-bottom: 16px;
}

.story-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

/* ===== 发展历程 ===== */
.timeline { background: var(--bg); }

.timeline-line {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-date {
    display: inline-block;
    padding: 4px 16px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: var(--font-body);
    line-height: 1.6;
}

/* ===== 团队介绍 ===== */
.team { background: #fff; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.1);
}

.team-card .avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card .position {
    font-size: var(--font-small);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    font-size: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 使命愿景 ===== */
.mission-vision { background: var(--gradient); padding: 80px 0; }

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

.mv-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}

.mv-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.15);
}

.mv-card i {
    font-size: 40px;
    margin-bottom: 16px;
}

.mv-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.mv-card p {
    font-size: var(--font-body);
    line-height: 1.6;
    opacity: 0.9;
}

/* ===== 联系页 ===== */
.contact-section { background: #fff; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info h2,
.contact-form h2 {
    font-size: var(--font-subtitle);
    margin-bottom: 8px;
}

.contact-info p { color: var(--text-light); margin-bottom: 24px; }

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.info-item i {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-item p {
    font-size: var(--font-body);
    color: var(--text-light);
    margin: 0;
}

.social-media { margin-top: 30px; }

.social-media h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: var(--font-body);
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-block { width: 100%; justify-content: center; }

/* ===== 地图 ===== */
.map-section { background: var(--bg); padding: 60px 0; }

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== 案例筛选 ===== */
.case-filters { background: #fff; padding: 30px 0 0; }

.filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 2px solid var(--border);
    background: #fff;
    font-size: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--accent-light);
}

/* ===== 状态徽章 ===== */
.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.inactive {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    :root { --font-title: 36px; --font-subtitle: 22px; }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .mv-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root { --font-title: 30px; --font-subtitle: 20px; }
    
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s;
        z-index: 999;
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-toggle { display: flex; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .step { max-width: 100%; }
    
    .step-arrow { transform: rotate(90deg); }
    
    .story-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    section { padding: 60px 0; }
}

@media (max-width: 480px) {
    :root { --font-title: 26px; --font-subtitle: 18px; }
    
    .hero { min-height: 90vh; }
    
    .hero-content { padding: 40px 16px; }
    
    .hero-logo { height: 36px; }
    
    .hero-buttons .btn { width: 100%; justify-content: center; }
    
    .features-grid,
    .cases-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number { font-size: 32px; }
}