* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --light-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --shadow-light: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 30px 80px rgba(0, 0, 0, 0.2);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--primary-gradient);
    overflow-x: hidden;
}

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

/* 背景装饰 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-decoration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.logo:hover::after {
    width: 100%;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #667eea;
}

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

.cta-btn {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.cta-btn:hover::before {
    left: 100%;
}

/* Hero Section - 减小高度 */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)), url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1) 25%, transparent 25%), linear-gradient(-45deg, rgba(118, 75, 162, 0.1) 25%, transparent 25%);
    background-size: 60px 60px;
    animation: heroPattern 20s linear infinite;
}

@keyframes heroPattern {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, -60px 60px; }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .cta-btn {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* 技术优势区域 */
.advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

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

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

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

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
}

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

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

.products-grid-second {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 0;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:nth-child(2)::before {
    background: var(--secondary-gradient);
}

.product-card:nth-child(3)::before {
    background: var(--accent-gradient);
}

/* 产品图标 */
.product-icon {
    width: 120px;
    height: 120px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    font-size: 3.5rem;
    color: white;
}

.product-card:nth-child(2) .product-icon {
    background: var(--secondary-gradient);
}

.product-card:nth-child(3) .product-icon {
    background: var(--accent-gradient);
}

.products-grid-second .product-card:nth-child(1) .product-icon {
    background: var(--accent-gradient);
}

.products-grid-second .product-card:nth-child(2) .product-icon {
    background: var(--primary-gradient);
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
}

.product-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
    font-weight: 600;
}

.product-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 2rem;
    color: #555;
    transition: var(--transition);
}

.features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.features li:hover {
    color: #333;
    transform: translateX(5px);
}

/* 产品详细参数区域 */
.product-specs {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.spec-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.spec-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: #555;
}

.spec-value {
    color: #333;
    font-weight: 600;
}

/* 应用场景区域 */
.scenarios {
    padding: 100px 0;
    background: var(--dark-gradient);
    color: white;
}

.scenarios .section-title {
    color: white;
}

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

.scenario-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.scenario-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.scenario-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.scenario-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 产品咨询按钮 */
.product-cta-btn {
    background: var(--secondary-gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    box-shadow: var(--shadow-light);
}

.product-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* CTA卡片样式 - 改为产品卡片风格 */
.cta-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.cta-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.cta-card:hover::before {
    transform: scaleX(1);
}

.cta-icon {
    width: 120px;
    height: 120px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    font-size: 3.5rem;
    color: white;
}

.cta-card:hover .cta-icon {
    transform: scale(1.1) rotate(5deg);
}

.cta-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.cta-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Contact Form */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    position: relative;
}

.contact::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.contact .section-title {
    color: white;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    font-size: 1rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* 移动端菜单样式 - 默认隐藏 */
.mobile-menu-toggle {
    display: none;
}

.mobile-nav {
    display: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 3rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: var(--shadow-heavy);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: #333;
    background: #f0f0f0;
}

.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-message h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.success-message p {
    color: #666;
    font-size: 1.1rem;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
    }
    
    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        transition: var(--transition);
        border-radius: 2px;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-medium);
        border-radius: 0 0 15px 15px;
        z-index: 999;
    }
    
    .mobile-nav.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-nav ul {
        list-style: none;
        padding: 1rem 0;
    }
    
    .mobile-nav li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-nav li:last-child {
        border-bottom: none;
    }
    
    .mobile-nav a {
        display: block;
        padding: 1rem 2rem;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
    }
    
    .mobile-nav a:hover {
        background: #f8f9fa;
        color: #667eea;
    }
    
    /* 只隐藏导航栏中的CTA按钮，不影响表单按钮 */
    .nav .cta-btn {
        display: none;
    }

    .hero {
        min-height: 60vh;
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .products-grid,
    .products-grid-second,
    .advantages-grid,
    .specs-grid,
    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-container {
        margin: 0 1rem;
        padding: 2.5rem 2rem;
    }
    
    /* 确保表单按钮在移动端正常显示 */
    .form-container .cta-btn {
        display: inline-block;
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        margin-top: 1rem;
        border-radius: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .product-card {
        padding: 2rem;
    }
    
    /* 优化移动端模态框 */
    .modal-content {
        margin: 10% auto;
        padding: 2rem;
        width: 95%;
        max-width: 400px;
    }
    
    .success-message {
        padding: 2rem 1rem;
    }
    
    .success-icon {
        font-size: 4rem;
    }
    
    .success-message h3 {
        font-size: 1.5rem;
    }
    
    .success-message p {
        font-size: 1rem;
    }
    
    /* 优化移动端表单输入框 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem 1.2rem;
        font-size: 16px; /* 防止iOS缩放 */
        border-radius: 12px;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    /* 优化移动端产品卡片 */
    .product-icon,
    .advantage-icon,
    .cta-icon {
        font-size: 2.5rem;
    }
    
    .cta-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-card,
    .advantage-card,
    .scenario-card,
    .spec-card {
        padding: 1.5rem;
    }
    
    .nav {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}