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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background: #f5f5f5;
    overflow-x: hidden;
    width: 100%;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}

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

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

.nav-brand .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar-scrolled .nav-brand .logo {
    color: #333;
}

.logo-dot {
    color: #ff6b6b;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    white-space: nowrap;
}

.navbar-scrolled .nav-menu li a {
    color: #333;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ff6b6b;
}

.download-btn-nav {
    display: inline-block;
    padding: 8px 20px;
    background: #ff6b6b;
    color: white !important;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.navbar-scrolled .nav-toggle {
    color: #333;
}

/* 首页横幅 */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 60px;
    overflow: hidden;
    width: 100%;
}

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

.hero-text {
    color: white;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.highlight {
    color: #ffd700;
    display: inline-block;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 15px;
    white-space: nowrap;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,107,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #764ba2;
}

.btn-large {
    padding: 12px 30px;
    font-size: 16px;
}

.hero-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    opacity: 0.9;
    white-space: nowrap;
}

.tag i {
    color: #ffd700;
}

/* 手机模型 - 调整大小防止溢出 */
.phone-mockup {
    position: relative;
    max-width: 260px;
    margin: 0 auto;
}

.phone-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}

.badge-1 {
    top: 20%;
    left: -20px;
}

.badge-2 {
    bottom: 20%;
    right: -20px;
}

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

/* 波浪效果 */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* 特性卡片 */
.features-section {
    padding: 60px 0;
    background: #f8f9fa;
}

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

.section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.section-header.light p {
    color: rgba(255,255,255,0.9);
}

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

.feature-card {
    background: white;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon i {
    font-size: 26px;
    color: white;
}

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

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    margin-top: 12px;
    padding: 0;
}

.feature-list li {
    margin-bottom: 6px;
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-list li i {
    color: #4caf50;
    font-size: 12px;
}

.withdraw-methods {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.method {
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 5px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.security-badges .badge {
    padding: 4px 8px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 5px;
    font-size: 11px;
}

.invite-bonus {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    gap: 5px;
}

.bonus-level {
    font-size: 12px;
    text-align: center;
}

.bonus-level strong {
    color: #4caf50;
    font-size: 16px;
    display: block;
}

/* 步骤区域 */
.howto-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.step-item {
    text-align: center;
    color: white;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    background: #ffd700;
    color: #764ba2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 15px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step-icon i {
    font-size: 32px;
}

.step-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-item p {
    opacity: 0.9;
    font-size: 13px;
    max-width: 200px;
    margin: 0 auto;
}

.step-arrow {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(255,255,255,0.5);
}

.step-item:last-child .step-arrow {
    display: none;
}

/* 任务类型 */
.tasks-section {
    padding: 60px 0;
    background: white;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.task-category {
    background: #f8f9fa;
    padding: 20px 15px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.task-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.task-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.task-icon i {
    font-size: 22px;
    color: white;
}

.task-category h4 {
    margin-bottom: 5px;
    font-size: 15px;
}

.task-category p {
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}

.task-count {
    font-size: 11px;
    color: #999;
}

/* 实时收益播报 */
.live-earnings {
    background: #333;
    color: white;
    padding: 12px 0;
}

.earnings-ticker {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ticker-label {
    background: #ff6b6b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
}

.ticker-items {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-item {
    display: inline-block;
    margin-right: 30px;
    font-size: 13px;
    animation: ticker 20s linear infinite;
}

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

/* 用户评价 */
.testimonials-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.user-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.rating {
    color: #ffd700;
    font-size: 12px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.user-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

/* FAQ区域 */
.faq-section {
    padding: 60px 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
    font-size: 15px;
}

.faq-question i {
    transition: transform 0.3s;
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 下载横幅 */
.download-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: white;
    margin: 12px auto 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder i {
    font-size: 50px;
    color: #333;
}

/* 文章网格 */
.articles-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.article-card h3 a {
    color: #333;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.article-card h3 a:hover {
    color: #764ba2;
}

.article-summary {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 14px;
}

.read-more {
    color: #764ba2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: #222;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col p {
    color: #999;
    line-height: 1.6;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-col ul li i {
    width: 20px;
    color: #ff6b6b;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 16px;
}

.social-links a:hover {
    background: #ff6b6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 13px;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #ff5252;
    transform: translateY(-3px);
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadein {
    animation: fadeIn 0.8s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slidein {
    animation: slideIn 0.8s ease;
}

/* 响应式设计 - 优化断点 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tasks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .phone-mockup {
        max-width: 220px;
    }
    
    .floating-badge {
        display: none;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        color: #333;
        display: block;
        padding: 8px 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .download-btn-nav {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .features-grid,
    .tasks-grid,
    .testimonials-slider,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .tag {
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* 管理链接 */
.admin-link {
    display: inline-block;
    margin-top: 8px;
    color: #999;
    text-decoration: none;
    font-size: 13px;
}

.admin-link:hover {
    color: #764ba2;
}