/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e5ba8;
    --secondary-color: #0d3b66;
    --accent-color: #f4a261;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

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

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

/* 导航栏 */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.nav-brand .tagline {
    color: var(--text-light);
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu li.active > a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* 轮播图 */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #001428;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 20, 40, 0.5);
    z-index: 1;
}

.hero-slide.active {
    display: flex;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e76f51;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 数据展示 */
.stats {
    background: var(--bg-light);
    padding: 4rem 0;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 公司简介 */
.about-intro {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-text .btn {
    margin-top: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 核心业务 */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-color);
}

/* 企业实力 */
.strength {
    padding: 5rem 0;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.strength-item {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.strength-item:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.strength-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.strength-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.strength-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 企业五力分析 - 关于页面 */
.strength-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.strength-detail-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.strength-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.strength-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.strength-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
}

.strength-detail-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.strength-detail-item ul {
    list-style: none;
}

.strength-detail-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.strength-detail-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* 资质证书 - 关于页面 */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certificate-item {
    text-align: center;
}

.certificate-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.certificate-item img:hover {
    transform: scale(1.03);
}

.certificate-item p {
    color: var(--text-dark);
    font-weight: 600;
}

/* 荣誉资质 */
.honors {
    padding: 5rem 0;
    background: var(--bg-light);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.honor-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.honor-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.honor-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.honor-item p {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .honors-grid {
        grid-template-columns: 1fr;
    }
    .honor-img {
        height: 180px;
    }
}

/* 新闻动态 */
.news {
    padding: 5rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.news-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--accent-color);
}

/* 合作伙伴 */
.partners {
    padding: 5rem 0;
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.partner-logo {
    background: var(--white);
    padding: 1.2rem 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-logo .partner-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.partner-logo .partner-name.bell {
    color: #e31837;
    font-style: italic;
    font-size: 1.15rem;
}

.partner-logo .partner-name.eagle {
    font-size: 0.8rem;
    color: #1a365d;
}

.partner-logo .partner-name.ht {
    color: #c41e3a;
}

.partner-logo .partner-name.green {
    background: #2d7a4f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.partner-logo .partner-name.jr {
    color: #0066b3;
    font-family: Arial, sans-serif;
    font-style: italic;
}

.partner-logo .partner-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.partner-logo .partner-icon.uwin {
    font-size: 1rem;
    font-weight: bold;
    color: #0099cc;
    font-style: italic;
}

.partner-logo .partner-icon.red-circle,
.partner-logo .partner-icon.blue-circle,
.partner-logo .partner-icon.sd-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.partner-logo .partner-icon.red-circle { border: 3px solid #e31837; }
.partner-logo .partner-icon.blue-circle { border: 3px solid #1e40af; }
.partner-logo .partner-icon.sd-circle { border: 3px solid #dc2626; }

.partner-logo .partner-dots {
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.partner-logo .partner-name.sdia {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.partner-logo .partner-desc {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.3;
    margin-top: 2px;
}

.partner-logo:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 页脚 */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

/* 工具类 */
.text-center {
    text-align: center;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .strength-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
