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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-bottom: 80px; /* 为固定按钮留出空间 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #FFB800;
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #FFD700, #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #FFB800;
}

/* 首页横幅样式 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFB800 100%);
    color: white;
    padding: 100px 20px 50px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f8f8f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #FFB800;
    color: white;
    border: 2px solid #FFB800;
}

.btn-primary:hover {
    background: #E6A600;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    max-width: 400px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

/* 功能特色样式 */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 下载区域样式 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFB800 100%);
    color: white;
    text-align: center;
}

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

.download-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-width: 200px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.download-btn span {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.download-btn small {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.tech-stack {
    text-align: left;
    display: inline-block;
}

.tech-stack h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.tech-stack ul {
    list-style: none;
}

.tech-stack li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.tech-stack li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFB800;
    font-weight: bold;
}

/* 页脚样式 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h3 {
    color: #FFB800;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFB800;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        margin-top: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* 条款和隐私政策页面样式 */
.policy-container {
    max-width: 900px;
    margin: 100px auto 50px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FFD700, #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.policy-meta {
    color: #666;
    font-size: 1.1rem;
}

.policy-meta a {
    color: #FFB800;
    text-decoration: none;
    font-weight: 500;
}

.policy-meta a:hover {
    text-decoration: underline;
}

.policy-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFB800;
}

.policy-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #444;
}

.policy-content p {
    margin-bottom: 1.2rem;
    color: #555;
    font-size: 1.05rem;
}

.policy-content strong {
    color: #333;
    font-weight: 600;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.policy-content li {
    margin-bottom: 0.8rem;
    color: #555;
    position: relative;
}

.policy-content li::before {
    content: '•';
    color: #FFB800;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.policy-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FFB800, transparent);
    margin: 2.5rem 0;
}

.back-to-home {
    display: inline-block;
    padding: 12px 30px;
    background: #FFB800;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #FFB800;
}

.back-to-home:hover {
    background: #E6A600;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .policy-container {
        margin: 80px 20px 30px;
        padding: 30px 25px;
        border-radius: 15px;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
    
    .policy-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .policy-container {
        margin: 70px 15px 20px;
        padding: 25px 20px;
    }
    
    .policy-title {
        font-size: 1.8rem;
    }
}

/* 固定在底部的下载按钮样式 */
.fixed-download-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95) 0%, rgba(255, 184, 0, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 30px rgba(255, 184, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.fixed-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.4),
                0 0 30px rgba(255, 184, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: floatBreath 3s ease-in-out infinite;
}

/* 呼吸和悬浮动画 */
@keyframes floatBreath {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 8px 25px rgba(255, 184, 0, 0.4),
                    0 0 30px rgba(255, 184, 0, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 35px rgba(255, 184, 0, 0.5),
                    0 0 40px rgba(255, 184, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.fixed-download-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
        opacity: 0.5;
    }
}

.fixed-download-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 184, 0, 0.6),
                0 0 50px rgba(255, 184, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 1);
    animation-play-state: paused;
}

.apple-icon {
    width: 24px;
    height: 24px;
    color: #333;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.3));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.download-text {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

/* 响应式设计 - 固定下载按钮 */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
    
    .fixed-download-bar {
        padding: 12px 15px;
    }
    
    .fixed-download-btn {
        padding: 12px 22px;
        gap: 10px;
        max-width: 250px;
    }
    
    .apple-icon {
        width: 20px;
        height: 20px;
    }
    
    .download-text {
        font-size: 0.9rem;
    }
    
    @keyframes floatBreath {
        0%, 100% {
            transform: translateY(0px) scale(1);
        }
        50% {
            transform: translateY(-6px) scale(1.02);
        }
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 65px;
    }
    
    .fixed-download-bar {
        padding: 10px 12px;
    }
    
    .fixed-download-btn {
        padding: 10px 18px;
        gap: 8px;
        max-width: 220px;
    }
    
    .apple-icon {
        width: 18px;
        height: 18px;
    }
    
    .download-text {
        font-size: 0.85rem;
    }
    
    @keyframes floatBreath {
        0%, 100% {
            transform: translateY(0px) scale(1);
        }
        50% {
            transform: translateY(-5px) scale(1.01);
        }
    }
}