/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e5aa8;
    --primary-dark: #154785;
    --secondary-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    font-size: 1.8rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-contact .phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-contact .phone-btn:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero区域 */
.hero {
    margin-top: 70px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    background: rgba(0,0,0,0.5);
    padding: 40px 60px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

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

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

/* 核心数据 */
.stats {
    padding: 60px 0;
    background: var(--white);
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    background: var(--bg-color);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

/* 主营业务 */
.business {
    padding: 80px 0;
    background: var(--bg-color);
}

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

.business-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.business-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.business-content {
    padding: 25px;
}

.business-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.business-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-list li i {
    color: var(--secondary-color);
}

/* 应用场景 */
.applications {
    padding: 80px 0;
    background: var(--white);
}

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

.app-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background: var(--bg-color);
    transition: var(--transition);
}

.app-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.app-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.app-item:hover i {
    color: var(--white);
}

.app-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.app-item p {
    color: var(--text-light);
    transition: var(--transition);
}

.app-item:hover p {
    color: rgba(255,255,255,0.8);
}

/* 产品优势 */
.advantages {
    padding: 80px 0;
    background: var(--bg-color);
}

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

.adv-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.adv-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.adv-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.adv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.adv-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.adv-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 联系我们区域 */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.contact-content {
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.3rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-item h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-item p {
    line-height: 1.8;
    opacity: 0.8;
}

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

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

.footer-item ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-item ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list li i {
    color: var(--secondary-color);
}

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

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* 浮动联系按钮 */
.float-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(243,156,18,0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.float-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(243,156,18,0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(243,156,18,0.6);
    }
}

/* 页面横幅 */
.page-banner {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--bg-color);
    padding: 15px 0;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.breadcrumb li a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb li a:hover {
    color: var(--primary-color);
}

.breadcrumb li:last-child {
    color: var(--primary-color);
}

/* 内容区域 */
.content-section {
    padding: 60px 0;
}

/* 关于我们页面 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

/* 资质证书 */
.certificates {
    background: var(--bg-color);
    padding: 60px 0;
}

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

.cert-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cert-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cert-content {
    padding: 20px;
}

.cert-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

/* 产品页面 */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

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

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.spec-table th,
.spec-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.spec-table th {
    background: var(--bg-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* 技术支持页面 */
.support-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.support-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.support-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.support-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.support-item p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.support-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* 联系页面 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 地图容器 */
.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .business-grid,
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-contact {
        display: none;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content {
        padding: 30px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .stats-grid,
    .business-grid,
    .adv-grid,
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-intro,
    .product-detail,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid,
    .support-list {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .float-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
