/* Soul App 风格 - 暗色主题交友平台 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #0f0f1e;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}


/* 星空背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

/* ==================== 顶部导航 ==================== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* 汉堡菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 移动端菜单遮罩 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 移动端菜单面板 */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1001;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-links {
    padding: 20px;
}

.mobile-menu-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.mobile-menu-links a.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

.mobile-menu-links a.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-radius: 50%;
    background: #ff4d5a;
    box-shadow: 0 0 0 2px rgba(255, 77, 90, 0.2);
    vertical-align: middle;
}


.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-gradient {
    padding: 10px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* ==================== 主容器 ==================== */
.main-container {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

/* ==================== Hero 区域 ==================== */
.hero-section {
    padding: 100px 30px 80px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* 动画关键帧 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 应用动画 */
.hero-badge {
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.web-evolution {
    animation: fadeInRight 1.2s ease-out 0.4s both;
}

.main-headline {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-description {
    animation: fadeInDown 1s ease-out 0.8s both;
}

.hero-buttons {
    animation: scaleIn 0.8s ease-out 1s both;
}

/* Web演进项目的交错动画 */
.evolution-item:nth-child(1) { animation: fadeInLeft 0.6s ease-out 0.5s both; }
.evolution-item:nth-child(2) { animation: fadeInLeft 0.6s ease-out 0.6s both; }
.evolution-item:nth-child(3) { animation: fadeInLeft 0.6s ease-out 0.7s both; }
.evolution-item:nth-child(4) { animation: fadeInLeft 0.6s ease-out 0.8s both; }
.evolution-item:nth-child(5) { animation: fadeInLeft 0.6s ease-out 0.9s both; }

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    color: #667eea;
    font-size: 13px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Web Evolution Styles */
.web-evolution {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.evolution-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.evolution-item:nth-child(1) { opacity: 0.3; }
.evolution-item:nth-child(2) { opacity: 0.5; }
.evolution-item:nth-child(3) { opacity: 0.7; }
.evolution-item:nth-child(4) { opacity: 0.9; }
.evolution-item:nth-child(5) { opacity: 1; font-weight: 700; }

.evolution-item:hover {
    opacity: 1 !important;
    transform: scale(1.05);
}

.evolution-item span {
    white-space: nowrap;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    opacity: 0.4;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.evolution-item:last-child .arrow-icon {
    display: none;
}

/* Main Headline */
.main-headline {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* ==================== 特色卡片 ==================== */
.features-section {
    padding: 80px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

/* 特色卡片进入动画 */
.feature-card:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 1.2s both;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.feature-card:nth-child(2) {
    animation: fadeInLeft 0.8s ease-out 1.4s both;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
}

.feature-card:nth-child(3) {
    animation: fadeInRight 0.8s ease-out 1.6s both;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
}

/* 如果有更多卡片，可以继续添加 */
.feature-card:nth-child(4) {
    animation: fadeInUp 0.8s ease-out 1.8s both;
}

.feature-card:nth-child(5) {
    animation: fadeInLeft 0.8s ease-out 2.0s both;
}

.feature-card:nth-child(6) {
    animation: fadeInRight 0.8s ease-out 2.2s both;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.feature-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    text-align: center;
}

/* ==================== 统计数据 ==================== */
.stats-section {
    padding: 60px 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

/* 统计卡片进入动画 */
.stat-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 2.4s both;
}

.stat-card:nth-child(2) {
    animation: fadeInLeft 0.6s ease-out 2.5s both;
}

.stat-card:nth-child(3) {
    animation: fadeInRight 0.6s ease-out 2.6s both;
}

.stat-card:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 2.7s both;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== CTA 区域 ==================== */
.cta-section {
    padding: 100px 30px;
    text-align: center;
    position: relative;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

/* ==================== 页脚 ==================== */
.footer {
    padding: 60px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    /* 显示汉堡菜单按钮 */
    .mobile-menu-btn {
        display: block;
    }
    
    /* 显示移动端菜单元素 */
    .mobile-menu-overlay,
    .mobile-menu-panel {
        display: block;
    }
    
    /* 隐藏桌面端导航链接 */
    .nav-links {
        display: none;
    }
    
    /* 导航栏调整 */
    .navbar {
        padding: 15px 20px;
    }
    
    .logo {
        flex: 1;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    /* 超小屏幕优化 */
    @media (max-width: 480px) {
        .navbar {
            padding: 10px 15px;
        }
        
        .logo-icon {
            width: 30px;
            height: 30px;
            font-size: 16px;
        }
        
        .logo-text {
            font-size: 16px;
        }
        
        .mobile-menu-panel {
            width: 250px;
        }
    }
    
    /* Hero 区域 */
    .hero-section {
        padding: 60px 20px 50px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .web-evolution {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 25px;
        justify-content: center;
        align-items: center;
    }
    
    .evolution-item {
        font-size: 11px;
        gap: 4px;
        justify-content: center;
        flex: 0 0 auto;
        white-space: nowrap;
        transition: all 0.3s ease;
    }
    
    .evolution-item:nth-child(1) { opacity: 0.3; }
    .evolution-item:nth-child(2) { opacity: 0.5; }
    .evolution-item:nth-child(3) { opacity: 0.7; }
    .evolution-item:nth-child(4) { opacity: 0.9; }
    .evolution-item:nth-child(5) { opacity: 1; font-weight: 700; }
    
    .evolution-item:hover {
        opacity: 1 !important;
        transform: scale(1.05);
    }
    
    .arrow-icon {
        width: 10px;
        height: 10px;
        transform: rotate(0deg);
    }
    
    .main-headline {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 13px;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 14px 30px;
        font-size: 15px;
    }
    
    /* 特色区域 */
    .features-section {
        padding: 50px 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-desc {
        font-size: 14px;
    }
    
    /* 统计区域 */
    .stats-section {
        padding: 40px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    /* CTA 区域 */
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-card {
        padding: 40px 25px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    /* 页脚 */
    .footer {
        padding: 40px 20px 20px;
    }
    
    .footer-links {
        gap: 20px;
        flex-direction: column;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .nav-links a:not(.btn-gradient) {
        display: none;
    }
}

/* ==================== 表单页面样式 ==================== */
.form-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

.form-box {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: #1a1a2e;
    color: #fff;
}

.form-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    margin-top: 10px;
    min-height: 48px;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.form-footer a:hover {
    color: #764ba2;
}

.success-message {
    background: rgba(79, 172, 254, 0.15);
    border: 1px solid rgba(79, 172, 254, 0.3);
    color: #4facfe;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.error-message {
    background: rgba(255, 107, 129, 0.15);
    border: 1px solid rgba(255, 107, 129, 0.3);
    color: #ff6b81;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* 个人资料页面 */
.profile-container {
    min-height: 100vh;
    padding: 100px 20px 40px;
}

.profile-content {
    max-width: 600px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 35px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* 移动端表单优化 */
@media (max-width: 768px) {
    .form-container {
        padding: 80px 15px 30px;
    }
    
    .form-box {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-input,
    .form-select {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .form-btn {
        padding: 13px;
        font-size: 14px;
    }
    
    .profile-container {
        padding: 90px 15px 30px;
    }
    
    .profile-avatar {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
    
    .profile-name {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .form-box {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 22px;
    }
}

/* ==================== 2026 统一UI优化 ==================== */
.nav-links a.active {
    color: #fff;
}

.platform-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.overview-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all .25s ease;
}

.overview-card strong {
    font-size: 16px;
    color: #fff;
}

.overview-card span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.overview-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.45);
    background: rgba(255, 255, 255, 0.09);
}

.buy-content,
.match-content,
.profile-card,
.invite-content {
    width: 100%;
}

@media (max-width: 768px) {
    .hero-section,
    .features-section,
    .stats-section,
    .cta-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .platform-overview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .overview-card {
        border-radius: 14px;
        padding: 14px;
    }
}

/* ==================== 首页AI主题升级 ==================== */
.index-page {
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(99,102,241,.18), transparent 60%),
        radial-gradient(1000px 520px at 90% 0%, rgba(6,182,212,.14), transparent 58%),
        linear-gradient(180deg, #070b18 0%, #0c1023 42%, #0a0f1e 100%);
}

.index-page::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,.9), transparent 85%);
    z-index: 0;
}

.index-page .top-nav {
    background: rgba(8, 12, 28, .78);
    border-bottom-color: rgba(148, 163, 184, .22);
}

.index-page .hero-section {
    padding-top: 76px;
    padding-bottom: 24px;
}

.index-page .hero-content {
    max-width: 920px;
}

.index-page .hero-badge {
    margin-bottom: 14px;
    padding: 6px 14px;
    font-size: 12px;
}

.index-page .hero-title {
    font-size: 42px;
    margin-bottom: 14px;
    line-height: 1.12;
}

.index-page .web-evolution {
    margin-bottom: 16px;
    gap: 8px;
}

.index-page .evolution-item {
    padding: 6px 10px;
    font-size: 13px;
}

.index-page .main-headline {
    font-size: 30px;
    margin-bottom: 12px;
    line-height: 1.18;
}

.index-page .hero-description {
    font-size: 16px;
    margin: 0 auto 18px;
    line-height: 1.5;
}

.index-page .hero-buttons {
    gap: 12px;
}

.index-page .hero-buttons .btn-primary,
.index-page .hero-buttons .btn-secondary {
    padding: 12px 28px;
    font-size: 15px;
}




.index-page .hero-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -38px;
    transform: translateX(-50%);
    width: min(92vw, 900px);
    height: 360px;
    background: radial-gradient(closest-side, rgba(79,172,254,.2), rgba(118,75,162,0) 70%);
    z-index: -1;
    filter: blur(10px);
}

.index-page .hero-badge {
    color: #91e6ff;
    border-color: rgba(145,230,255,.35);
    background: rgba(18, 30, 58, .55);
    box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 10px 40px rgba(0, 208, 255, .16);
}

.index-page .hero-title {
    background: linear-gradient(120deg, #ffffff 0%, #b6dcff 45%, #d6b9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.index-page .main-headline {
    background: linear-gradient(120deg, #61dbff 0%, #8ea6ff 52%, #bb86ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.index-page .hero-description {
    max-width: 680px;
    margin: 0 auto 40px;
    color: rgba(221, 236, 255, .88);
}

.index-page .web-evolution {
    gap: 10px;
    margin-bottom: 34px;
}

.index-page .evolution-item {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(180, 201, 255, .2);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    color: rgba(225,236,255,.9);
}

.index-page .evolution-item:nth-child(n) {
    opacity: 1;
}

.index-page .evolution-item:hover {
    border-color: rgba(97, 219, 255, .5);
    box-shadow: 0 10px 25px rgba(6, 182, 212, .14);
}

.index-page .btn-primary {
    background: linear-gradient(135deg, #00c2ff 0%, #5f7bff 48%, #9f56ff 100%);
    box-shadow: 0 10px 30px rgba(95, 123, 255, .35);
}

.index-page .btn-primary:hover {
    box-shadow: 0 14px 38px rgba(95, 123, 255, .45);
}

.index-page .features-section,
.index-page .stats-section,
.index-page .cta-section {
    position: relative;
}

.index-page .features-section::before,
.index-page .stats-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(173, 216, 255, .26), transparent);
}

.index-page .feature-card,
.index-page .overview-card,
.index-page .stat-card,
.index-page .process-card,
.index-page .testimonial-card,
.index-page .gameplay-card,
.index-page .points-card,
.index-page .match-demo-card,
.index-page .match-demo-tips,
.index-page .tip-item {
    background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(176, 205, 255, .18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.index-page .ai-process-grid,
.index-page .testimonials-grid,
.index-page .gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.index-page .process-card,
.index-page .testimonial-card,
.index-page .gameplay-card {
    border-radius: 18px;
    padding: 22px;
}

.index-page .process-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #b8dcff;
    background: rgba(84, 132, 255, .22);
    border: 1px solid rgba(132, 176, 255, .45);
}

.index-page .process-icon,
.index-page .gameplay-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.index-page .process-title,
.index-page .gameplay-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.index-page .process-desc,
.index-page .gameplay-desc,
.index-page .gameplay-stat,
.index-page .testimonial-text,
.index-page .section-subtitle {
    color: rgba(220, 233, 255, .74);
}

.index-page .testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.index-page .user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(126, 163, 255, .2);
    border: 1px solid rgba(167, 193, 255, .36);
}

.index-page .user-name {
    font-weight: 700;
}

.index-page .user-match,
.index-page .testimonial-result {
    color: #8ddfff;
    font-size: 13px;
}

.index-page .points-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.index-page .points-card {
    border-radius: 18px;
    padding: 22px;
    position: relative;
}

.index-page .vip-card {
    border-color: rgba(255, 198, 85, .5);
    box-shadow: 0 16px 38px rgba(255, 166, 0, .14);
}

.index-page .vip-badge {
    position: absolute;
    top: -11px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #1f1400;
    background: linear-gradient(135deg, #ffd978, #ffae00);
}

.index-page .points-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.index-page .points-price {
    color: #9adfff;
    font-weight: 700;
}

.index-page .points-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(226, 236, 255, .86);
}

.index-page .match-demo-container {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.index-page .match-demo-card,
.index-page .match-demo-tips {
    border-radius: 18px;
    padding: 20px;
}

.index-page .match-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.index-page .match-avatar {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(147, 195, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(162, 202, 255, .35);
}

.index-page .avatar-lock {
    position: absolute;
    right: -4px;
    bottom: -3px;
    font-size: 14px;
}

.index-page .compatibility-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}


.index-page .compat-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
}

.index-page .compat-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #52d6ff, #7782ff);
}

.index-page .tip-item {
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.index-page .tip-icon {
    font-size: 16px;
}

.index-page .tip-text {
    color: rgba(222, 236, 255, .84);
    font-size: 13px;
}

.index-page .cta-card {
    background: linear-gradient(135deg, rgba(38, 82, 165, .35), rgba(87, 40, 136, .32));
    border-color: rgba(166, 205, 255, .28);
}

.index-page .feature-card,
.index-page .process-card,
.index-page .testimonial-card,
.index-page .gameplay-card,
.index-page .points-card,
.index-page .match-demo-card,
.index-page .match-demo-tips,
.index-page .overview-card,
.index-page .stat-card {
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.index-page .process-card:hover,
.index-page .testimonial-card:hover,
.index-page .gameplay-card:hover,
.index-page .points-card:hover,
.index-page .match-demo-card:hover,
.index-page .match-demo-tips:hover {
    transform: translateY(-4px);
    border-color: rgba(131, 188, 255, .42);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

.index-page .testimonials-grid,
.index-page .gameplay-grid {
    align-items: stretch;
}

.index-page .testimonial-card,
.index-page .gameplay-card,
.index-page .points-card {
    height: 100%;
}

.index-page .testimonial-text {
    line-height: 1.72;
    font-size: 14px;
    margin-bottom: 10px;
}

.index-page .gameplay-desc {
    margin-bottom: 8px;
}

.index-page .gameplay-stat {
    font-size: 13px;
}

.index-page .points-title {
    font-size: 18px;
    font-weight: 700;
}

.index-page .points-price {
    font-size: 20px;
}

.index-page .free-card {
    border-color: rgba(133, 176, 255, .3);
}

.index-page .points-list li {
    font-size: 14px;
    line-height: 1.5;
}

.index-page .points-action {
    margin-top: 14px;
}

.index-page .points-action .btn-primary,
.index-page .points-action .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.index-page .match-info {
    text-align: right;
}

.index-page .match-percentage {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(120deg, #ffffff 0%, #93d6ff 55%, #b4b1ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.index-page .match-status {
    color: #8de0ff;
    font-size: 13px;
    font-weight: 600;
    margin-top: 3px;
}

.index-page .match-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.index-page .tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    color: rgba(229, 239, 255, .92);
    border: 1px solid rgba(170, 201, 255, .28);
    background: rgba(255, 255, 255, .05);
}

.index-page .match-compatibility {
    margin-top: 6px;
}

.index-page .compat-label,
.index-page .compat-value {
    color: rgba(228, 238, 255, .85);
    font-size: 12px;
}

.index-page .compat-value {
    text-align: right;
    font-weight: 700;
}

.index-page .match-action {
    margin-top: 16px;
    text-align: center;
}

.index-page .unlock-btn {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.index-page .avatar-blur {
    filter: blur(1px);
    opacity: .9;
}

@media (max-width: 900px) {
    .index-page .match-demo-container {
        grid-template-columns: 1fr;
    }

    .index-page .match-info {
        text-align: left;
    }
}


@media (max-width: 768px) {
    .hero-section,
    .features-section,
    .stats-section,
    .cta-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .platform-overview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .overview-card {
        border-radius: 14px;
        padding: 14px;
    }

    .index-page .hero-section {
        padding-top: 68px;
        padding-bottom: 20px;
    }




    .index-page .evolution-item {
        font-size: 12px;
        padding: 7px 11px;
    }

    .index-page .feature-card,
    .index-page .process-card,
    .index-page .testimonial-card,
    .index-page .gameplay-card,
    .index-page .points-card,
    .index-page .match-demo-card,
    .index-page .match-demo-tips {
        padding: 16px;
        border-radius: 14px;
    }

    .index-page .ai-process-grid,
    .index-page .testimonials-grid,
    .index-page .gameplay-grid,
    .index-page .points-system {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .index-page .compatibility-item {
        grid-template-columns: 78px minmax(0, 1fr) 34px;
        gap: 8px;
    }

}

/* ==================== 全站统一主题（非首页） ==================== */
.app-page {
    background:
        radial-gradient(1200px 520px at 8% -8%, rgba(99, 102, 241, .15), transparent 60%),
        radial-gradient(1000px 520px at 92% -10%, rgba(6, 182, 212, .12), transparent 60%),
        linear-gradient(180deg, #090f1e 0%, #0d1326 48%, #0a1020 100%) !important;
    color: #eaf2ff !important;
}

.app-page .top-nav {
    background: rgba(8, 13, 30, .82) !important;
    border-bottom: 1px solid rgba(168, 189, 235, .2) !important;
}

.app-page .main-container,
.app-page .auth-container,
.app-page .invite-container,
.app-page .match-container,
.app-page .match-page-container,
.app-page .profile-container,
.app-page .buy-container,
.app-page .chat-container,
.app-page .install-container,
.app-page .wrap {
    position: relative;
    z-index: 1;
}

.app-page .auth-card,
.app-page .profile-card,
.app-page .match-box,
.app-page .card,
.app-page .chat-main,
.app-page .chat-sidebar,
.app-page .install-container,
.app-page .step,
.app-page .result-card,
.app-page .order-item,
.app-page .user-card,
.app-page .match-item {
    background: linear-gradient(165deg, rgba(255,255,255,.08), rgba(255,255,255,.03)) !important;
    border: 1px solid rgba(173, 198, 255, .2) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24) !important;
}


.app-page .btn,
.app-page .btn-primary,
.app-page .submit-btn,
.app-page .form-btn,
.app-page .btn-pay,
.app-page button[type="submit"] {
    background: linear-gradient(135deg, #00c2ff 0%, #5f7bff 48%, #9f56ff 100%) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 26px rgba(95, 123, 255, .32) !important;
}

.app-page .btn:hover,
.app-page .btn-primary:hover,
.app-page .submit-btn:hover,
.app-page .form-btn:hover,
.app-page .btn-pay:hover,
.app-page button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(95, 123, 255, .42) !important;
}

.app-page input,
.app-page select,
.app-page textarea {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(167, 192, 255, .24) !important;
    color: #ecf4ff !important;
    border-radius: 10px !important;
}

.app-page input:focus,
.app-page select:focus,
.app-page textarea:focus {
    outline: none;
    border-color: rgba(117, 159, 255, .8) !important;
    box-shadow: 0 0 0 3px rgba(95, 123, 255, .16) !important;
}

.app-page .hint,
.app-page .muted,
.app-page .subtitle,
.app-page .desc,
.app-page .meta,
.app-page .order-meta,
.app-page .section-subtitle {
    color: rgba(219, 232, 255, .74) !important;
}

.app-page .title,
.app-page h1,
.app-page h2,
.app-page h3,
.app-page .head-title,
.app-page .form-title {
    color: #f4f8ff !important;
}

.app-page .error,
.app-page .error-message {
    background: rgba(255, 107, 129, 0.16) !important;
    border: 1px solid rgba(255, 128, 146, 0.45) !important;
    color: #ffafbc !important;
    border-radius: 10px !important;
}

.app-page .success,
.app-page .success-message {
    background: rgba(52, 199, 89, 0.15) !important;
    border: 1px solid rgba(92, 229, 124, 0.45) !important;
    color: #95f3b1 !important;
    border-radius: 10px !important;
}

@media (max-width: 768px) {
    .app-page .auth-container,
    .app-page .invite-container,
    .app-page .match-container,
    .app-page .match-page-container,
    .app-page .profile-container,
    .app-page .buy-container,
    .app-page .chat-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .app-page .auth-card,
    .app-page .profile-card,
    .app-page .match-box,
    .app-page .card,
    .app-page .install-container {
        border-radius: 14px !important;
    }

}

/* 首页两个重写板块可见性修复 */
.index-page #stats .stat-card {
    opacity: 1;
    transform: none;
}

.index-page #stats .stat-number {
    background: none;
    -webkit-text-fill-color: initial;
    color: #d7e8ff;
    font-size: 28px;
    margin-bottom: 8px;
}

.index-page #stats .stat-label {
    color: rgba(226, 237, 255, 0.85);
    line-height: 1.6;
}

.index-page #platform-overview .overview-card strong {
    color: #eaf3ff;
}

.index-page #platform-overview .overview-card span {
    color: rgba(220, 234, 255, 0.82);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .feature-card,
    .stat-card {
        opacity: 1 !important;
        transform: none !important;
    }
}






