/* ============================================
   首页专用样式
   ============================================ */

/* Hero区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 50%, #2d2d2d 100%);
    color: white;
    overflow: hidden;
    padding: 120px 2rem 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(242, 90, 0, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; width: 8px; height: 8px; }
.hero-particles span:nth-child(3) { left: 30%; top: 40%; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 50%; top: 10%; animation-delay: 1s; width: 10px; height: 10px; }
.hero-particles span:nth-child(5) { left: 60%; top: 70%; animation-delay: 3s; }
.hero-particles span:nth-child(6) { left: 70%; top: 30%; animation-delay: 5s; width: 4px; height: 4px; }
.hero-particles span:nth-child(7) { left: 80%; top: 60%; animation-delay: 2.5s; }
.hero-particles span:nth-child(8) { left: 90%; top: 15%; animation-delay: 4.5s; width: 7px; height: 7px; }
.hero-particles span:nth-child(9) { left: 15%; top: 50%; animation-delay: 1.5s; }
.hero-particles span:nth-child(10) { left: 85%; top: 85%; animation-delay: 3.5s; width: 5px; height: 5px; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(10px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-60px) translateX(-10px);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-tag {
    display: inline-block;
    background: rgba(242, 90, 0, 0.15);
    border: 1px solid rgba(242, 90, 0, 0.3);
    color: #ff5722;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ff5722;
}

.hero-stat small {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* 关于项目区域 */
.section-about {
    background: var(--bg-light);
}

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

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-content strong {
    color: var(--primary);
}

.about-badges {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e0f7fa, #b2dfdb);
    color: var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-visual-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-visual-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8e0da, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.about-visual-icon-highlight {
    background: linear-gradient(135deg, var(--accent-gold), #ff3b30);
    color: white;
}

.about-visual-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.about-visual-arrow {
    font-size: 2rem;
    color: var(--accent-gold);
}

/* 流程区域 */
.section-flow {
    background: var(--bg-light);
}

.flow-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 0 0 200px;
}

.flow-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    background: #ffeee6;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.flow-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    width: 100%;
}

.flow-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.flow-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.flow-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.flow-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.flow-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-gold);
    padding: 0 1rem;
    align-self: center;
    margin-top: 2rem;
}

/* 合作伙伴 */
.section-partners {
    background: white;
}

.partner-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.partner-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.partner-badge.tech {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    color: var(--accent-blue);
}

.partner-badge.market {
    background: linear-gradient(135deg, #e0f7fa, #b2dfdb);
    color: var(--accent-green);
}

.partner-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.partner-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.partner-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.partner-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.partner-link:hover {
    color: #ff3b30;
}

/* 小程序入口 */
.section-wechat {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    color: white;
}

.section-wechat .tag {
    background: rgba(242, 90, 0, 0.2);
    color: #ff5722;
}

.section-wechat h2 {
    color: white;
}

.section-wechat p {
    color: rgba(255,255,255,0.7);
}

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

.wechat-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.wechat-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.wechat-features {
    list-style: none;
    margin-bottom: 2rem;
}

.wechat-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

.wechat-features li span {
    color: var(--accent-green);
    font-weight: 700;
}

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

.wechat-qr-placeholder {
    width: 240px;
    height: 240px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
}

.wechat-qr-icon {
    font-size: 3rem;
    color: var(--accent-green);
}

.wechat-qr-placeholder p {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.wechat-qr-placeholder small {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-stat-divider {
        display: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-visual-inner {
        flex-direction: column;
        padding: 2rem;
    }
    .about-visual-arrow {
        transform: rotate(90deg);
    }
    .flow-grid {
        flex-direction: column;
    }
    .flow-step {
        flex: 0 0 auto;
        width: 100%;
    }
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    .wechat-grid {
        grid-template-columns: 1fr;
    }
}
