/* 基础重置和变量 */
:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --bg-gradient-start: #e8f0fe;
    --bg-gradient-end: #f0f7ff;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #999;
    --white: #ffffff;
    --border-light: #e5e7eb;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

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

.logo img {
    display: block;
}

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

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

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

/* 主视觉区域 */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center right, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-content {
    padding: 60px 0;
}

/* 标签 */
.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* 标题 */
.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.ai-text {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-gray);
    margin-bottom: 48px;
    font-weight: 400;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-icon {
    background: var(--primary-blue);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.button-icon,
.position-icon {
    background: var(--primary-blue);
}

.button-icon img,
.position-icon img {
    filter: brightness(0) invert(1);
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 下载区域 */
.download-section {
    margin-top: 48px;
}

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

.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 220px;
}

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

.windows-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.mac-btn {
    background: var(--white);
    color: var(--text-light);
    border: 1px solid var(--border-light);
}

.mac-btn.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.super-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--white);
}

.super-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-size: 16px;
    font-weight: 600;
}

.btn-desc {
    font-size: 12px;
    opacity: 0.8;
}

.btn-download {
    margin-left: auto;
}

.download-note {
    font-size: 12px;
    color: var(--text-gray);
}

.download-note a {
    color: var(--primary-blue);
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

/* 右侧产品展示 */
.hero-visual {
    position: relative;
    height: 600px;
}

.product-showcase {
    position: relative;
    width: 100%;
    height: 100%;
}

.software-screenshot {
    position: absolute;
    top: 0;
    right: 0;
    width: 520px;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.software-screenshot img {
    width: 100%;
    display: block;
}

.mouse-product {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 380px;
    z-index: 3;
    transform: rotate(-5deg);
}

.mouse-product img {
    width: 100%;
    display: block;
}

.light-effect {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    z-index: 1;
}

.light-effect img {
    width: 100%;
    display: block;
}

/* 底部特性栏 */
.bottom-features {
    background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: 60px 0;
    margin-top: -100px;
}

.bottom-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.bottom-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bottom-feature-icon {
    flex-shrink: 0;
}

.bottom-feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.bottom-feature-text p {
    font-size: 14px;
    color: var(--text-gray);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .software-screenshot {
        width: 400px;
    }
    
    .mouse-product {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-btn {
        min-width: auto;
    }
    
    .bottom-features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
    }
    
    .software-screenshot {
        width: 300px;
    }
    
    .mouse-product {
        width: 220px;
    }
}
