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

:root {
    --primary-color: #0066CC;
    --secondary-color: #FF6600;
    --dark-color: #333333;
    --light-color: #F5F5F5;
    --white-color: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6600 0%, #CC5200 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

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

/* ========== 顶部导航栏 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 2px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white-color);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.contact-info {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ========== 英雄区域 ========== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 50%, #003D7A 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></linearGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23grad)" /><circle cx="900" cy="400" r="120" fill="url(%23grad)" /><circle cx="600" cy="200" r="60" fill="url(%23grad)" /></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white-color);
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

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

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

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

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

.btn-secondary:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white-color);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator span {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--white-color);
    border-bottom: 2px solid var(--white-color);
    transform: rotate(-45deg);
    margin: 0 auto;
}

/* ========== 数智方案总览 ========== */
.solution-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 82, 163, 0.05));
}

.overview-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.overview-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.overview-header p {
    color: #4c4c4c;
    line-height: 1.7;
}

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

.overview-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 102, 204, 0.12);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.overview-icon {
    font-size: 32px;
}

.overview-card h3 {
    font-size: 20px;
    color: var(--primary-color);
}

.overview-card p {
    color: #4f4f4f;
    line-height: 1.6;
    flex: 1;
}

.overview-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

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

/* ========== 行业应用矩阵 ========== */
.application-matrix {
    padding: 80px 0;
    background: var(--white-color);
}

.matrix-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.matrix-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.matrix-header p {
    color: #4c4c4c;
    line-height: 1.7;
}

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

.matrix-card {
    background: linear-gradient(160deg, rgba(0, 102, 204, 0.08), rgba(255, 102, 0, 0.08));
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 102, 204, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.matrix-card h3 {
    font-size: 20px;
    color: var(--primary-color);
}

.matrix-card p {
    color: #4c4c4c;
    line-height: 1.6;
}

.matrix-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #4c4c4c;
    line-height: 1.6;
}

.matrix-card ul li::before {
    content: "✔";
    color: var(--secondary-color);
    margin-right: 8px;
}

/* ========== 平台 CTA ========== */
.platform-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.9), rgba(0, 102, 204, 0.95));
    color: var(--white-color);
}

.platform-cta .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.platform-content h2 {
    font-size: 34px;
    margin-bottom: 16px;
}

.platform-content p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.platform-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.platform-cta .btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.platform-form form {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.platform-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.platform-form input,
.platform-form select,
.platform-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.platform-form textarea {
    resize: vertical;
}

.platform-form button {
    align-self: flex-start;
    padding: 12px 24px;
}


/* ========== 核心业务板块 ========== */
.core-business {
    padding: 80px 0;
    background: var(--white-color);
}

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

.section-title {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

.business-block {
    margin-bottom: 80px;
}

.business-header {
    text-align: center;
    margin-bottom: 40px;
}

.business-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.business-header h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.business-header p {
    font-size: 16px;
    color: #666;
}

.business-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--white-color);
    font-size: 16px;
    font-weight: 500;
}

/* ========== 公司优势 ========== */
.advantages {
    padding: 80px 0;
    background: var(--light-color);
}

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

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

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

.advantage-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* ========== 智能制造展示 ========== */
.smart-manufacturing {
    padding: 80px 0;
    background: var(--white-color);
}

.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.manufacturing-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    aspect-ratio: 16/10;
}

.manufacturing-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.manufacturing-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.manufacturing-item:hover img {
    transform: scale(1.1);
}

.manufacturing-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 102, 204, 0.95), transparent);
    padding: 25px;
    transform: translateY(70%);
    transition: var(--transition);
}

.manufacturing-item:hover .manufacturing-info {
    transform: translateY(0);
}

.manufacturing-info h3 {
    color: var(--white-color);
    font-size: 20px;
    margin-bottom: 8px;
}

.manufacturing-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* ========== 数据统计 ========== */
.statistics {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white-color);
}

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

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

.stat-number {
    font-size: 56px;
    font-weight: bold;
    display: inline-block;
}

.stat-plus,
.stat-percent {
    font-size: 36px;
    display: inline-block;
    margin-left: 5px;
}

.stat-label {
    font-size: 18px;
    margin-top: 10px;
    opacity: 0.9;
}

/* ========== 联系我们 CTA ========== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF6600 0%, #CC5200 100%);
    color: var(--white-color);
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

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

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white-color);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white-color);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 2;
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .business-header h3 {
        font-size: 24px;
    }

    .business-gallery {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .overview-grid,
    .matrix-grid,
    .platform-cta .container,
    .platform-form .form-row {
        grid-template-columns: 1fr;
    }

    .platform-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .platform-form button {
        width: 100%;
    }

    .manufacturing-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

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

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}


/* 核心业务查看详情按钮 */
.business-detail-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.business-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
}

.business-header {
    position: relative;
}
