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

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

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #1dd1a1 0%, #00d4aa 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(29, 209, 161, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(29, 209, 161, 0.4);
    background: linear-gradient(135deg, #1bb890 0%, #00c199 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.btn-outline {
    background: transparent;
    color: #4a5568;
    border-color: #e2e8f0;
}

.btn-outline:hover {
    background: #f7fafc;
    color: #2d3748;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(29, 58, 71, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(29, 209, 161, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand .logo {
    height: 52px;
    width: 52px;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.1);
}

.nav-brand h2 {
    color: #1dd1a1;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1dd1a1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1dd1a1 0%, #00d4aa 100%);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    margin: 3px 0;
    transition: 0.3s;
}

/* 主横幅区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2d3a47 0%, #1e2a38 100%);
    position: relative;
    padding-top: 80px;
    color: white;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #1dd1a1;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1dd1a1;
}

.feature-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

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

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

.phone-mockup {
    width: 300px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 
                0 0 20px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: phoneGlow 3s ease-in-out infinite;
}

.app-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 
                0 0 40px rgba(0, 255, 255, 0.3);
}

/* 手机整体发光动画 */
@keyframes phoneGlow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 
                    0 0 20px rgba(0, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 
                    0 0 30px rgba(0, 255, 255, 0.2);
    }
}

/* Connect按钮持续涟漪动画效果 */
.phone-mockup {
    position: relative;
}

/* 第一层涟漪 - 最亮 */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(0, 255, 255, 1) 0%, rgba(0, 255, 255, 0.8) 20%, rgba(0, 255, 255, 0.4) 50%, rgba(0, 255, 255, 0.1) 80%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: continuousRipple 2.5s ease-out infinite;
    pointer-events: none;
    z-index: 3;
}

/* 第二层涟漪 - 中等亮度 */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.7) 0%, rgba(0, 255, 255, 0.5) 20%, rgba(0, 255, 255, 0.25) 50%, rgba(0, 255, 255, 0.08) 80%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: continuousRipple 2.5s ease-out infinite 0.8s;
    pointer-events: none;
    z-index: 2;
}

/* 第三层涟漪 - 使用伪元素 */
.phone-mockup {
    overflow: visible;
}

.phone-mockup .ripple-layer {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.5) 0%, rgba(0, 255, 255, 0.3) 20%, rgba(0, 255, 255, 0.15) 50%, rgba(0, 255, 255, 0.05) 80%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: continuousRipple 2.5s ease-out infinite 1.6s;
    pointer-events: none;
    z-index: 1;
}

/* 持续涟漪动画关键帧 */
@keyframes continuousRipple {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    30% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(2);
    }
    70% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(4);
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(6);
    }
}

/* 悬停时涟漪效果加速 */
.phone-mockup:hover::before,
.phone-mockup:hover::after {
    animation-duration: 1.2s;
}

/* 移动端涟漪优化 */
@media (max-width: 768px) {
    @keyframes continuousRipple {
        0% {
            width: 15px;
            height: 15px;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        30% {
            opacity: 0.8;
            transform: translate(-50%, -50%) scale(1.8);
        }
        70% {
            opacity: 0.3;
            transform: translate(-50%, -50%) scale(3.5);
        }
        100% {
            width: 150px;
            height: 150px;
            opacity: 0;
            transform: translate(-50%, -50%) scale(5);
        }
    }
}

/* 保留旧的样式以防需要回退 */
.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.connect-button {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connect-button:hover {
    transform: scale(1.05);
}

.connect-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* 功能特色区域 */
.features {
    padding: 5rem 0;
    background: #f8fafc;
}

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

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 25px rgba(26, 26, 26, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(29, 209, 161, 0.15);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1dd1a1 0%, #00d4aa 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(29, 209, 161, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: #1dd1a1;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d3a47;
    font-weight: 600;
}

.feature-card p {
    color: #1e2a38;
    line-height: 1.8;
}

/* 软件下载区域 */
.download {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2d3a47 0%, #1e2a38 100%);
}

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

.download-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(29, 209, 161, 0.2);
    position: relative;
    overflow: hidden;
    color: white;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #1dd1a1 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(29, 209, 161, 0.3);
}

.download-card:hover::before {
    transform: translateX(100%);
}

.download-card.featured {
    border: 2px solid #1dd1a1;
    background: linear-gradient(135deg, #1dd1a1 0%, #00d4aa 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(29, 209, 161, 0.4);
}

.download-card.featured h3,
.download-card.featured p {
    color: white;
}

.download-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #1dd1a1;
}

.download-card.featured .download-icon {
    color: white;
}

.download-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.download-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 推广赚现金区域 */
.promotion {
    padding: 5rem 0;
    background: #f8fafc;
}

.promotion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.promotion-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.promotion-text p {
    font-size: 1.1rem;
    color: #2d3a47;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.promotion-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.promotion-benefits li {
    padding: 0.75rem 0;
    color: #1e2a38;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.promotion-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1dd1a1;
    font-weight: 600;
}

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

.money-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #1dd1a1 0%, #00d4aa 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(29, 209, 161, 0.3);
    position: relative;
    overflow: hidden;
}

.money-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-brand .footer-logo {
    height: 32px;
    width: 32px;
    transition: transform 0.3s ease;
}

.footer-brand .footer-logo:hover {
    transform: scale(1.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1dd1a1;
    margin: 0;
}

.footer-brand p {
    color: #ccc;
    margin: 0;
}

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

.footer-group h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-group ul {
    list-style: none;
}

.footer-group li {
    margin-bottom: 0.5rem;
}

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

.footer-group a:hover {
    color: #1dd1a1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(29, 209, 161, 0.2);
    color: #cbd5e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promotion-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

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

.hero-text,
.hero-image,
.feature-card,
.download-card {
    animation: fadeInUp 0.8s ease;
}

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}
