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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    min-height: 100vh;
}

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

/* 顶部导航栏 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

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

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

.logo-text {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
}

.logo-text small {
    font-size: 12px;
    color: #666;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

.login-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* 主要内容区域 */
.main {
    margin-top: 80px;
}

/* 英雄区块 */
.hero {
    background: #fff;
    color: #333;
    text-align: center;
    position: relative;
     display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.hero-title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 2px;
    color: #2c3e50;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: #5a6c7d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    margin-bottom: 60px;
}

/* 英雄区块产品展示 - 按照目标图片样式 */
.hero-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.product-specs {
    text-align: center;
    color: #2c3e50;
    min-width: 150px;
}

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

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

.spec-number {
    display: block;
    font-size: 64px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 8px;
    color: #4a90e2;
}

.spec-unit {
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #2c3e50;
}

.spec-desc {
    display: block;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 400;
}

.main-product-image {
    max-width: 100%;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 0px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.product-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.product-hero-img:hover {
    transform: scale(1.02);
}

/* 产品特性区块 */
.features {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.feature-content {
    /* 确保内容可见 */
    display: block;
    visibility: visible;
    opacity: 1;
}

.feature-title, .feature-desc {
    /* 确保标题和描述可见 */
    display: block;
    visibility: visible;
    opacity: 1;
}

.feature-title {
    font-size: 42px;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-desc {
    font-size: 16px;
    color: #7f8c8d;
    max-width: 500px;
    margin: 0 auto;
}

/* 产品场景展示区块 - 完全按照图片样式 */
.product-showcase {
    padding: 0;
    background: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 100vh;
}

.showcase-left,
.showcase-right {
    position: relative;
    overflow: hidden;
}

.showcase-left {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

.showcase-right {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.showcase-image:hover {
    transform: scale(1.05);
}

/* 右侧固定工具栏 - 完全模仿图片样式 */
.sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px 0 0 25px;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.sidebar-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 60px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(-3px);
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    color: #666;
    transition: color 0.3s ease;
}

.sidebar-item:hover .sidebar-icon {
    color: #4a90e2;
}

.sidebar-text {
    font-size: 10px;
    color: #999;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.sidebar-item:hover .sidebar-text {
    color: #4a90e2;
}

/* 工具提示 */
.sidebar-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-right: 10px;
    z-index: 1000;
}

.sidebar-item::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-right: 4px;
}

.sidebar-item:hover::before,
.sidebar-item:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .hero-product {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }
    
    .product-specs {
        display: flex;
        justify-content: space-around;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .left-spec,
    .right-spec {
        flex: 1;
    }
    
    .spec-number {
        font-size: 36px;
    }
    
    .spec-unit {
        font-size: 14px;
    }
    
    .spec-desc {
        font-size: 12px;
    }
    
    .main-product-image {
        order: -1;
        max-width: 90%;
    }
    
    .feature-title {
        font-size: 28px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .showcase-item {
        height: 300px;
    }
    
    .sidebar {
        right: 0;
        padding: 8px 0;
    }
    
    .sidebar-item {
        padding: 12px 15px;
        min-width: 50px;
    }
    
    .sidebar-icon {
        width: 20px;
        height: 20px;
    }
    
    .sidebar-text {
        font-size: 9px;
    }
    
    .sidebar-item::before,
    .sidebar-item::after {
        display: none;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .spec-number {
        font-size: 28px;
    }
    
    .spec-unit {
        font-size: 12px;
    }
    
    .spec-desc {
        font-size: 10px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .showcase-left,
    .showcase-right {
        min-height: 50vh;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .feature-title {
        font-size: 24px;
    }
    
    .showcase {
        padding: 60px 0;
    }
    
    .showcase-item {
        height: 250px;
    }
}

/* 平板适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-product {
        gap: 50px;
    }
    
    .spec-number {
        font-size: 42px;
    }
    
    .spec-unit {
        font-size: 15px;
    }
    
    .main-product-image {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .feature-title {
        font-size: 36px;
    }
    
    .showcase-grid {
        min-height: 80vh;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.watch-main {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.watch-specs {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}

/* 选中文本样式 */
::selection {
    background: rgba(231, 76, 60, 0.3);
    color: #2c3e50;
}/* 
图片占位样式 */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 20px;
}

.image-placeholder p {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.image-placeholder small {
    font-size: 12px;
    opacity: 0.7;
}

