:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --light: #ecf0f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', sans-serif;
}


.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.5s ease;
}

.logo {
    height: 32px;
    width: auto;
    transition: all 0.5s ease;
}

.brand:hover .logo {
    transform: rotateY(180deg) scale(1.2);
}


.brand-name {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.brand:hover .brand-name {
    transform: translateX(10px) scale(1.2);
    color: #3498db;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #34495e;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 导航栏 */
/* .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
} */

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 主页内容 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem;
    background: linear-gradient(45deg, var(--light), #fff);
}

.section {
    padding: 5rem 10%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* 底部 */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }
}




/* ---------------------------------------- */

/* 团队英雄区 */
.main-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f5f4 100%);
    position: relative;
    overflow: hidden;
}

.legacy-innovation {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    padding: 0 2rem;
}

/* 左侧传承列 */
.heritage-column {
    flex: 1;
    position: relative;
    padding-right: 3rem;
}

.timeline-marker {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: rgba(7, 193, 96, 0.15);
    position: absolute;
    top: 5rem;
    left: 0;
    z-index: 1;
}

.gradient-title {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.gradient-title span {
    display: block;
}

.ai-fusion {
    background: linear-gradient(45deg, #2c3e50, #07c160);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.rulebook-icon {
    width: 200px;
    height: 300px;
    background: url('/assets/images/RONR12Cover.png') no-repeat center;
    background-size: cover;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* 右侧价值列 */
.value-column {
    flex: 1.2;
}

.core-statement {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.highlight {
    color: #07c160;
    font-weight: 600;
}

.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #07c160;
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* 价值网格 */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    color: #07c160;
    margin: 1rem 0;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

/* 图标样式 */
.icon-organization,
.icon-family,
.icon-individual {
    display: inline-block;
    width: 150px;
    height: 150px;
    /* max-width: 100px; */
    /* max-height: 100px; */
    background-size: cover;
}

.icon-organization {
    background-image: url('/assets/images/organization.jpg');
}

.icon-family {
    background-image: url('/assets/images/family.jpg');
}

.icon-individual {
    background-image: url('/assets/images/individual.jpg');
}

/* CTA按钮 */
.cta-pulse {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: #07c160;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.cta-pulse i {
    margin-left: 0.8rem;
    transition: transform 0.3s;
}

.cta-pulse:hover {
    background: #059c4d;
    transform: translateY(-2px);
}

.cta-pulse:hover i {
    transform: translateX(3px);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(7, 193, 96, 0.3);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(7, 193, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(7, 193, 96, 0);
    }
}

.cta-pulse {
    animation: pulse-glow 2s infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .legacy-innovation {
        flex-direction: column;
        padding: 0 1rem;
    }

    .heritage-column {
        padding-right: 0;
        text-align: center;
    }

    .gradient-title {
        font-size: 2rem;
    }

    .rulebook-icon {
        margin: 0.5rem auto;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .timeline-marker {
        font-size: 3.5rem;
        top: 5rem;
    }

    .core-statement {
        font-size: 1.1rem;
    }
}


/* --------------------------------------------------- */

/* 新增背景特效样式 */
.hero {
    position: relative;
    /* height: 80vh; */
    height: auto;
    min-height: 600px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
}

.parallax-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(110%);
    animation: bgScale 20s infinite alternate;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(15, 32, 39, 0.9) 0%,
            rgba(7, 193, 96, 0.15) 100%);
    mix-blend-mode: multiply;
}

/* 动态粒子系统 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle-layer {
    position: absolute;
    animation: particleFlow calc(20s * var(--particle-count)) linear infinite;
}

.particle-layer::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(7, 193, 96, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px #07c160;
    filter: blur(1px);
}

@keyframes particleFlow {
    0% {
        transform: translateY(-10%) rotateZ(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(110%) rotateZ(360deg);
        opacity: 0;
    }
}

/* 文字增强 */
.hero-content h1 {
    text-shadow: 0 2px 8px rgba(15, 32, 39, 0.7);
    position: relative;
}

.gradient-text {
    display: inline-block;
    background: linear-gradient(45deg, #7effb3, #07c160);
    -webkit-background-clip: text;
    background-clip: text;
    /* filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); */
}

/* 背景动态 */
@keyframes bgScale {
    0% {
        transform: scale(1) rotateZ(0deg);
    }

    100% {
        transform: scale(1.05) rotateZ(0.5deg);
    }
}

/* 交互增强 */
.hero:hover .parallax-bg {
    animation-duration: 10s;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
    }

    .parallax-bg {
        filter: grayscale(20%) contrast(120%);
    }

    .bg-overlay {
        background: linear-gradient(rgba(15, 32, 39, 0.95) 0%,
                rgba(7, 193, 96, 0.1) 100%);
    }
}

/* ------------------------- */
/* 修改背景叠加层 */
.bg-overlay {
    background: linear-gradient(45deg,
            rgba(15, 32, 39, 0.95) 20%,
            /* 增加不透明度 */
            rgba(7, 193, 96, 0.25) 80%);
    mix-blend-mode: soft-light;
    /* 更自然的混合模式 */
}

/* 增强文字效果 */
.hero-content h1 {
    /* text-shadow: */
    /* 0 2px 6px rgba(15, 32, 39, 0.9), */
    /* 主阴影 */
    /* 0 0 20px rgba(7, 193, 96, 0.3); */
    /* 光晕效果 */
    position: relative;
    padding: 0.5rem;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(3px);
    /* 毛玻璃效果 */
    border-radius: 8px;
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    padding: 0.2rem 0.5rem;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    pointer-events: none;
}

/* 确保导航栏有固定高度 */
header {
    position: relative;
    /* 改为相对定位 */
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 在main元素前插入间距占位符 */
header::after {
    content: '';
    display: block;
    height: var(--nav-height, 60px);
    /* 与导航栏实际高度一致 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
    }

    .hero {
        margin-top: 0 !important;
        /* 移动端不需要额外间距 */
    }
}



.nav-spacer {
    height: 80px;
    /* 桌面端导航高度 */
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: white;
    z-index: 1000;
}

/* .hero { */
/* margin-top: 80px; */
/* 与导航高度一致 */
/* } */

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-spacer {
        height: 60px;
    }

    header {
        height: 60px;
    }

    .hero {
        margin-top: 60px;
    }
}

/* 新增文字容器增强 */
.hero-content-main-cover {
    position: relative;
    z-index: 100;
    /* 确保在覆盖层之上 */
    padding: 2rem;
    background: rgba(15, 32, 39, 0.4);
    /* 半透明底色 */
    border-radius: 12px;
    backdrop-filter: blur(8px);
    /* 毛玻璃效果 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 标题文字增强 */
.hero-content-main-cover h1 {
    color: #fff !important;
    /* 强制白色 */
    font-size: 2.8rem !important;
    text-shadow:
        0 2px 4px rgba(15, 32, 39, 0.7),
        0 0 20px rgba(7, 193, 96, 0.5),
        0 0 5px rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem !important;
    position: relative;
    line-height: 1.3;
}

/* 渐变文字优化 */
.gradient-text-main-cover {
    font-size: 1.4rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #a2ffd0, #07c160) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    border: 1px solid rgba(7, 193, 96, 0.3);
    display: inline-block;
    border-radius: 8px;
}






/* ------------- footer -------------- */

/* 社群链接样式 */
.social-title {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.social-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 80%;
    background: var(--accent);
    transform: translateY(-50%);
    border-radius: 3px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.social-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(7, 193, 96, 0.2);
}

.social-link {
    text-decoration: none;
    color: inherit;
}

.social-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-icon i {
    color: white;
    font-size: 1.6rem;
}

/* 微信公众号二维码悬浮 */
.qrcode-popup {
    position: absolute;
    bottom: -100px;
    left: 100px;
    /* transform: translateX(100px, 100px); */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    background: white;
    color: black;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.wechat-card:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
}

.qrcode-img {
    width: 150px;
    height: 150px;
    display: block;
    margin-bottom: 0.5rem;
}

.social-info {
    line-height: 1.4;
}

.social-name {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.social-id {
    display: block;
    color: #666;
    font-size: 0.9rem;
    font-family: monospace;
}

/* 平台特色颜色 */
.xhs-card .social-icon {
    background: #ff244a;
}

.discord-card .social-icon {
    background: #5865f2;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        padding: 1rem;
    }

    .qrcode-popup {
        bottom: -100px;
    }
}

/* ------ footer legal ----------- */
/* 法律信息模块 */
.legal-info {
    padding: 0rem 0;
    /* border-top: 1px solid rgba(255, 255, 255, 0.15); */
}

.legal-brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    filter: brightness(0) invert(1);
    /* 使logo反白 */
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.copyright-notice {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.legal-certifications {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cert-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-right: 1.5rem;
}

/* .cert-link::after {
    content: "|";
    position: absolute;
    right: 0;
    color: rgba(255, 255, 255, 0.3);
} */

.cert-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.cert-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .legal-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .legal-certifications {
        gap: 0.5rem;
    }

    /* .cert-link::after {
        display: none;
    } */

    .cert-link {
        padding-right: 0;
        display: block;
    }
}

/* 2025-02-25 20:30 */
