/* ===== 全局样式 ===== */
:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg-light: #f0f4ff;
    --bg-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

#navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

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

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero 区域 ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-logo {
    width: 200px;
    margin-bottom: 20px;
    filter: brightness(1.1);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 36px;
    font-weight: 400;
}

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

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent);
    color: #1e293b;
    box-shadow: 0 4px 14px rgba(245,158,11,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.5);
    background: var(--accent-light);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: white;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* ===== 页面头部 ===== */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== 通用标题 ===== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* ===== 特色卡片 ===== */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== 分类卡片 ===== */
.categories {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
    font-size: 24px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.category-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
}

/* ===== 关于页 - 品牌故事 ===== */
.story-content {
    max-width: 800px;
    margin: 0 auto;
}

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

/* ===== 使命愿景 ===== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mission-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mission-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.mission-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== 团队 ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--primary-light);
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.team-role {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== 时间轴 ===== */
.timeline-list {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    border-radius: 3px;
}

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

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

.timeline-year {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== 联系页 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.info-item i {
    font-size: 22px;
    color: var(--primary);
    margin-top: 4px;
    width: 28px;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.info-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-social {
    margin-top: 36px;
}

.contact-social h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.social-icons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-light);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
}

/* ===== 表单 ===== */
.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 56px;
    color: #10b981;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.form-success p {
    color: var(--text-secondary);
}

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

.map-placeholder {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px dashed var(--border-color);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.map-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===== 特色功能详情页 ===== */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-detail-card {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 36px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.feature-detail-card.reverse {
    flex-direction: row-reverse;
}

.feature-detail-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.feature-detail-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.feature-detail-text p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== 页脚 ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    width: 160px;
    margin-bottom: 16px;
    filter: brightness(1.2);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-light);
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    opacity: 0.7;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-detail-card {
        flex-direction: column !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active {
        display: flex;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-logo {
        width: 150px;
    }
    .section-title {
        font-size: 28px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .page-hero h1 {
        font-size: 30px;
    }
    .contact-form-wrapper {
        padding: 24px;
    }
    .feature-detail-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .features-grid,
    .categories-grid,
    .team-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }
}