
:root {
    /* 主色调 - 科技蓝 */
    --primary: #165dff;
    --primary-light: #4080ff;
    --primary-dark: #0e42d2;
    --primary-gradient: linear-gradient(135deg, #165dff 0%, #0e42d2 100%);
    --primary-gradient-hover: linear-gradient(135deg, #4080ff 0%, #165dff 100%);

    /* 辅助色 - 推广专属 */
    --promote: #7b61ff;
    --promote-light: #9580ff;
    --promote-gradient: linear-gradient(135deg, #7b61ff 0%, #5a3fd0 100%);
    --rebate: #00b42a;

    /* 中性色 */
    --text-primary: #1d2129;
    --text-secondary: #4e5969;
    --text-tertiary: #86909c;
    --bg-primary: #ffffff;
    --bg-secondary: #f2f3f5;
    --bg-tertiary: #e5e6eb;
    --border-light: #e5e6eb;
    --border-medium: #c9cdd4;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(22, 93, 255, 0.08);
    --shadow-md: 0 4px 16px rgba(22, 93, 255, 0.12);
    --shadow-lg: 0 8px 32px rgba(22, 93, 255, 0.16);
    --shadow-xl: 0 12px 48px rgba(22, 93, 255, 0.2);
}

.bg-promote {
    background: var(--promote-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}
.bg-promote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://picsum.photos/id/180/1920/1080") center/cover
        no-repeat;
    opacity: 0.1;
    z-index: 0;
}

/* 按钮样式 - 保持一致+推广专属 */
.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    border-radius: 40px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.btn-primary-custom:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-promote-custom {
    background: white;
    color: var(--promote);
    border: none;
    border-radius: 40px;
    padding: 0.7rem 2.2rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(123, 97, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-promote-custom:hover {
    background: var(--bg-secondary);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(123, 97, 255, 0.3);
    color: var(--promote-dark);
}

.btn-outline-custom {
    background: white;
    border: 1.5px solid var(--border-light);
    border-radius: 40px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    background: rgba(22, 93, 255, 0.05);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* 推广页面专属样式 */
.promote-header {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}
.promote-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.promote-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* 返利演示区 */
.rebate-demo {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}
.rebate-rate {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.rebate-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.rebate-calculator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.calculator-item {
    text-align: center;
}
.calculator-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}
.calculator-amount {
    font-size: 1.8rem;
    font-weight: 600;
}
.calculator-arrow {
    font-size: 2rem;
    opacity: 0.8;
}
.rebate-highlight {
    color: #b8ffc9;
    font-size: 2rem;
}

/* 推广优势 */
.promote-advantages {
    padding: 4rem 0;
}
.advantages-title {
    text-align: center;
    margin-bottom: 3rem;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.advantage-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--promote-light);
}
.advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(123, 97, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--promote);
    transition: all 0.3s ease;
}
.advantage-card:hover .advantage-icon {
    background: var(--promote-gradient);
    color: white;
    transform: scale(1.05);
}
.advantage-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.advantage-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 推广步骤 */
.promote-steps {
    padding: 4rem 0;
    background: white;
}
.steps-title {
    text-align: center;
    margin-bottom: 3rem;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}
.steps-grid::before {
    content: "";
    position: absolute;
    top: 80px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
    display: none;
}
@media (min-width: 768px) {
    .steps-grid::before {
        display: block;
    }
}
.step-card {
    position: relative;
    z-index: 1;
    text-align: center;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--promote-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(123, 97, 255, 0.3);
    position: relative;
}
.step-number::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: calc(100% + (100vw - 200px) / 6);
    height: 2px;
    background: var(--promote-light);
    transform: translateY(-50%);
    z-index: -1;
    display: none;
}
.step-card:last-child .step-number::before {
    display: none;
}
@media (min-width: 768px) {
    .step-number::before {
        display: block;
    }
}
.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 推广工具区 */
.promote-tools {
    padding: 4rem 0;
    background: var(--bg-secondary);
}
.tools-title {
    text-align: center;
    margin-bottom: 3rem;
}
.tools-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}
.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(123, 97, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--promote);
}
.tool-title {
    font-size: 1.2rem;
    font-weight: 600;
}
.link-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.promote-link {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
}
.promote-link:focus {
    outline: none;
    border-color: var(--promote);
}
.copy-btn {
    padding: 0 1.2rem;
    background: var(--promote);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.copy-btn:hover {
    background: var(--promote-dark);
}
.social-share {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-secondary);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.social-btn:hover {
    background: var(--promote-light);
    color: white;
}
.social-btn i {
    font-size: 1.1rem;
}

/* 收益统计 */
.earnings-stats {
    padding: 4rem 0;
    background: white;
}
.stats-title {
    text-align: center;
    margin-bottom: 3rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.stat-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: rgba(123, 97, 255, 0.05);
}
.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--promote);
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.earnings-table {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
}
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}
.table th {
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
}
.table tr:last-child td {
    border-bottom: none;
}
.table tr:hover {
    background: rgba(255, 255, 255, 0.8);
}
.table .text-rebate {
    color: var(--rebate);
    font-weight: 500;
}

/* 常见问题 */
.promote-faq {
    padding: 4rem 0;
    background: var(--bg-secondary);
}
.faq-title {
    text-align: center;
    margin-bottom: 3rem;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: var(--promote-light);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
}
.faq-answer {
    margin-top: 1rem;
    color: var(--text-secondary);
    display: none;
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-icon {
    color: var(--promote);
    transition: all 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
