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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(30, 58, 138, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-logo img {
    margin-right: 10px;
    border-radius: 8px;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 全屏Banner样式 */
.hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero-banner::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="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #fbbf24;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

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

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
    color: #1e3a8a;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
    animation: pulse 1.5s infinite;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
    0%, 100% { transform: translateY(-3px) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    object-fit: cover;
    aspect-ratio: 3/2;
}

.hero-visual img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

/* 快捷导航栏 */
.quick-nav {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 70px;
    z-index: 999;
}

.quick-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.quick-nav a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quick-nav a:hover {
    background-color: #eff6ff;
    color: #1e40af;
    transform: translateY(-2px);
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 2px;
}

.section-desc {
    font-size: 18px;
    color: #64748b;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* 产品介绍区域 */
.product-intro {
    background: white;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* 检测流程 */
.workflow-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.step-item {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.step-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.step-arrow {
    font-size: 32px;
    color: #3b82f6;
    font-weight: bold;
}

/* 对比表格 */
.comparison-section {
    background: white;
}

.comparison-table {
    margin-top: 40px;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 20px;
    font-weight: 600;
    text-align: left;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.comparison-table tr:hover {
    background-color: #f8fafc;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9fafb;
}

/* 技术原理 */
.technology-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.tech-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
    margin-top: 30px;
}

.tech-text h3:first-child {
    margin-top: 0;
}

.tech-text p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tech-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.tech-visual img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* 应用场景 */
.scenarios-section {
    background: white;
}

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

.scenario-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid #3b82f6;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.scenario-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.scenario-card p {
    color: #64748b;
    line-height: 1.6;
}

/* 用户评价 */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: #3b82f6;
    font-weight: bold;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
    color: #1e3a8a;
}

.rating {
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-card p {
    color: #64748b;
    line-height: 1.6;
    font-style: italic;
}

/* 常见问题 */
.faq-section {
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.faq-item {
    background: #f8fafc;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-item h3 {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-item p {
    padding: 20px;
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* 数据统计 */
.stats-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.stats-section h2 {
    color: white;
}

.stats-section h2::after {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 10px;
    display: block;
}

.stat-card .stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 合作伙伴区域 */
.partners-section {
    background: white;
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    align-items: center;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.1);
    background: white;
}

.partner-item img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.partner-item span {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.3s ease;
}

.partner-item:hover span {
    color: #1e3a8a;
}

/* 检测示例展示 */
.detection-examples {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

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

.example-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.example-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.example-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.example-item:hover .example-image img {
    transform: scale(1.05);
}

.example-content {
    padding: 30px;
}

.example-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.example-content p {
    color: #64748b;
    line-height: 1.6;
}

/* 功能特色详解 */
.features-detail-section {
    background: white;
}

.features-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-detail-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid #3b82f6;
}

.feature-detail-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.feature-detail-card ul {
    list-style: none;
    padding: 0;
}

.feature-detail-card li {
    color: #64748b;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.feature-detail-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 互动功能区 */
.interactive-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
}

.interactive-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.interact-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1e3a8a;
}

.interact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
    border-color: #3b82f6;
}

.btn-icon {
    font-size: 20px;
}

.btn-count {
    background: #3b82f6;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.5);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .workflow-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .quick-nav {
        display: none;
    }
    
    .interactive-buttons {
        gap: 15px;
    }
    
    .interact-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    /* 图片响应式优化 */
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .partner-item {
        padding: 20px 15px;
    }
    
    .partner-item img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .example-image {
        height: 180px;
    }
    
    .example-content {
        padding: 20px;
    }
    
    .hero-visual img {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .container {
        padding: 0 15px;
    }
}
