/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局变量 */
:root {
    --primary-color: #0a4f7c;
    --secondary-color: #1565c0;
    --accent-color: #00bcd4;
    --text-color: #263238;
    --light-text: #546e7a;
    --bg-light: #e3f2fd;
    --bg-fluid: #f5f9fc;
    --border-color: #e1f5fe;
    --hover-bg: #bbdefb;
    --gradient-primary: linear-gradient(135deg, #0a4f7c 0%, #1565c0 50%, #00bcd4 100%);
    --gradient-accent: linear-gradient(135deg, #00bcd4 0%, #29b6f6 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础排版 */
body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-fluid);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 流体背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(10, 79, 124, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 100%;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
}

/* 头部导航 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
}

.main-nav .nav-list li {
    position: relative;
}

.main-nav .nav-list li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li a.active {
    color: var(--primary-color);
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: white;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 14px 24px;
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--hover-bg);
    color: var(--accent-color);
}

.nav-extras {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle, .language-toggle, .mobile-menu-toggle {
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.search-toggle:hover, .language-toggle:hover, .mobile-menu-toggle:hover {
    color: var(--accent-color);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

.language-toggle:hover {
    background-color: rgba(10, 79, 124, 0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.language:hover .language-dropdown,
.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 8px;
}

.language-dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
}

/* 搜索框 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.search-input {
    width: 100%;
    padding: 20px;
    font-size: 24px;
    border: none;
    border-bottom: 2px solid white;
    background: transparent;
    color: white;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-close {
    position: absolute;
    top: 0;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* 主横幅 */
.hero-banner {
    background: var(--gradient-primary), url('../images/hero-bg.jpg') center center/cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.2) 0%, transparent 70%);
    animation: fluidMove 20s ease-in-out infinite alternate;
}

@keyframes fluidMove {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1.2) rotate(-5deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-banner h1 {
    font-size: 64px;
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: none;
    position: relative;
    z-index: 2;
}

.hero-banner p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 通用区块样式 */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
}

.bg-light::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 79, 124, 0.1) 0%, transparent 70%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.section-header p {
    font-size: 18px;
    color: var(--light-text);
    max-width: 800px;
    margin: 20px auto 0;
    line-height: 1.7;
}

/* 核心优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-item:hover::before {
    opacity: 0.1;
}

.advantage-item:hover * {
    color: white;
}

.advantage-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 36px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(10, 79, 124, 0.3);
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.4);
}

.advantage-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.advantage-item p {
    color: var(--light-text);
    line-height: 1.7;
    transition: var(--transition);
}

/* 产品展示 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.product-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.product-link:hover i {
    transform: translateX(5px);
}

/* 行业解决方案 */
.industries-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.industry-slide {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.industry-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    transition: var(--transition);
}

.industry-slide:hover .industry-icon {
    background-color: var(--accent-color);
}

.industry-slide h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.industry-slide p {
    color: var(--light-text);
}

/* 新闻动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.news-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.read-more:hover {
    text-decoration: underline;
}

/* 页脚 */
.main-footer {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.footer-section p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.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);
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* 大屏幕优化 (1920px) */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-banner {
        min-height: 95vh;
    }
    
    .hero-banner h1 {
        font-size: 72px;
    }
    
    .section-header h2 {
        font-size: 56px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }
    
    .advantage-item {
        padding: 50px 30px;
    }
    
    .products-grid,
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .industries-slider {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-banner h1 {
        font-size: 48px;
    }
    
    .hero-banner p {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .nav-wrapper {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background-color: #f5f9fc;
        border-radius: 0;
        border-left: none;
        padding-left: 15px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown > a::after {
        content: '+';
        font-size: 18px;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > a::after {
        transform: rotate(45deg);
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-banner {
        min-height: 60vh;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero-banner h1 {
        font-size: 32px;
    }
    
    .hero-banner p {
        font-size: 16px;
    }
    
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-slider {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* 滚动到顶部按钮 */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #e55500;
    transform: translateY(-5px);
}

/* 辅助类 */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}