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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--light-color);
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--dark-color);
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

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

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

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

.btn.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
}

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

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--gray-800);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 首页横幅 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: -2;
}

.hero-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    top: auto;
    bottom: 50px;
    left: 100px;
    right: auto;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 150px;
    left: auto;
    right: 300px;
    bottom: auto;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

.hero-content {
    width: 100%;
    padding: 0 20px;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 30px;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 500;
}

.hero-badge i {
    margin-right: 10px;
    color: #ffd700;
    font-size: 1.2rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    line-height: 1.2;
}

.hero-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.stat i {
    margin-right: 10px;
    color: #ffd700;
    font-size: 1.3rem;
}

.cta-buttons .btn {
    margin: 0 12px;
}

.hero-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll-down a {
    color: white;
    font-size: 1.8rem;
    display: block;
}

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

/* 关于我们 */
.about {
    background: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.stats {
    display: flex;
    margin-top: 40px;
    gap: 40px;
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 500;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 450px;
    position: relative;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.tech-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    z-index: 2;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-md);
    font-weight: 500;
}

.tech-badge i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.tech-badge-2 {
    top: auto;
    bottom: 25px;
    left: auto;
    right: 25px;
    background: rgba(16, 185, 129, 0.9);
}

.tech-badge-3 {
    top: 25px;
    left: auto;
    right: 25px;
    background: rgba(245, 158, 11, 0.9);
}

.hex-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
    z-index: 1;
    padding: 25px;
}

.hex-item {
    width: 80px;
    height: 80px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--gray-200);
}

.hex-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.hex-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    animation: float 8s infinite ease-in-out;
}

.floating-element-2 {
    width: 45px;
    height: 45px;
    top: 65%;
    left: 85%;
    background: rgba(16, 185, 129, 0.1);
    animation-delay: 2s;
}

.floating-element-3 {
    width: 90px;
    height: 90px;
    top: 25%;
    left: 75%;
    background: rgba(245, 158, 11, 0.1);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(15px, 20px); }
    50% { transform: translate(-15px, 15px); }
    75% { transform: translate(20px, -15px); }
}

/* 服务介绍 */
.services {
    background: white;
}

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

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--dark-color);
    font-weight: 700;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* 产品中心 */
.products {
    background: var(--light-color);
}

.tab-header {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--gray-200);
}

.tab-btn {
    background: none;
    border: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(37, 99, 235, 0.05);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.tab-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-pane {
    display: none;
    width: 100%;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    width: 100%;
}

.product-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    padding: 40px 30px;
    border: 1px solid var(--gray-200);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.product-item h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--dark-color);
    font-weight: 700;
}

.product-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* 案例展示 */
.cases {
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.case-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 30px;
    background: white;
    border: 1px solid var(--gray-200);
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.case-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 25px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.case-info h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--dark-color);
    font-weight: 700;
}

.case-info p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* 联系我们 */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--dark-color);
    font-weight: 700;
}

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

.info-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

#consultationBtn {
    margin-top: 20px;
}

.contact-form p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    height: 80%;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.close {
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 0;
    height: calc(100% - 60px);
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

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

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

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

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

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    color: white;
    font-size: 1.4rem;
    margin-right: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-content h3 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about-image {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 80%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 100px;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 25px 0;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content h3 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .tab-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .case-item {
        flex-direction: column;
        text-align: center;
    }
    
    .case-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content h3 {
        font-size: 1.2rem;
    }
    
    .hero-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-buttons .btn {
        margin: 0;
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hex-grid {
        grid-gap: 15px;
        padding: 15px;
    }
    
    .hex-item {
        width: 60px;
        height: 60px;
    }
    
    .hex-item i {
        font-size: 1.4rem;
    }
}