/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

.text-red {
    color: #E60027;
}

/* ========== 顶部导航栏 ========== */
.header {
    background-color: #242424;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #E60027 0%, #C00020 100%);
    border-radius: 50%;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
}

.logo-text {
    color: white;
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    height: 23px;
}

.logo-subtitle {
    font-size: 15px;
    font-weight: 700;
}

/* 搜索框 */
.search-box {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 24px;
    padding: 10px 45px 10px 20px;
    color: white;
    font-size: 14px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 头部按钮组 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-affiliate-wrapper {
    /*background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);*/
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: filter 0.3s;
    cursor: pointer;
    height: 36px;
}

.btn-affiliate-wrapper:hover {
    filter: brightness(1.1);
}

.affiliate-megaphone {
    height: 57px;
    width: auto;
    margin-right: -44px;
    object-fit: contain;
    z-index: 2;
}

.affiliate-icon {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.language-selector {
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.divider {
    color: rgba(255, 255, 255, 0.3);
}

.btn-subscribe {
    background-color: transparent;
    color: white;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-login {
    background-color: #E60027;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: filter 0.3s;
}

.btn-login:hover {
    filter: brightness(1.1);
}

.btn-user-mobile {
    display: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.btn-user-mobile:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ========== 移动端搜索栏 ========== */
.mobile-search-bar {
    display: none;
    background-color: #1A1A1A;
    padding: 12px 0;
}

.mobile-search-bar .container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-back-btn {
    background: transparent;
    color: white;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-title {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.mobile-search-box {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-search-box svg {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.mobile-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    outline: none;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mobile-user-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ========== 主导航菜单 ========== */
.main-nav {
    background: linear-gradient(135deg, #E60027 0%, #C00020 50%, #A00018 100%);
    box-shadow: 0 2px 12px rgba(230, 0, 39, 0.15);
    position: relative;
    overflow: hidden;
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 100%);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0;
    position: relative;
}

.nav-item {
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-item:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-item.active {
    color: white;
    font-weight: 700;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.8) 0%,
        white 50%,
        rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* ========== Hero 区域 ========== */
.hero-section {
    position: relative;
    /*padding: 120px 0 80px;*/
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    border-radius: 0 0 50% 50% / 0 0 20% 20%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/hero-bg-desktop.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 1920px 660px;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    z-index: 3;
}

.hero-main {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-logo-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 24px;
    position: relative;
}

.hero-logo-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #E60027 0%, #C00020 100%);
    border-radius: 50%;
}

.hero-logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
}

.hero-title {
    font-size: 54px;
    font-weight: 1000;
    color: #1A1A1A;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    color: #666;
    margin-bottom: 40px;
}

.btn-join {
    background-color: #242424;
    color: white;
    padding: 16px 60px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36, 36, 36, 0.3);
}


/* ========== 加入推广合作标题 ========== */
.benefits-header {
    padding: 80px 0 40px;
}

.section-title {
    text-align: center;
    position: relative;
}

.title-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 1000;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* 标题行容器样式 - 文字居中，图标在两侧 */
.title-line-wrapper {
    text-align: center;
    margin-bottom: 8px;
    position: relative;
}

.title-line-wrapper:last-child {
    margin-bottom: 0;
}

.title-line-container {
    position: relative;
    display: inline-block;
}

.title-text {
    font-size: 42px;
    font-weight: 1000;
    color: #1A1A1A;
    display: inline-block;
}

.title-icon {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    margin-right: 12px;
    width: 50px;
    height: 50px;
}

.emoji {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 8px;
    font-size: 48px;
}

.title-line {
    width: 300px;
    height: auto;
    margin: 0 auto;
}

/* 桌面端隐藏移动端标题元素 */
.title-section-mobile {
    display: none;
}

/* ========== 优势卡片网格 ========== */
.benefits-grid {
    padding: 40px 0 80px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    grid-auto-rows: auto;
}

/* 宽卡片样式 */
.benefit-card.wide {
    grid-column: span 1;
    background: rgb(247, 247, 250);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 窄卡片样式 */
.benefit-card.narrow {
    grid-column: span 1;
    background: rgb(247, 247, 250);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    background: rgb(250, 250, 252);
}

/* 卡片内容区域 */
.benefit-content {
    flex: 1;
    margin-bottom: 0px;
}

.benefit-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A1A1A;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.benefit-card.narrow .benefit-title {
    font-size: 20px;
}

.benefit-desc {
    font-size: 16px;
    color: #4A4A4A;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.benefit-card.narrow .benefit-desc {
    font-size: 15px;
}

/* 图片区域 */
.benefit-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding: 0 0;
}

.benefit-card.wide .benefit-image-wrapper {
    height: 180px;
}

.benefit-card.narrow .benefit-image-wrapper {
    height: 140px;
}

.benefit-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-image {
    transform: scale(1.05);
}

/* ========== 需要具备的资源/渠道 ========== */
.requirements-section {
    padding: 60px 0;
    background: white;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.requirement-item {
    text-align: center;
    padding: 24px 16px;
    background: #F8F8F8;
    border-radius: 12px;
    transition: background-color 0.3s;
}

.requirement-item:hover {
    background: #F0F0F0;
}

.requirement-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.requirement-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* ========== 三步流程 ========== */
.steps-section {
    padding: 80px 0;
}

.steps-title {
    font-size: 42px;
    font-weight: 1000;
    text-align: center;
    margin-bottom: 60px;
}

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

.step-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E60027 0%, #C00020 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 1000;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.step-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ========== 页脚 ========== */
.footer {
    background-color: #1A1A1A;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

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

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-payment h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    gap: 16px;
}

.payment-icon {
    font-size: 32px;
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== 客服按钮 ========== */
.customer-service {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
}

.cs-button {
    background: linear-gradient(135deg, #E60027 0%, #C00020 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(230, 0, 39, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cs-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 0, 39, 0.5);
}

.cs-icon {
    font-size: 20px;
}

/* ========== 移动端响应式 ========== */
@media (max-width: 768px) {
    /* 导航栏 */
    .header {
        padding: 0;
    }

    .header-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 16px;
    }

    .logo {
        flex-shrink: 0;
        transform: scale(0.85);
        margin-left: 8px;
    }

    .search-box {
        display: none;
    }

    .header-actions {
        gap: 12px;
        font-size: 12px;
        flex-shrink: 0;
        margin-right: 8px;
    }

    .btn-affiliate-wrapper {
        padding: 4px 8px;
        height: 28px;
    }

    .affiliate-megaphone {
        height: 22px;
        margin-right: -27px;
    }

    .affiliate-icon {
        height: 22px;
    }

    .btn-subscribe,
    .btn-login {
        display: none;
    }

    .btn-user-mobile {
        display: none;
    }

    .language-selector {
        font-size: 11px;
        white-space: nowrap;
    }

    .language-selector svg {
        display: none;
    }

    /* 隐藏主导航菜单 */
    .main-nav {
        display: none;
    }

    /* 移动端搜索栏 */
    .mobile-search-bar {
        display: block;
    }

    /* 主菜单 */
    .nav-menu {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 24px;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }

    .nav-item {
        white-space: nowrap;
        font-size: 14px;
        font-weight: 600;
        padding: 14px 0;
    }

    /* Hero */
    .hero-section {
        padding: 40px 0 20px;
    }

    .hero-content {
        flex-direction: column;
        min-height: 300px;
    }

    .hero-bg-image {
        display: block;
        background-size: cover;
        background-position: center top;
        background-image: url('/images/hero-bg-mobile.png');
    }

    .hero-main {
        width: 100%;
    }

    .hero-logo-icon {
        width: 80px;
        height: 80px;
    }

    .hero-logo-icon::before {
        width: 40px;
        height: 40px;
    }

    .hero-logo-icon::after {
        width: 20px;
        height: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-logo {
        margin-bottom: 20px;
    }

    .btn-join {
        padding: 12px 40px;
        font-size: 16px;
    }

    /* 标题 */
    .section-title h2 {
        font-size: 28px;
    }

    .title-icon {
        width: 50px;
        height: 50px;
    }

    .emoji {
        font-size: 32px;
    }

    /* 移动端标题行容器样式 */
    .title-line-wrapper {
        margin-bottom: 6px;
    }

    .title-line-container {
        position: relative;
        display: inline-block;
    }

    .title-text {
        font-size: 28px;
    }

    .title-icon {
        position: absolute;
        top: 50%;
        right: 100%;
        transform: translateY(-50%);
        margin-right: 8px;
        width: 40px;
        height: 40px;
    }

    .emoji {
        position: absolute;
        top: 50%;
        left: 100%;
        transform: translateY(-50%);
        margin-left: 6px;
        font-size: 32px;
    }

    /* 加入推广合作标题区域 - 移动端优化 */
    .benefits-header {
        padding: 20px 0 0;
    }

    /* 优势卡片网格 - 移动端优化 */
    .benefits-grid {
        padding: 0 0 40px;
    }

    /* 标题区域移动端布局 */
    .title-section-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 16px;
    }

    .benefits-megaphone {
        height: 40px;
        width: auto;
        object-fit: contain;
    }

    /* 优势卡片 */
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card.wide,
    .benefit-card.narrow {
        padding: 24px 20px;
    }

    .benefit-title {
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        color: #1A1A1A;
        line-height: 1.3;
        letter-spacing: -0.3px;
    }

    .benefit-card.narrow .benefit-title {
        font-size: 18px;
    }

    .benefit-desc {
        font-size: 15px;
        color: #4A4A4A;
        text-align: center;
        line-height: 1.7;
        font-weight: 400;
        letter-spacing: 0.1px;
    }

    .benefit-card.narrow .benefit-desc {
        font-size: 14px;
    }

    .benefit-image-wrapper {
        padding: 15px 0;
    }

    .benefit-card.wide .benefit-image-wrapper,
    .benefit-card.narrow .benefit-image-wrapper {
        height: 120px;
    }

    /* 资源需求 */
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .requirement-item {
        padding: 20px 12px;
    }

    .requirement-icon {
        font-size: 28px;
    }

    /* 三步流程 */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    /* 页脚 */
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    /* 客服按钮 */
    .customer-service {
        bottom: 20px;
        right: 20px;
    }

    .cs-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .benefit-card.wide,
    .benefit-card.narrow {
        padding: 30px 25px;
    }

    .benefit-title {
        font-size: 20px;
    }

    .benefit-card.narrow .benefit-title {
        font-size: 17px;
    }

    .benefit-desc {
        font-size: 14px;
    }

    .benefit-card.narrow .benefit-desc {
        font-size: 13px;
    }

    .benefit-card.wide .benefit-image-wrapper {
        height: 150px;
    }

    .benefit-card.narrow .benefit-image-wrapper {
        height: 120px;
    }

    .requirements-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 42px;
    }
}