/* 首页特定的body样式 */
body.home-page {
    background: white;
    padding-top: 45px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 主要内容 */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 主横幅区域 */
.hero-section {
    position: relative;
    min-height: 50vh;
    padding: 70px 0;
    background: linear-gradient(135deg, #F8FAFF 0%, #E8F0FF 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,102,255,0.05) 0%, rgba(0,209,255,0.05) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
    position: relative;
}

.hero-text {
    max-width: 530px;
}

.hero-text h1 {
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-weight: 700;
}

.highlight {
    color: var(--text);
    display: block;
    font-size: 0.8em;
    margin-top: 8px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 38px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
}

.simulation-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.simulation-preview:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.simulation-preview img,
.simulation-preview video {
    width: 100%;
    height: auto;
    display: block;
    min-width: 630px;
    min-height: 400px;
    object-fit: contain;
}

#video-placeholder {
    width: 100%;
    height: auto;
    display: block;
    min-width: 630px;
    min-height: 400px;
    object-fit: contain;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 8px 20px;
    border-radius: 13px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.floating-card span {
    font-weight: 500;
}

.card-1 {
    top: 20%;
    left: -10px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -10px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 标语展示区域 */
.slogan-section {
    background: linear-gradient(135deg, #0066FF 0%, #00D1FF 100%);
    position: relative;
    overflow: hidden;
}

.slogan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.slogan-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.slogan-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 26px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        padding: 24px;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body.home-page {
        padding-top: 56px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 40px 0;
        min-height: auto;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-text {
        order: 0;
    }
    
    .simulation-preview {
        transform: none;
        border-radius: 12px;
    }
    
    .simulation-preview img,
    .simulation-preview video,
    #video-placeholder {
        min-width: 100%;
        min-height: 250px;
        border-radius: 12px;
    }
    
    .floating-card {
        display: none;
    }
    
    .slogan-section {
        padding: 32px 0;
    }
    
    .slogan-text {
        font-size: 1.1rem;
        padding: 0 16px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 32px 0;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        display: block;
    }
    
    .hero-stats {
        padding: 16px;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .simulation-preview img,
    .simulation-preview video,
    #video-placeholder {
        min-height: 200px;
    }
    
    .slogan-text {
        font-size: 1rem;
    }
} 

/* 导航栏样式 */
.nav-bar {
    background-color: #333;
    color: white;
    padding: 10px 0;
}

/* 主要内容区域 */
.main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* 卡片样式 */
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
} 

/* Logo样式 */
.logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
}