/* =========================================
   1. 复用 APP 核心变量
   ========================================= */
:root {
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    --glass-bg: rgba(255, 255, 255, 0.65); /* 网页版稍微透明一点 */
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #1a1a1a;
    --radius-card: 24px;
    --radius-btn: 30px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* 全局重置 */
* { box-sizing: border-box; }
body {
    background: var(--bg-gradient);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   2. 通用组件
   ========================================= */
/* 玻璃拟态面板 */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-card);
}

/* 按钮样式 */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    height: 50px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid #eeeeee;
}
.btn-outline:hover {
    background: rgba(0,0,0,0.03);
}

/* =========================================
   3. 布局与具体区块
   ========================================= */
/* 装饰背景球 (增加玻璃质感) */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}
.orb-1 { width: 400px; height: 400px; background: #e0e0e0; top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: #d4d4d4; bottom: 0; right: -50px; }

/* 导航栏 */
.nav-bar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-links { display: flex; align-items: center; gap: 20px; }

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Hero 区域 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    gap: 60px;
}

.hero-content { flex: 1; }
.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}
.hero-content .highlight {
    background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}
.cta-group { display: flex; gap: 16px; }

/* 模拟手机 (CSS Drawing) */
.hero-image { flex: 1; display: flex; justify-content: center; }
.phone-mockup {
    width: 320px;
    height: 650px;
    border: 8px solid #fff;
    border-radius: 40px;
    position: relative;
    background: #f8f8f8;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}
.app-screen { padding: 20px; height: 100%; display: flex; flex-direction: column; }
.app-header { display: flex; justify-content: space-between; margin-bottom: 24px; align-items: center; }
.weather-pill-mock {
    background: #fff; border-radius: 20px; padding: 4px 12px;
    display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700;
}
.app-card-mock {
    flex: 1; background: #e0e0e0; border-radius: 20px; margin-bottom: 20px;
    position: relative; overflow: hidden;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.card-tag {
    position: absolute; bottom: 20px; left: 20px;
    background: #000; color: #fff; padding: 4px 12px; border-radius: 8px; font-size: 12px;
}
.app-btn-mock { height: 50px; background: #000; border-radius: 30px; width: 100%; }

/* 特性部分 */
.features-section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 40px;
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-10px); }
.icon-box {
    width: 60px; height: 60px; background: #fff; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Footer */
footer { text-align: center; padding: 60px 24px; color: var(--text-secondary); }
.footer-logo { font-weight: 900; color: var(--text-primary); font-size: 1.5rem; margin-bottom: 12px; }

/* 简单的淡入动画类 */
.animate-fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero-section { flex-direction: column; text-align: center; padding-top: 100px; }
    .hero-content h1 { font-size: 2.5rem; }
    .subtitle { margin: 0 auto 30px; }
    .cta-group { justify-content: center; }
    .nav-bar { padding: 0 16px; }
    .phone-mockup { width: 280px; height: 550px; }
}