/* 基础样式 */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --secondary: #00C6FF;
    --dark: #0A1628;
    --dark-light: #1E3A5F;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #0066FF 0%, #00C6FF 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
    color: var(--primary);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.logo-slogan {
    font-size: 12px;
    color: var(--gray);
    font-weight: 400;
    margin-left: 4px;
}

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

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* 主视觉区 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(0, 198, 255, 0.1) 0%, transparent 50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* 扫描仪动画 */
.scanner-demo {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-device {
    width: 200px;
    height: 120px;
    background: linear-gradient(145deg, #2a3f5f 0%, #1a2a3f 100%);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.laser-line {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, #00C6FF, transparent);
    animation: scan 2s ease-in-out infinite;
}

.scan-area {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: rgba(0, 198, 255, 0.5);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
}

.point-cloud {
    position: absolute;
    width: 100%;
    height: 100%;
}

.point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00C6FF;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.point-1 { top: 20%; left: 20%; animation-delay: 0s; }
.point-2 { top: 40%; left: 70%; animation-delay: 0.5s; }
.point-3 { top: 60%; left: 30%; animation-delay: 1s; }
.point-4 { top: 80%; left: 60%; animation-delay: 1.5s; }
.point-5 { top: 30%; left: 50%; animation-delay: 2s; }

@keyframes scan {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-10px); opacity: 1; }
}

/* 统计数据 */
.stats {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 解决方案 */
.solutions {
    padding: 100px 0;
    background: var(--gray-light);
}

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

.solution-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.solution-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.solution-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    margin-bottom: 24px;
}

.solution-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.solution-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

/* 产品中心 */
.products {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    gap: 32px;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--gray-light);
    border-radius: 20px;
    overflow: hidden;
}

.product-card.featured {
    background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 100%);
    color: var(--white);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    width: 300px;
    height: 200px;
    background: linear-gradient(145deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    border: 2px dashed var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.product-card.featured .product-placeholder {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.product-info {
    padding: 60px;
}

.product-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-subtitle {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 24px;
}

.product-card.featured .product-subtitle {
    color: var(--secondary);
}

.product-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.9;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.spec {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.product-card:not(.featured) .spec {
    background: var(--white);
}

.spec-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.product-card.featured .spec-value {
    color: var(--white);
}

/* 技术优势 */
.features {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.features .section-title {
    color: var(--white);
}

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

.feature-item {
    text-align: center;
    padding: 40px 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 应用案例 */
.cases {
    padding: 100px 0;
    background: var(--gray-light);
}

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

.case-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, #E8F4FD 0%, #D1E9FA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-placeholder {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.case-content {
    padding: 32px;
}

.case-tag {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.case-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

.case-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.case-metrics {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-light);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-desc {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-icon {
    font-size: 24px;
}

.method-info {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 12px;
    color: var(--gray);
}

.method-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

/* 表单样式 */
.contact-form {
    background: var(--gray-light);
    padding: 48px;
    border-radius: 16px;
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    transition: all 0.3s;
}

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

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

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

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-slogan {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

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

.footer-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid,
    .cases-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    .case-metrics {
        flex-direction: column;
        gap: 16px;
    }
}
