/* 低电宝官网 - 新拟态风格 */

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

:root {
    --bg-color: #E0E0E0;
    --shadow-dark: #bebebe;
    --shadow-light: #ffffff;
    --primary: #6C63FF;
    --primary-dark: #5a52d9;
    --accent-yellow: #FFD93D;
    --accent-orange: #FF8C42;
    --accent-red: #FF6B6B;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* 新拟态阴影 */
.neu-flat {
    background: var(--bg-color);
    box-shadow: 6px 6px 12px var(--shadow-dark),
                -6px -6px 12px var(--shadow-light);
}

.neu-pressed {
    background: var(--bg-color);
    box-shadow: inset 4px 4px 8px var(--shadow-dark),
                inset -4px -4px 8px var(--shadow-light);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.brand-icon {
    font-size: 28px;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--bg-color);
    box-shadow: 4px 4px 8px var(--shadow-dark),
                -4px -4px 8px var(--shadow-light);
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 50px;
}

/* Hero区域 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    gap: 50px;
    padding: 50px 0;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 6px 6px 12px var(--shadow-dark),
                -6px -6px 12px var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
}

.btn-secondary {
    background: var(--bg-color);
    color: var(--primary);
    box-shadow: 6px 6px 12px var(--shadow-dark),
                -6px -6px 12px var(--shadow-light);
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

/* 手机模型 */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--bg-color);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 20px 20px 40px var(--shadow-dark),
                -20px -20px 40px var(--shadow-light);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.battery-display {
    text-align: center;
}

.battery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.battery-body {
    width: 120px;
    height: 60px;
    border: 4px solid #4CAF50;
    border-radius: 10px;
    padding: 4px;
    position: relative;
}

.battery-level {
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.battery-cap {
    width: 8px;
    height: 24px;
    background: #4CAF50;
    border-radius: 0 4px 4px 0;
    margin-left: 4px;
}

.battery-percent {
    font-size: 48px;
    font-weight: bold;
    color: #4CAF50;
    font-family: 'Courier New', monospace;
}

/* 功能区域 */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-color);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card.pikachu {
    background: linear-gradient(135deg, #FFE66D 0%, #FFD93D 100%);
}

.feature-card.silent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-card.silent h3,
.feature-card.silent p {
    color: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: var(--bg-color);
    box-shadow: inset 4px 4px 8px var(--shadow-dark),
                inset -4px -4px 8px var(--shadow-light);
}

.feature-icon.safe { color: #4CAF50; }
.feature-icon.turbo { color: var(--accent-orange); }
.feature-icon.pika {
    color: #333;
    background: rgba(255,255,255,0.5);
    box-shadow: none;
}
.feature-icon.quiet {
    color: white;
    background: rgba(255,255,255,0.2);
    box-shadow: none;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

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

.feature-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    background: #4CAF50;
    color: white;
}

.feature-tag.hot {
    background: var(--accent-orange);
}

.feature-tag.max {
    background: var(--accent-red);
}

.feature-tag.vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

/* 使用场景 */
.how-it-works {
    padding: 80px 0;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.scenario-card {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 6px 6px 12px var(--shadow-dark),
                -6px -6px 12px var(--shadow-light);
}

.scenario-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.scenario-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.scenario-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 下载区域 */
.download {
    padding: 80px 0;
}

.download-card {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 12px 12px 24px var(--shadow-dark),
                -12px -12px 24px var(--shadow-light);
    text-align: center;
}

.download-info h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.download-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 8px var(--shadow-dark);
}

.store-btn:hover {
    transform: translateY(-3px);
}

.store-btn.huawei {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.store-btn.xiaomi {
    background: linear-gradient(135deg, #FF6700, #FF4500);
}

.store-btn.yingyongbao {
    background: linear-gradient(135deg, #12B7F5, #0099CC);
}

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

/* 联系我们 */
.contact {
    padding: 80px 0;
}

.contact-card {
    background: var(--bg-color);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

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

/* 页脚 */
.footer {
    background: var(--bg-color);
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
}

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

.divider {
    margin: 0 15px;
    color: #ccc;
}

.copyright {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.icp a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
}

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

/* 响应式 */
@media (max-width: 1024px) {
    .feature-grid,
    .scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .feature-grid,
    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        flex-direction: column;
        gap: 20px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}
