﻿/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #444a54;
    --text-muted: #6e7480;
    --accent: #ff4d00;
    --accent-dark: #e04400;
    --accent-strong: #d63c00;
    --border-color: #e6e8ec;
    --card-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.07);
    --transition: all 0.3s ease;
}

/* ============================================
   混合式配色：导航 / 首屏 Banner / 页脚保留深色
   ============================================ */
#navbar,
.banner,
.footer {
    --bg-primary: #0b1626;
    --bg-secondary: #101c30;
    --bg-card: #16243c;
    --text-primary: #ffffff;
    --text-secondary: #c7d3e3;
    --text-muted: #8fa3bd;
    --border-color: #22344f;
    color: var(--text-primary);
}

html {
    scroll-behavior: smooth;
}

body {
    /* 系统字体栈：零网络请求，国内访问零延迟；顺序兼顾 iOS/安卓/Windows */
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'MiSans', 'Microsoft YaHei', 'Source Han Sans SC', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 22, 38, 0.92);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px;
}

.logo-img {
    height: 52px;
    width: auto;
    opacity: 1;
    filter: brightness(1.02) invert(1);
}

@media (min-width: 768px) {
    .logo-img {
        height: 70px;
    }
}

.logo span {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 26px;
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: 14px;
    }
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-consultation {
    background-color: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-consultation:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* 激活态：三条杠变 X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 菜单打开时锁定页面滚动 */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   Banner Section
   ============================================ */
.banner {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* 移动端地址栏伸缩适配 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0b1626;
    background-image:
        radial-gradient(circle at 18% 28%, rgba(255, 77, 0, 0.14) 0%, transparent 50%),
        radial-gradient(circle at 82% 30%, rgba(47, 139, 253, 0.12) 0%, transparent 50%);
}

.banner-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.02) 0px,
        transparent 2px,
        transparent 4px
    );
}

.banner-content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 60px 0;
}

.banner-title {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 900;
    letter-spacing: 3px;
    margin: 0 0 16px;
    animation: fadeInUp 1s ease;
}

.banner-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 12px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.banner-desc {
    font-size: clamp(14px, 2vw, 20px);
    color: var(--text-muted);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
}

/* ============================================
   Section Common
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.section-brand-icon {
    flex-shrink: 0;
}

.brand-icon-img {
    height: 80px;
    width: auto;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-subtitle-inline {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 300;
    margin-left: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 300;
}

.products {
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 0% 100%, rgba(255, 106, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(47, 139, 253, 0.04) 0%, transparent 50%);
}

/* ============================================
   Products Grid
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

.product-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #0a0a0a;
    transition: var(--transition);
}

/* 对于宽高比差异大的图片，使用 contain 保持完整显示 */
.product-image-img.keep-aspect-contain {
    object-fit: contain;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: var(--transition);
}

.product-card:hover .product-image::before {
    left: 100%;
}

