/* 银河手机群控系统样式 */

/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background:  #1a1a1a;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 主要内容区域 */
.main {
    margin-top: 100px;
    padding: 2rem;
}

/* 适配新导航栏的容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: #e0e0e0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hero-description {
    color: #ccc;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    margin: 2rem 0;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 2rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.features {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.feature-item {
    color: #e0e0e0;
    margin: 0.5rem 0;
    font-size: 1rem;
    text-align: center;
}

.video-container {
    margin: 2rem auto;
    text-align: center;
    max-width: 800px;
}

.video-container iframe {
    width: 100%;
    max-width: 640px;
    height: 360px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-title {
    color: white;
    font-size: 1.8rem;
    text-align: center;
    margin: 3rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 右侧悬浮按钮 */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.icon {
    font-size: 0.8rem;
    writing-mode: vertical-lr;
    text-align: center;
}

/* 底部样式 */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.copyright {
    color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .main {
        margin-top: 160px;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .video-container iframe {
        height: 200px;
    }
    
    .floating-buttons {
        right: 10px;
        bottom: 10px;
    }
}

/* 产品功能板块样式 */
.features-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.features-section .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 移除精确的卡片定位，让浏览器自动排列 */
.feature-card {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
}

/* 调整卡片宽度，确保第二行三个卡片居中 */
.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-name {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-desc {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-advantage {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-support {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #00a8ff 0%, #0078d4 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.4);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 在中等屏幕上重置第七个卡片的位置 */
    .feature-card:nth-child(7) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .features-section .section-title {
        font-size: 1.6rem;
    }
}

/* 服务项目区域样式 */
.services-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-section .container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.service-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-desc {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 底部样式 */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
}