/* ============================================================
   首页落地页样式 landing.css
   合并自 v2_fanscome_official：navbar.css + index.html 内联样式 + 页脚伙伴样式
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    --primary-color: #F5222D;
    --primary-light: #ff4d4f;
    --primary-dark: #cf1322;
}

/* ============ 导航栏 - 毛玻璃效果 ============ */
.header-layout {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 80px;
    padding: 0 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Logo品牌区域 */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.logo-brand:hover {
    transform: translateX(5px);
}
.logo-brand:hover .logo-wrapper {
    box-shadow: 0 8px 24px rgba(245, 34, 45, 0.3);
}
.logo-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F5222D 0%, #ff4d4f 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(245, 34, 45, 0.25);
    transition: all 0.3s ease;
}
.logo-img {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
}
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.brand-name {
    font-size: 28px;
    font-weight: 800;
    color: #ff4d4f;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.brand-slogan {
    font-size: 14px;
    color: #6b6b80;
    font-weight: 400;
}

/* 桌面菜单 */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.menu-item {
    font-weight: 500;
    font-size: 14px;
    color: #4a4a68;
    text-decoration: none;
    padding: 10px 16px;
    transition: all 0.3s ease;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-item svg {
    opacity: 0.7;
    transition: all 0.3s ease;
}
.menu-item:hover {
    color: #F5222D;
    background: rgba(245, 34, 45, 0.08);
}
.menu-item:hover svg {
    opacity: 1;
    transform: translateY(-1px);
}
.menu-item.active {
    color: #F5222D;
    background: rgba(245, 34, 45, 0.12);
}
.menu-item.active svg {
    opacity: 1;
}

/* 菜单分隔线 */
.menu-divider {
    width: 1px;
    height: 24px;
    background: rgba(0,0,0,0.1);
    margin: 0 8px;
}

/* 登录按钮样式 */
.menu-item-login {
    color: #F5222D;
    border: 1.5px solid rgba(245, 34, 45, 0.3);
}
.menu-item-login:hover {
    border-color: #F5222D;
    background: rgba(245, 34, 45, 0.1);
}

/* 注册按钮 */
.menu-btn-primary {
    background: linear-gradient(135deg, #F5222D 0%, #ff4d4f 100%);
    color: #fff !important;
    padding: 10px 20px;
    margin-left: 8px;
    box-shadow: 0 4px 14px rgba(245, 34, 45, 0.35);
}
.menu-btn-primary svg {
    opacity: 1;
}
.menu-btn-primary:hover {
    background: linear-gradient(135deg, #cf1322 0%, #F5222D 100%);
    box-shadow: 0 6px 20px rgba(245, 34, 45, 0.45);
    transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(245, 34, 45, 0.08);
}
.mobile-menu-btn:hover {
    background: rgba(245, 34, 45, 0.15);
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #F5222D;
    margin: 2.5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端侧边菜单 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1002;
    flex-direction: column;
    padding-top: 100px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu .menu-item {
    padding: 16px 28px;
    border-bottom: 1px solid #f0f0f5;
    border-radius: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-menu .menu-item svg {
    width: 20px;
    height: 20px;
}
.mobile-menu .menu-btn-primary {
    margin: 20px 28px;
    justify-content: center;
    border-radius: 12px;
}

/* ============ Hero Section - 渐变背景 ============ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    padding: 140px 60px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.2;
}
.hero-text h1 span {
    background: linear-gradient(135deg, #F5222D 0%, #ff7875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    line-height: 1.8;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}
.stat-item h3 span {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 4px;
}
.stat-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.hero-btns {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, #F5222D 0%, #ff4d4f 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(245, 34, 45, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 34, 45, 0.5);
}
.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

/* Hero 右侧 - 平台图标 */
.hero-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.platform-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.platform-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}
.platform-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.platform-card h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============ 信任标识 ============ */
.trust-bar {
    background: #f8f9fc;
    padding: 40px 60px;
    border-bottom: 1px solid #e8e8f0;
}
.trust-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a4a68;
}
.trust-item svg {
    width: 28px;
    height: 28px;
    color: #F5222D;
}
.trust-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============ 服务区域 ============ */
.services {
    padding: 100px 60px;
    background: #fff;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.1rem;
    color: #6b6b80;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid #e8e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F5222D, #ff4d4f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon-wrap {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(245, 34, 45, 0.1) 0%, rgba(255, 77, 79, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.service-icon-wrap img {
    width: 40px;
    height: 40px;
}
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}
.service-features {
    color: #6b6b80;
    font-size: 0.95rem;
    line-height: 2;
}
.service-features span {
    display: block;
    padding-left: 20px;
    position: relative;
}
.service-features span::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F5222D;
    font-weight: 700;
}

/* ============ 优势区域 ============ */
.advantages {
    padding: 100px 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}
.advantages .section-header h2 {
    color: #fff;
}
.advantages .section-header p {
    color: rgba(255,255,255,0.6);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.advantage-item {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}
.advantage-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}
.advantage-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #F5222D 0%, #ff4d4f 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(245, 34, 45, 0.3);
}
.advantage-icon svg {
    stroke-width: 2.5;
}
.advantage-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.advantage-item p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============ 数据展示 ============ */
.stats-section {
    padding: 80px 60px;
    background: #f8f9fc;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #F5222D 0%, #ff4d4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.stat-card h3 span {
    font-size: 1.4rem;
    font-weight: 600;
}
.stat-card p {
    color: #6b6b80;
    font-size: 0.95rem;
}

/* ============ CTA区域 ============ */
.cta {
    padding: 100px 60px;
    background: linear-gradient(135deg, #F5222D 0%, #ff4d4f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.cta p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}
.cta-btn {
    display: inline-block;
    padding: 18px 48px;
    background: #fff;
    color: #F5222D;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ============ 页脚 ============ */
.footer {
    padding: 60px;
    background: #0f0f1a;
    color: #fff;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}
.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #F5222D 0%, #ff4d4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.7;
}
.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #F5222D;
}
.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* ============ 友情链接 ============ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* ============ 响应式适配 ============ */
@media (max-width: 1024px) {
    .header-layout {
        padding: 0 30px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        display: none;
    }
    .hero-stats {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-layout {
        padding: 0 20px;
        height: 70px;
    }
    .logo-wrapper {
        width: 48px;
        height: 48px;
    }
    .logo-img {
        width: 30px;
        height: 30px;
    }
    .brand-name {
        font-size: 24px;
    }
    .brand-slogan {
        display: none;
    }
    .desktop-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .mobile-menu {
        display: flex;
    }
    .hero {
        padding: 110px 20px 60px;
        min-height: auto;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .hero-btns {
        flex-direction: column;
    }
    .services, .advantages, .stats-section, .cta {
        padding: 60px 20px;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer {
        padding: 40px 20px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .partners-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   通用内页标题栏（关于我们/帮助中心等公开页共用）
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 5%;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(245, 34, 45, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 120, 117, 0.1) 0%, transparent 50%);
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .page-header h1 { font-size: 1.8rem; }
    .page-header { padding: 60px 5%; }
}

/* ============================================================
   服务卡片标题内链（SEO 内链锚文本）
   ============================================================ */
.service-card-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.service-card-link:hover {
    color: #F5222D;
}
