/* ========== 首页优化样式 ========== */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/products/robot-family.jpg') center/cover;
    opacity: 0.25;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.8em;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4em;
    color: #9090a0;
    margin-bottom: 45px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 45px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 16px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
}

.hero-feature-icon {
    font-size: 1.8em;
    line-height: 1;
}

.hero-feature-text {
    font-size: 0.95em;
    color: #d0d0e0;
    font-weight: 500;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

/* ========== 数据统计 ========== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.stat-value {
    font-size: 3.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2em;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.9em;
    color: #707080;
}

/* ========== Section Header ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 1.2em;
    color: #9090a0;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== 产品矩阵 ========== */
.products-section {
    padding: 100px 0;
    background: #0a0a0f;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 10;
}

.product-card-badge.new {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
}

.product-card-image {
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card-content {
    padding: 25px;
}

.product-card-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.product-card-desc {
    font-size: 0.95em;
    color: #9090a0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-card-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-item {
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    color: #00d4ff;
    line-height: 1;
}

.spec-unit {
    display: block;
    font-size: 0.75em;
    color: #707080;
    margin-top: 4px;
}

.spec-label {
    display: block;
    font-size: 0.8em;
    color: #9090a0;
    margin-top: 4px;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.product-card-link:hover {
    gap: 12px;
    color: #0099ff;
}

/* ========== 技术优势 ========== */
.technology-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
}

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

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.tech-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.tech-desc {
    font-size: 0.95em;
    color: #9090a0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tech-features {
    list-style: none;
    padding: 0;
}

.tech-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #d0d0e0;
    font-size: 0.9em;
}

.tech-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

/* ========== 应用场景 ========== */
.scenarios-section {
    padding: 100px 0;
    background: #0a0a0f;
}

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

.scenario-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.scenario-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.scenario-image {
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scenario-content {
    padding: 30px;
}

.scenario-content h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.scenario-content > p {
    font-size: 0.95em;
    color: #9090a0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.scenario-features {
    list-style: none;
    padding: 0;
}

.scenario-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #d0d0e0;
    font-size: 0.9em;
}

.scenario-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

/* ========== 客户案例 ========== */
.cases-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
}

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

.case-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.case-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.case-desc {
    font-size: 0.95em;
    color: #9090a0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.case-stats {
    display: flex;
    gap: 30px;
}

.case-stat {
    text-align: center;
}

.case-stat-value {
    display: block;
    font-size: 2em;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 5px;
}

.case-stat-label {
    display: block;
    font-size: 0.85em;
    color: #707080;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 153, 255, 0.05) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 1.2em;
    color: #9090a0;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .products-grid,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .tech-grid,
    .stats-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2em;
    }
}
