/* W4 - 紫色科技风格 */

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

:root {
    --primary: #7c4dff;
    --primary-dark: #651fff;
    --secondary: #d500f9;
    --bg-dark: #1a1a2e;
    --bg-card: #16213e;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 77, 255, 0.2);
}

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

.logo {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    font-size: 16px;
    margin-left: 8px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.menu a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--primary);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.4);
}

/* Hero */
.hero {
    padding: 150px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(124, 77, 255, 0.3), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(213, 0, 249, 0.2), transparent 50%);
    z-index: -1;
}

.content-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.hero-h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-white), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat span {
    font-size: 14px;
    color: var(--text-gray);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 77, 255, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--text-white);
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
}

/* 产品区 */
.products {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-white), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.product-box {
    background: var(--bg-card);
    border: 1px solid rgba(124, 77, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.product-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(124, 77, 255, 0.3);
}

.product-box.featured {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
}

.icon-box {
    font-size: 48px;
    margin-bottom: 20px;
}

.product-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-box p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.product-box.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.product-box a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.product-box.featured a {
    color: var(--text-white);
}

.product-box a:hover {
    margin-left: 10px;
}

/* 理财区 */
.earn-section {
    padding: 80px 20px;
    background: var(--bg-card);
}

.earn-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.earn-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.earn-text p {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 30px;
}

.earn-list {
    list-style: none;
    margin-bottom: 40px;
}

.earn-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-gray);
}

.earn-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.earn-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.4);
}

.earn-cards {
    display: grid;
    gap: 30px;
}

.earn-card {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.2), rgba(213, 0, 249, 0.1));
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
}

.earn-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.rate {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.percent {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

/* APP下载 */
.app-section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.app-section h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.app-desc {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

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

.app-card {
    background: var(--bg-card);
    border: 1px solid rgba(124, 77, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s;
}

.app-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 77, 255, 0.3);
}

.app-icon {
    font-size: 42px;
}

.app-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.app-card small {
    font-size: 13px;
    color: var(--text-gray);
}

/* 优势 */
.advantages {
    padding: 80px 20px;
    background: var(--bg-card);
    text-align: center;
}

.advantages h2 {
    font-size: 42px;
    margin-bottom: 60px;
}

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

.adv-item {
    padding: 30px;
    background: rgba(124, 77, 255, 0.1);
    border: 1px solid rgba(124, 77, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s;
}

.adv-item:hover {
    background: rgba(124, 77, 255, 0.15);
    transform: translateY(-5px);
}

.adv-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.adv-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-gray);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(124, 77, 255, 0.2);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.warning {
    font-size: 12px !important;
    opacity: 0.7;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-h1 {
        font-size: 36px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .earn-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .menu {
        gap: 20px;
    }
}