.product-card:hover .product-image-img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.product-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.product-info li {
    color: var(--text-muted);
    font-size: 13px;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.product-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages {
    background-color: var(--bg-secondary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    padding: 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background-color: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-muted);
    transition: var(--transition);
    width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
/* 展开高度由 JS 按内容实际高度（scrollHeight）设置，避免长答案被截断 */

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* 产品参数行 */
.product-spec {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background-color: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: justify;
}

.about-text strong {
    color: var(--accent-strong);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-stat {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 22px 12px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.about-stat-number {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-strong);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Cases Section
   ============================================ */
.cases {
    background-color: var(--bg-secondary);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.case-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.case-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.case-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.case-count {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-strong);
    background-color: rgba(255, 77, 0, 0.08);
    padding: 4px 14px;
    border-radius: 999px;
}

.cases-public {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 60px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.public-item {
    font-size: 15px;
    color: var(--text-secondary);
}

.public-num {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-strong);
    margin-right: 6px;
}

.cases-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ============================================
   Safety Section
   ============================================ */
.safety {
    background-color: var(--bg-primary);
}

/* 3C 证书墙大图 */
.cert-wall {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin: 0 0 32px;
}

.cert-wall img {
    display: block;
    width: 100%;
    height: auto;
}

.cert-wall figcaption {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 14px 20px 16px;
    border-top: 1px solid var(--border-color);
}

.cert-wall figcaption strong {
    color: var(--accent-strong);
}

/* 检测报告证书卡 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cert-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    margin: 0;
    display: flex;              /* 纵向 flex：图片区等高后，说明文字顶部对齐 */
    flex-direction: column;
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.cert-thumb {
    /* 统一 3:4 比例：证书截图原始长宽比不一（0.64~0.77），不统一会导致文字行错位 */
    aspect-ratio: 3 / 4;
    background-color: #ffffff;  /* 窄图留白处与证书纸面同为白色，形成"装裱"效果 */
}

.cert-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-card figcaption {
    flex: 1;                    /* 撑满剩余高度，各行卡片底部也拉齐 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-secondary);
    padding: 10px 8px 12px;
    line-height: 1.4;
}

.policy-note,
.safety-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 28px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(255, 77, 0, 0.05) 0%, transparent 50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: start;
    gap: 16px;
}

.contact-method .icon {
    font-size: 28px;
    text-align: center;
    margin-top: 2px;
}

.contact-method h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
}

.contact-method p {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.contact-link {
    color: var(--accent-strong);
    font-weight: 500;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* 微信二维码卡片 */
.contact-qr {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 40px 32px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    justify-self: center;
}

.qr-image {
    width: 240px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 24px;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.qr-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.contact-qr h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-qr p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-qr .qr-tip {
    margin-top: 8px;
    font-size: 13px;
    color: var(--accent-strong);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 77, 0, 0.08) 0%, transparent 50%);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    opacity: 0.9;
    filter: brightness(1.02) invert(1);
}

.footer-logo span {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 6px;
}

.footer-contact {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-contact .contact-item {
    text-align: right;
}

.footer-contact .contact-item span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-contact .contact-item p {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--text-primary);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .nav-menu {
        gap: 24px;
    }

    .stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 28px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cases-public {
        gap: 32px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-contact {
        width: 100%;
        gap: 20px;
    }

    .footer-contact .contact-item {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(11, 22, 38, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .btn-consultation {
        display: none;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        gap: 12px;
    }

    .about-stat {
        padding: 16px 8px;
    }

    .about-stat-number {
        font-size: 22px;
    }

    .contact-qr {
        padding: 28px 20px;
    }

    .qr-image {
        width: 200px;
    }

    .footer-contact {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }

    .banner-title {
        letter-spacing: 1px;
    }

    .product-card {
        margin: 0 10px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   悬浮加盟按钮（首页常驻 CTA）
   ============================================ */
.join-float-btn {
    position: fixed;
    right: 36px;
    bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 30px;
    background: linear-gradient(135deg, #ff7a29 0%, var(--accent) 55%, var(--accent-dark) 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(255, 77, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
    animation: joinPulse 1.4s ease-in-out infinite;
}

/* 外圈扩散光环 */
.join-float-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid var(--accent);
    animation: joinRipple 1.4s ease-out infinite;
    pointer-events: none;
}

/* 掠过式高光，配合脉冲形成"一闪一闪"的观感（内层裁剪，避免溢出按钮） */
.join-inner {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

.join-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: joinShine 2.2s ease-in-out infinite;
}

/* 文字与图标置于高光层之上 */
.join-float-btn .join-icon,
.join-float-btn .join-text {
    position: relative;
    z-index: 1;
}

.join-float-btn .join-icon {
    font-size: 18px;
    line-height: 1;
    animation: joinBlink 1.4s ease-in-out infinite;
}

.join-float-btn:hover {
    animation: none;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 14px 38px rgba(255, 77, 0, 0.7);
}

/* 已滚动到联系表单区域时自动隐去，避免遮挡表单 */
.join-float-btn.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes joinPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(255, 77, 0, 0.45);
    }
    50% {
        transform: scale(1.07);
        box-shadow: 0 14px 34px rgba(255, 77, 0, 0.75);
    }
}

@keyframes joinRipple {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes joinShine {
    0% {
        left: -120%;
    }
    55%, 100% {
        left: 160%;
    }
}

@keyframes joinBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.85);
    }
}

/* 尊重系统"减弱动态效果"设置 */
@media (prefers-reduced-motion: reduce) {
    .join-float-btn,
    .join-float-btn::before,
    .join-inner::after,
    .join-float-btn .join-icon {
        animation: none;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #c8ccd4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b8f98;
}

/* ============================================
   加盟政策 Section
   ============================================ */
.policy {
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(47, 139, 253, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 106, 0, 0.04) 0%, transparent 50%);
}

.policy-block {
    margin-bottom: 70px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.policy-block-title::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 12px;
}

.policy-block-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 40px;
}

/* 阶梯费用 */
.fee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.fee-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fee-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.12);
}

.fee-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 20px;
}

.fee-value {
    font-size: 56px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
}

.fee-label {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.fee-note {
    font-size: 13px;
    color: var(--text-muted);
}

.fee-card.highlight-top {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 14px 36px rgba(255, 77, 0, 0.18);
}

/* 奖励机制 */
.reward-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.reward-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.reward-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.reward-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.reward-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.reward-tagline {
    display: inline-block;
    font-size: 13px;
    color: var(--accent-strong);
    margin-bottom: 24px;
}

.reward-row {
    margin-bottom: 20px;
}

.reward-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.reward-row p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.reward-highlight {
    color: var(--accent-strong) !important;
    font-weight: 700;
    font-size: 16px !important;
}

.reward-table {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.reward-table-header,
.reward-table-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 14px;
}

.reward-table-header {
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.reward-table-row {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.reward-table-row:last-child {
    border-bottom: none;
}

.reward-table-row span:last-child {
    color: var(--accent-strong);
    font-weight: 700;
}

.reward-date {
    font-size: 13px;
    color: var(--text-muted);
    text-align: right;
}

/* 回本说明 */
.payback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.payback-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.payback-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.payback-card.highlight {
    border-color: var(--accent);
    box-shadow: 0 14px 36px rgba(255, 77, 0, 0.18);
}

.payback-level {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.payback-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.payback-item span {
    color: var(--text-muted);
    font-size: 14px;
}

.payback-item strong {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
}

.payback-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    margin-top: 4px;
}

.payback-total span {
    color: var(--text-secondary);
    font-size: 15px;
}

.payback-total strong {
    color: var(--accent);
    font-size: 28px;
    font-weight: 900;
}

/* 合作模式 */
.coop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.coop-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.coop-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.coop-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.coop-item {
    margin-bottom: 24px;
}

.coop-item:last-child {
    margin-bottom: 0;
}

.coop-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-strong);
    margin-bottom: 8px;
}

.coop-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* 加盟政策 响应式 */
@media (max-width: 768px) {
    .fee-grid,
    .reward-grid,
    .payback-grid,
    .coop-grid {
        grid-template-columns: 1fr;
    }

    .fee-value {
        font-size: 44px;
    }

    .policy-block {
        margin-bottom: 50px;
    }
}

/* 悬浮加盟按钮 响应式 */
@media (max-width: 768px) {
    .join-float-btn {
        right: 16px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        padding: 13px 22px;
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .join-float-btn .join-icon {
        font-size: 16px;
    }
}
