/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f6d365;
    --text-color: #333;
    --text-light: #666;
    --bg-dark: #0a0a1a;
    --bg-light: #f8f9fa;
    --wood-color: #4CAF50;
    --fire-color: #F44336;
    --earth-color: #FFC107;
    --metal-color: #9E9E9E;
    --water-color: #2196F3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* 语言选择器 */
.lang-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.lang-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #2a1a4a 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 星星背景 */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, white, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 370px 60px, white, transparent),
        radial-gradient(2px 2px at 450px 200px, rgba(255,255,255,0.8), transparent);
    background-repeat: repeat;
    background-size: 500px 300px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* 月亮 */
.moon {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fffde7, #ffd54f, #ff8f00);
    box-shadow: 
        0 0 60px rgba(255, 213, 79, 0.4),
        0 0 120px rgba(255, 143, 0, 0.2),
        inset -15px -15px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 能量环 */
.energy-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.ring-1 { width: 200px; height: 200px; top: -100px; left: -100px; animation-delay: 0s; }
.ring-2 { width: 300px; height: 300px; top: -150px; left: -150px; animation-delay: 0.5s; }
.ring-3 { width: 400px; height: 400px; top: -200px; left: -200px; animation-delay: 1s; }
.ring-4 { width: 500px; height: 500px; top: -250px; left: -250px; animation-delay: 1.5s; }
.ring-5 { width: 600px; height: 600px; top: -300px; left: -300px; animation-delay: 2s; }

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.6; 
    }
}

/* Hero 内容 */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 27px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.app-icon img {
    width: 100%;
    height: 100%;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff, #f6d365);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    height: 50px;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* Section 通用样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lunar-icon {
    background: linear-gradient(135deg, #ffd54f, #ff8f00);
    position: relative;
}

.lunar-icon::before {
    content: '☽';
    font-size: 40px;
    color: white;
}

.elements-icon {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.elements-icon::before {
    content: '☯';
    font-size: 40px;
    color: white;
}

.frequency-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.frequency-icon::before {
    content: '∿';
    font-size: 50px;
    color: white;
}

.time-icon {
    background: linear-gradient(135deg, #00bcd4, #03a9f4);
}

.time-icon::before {
    content: '⏰';
    font-size: 36px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--bg-dark), #1a1a3a);
}

.how-it-works .section-title {
    color: white;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-content h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Screenshots Section */
.screenshots {
    padding: 100px 20px;
    background: var(--bg-light);
}

.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #0a0a0a;
    border-radius: 15px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
}

.screen-1 {
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1a3a 50%, #2a1a4a 100%);
    position: relative;
}

.screen-1::before {
    content: '☯';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.screen-2 {
    background: linear-gradient(180deg, #1a0a2a 0%, #2a1a4a 100%);
    position: relative;
}

.screen-2::before {
    content: '🌙';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 60px;
}

.screen-2::after {
    content: '432 Hz';
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
}

.screen-3 {
    background: linear-gradient(180deg, #0a1a2a 0%, #1a2a4a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screen-3::before {
    content: '★★★★★';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--accent-color);
}

/* Five Elements Section */
.five-elements {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1a3a 100%);
    text-align: center;
}

.five-elements .section-title {
    color: white;
}

.elements-wheel {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 50px;
}

.element {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.element:hover {
    transform: scale(1.2);
}

.element.wood {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.element.fire {
    top: 24%;
    right: 5%;
    background: linear-gradient(135deg, #F44336, #FF5722);
}

.element.earth {
    bottom: 10%;
    right: 15%;
    background: linear-gradient(135deg, #FFC107, #FF9800);
}

.element.metal {
    bottom: 10%;
    left: 15%;
    background: linear-gradient(135deg, #9E9E9E, #607D8B);
}

.element.water {
    top: 24%;
    left: 5%;
    background: linear-gradient(135deg, #2196F3, #03A9F4);
}

.element-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent);
    border: 2px solid rgba(102, 126, 234, 0.5);
    animation: pulse 3s ease-in-out infinite;
}

.elements-description {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: var(--bg-light);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card .stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: var(--text-color);
    font-weight: 600;
}

/* Premium Section */
.premium {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.premium .section-title {
    color: white;
}

.premium .section-title::after {
    background: white;
}

.premium-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.premium-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 30px;
    color: white;
    font-size: 1rem;
}

.check-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.premium-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.plan-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: scale(1.05);
}

.plan-card.popular {
    border: 3px solid var(--accent-color);
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #333;
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-period {
    color: var(--text-light);
    margin-bottom: 10px;
}

.plan-save {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Download Section */
.download-section {
    padding: 100px 20px;
    background: var(--bg-dark);
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.download-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.download-btn-large img {
    height: 60px;
    transition: transform 0.3s ease;
}

.download-btn-large:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #050510;
    padding: 60px 20px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .lang-selector {
        top: 10px;
        right: 10px;
        padding: 5px;
    }

    .lang-btn {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .moon {
        width: 80px;
        height: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .elements-wheel {
        width: 260px;
        height: 260px;
    }

    .element {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .premium-feature {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

