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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 101, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.nav-logo img {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

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

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF6500, #FF2500);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 主横幅区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fff 0%, #fef7f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 101, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6500, #FF2500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.hero-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, #FF6500, #FF2500);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 101, 0, 0.3);
}

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

.btn-primary {
    background: linear-gradient(135deg, #FF6500, #FF2500);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 101, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 101, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #FF6500;
    border: 2px solid #FF6500;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FF6500;
    color: white;
    transform: translateY(-2px);
}

/* 手机模型样式 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fef7f0, #fff);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 101, 0, 0.1) 0%, transparent 70%);
}

.welcome-content {
    position: relative;
    z-index: 1;
}

.app-logo {
    margin-bottom: 30px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6500, #FF2500);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 8px 25px rgba(255, 101, 0, 0.4);
}

.logo-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 24px;
    background: white;
    border-radius: 12px;
}

.welcome-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.welcome-content p {
    color: #666;
    font-size: 1rem;
}

/* 功能特色区域 */
.features {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

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

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 101, 0, 0.02), rgba(255, 37, 0, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 101, 0, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* 社区优势区域 */
.community {
    padding: 100px 0;
    background: linear-gradient(135deg, #fef7f0, #fff);
}

.community-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.advantage-content p {
    color: #666;
    line-height: 1.6;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6500, #FF2500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: #fff;
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 16px;
    font-weight: 700;
}

.download-subtitle {
    font-size: 1.3rem;
    color: #FF6500;
    margin-bottom: 12px;
    font-weight: 600;
}

.download-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-check {
    color: #FF6500;
    font-weight: bold;
    font-size: 1.2rem;
}

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

.btn-download {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-download.android {
    border-color: #FF6500;
    background: linear-gradient(135deg, #FF6500, #FF2500);
    color: white;
}

.btn-download.android:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 101, 0, 0.4);
}

.btn-download.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-weight: 600;
    font-size: 1.1rem;
}

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

.download-qr {
    display: flex;
    justify-content: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    text-align: center;
    color: #666;
}

.qr-dots {
    width: 120px;
    height: 120px;
    background: repeating-linear-gradient(
        0deg,
        #ddd 0px,
        #ddd 2px,
        transparent 2px,
        transparent 8px
    ),
    repeating-linear-gradient(
        90deg,
        #ddd 0px,
        #ddd 2px,
        transparent 2px,
        transparent 8px
    );
    margin: 0 auto 12px;
    border-radius: 8px;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF6500;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

/* 下载通知动画 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.download-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-notification .notification-icon {
    font-size: 24px;
}

.download-notification .notification-text strong {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-notification .notification-text p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.download-notification .notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.download-notification .notification-close:hover {
    background: #f5f5f5;
    color: #333;
}

/* 二维码图片样式 */
.qr-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .community-text h2,
    .download-text h2 {
        font-size: 2rem;
    }
    
    .btn-download {
        min-width: auto;
        width: 100%;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text > * {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-text h1 { animation-delay: 0.1s; }
.hero-text h2 { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-description { animation-delay: 0.4s; }
.hero-badges { animation-delay: 0.5s; }
.hero-buttons { animation-delay: 0.6s; }

.phone-mockup {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.phone-mockup {
    opacity: 1;
}

/* 滚动动画 */
.feature-card,
.advantage-item,
.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.animate-in,
.advantage-item.animate-in,
.stat-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 页面加载动画 */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* 增强的悬停效果 */
.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
}

/* 按钮点击效果 */
.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-download:active {
    transform: translateY(-1px) scale(0.98);
}

/* 加载状态 */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* 优化滚动性能 */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 选择文本样式 */
::selection {
    background: rgba(255, 101, 0, 0.2);
    color: #333;
}

::-moz-selection {
    background: rgba(255, 101, 0, 0.2);
    color: #333;
}
