/* 全局样式重置与基础变量 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300..900&display=swap');

:root {
    /* 新的配色方案 - 类似Cursor.com/cn */
    --background-color: #ffffff;
    --secondary-background: #f5f9fc;
    --card-background: #ffffff;
    --primary-color: #2d46ff; /* 主要蓝色 */
    --secondary-color: #5869ff;
    --accent-color: #8c52ff; /* 紫色强调色 */
    --text-color: #374151;
    --heading-color: #111827;
    --border-color: #e5e7eb;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --glow-color: rgba(45, 70, 255, 0.15);

    /* 间距和布局 */
    --padding-section: 120px;
    --padding-container: 30px;
    --spacing-large: 80px;
    --spacing-medium: 40px;
    --spacing-small: 20px;
    
    /* 元素样式 */
    --border-radius: 16px;
    --transition-speed: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    padding-top: 0; /* 移除顶部填充 */
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--padding-container);
}

/* 导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 7px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-size: 1.6em;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-speed);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-medium);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1em;
    transition: var(--transition-speed);
    position: relative;
}

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

/* Hero部分 */
.hero-section {
    background: linear-gradient(180deg, #f9f9ff 0%, #ffffff 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-section h1 {
    font-size: 5em;
    margin-bottom: 30px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, #2d46ff, #8c52ff, #ff69b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% auto;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section .tagline {
    font-size: 2em;
    margin-bottom: 40px;
    color: var(--text-color);
    font-weight: 500;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-benefits p {
    background-color: white;
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-color);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 40px; /* 更圆的按钮 */
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 25px var(--glow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow-color);
    background-color: var(--secondary-color);
}

/* 内容区块 */
.section {
    padding: var(--padding-section) 0;
}

.section.bg-light {
    background-color: var(--secondary-background);
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 3.5em;
    color: var(--heading-color);
    font-weight: 800;
}

/* 应用卡片 */
.benefits-grid, .app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item, .app-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover, .app-card:not(.coming-soon):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.benefit-item .benefit-icon, .app-card .app-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.benefit-item h3, .app-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.benefit-item p, .app-card p {
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background-color: var(--secondary-background);
    padding: 60px 0 30px;
    color: var(--text-color);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 4em;
    }
    
    .hero-section .tagline {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3.2em;
    }
    
    .hero-section .tagline {
        font-size: 1.5em;
    }
    
    .section h2 {
        font-size: 2.8em;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.5em;
    }
    
    .hero-section .tagline {
        font-size: 1.3em;
    }
    
    .section h2 {
        font-size: 2.2em;
    }
}