.bi-zh { color:#1F2937; }
.bi-en { color:#4B5563; font-size: 0.9em; margin-top: 2px; }
/* 根据语言仅显示一行 */
body[data-lang="zh"] .bi-zh { display:block; }
body[data-lang="zh"] .bi-en { display:none; }
body[data-lang="en"] .bi-zh { display:none; }
body[data-lang="en"] .bi-en { display:block; }
.how-it-works .title .bi-en { font-size: 0.9em; }
.how-it-works .desc .bi-en { font-size: 0.9em; }
.tech-highlights .tech-title .bi-en { font-size: 0.9em; }
.tech-highlights .tech-desc .bi-en { font-size: 0.9em; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(1200px 600px at 10% -10%, rgba(59,130,246,0.15), transparent 60%),
                radial-gradient(1000px 600px at 110% 10%, rgba(37,99,235,0.12), transparent 60%),
                linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
    background-size: auto, auto, auto;
    background-position: 10% -10%, 110% 10%, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-attachment: scroll, scroll, scroll;
    min-height: 100vh;
    padding: 20px;
    color: #111827;
    position: relative;
    overflow-x: hidden;
}

/* 添加动态背景粒子效果 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37,99,235,0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(96,165,250,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

:root {
    --glow-primary: rgba(59,130,246,0.45);
    --glow-secondary: rgba(37,99,235,0.35);
    --glass-border: rgba(59,130,246,0.25);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

[data-tilt] {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

[data-tilt]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at var(--tilt-glow-x, 50%) var(--tilt-glow-y, 50%), rgba(255,255,255,0.8), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

[data-tilt].is-tilting {
    box-shadow: 0 18px 45px rgba(59,130,246,0.22);
}

[data-tilt].is-tilting::after {
    opacity: 0.45;
}

.stats-strip,
.steps,
.positioning-grid,
.hebe-cards,
.roadmap-sections {
    perspective: 1400px;
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 300px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: screen;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-visual {
        width: 300px;
        height: 200px;
        opacity: 0.4;
    }
}

.hero-visual .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
    will-change: transform;
    transform: translate3d(0,0,0);
}

.hero-visual .orb-primary {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.85), rgba(59,130,246,0.55) 60%, transparent 100%);
    animation: orbPulse 12s ease-in-out infinite;
}

.hero-visual .orb-secondary {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 70% 70%, rgba(34,197,94,0.55), rgba(6,182,212,0.45) 70%, transparent 100%);
    animation: orbDrift 16s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
}

.hero-visual .pulse-ring {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 0 50px rgba(96,165,250,0.35);
    animation: pulseRing 8s ease-in-out infinite;
}

.hero-visual .grid-surface {
    position: absolute;
    bottom: -140px;
    width: 100%;
    height: 260px;
    background: linear-gradient(180deg, rgba(59,130,246,0.35) 0%, rgba(59,130,246,0) 80%);
    mask: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    transform: perspective(800px) rotateX(72deg);
    border-radius: 50%;
    filter: blur(0.3px);
    box-shadow: 0 18px 80px rgba(59,130,246,0.25);
    animation: gridGlow 10s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1) translate3d(0,0,0); opacity: 0.9; }
    50% { transform: scale(1.08) translate3d(8px, -6px, 0); opacity: 1; }
}

@keyframes orbDrift {
    0% { transform: translate3d(-20px, 10px, 0) scale(1); }
    50% { transform: translate3d(25px, -15px, 0) scale(1.07); }
    100% { transform: translate3d(-20px, 10px, 0) scale(1); }
}

@keyframes pulseRing {
    0%, 100% { transform: scale(0.95); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes gridGlow {
    0%, 100% { opacity: 0.12; box-shadow: 0 18px 80px rgba(59,130,246,0.25); }
    50% { opacity: 0.25; box-shadow: 0 30px 100px rgba(59,130,246,0.35); }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 40px;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    position: relative;
    z-index: 2;
}

.header-right-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

header h1 {
    font-size: 2em;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

header h1 .bi-zh,
header h1 .bi-en {
    color: #FFFFFF;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.header-right {
    margin-left: auto;
    margin-right: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.network-badge {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #FFFFFF;
    border: 1px solid rgba(59,130,246,0.5);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.lang-switch { display:flex; gap:6px; background: rgba(255,255,255,0.7); border:1px solid rgba(59,130,246,0.3); padding:4px; border-radius: 999px; }
.lang-btn { background: transparent; color:#111827; border:none; padding:8px 12px; border-radius: 999px; cursor:pointer; font-weight:700; font-size:13px; min-width: 50px; }
.lang-btn.active { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); box-shadow:0 6px 14px rgba(59,130,246,0.4); color: #FFFFFF; }

#walletAddress {
    font-size: 0.9em;
    color: #111827;
    background: rgba(59,130,246,0.15);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(59,130,246,0.4);
    font-family: 'Courier New', monospace;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-primary, .btn-secondary, .btn-success, .btn-large {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 60%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(59,130,246,0.4);
    font-weight: 700;
}

.btn-secondary {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    color: #111827;
    border: 1px solid rgba(59,130,246,0.3);
}

.btn-success {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(59,130,246,0.4);
    font-weight: 700;
}

.btn-large {
    font-size: 1.2em;
    padding: 18px 50px;
}

.btn-primary:hover, .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(59,130,246,0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(59,130,246,0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

/* ========== 流式布局设计（非卡片式） ========== */
.card {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: visible;
    backdrop-filter: none;
}

.welcome-card-layout.card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

.welcome-card-layout.card::before,
.welcome-card-layout.card::after {
    display: none;
}

.card::before,
.card::after {
    display: none;
}

.card:hover {
    transform: none;
    box-shadow: none;
}

.card h2 {
    color: #3B82F6;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.welcome-content h2 {
    text-align: left;
    margin-bottom: 0;
    align-self: flex-start;
    color: #FFFFFF;
}

.card-description {
    color: #111827;
    margin-bottom: 20px;
}

.welcome-screen {
    text-align: left;
}

.welcome-card-layout {
    display: none;
}

.welcome-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: rgba(255,255,255,0.1);
    padding: 60px 40px 40px 40px;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: flex-start;
    text-align: left;
    margin-bottom: 60px;
    overflow: hidden;
    color: #FFFFFF;
    z-index: 1;
}

.welcome-content .link-secondary {
    color: #2563EB;
    border-color: rgba(255,255,255,0.3);
}

.welcome-content .bi-zh,
.welcome-content .bi-en {
    color: #FFFFFF;
}

.welcome-banner {
    display: none;
}

.banner-image {
    display: none;
}

.description {
    font-size: 1.4em;
    color: #FFFFFF;
    margin-bottom: 0;
    line-height: 1.8;
    text-align: left;
    align-self: flex-start;
}

.description [data-i18n="welcome_desc_line1"] {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.1em;
}

.description [data-i18n="welcome_desc_line2"] {
    font-size: 0.95em;
    color: #FFFFFF;
}


.hero-cta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.link-secondary {
    color: #111827;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 0;
    align-self: stretch;
    text-align: center;
}

.stats-strip .stat {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px 0;
    box-shadow: none;
    overflow: visible;
    transition: all 0.3s ease;
}

.stats-strip .stat:hover {
    transform: translateX(5px);
}

.stats-strip .label { color: #FFFFFF; font-size: 12px; margin-bottom: 6px; text-align: center; }
.stats-strip .value { color: #FFFFFF; font-weight: 800; text-align: center; }

.stats-strip .stat::before {
    display: none;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    padding: 25px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 15px;
}

.feature h3 {
    color: #3B82F6;
    margin-bottom: 10px;
}

.feature p {
    color: #111827;
}

.how-it-works {
    text-align: left;
    margin-top: 60px;
    padding: 40px;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.how-it-works .hebe-header {
    margin-bottom: 30px;
}

.steps { display: grid; grid-template-columns: 1fr; gap: 12px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 20px; align-items: start; position: relative; background: transparent; border: none; border-radius: 0; padding: 20px 0; box-shadow: none; overflow: visible; margin-bottom: 30px; transition: all 0.3s ease; }
.step::before { display: none; }
.step:hover { transform: translateX(6px); }
.step .num { 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); 
    color: #FFFFFF; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800; 
    box-shadow: 0 8px 18px rgba(59,130,246,0.4);
    animation: pulseGlow 2s ease-in-out infinite;
    position: relative;
}

.step .num::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    opacity: 0;
    z-index: -1;
    animation: ripple 2s ease-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 18px rgba(59,130,246,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 8px 25px rgba(59,130,246,0.6); }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}
.step .title { font-weight: 700; color: #3B82F6; }
.step .desc { color: #111827; font-size: 0.95em; margin-top: 4px; }
.step:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0,0,0,0.15); }

/* ========== 代币亮点全新设计 ========== */
.product-highlights {
    margin-top: 60px;
    padding: 40px;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.product-highlights .hebe-header {
    margin-bottom: 30px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.highlight-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 32px 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    backdrop-filter: none;
    margin-bottom: 40px;
}

.highlight-card:hover {
    transform: translateX(10px);
}

.highlight-number {
    font-size: 1.2em;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(59,130,246,0.4);
}

.highlight-content {
    position: relative;
}

.highlight-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #3B82F6 !important;
    text-align: center;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(59,130,246,0.4);
}

.highlight-desc {
    color: #111827;
    font-size: 0.95em;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.product-highlights .highlight-title {
    color: #FFFFFF !important;
}

.product-highlights .highlight-desc,
.product-highlights .highlight-number,
.product-highlights .bi-zh,
.product-highlights .bi-en {
    color: #FFFFFF;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stats-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stats-strip .label {
        font-size: 10px;
    }
    
    .stats-strip .value {
        font-size: 14px;
    }
    
    .intro-text {
        padding: 20px 0;
        margin: 20px 0 30px 0;
    }
    
    .intro-text p {
        font-size: 0.9em;
        line-height: 1.7;
        margin-bottom: 10px;
    }
    
    .product-highlights {
        padding: 30px 20px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .how-it-works {
        padding: 30px 20px;
    }
    
    .ai-positioning {
        padding: 30px 20px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 15px;
    }
    
    .highlight-card {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .highlight-number {
        font-size: 1em;
        margin-bottom: 12px;
    }
    
    .highlight-title {
        font-size: 1em;
        margin-bottom: 12px;
    }
    
    .highlight-desc {
        font-size: 0.85em;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .highlights-grid {
        gap: 12px;
        margin-top: 12px;
    }
    
    .highlight-card {
        padding: 16px 0;
        margin-bottom: 16px;
    }
    
    .highlight-number {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    .highlight-title {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    .highlight-desc {
        font-size: 0.8em;
        line-height: 1.5;
    }
}

/* 介绍文本样式 - 流式设计 */
.intro-text {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 24px 0;
    margin: 30px 0 40px 0;
    box-shadow: none;
    position: relative;
}

.intro-text p {
    color: #111827;
    line-height: 1.8;
    margin-bottom: 12px;
}

.how-it-works .intro-text p,
.how-it-works .intro-text .bi-zh,
.how-it-works .intro-text .bi-en {
    color: #FFFFFF;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* AI 定位部分 */
.ai-positioning {
    margin: 30px 0;
    padding: 40px;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ai-positioning .hebe-header {
    margin-bottom: 30px;
}

.positioning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.positioning-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 32px 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    backdrop-filter: none;
    margin-bottom: 40px;
}

.positioning-card:hover {
    transform: translateX(10px);
}

.positioning-card h4 {
    font-size: 1.2em;
    font-weight: 700;
    color: #3B82F6 !important;
    text-align: center;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(59,130,246,0.4);
}

.positioning-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.positioning-card ul li {
    color: #111827;
    font-size: 0.95em;
    line-height: 1.8;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.ai-positioning .positioning-card h4 {
    color: #FFFFFF !important;
}

.ai-positioning .positioning-card ul li,
.ai-positioning .positioning-card .bi-zh,
.ai-positioning .positioning-card .bi-en {
    color: #FFFFFF;
}

.positioning-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3B82F6;
    font-weight: 700;
    font-size: 1.1em;
    animation: checkmarkPulse 2s ease-in-out infinite;
}

@keyframes checkmarkPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ========== 路线图全新设计 ========== */
.roadmap-section .hebe-header {
    margin-bottom: 30px;
}

.roadmap-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 1080px) {
    .roadmap-sections {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
        gap: 20px;
    }
}

.roadmap-quarter {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 32px 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    backdrop-filter: none;
    margin-bottom: 40px;
}

.roadmap-quarter:hover {
    transform: translateX(10px);
}

/* 季度标题 */
.quarter-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #3B82F6 !important;
    text-align: center;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(59,130,246,0.4);
}

/* 季度项目列表 */
.quarter-items {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.quarter-items li {
    color: #111827;
    font-size: 0.95em;
    line-height: 1.8;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.roadmap-section .quarter-title {
    color: #FFFFFF !important;
}

.roadmap-section .quarter-items li,
.roadmap-section .bi-zh,
.roadmap-section .bi-en {
    color: #FFFFFF;
}

.quarter-items li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3B82F6;
    font-weight: 700;
    font-size: 1.1em;
    animation: checkmarkPulse 2s ease-in-out infinite;
}


/* RWA 亮点展示区域 - 流式设计 */
.rwa-highlights {
    margin-top: 60px;
    position: relative;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
    min-height: auto;
    background: transparent;
    padding: 40px;
}

/* 内容包装层 - 流式设计 */
.rwa-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    background: transparent;
    backdrop-filter: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Hebe 介绍区域 - 简洁卡片式设计 */
.beb-token-intro {
    margin-top: 60px;
    padding: 40px;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.beb-token-intro .hebe-header {
    margin-bottom: 30px;
}

.hebe-intro {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hebe-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.hebe-logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hebe-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.hebe-title {
    font-size: 1.8em;
    font-weight: 900;
    color: #3B82F6 !important;
    text-shadow: 0 4px 20px rgba(59,130,246,0.5),
                 0 2px 10px rgba(0,0,0,0.15);
    letter-spacing: 1px;
    line-height: 1.4;
}

.hebe-title span {
    color: #3B82F6 !important;
}

.hebe-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    width: 100%;
}

.beb-token-card {
    position: relative;
    background: transparent;
    border: none;
    padding: 36px 0;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.beb-token-card:hover {
    transform: translateX(12px);
}

.beb-token-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.beb-token-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.beb-token-title {
    font-size: 1.6em;
    font-weight: 900;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 40%, #60A5FA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.beb-token-title span {
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.beb-token-subtitle {
    margin: 0;
    font-size: 0.95em;
    color: #1F2937;
    letter-spacing: 0.5px;
}

.beb-token-intro .beb-token-subtitle,
.beb-token-intro .beb-use-text,
.beb-token-intro .bi-zh,
.beb-token-intro .bi-en {
    color: #FFFFFF;
}

.beb-token-uses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px 24px;
    padding-top: 12px;
}

.beb-use-item {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 0;
    border-bottom: none;
    transition: all 0.3s ease;
}

.beb-use-item:last-child {
    border-bottom: none;
}

.beb-use-item:hover {
    transform: translateX(6px);
}

.beb-use-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #111827;
    font-size: 0.95em;
    line-height: 1.6;
}

.beb-token-glow {
    display: none;
}

@media (max-width: 768px) {
    .beb-token-card {
        padding: 28px 0;
        gap: 24px;
    }

    .beb-token-title {
        font-size: 1.4em;
    }

    .beb-token-uses {
        grid-template-columns: 1fr;
        gap: 12px 16px;
        padding-top: 8px;
    }

    .beb-use-item {
        padding: 8px 0;
    }
    
    .beb-use-text {
        font-size: 0.85em;
        line-height: 1.5;
        gap: 3px;
    }
}

.hebe-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 35px 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    backdrop-filter: none;
    margin-bottom: 50px;
}

.hebe-card:hover {
    transform: translateX(10px);
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(59,130,246,0.3);
}

.card-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #3B82F6 !important;
    text-shadow: 0 2px 8px rgba(59,130,246,0.4);
    letter-spacing: 0.5px;
    margin: 0;
}

.card-title span {
    color: #3B82F6 !important;
}

.card-content {
    position: relative;
}

.card-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #111827;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
    letter-spacing: 0.3px;
}

/* RWA 流程图区域 */
.roadmap-section {
    margin-top: 60px;
    padding: 40px;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.rwa-flow {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
}

.flow-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.flow-logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.flow-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.flow-title {
    font-size: 1.8em;
    font-weight: 900;
    color: #3B82F6 !important;
    text-align: left;
    margin-bottom: 0;
    text-shadow: 0 4px 20px rgba(59,130,246,0.5),
                 0 2px 10px rgba(0,0,0,0.15);
    letter-spacing: 1px;
    line-height: 1.4;
}

.flow-title span {
    color: #3B82F6 !important;
}

.flow-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
    align-items: start;
}

.flow-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #3B82F6 !important;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(59,130,246,0.4);
}

.section-title span {
    color: #3B82F6 !important;
}

.flow-diagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    flex: 1;
}

/* 第一行：1个卡片居中 - RWA生态扩张 */
.flow-item:nth-child(1) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

/* 第二行：2个卡片 - 更多优质生息资产、吸引大量用户与资金 */
.flow-item:nth-child(2),
.flow-item:nth-child(3) {
    grid-column: span 1;
}

/* 第三行：2个卡片 - 对Hebe代币需求激增、Hebe代币价值提升 */
.flow-item:nth-child(4),
.flow-item:nth-child(5) {
    grid-column: span 1;
}

/* 第四行：1个卡片居中 - 生态吸引力与融资能力增强 */
.flow-item:nth-child(6) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

.flow-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    border: 2px solid rgba(59,130,246,0.4);
    border-radius: 12px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1),
                0 0 0 1px rgba(59,130,246,0.15) inset,
                0 3px 15px rgba(59,130,246,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    width: 100%;
    max-width: 100%;
}

.flow-box:hover {
    transform: translateY(-3px);
    border-color: rgba(59,130,246,0.6);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12),
                0 0 0 1px rgba(59,130,246,0.25) inset,
                0 4px 20px rgba(59,130,246,0.3);
}

.flow-box span {
    font-size: 0.85em;
    color: #111827;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.4;
    font-weight: 500;
}

.flow-arrow {
    font-size: 1.5em;
    color: #3B82F6;
    text-shadow: 0 2px 10px rgba(59,130,246,0.6);
    line-height: 1;
    margin: 3px 0;
}

.flow-arrow-down {
    font-size: 1.2em;
    color: #3B82F6;
    text-shadow: 0 2px 10px rgba(59,130,246,0.6);
    line-height: 1;
    margin: 3px 0;
}

/* 需求侧：代币应用场景 */
.use-cases {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
    flex: 1;
}

.use-case-item {
    width: 100%;
}

.use-case-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    border: 2px solid rgba(59,130,246,0.4);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1),
                0 0 0 1px rgba(59,130,246,0.15) inset,
                0 3px 15px rgba(59,130,246,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.use-case-box:hover {
    transform: translateX(5px);
    border-color: rgba(59,130,246,0.6);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12),
                0 0 0 1px rgba(59,130,246,0.25) inset,
                0 4px 20px rgba(59,130,246,0.3);
}

.use-case-title {
    font-size: 0.9em;
    font-weight: 700;
    color: #3B82F6 !important;
    text-shadow: 0 2px 8px rgba(59,130,246,0.4);
    flex-shrink: 0;
    min-width: 70px;
}

.use-case-title span {
    color: #3B82F6 !important;
}

.use-case-arrow {
    font-size: 1.3em;
    color: #3B82F6;
    text-shadow: 0 2px 10px rgba(59,130,246,0.6);
    line-height: 1;
    flex-shrink: 0;
}

.use-case-desc {
    font-size: 0.85em;
    color: #111827;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: 500;
    flex: 1;
}

.vision-section {
    margin-top: 60px;
    padding: 40px;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.vision-section .hebe-header {
    margin-bottom: 30px;
}

.vision-section .summary-text {
    text-align: left;
    color: #FFFFFF;
}

.vision-section .summary-text .bi-zh,
.vision-section .summary-text .bi-en {
    color: #FFFFFF;
}

.summary-text {
    font-size: 1em;
    line-height: 1.8;
    color: #111827;
    margin: 0;
}

.flow-summary {
    margin-top: 50px;
    padding: 40px;
    background: transparent;
    border: 2px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    text-align: center;
    box-shadow: none;
    position: relative;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 18px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    position: relative;
    gap: 12px;
}


.info-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3B82F6;
    margin-bottom: 0;
    font-size: 0.9em;
    flex-shrink: 0;
}

.info-item .value {
    font-size: 1.6em;
    font-weight: 800;
    color: #111827;
    text-align: right;
    flex-shrink: 0;
}

.info-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 针对地址类显示的优化 */
.info-item #referrerAddress {
    display: inline-block;
    font-family: 'Courier New', monospace;
    background: rgba(59,130,246,0.15);
    border: 1px dashed rgba(59,130,246,0.4);
    color: #111827;
    padding: 6px 10px;
    border-radius: 8px;
}

/* 推荐人地址特殊样式 - 蓝白主题 */
#referrerAddress {
    font-family: 'Courier New', monospace;
    font-size: 0.9em !important;
    background: rgba(59,130,246,0.15);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(59,130,246,0.4);
    color: #111827;
    transition: all 0.3s ease;
}

/* 有推荐人时显示为可点击 */
#referrerAddress:not([style*="cursor: default"]) {
    cursor: pointer !important;
}

#referrerAddress:not([style*="cursor: default"]):hover {
    background: rgba(59,130,246,0.25) !important;
    border-color: rgba(59,130,246,0.6) !important;
    transform: scale(1.02);
}

/* 无推荐人时无悬停效果 - 使用class标记 */
#referrerAddress.no-referrer,
#referrerAddress[style*="cursor: default"] {
    cursor: default !important;
    background: rgba(59,130,246,0.1) !important;
    border-color: rgba(59,130,246,0.2) !important;
    color: #111827 !important;
}

#referrerAddress.no-referrer:hover,
#referrerAddress[style*="cursor: default"]:hover {
    background: rgba(59,130,246,0.1) !important;
    border-color: rgba(59,130,246,0.2) !important;
    transform: none !important;
    cursor: default !important;
}

.status {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,249,250,0.8));
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(59,130,246,0.25);
}

.status p {
    margin-bottom: 10px;
    color: #111827;
}

.referral-section {
    margin-top: 30px;
    padding: 24px;
    border-top: none;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,249,250,0.85));
    border: 1px solid rgba(59,130,246,0.25);
}

.referral-section h3 {
    color: #3B82F6;
    margin-bottom: 15px;
}

.referral-input-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.referral-input-group input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #DBEAFE;
    border-radius: 12px;
    font-size: 1em;
    font-family: 'Courier New', monospace;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(59,130,246,0.15);
    color: #111827;
}

.referral-input-group textarea#referralLinkInput {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(59,130,246,0.3);
    border-radius: 12px;
    font-size: 0.95em;
    font-family: 'Courier New', monospace;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 6px rgba(59,130,246,0.15);
    color: #111827;
    resize: none;
    line-height: 1.4;
    white-space: normal;
    word-break: break-all;
}

.referral-input-group input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.4);
}

.referral-section .btn-secondary {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #FFFFFF;
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 80px;
    font-weight: 700;
}

.referral-section .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(59,130,246,0.4);
}

.referral-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-section h3::before {
    content: "🔗";
}

.reward-tiers {
    margin-bottom: 20px;
}

.tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #F8F9FA;
    border-radius: 10px;
    margin-bottom: 10px;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1.1em;
}

.tier-amount {
    font-weight: bold;
    color: #3B82F6;
}

.claimable-info {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 70%);
    color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.claimable-info p {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
}

#claimableRewardAmount {
    font-size: 1.5em;
    color: #FFFFFF;
    font-weight: 800;
}

/* ===== USDT 任务进度样式 ===== */
.usdt-progress {
    margin-top: 10px;
}

.usdt-progress .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 14px;
}

.usdt-progress .item {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,249,250,0.8));
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(59,130,246,0.25);
}

.usdt-progress .item.highlight {
    background: linear-gradient(135deg, rgba(59,130,246,0.2) 0%, rgba(37,99,235,0.15) 100%);
    border-color: rgba(59,130,246,0.4);
}

.usdt-progress .label {
    color: #3B82F6;
    font-size: 0.9em;
    margin-bottom: 6px;
}

.usdt-progress .value {
    color: #111827;
    font-weight: 700;
    font-size: 1.2em;
}

.reward-card .actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.reward-card .btn-success {
    min-width: 180px;
}

.referral-list {
    min-height: 100px;
}

.referral-list .empty {
    text-align: center;
    color: #111827;
    padding: 36px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.85) 100%);
    border: 1px dashed rgba(59,130,246,0.3);
    border-radius: 12px;
}

.referral-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,249,250,0.8));
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(59,130,246,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.25s ease;
}

.referral-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(0,0,0,0.15);
}

.referral-info {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 6px;
}

.referral-address {
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: #111827;
    font-weight: 700;
    background: rgba(59,130,246,0.15);
    border: 1px dashed rgba(59,130,246,0.4);
    padding: 4px 8px;
    border-radius: 8px;
}

.referral-level {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 700;
}

.referral-reward {
    color: #3B82F6;
    font-weight: 700;
    font-size: 0.95em;
}

.referral-meta {
    display: flex;
    gap: 14px;
    color: #111827;
    font-size: 0.9em;
}

.referral-meta span::before {
    content: "•";
    margin-right: 8px;
    color: #3B82F6;
}

.check-in-card button {
    width: 100%;
    margin-top: 20px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    border: 4px solid rgba(59,130,246,0.2);
    border-top: 4px solid #3B82F6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: #111827;
    margin-top: 20px;
    font-size: 1.2em;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,249,250,0.95));
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(59,130,246,0.3);
    color: #111827;
}

/* =============== 推荐详情（用户端）样式 =============== */
#refDetailModal .modal-content {
    max-width: 920px;
    width: 92vw;
    text-align: left;
}

#refDetailContent .ref-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 10px 0 16px;
}

#refDetailContent .ref-stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,249,250,0.8));
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 10px;
    padding: 10px 12px;
}

#refDetailContent .ref-stat-card .label { font-size: 12px; color: #3B82F6; }
#refDetailContent .ref-stat-card .value { font-size: 18px; font-weight: 700; color: #111827; }

#refDetailContent .ref-level-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}

#refDetailContent .ref-badge {
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.4);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    color: #111827;
}

#refDetailContent .ref-table-wrap {
    margin-top: 14px;
    max-height: 380px;
    overflow: auto;
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 10px;
}

#refDetailContent table.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

#refDetailContent table.data-table thead th {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    color: #3B82F6;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(59,130,246,0.3);
    z-index: 1;
}

#refDetailContent table.data-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(59,130,246,0.15);
    color: #111827;
}

#refDetailContent table.data-table tbody tr:nth-child(odd) { background: rgba(248,249,250,0.8); }

@media (max-width: 480px) {
    #refDetailModal .modal-content { width: 96vw; padding: 18px; }
    #refDetailContent .ref-stat-card .value { font-size: 16px; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    color: #6B7280;
    cursor: pointer;
}

.modal-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #111827;
}

.site-footer {
    margin-top: 24px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: saturate(130%) blur(6px);
}

.site-footer .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.site-footer .brand { font-weight: 800; color: #3B82F6; }
.site-footer .links { display: flex; gap: 12px; }
.site-footer .links a { color: #111827; text-decoration: none; }
.site-footer .links a:hover { color: #3B82F6; text-decoration: underline; }
.site-footer .copy { text-align: right; color: #111827; font-size: 12px; }

.dashboard {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        gap: 12px;
        justify-content: space-between;
        align-items: center;
    }
    .header-right { 
        order: 2; 
        width: auto;
        justify-content: flex-end;
    }
    .wallet-info, #connectBtn { 
        order: 3; 
        width: auto;
        justify-content: center;
    }
    .wallet-info {
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .site-footer .footer-inner { grid-template-columns: 1fr; text-align: center; }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        display: block;
        font-size: 0; /* 移除inline-block元素之间的空白间隙 */
    }
    
    /* 移动端：打卡天数和连续天数并排 */
    .info-item {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        font-size: 1rem; /* 恢复字体大小 */
    }
    
    .info-item:nth-of-type(2),
    .info-item:nth-of-type(3) {
        display: inline-block !important;
        width: calc(50% - 10px) !important;
        vertical-align: top;
        margin-bottom: 20px;
        box-sizing: border-box;
        font-size: 1rem;
    }
    
    .info-item:nth-of-type(2) {
        margin-right: 20px !important;
        margin-left: 0 !important;
    }
    
    .info-item:nth-of-type(3) {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .welcome-card-layout {
        min-height: 350px;
    }
    
    .welcome-content {
        text-align: center;
        padding: 30px 20px;
    }
    
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        inset: -40px -20px auto -20px;
        height: 260px;
    }
    
    .hero-visual .grid-surface {
        bottom: -120px;
        height: 220px;
    }
    
    .rwa-highlights {
        padding: 30px 20px;
    }
    
    .rwa-content-wrapper {
        padding: 30px 0;
    }
    
    .beb-token-intro {
        padding: 30px 20px;
    }
    
    .hebe-intro {
        padding: 30px 15px;
    }
    
    .hebe-header {
        flex-direction: row;
        gap: 15px;
    }
    
    .hebe-logo {
        height: 50px;
    }
    
    .hebe-title {
        font-size: 1.2em;
    }
    
    .hebe-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hebe-card {
        padding: 25px;
    }
    
    .card-title {
        font-size: 1.1em;
    }
    
    .card-text {
        font-size: 0.9em;
    }
    
    .roadmap-section {
        padding: 30px 20px;
    }
    
    .rwa-flow {
        padding: 30px 20px;
    }
    
    .flow-title-wrapper {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .flow-logo {
        height: 50px;
    }
    
    .flow-title {
        font-size: 1.2em;
        margin-bottom: 0;
    }
    
    .flow-sections {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .positioning-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 15px;
    }
    
    .positioning-card {
        padding: 20px 0;
        margin-bottom: 24px;
    }
    
    .positioning-card h4 {
        font-size: 1em;
        margin-bottom: 12px;
    }
    
    .positioning-card ul li {
        font-size: 0.85em;
        line-height: 1.6;
        padding: 6px 0;
        padding-left: 20px;
    }
    
    .roadmap-sections {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 15px;
    }
    
    .roadmap-quarter {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .quarter-title {
        font-size: 1em;
        margin-bottom: 12px;
    }
    
    .quarter-items li {
        font-size: 0.85em;
        line-height: 1.6;
        padding: 6px 0;
        padding-left: 20px;
    }
    
    .intro-text {
        padding: 16px 20px;
    }
    
    .section-title {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
    
    .flow-diagram {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .flow-box {
        padding: 15px 20px;
        min-width: auto;
    }
    
    .flow-box span {
        font-size: 0.9em;
    }
    
    .flow-arrow,
    .flow-arrow-down {
        font-size: 1.3em;
    }
    
    .use-cases {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .use-case-box {
        padding: 12px 18px;
    }
    
    .use-case-title {
        font-size: 0.95em;
        min-width: 70px;
    }
    
    .use-case-arrow {
        font-size: 1.3em;
    }
    
    .use-case-desc {
        font-size: 0.9em;
    }
    
    .vision-section {
        padding: 30px 20px;
    }
    
    .summary-text {
        font-size: 0.95em;
    }
    
    .flow-summary {
        padding: 30px 20px;
        margin-top: 15px;
    }
    
    .description {
        font-size: 1.1em;
    }
    
    .description [data-i18n="welcome_desc_line1"] {
        font-size: 1.05em;
    }
    
    .description [data-i18n="welcome_desc_line2"] {
        font-size: 0.9em;
    }
    
    .header-right {
        gap: 6px;
        margin-right: 8px;
    }
    
    .network-badge {
        padding: 5px 8px;
        font-size: 10px;
        white-space: nowrap;
    }
    
    .lang-switch {
        gap: 3px;
        padding: 3px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
        min-width: 38px;
    }
    
    .wallet-info {
        padding: 5px 8px;
        gap: 6px;
        flex-wrap: nowrap;
    }
    
    #walletAddress {
        font-size: 0.8em;
        padding: 5px 8px;
        max-width: 100px;
    }
    
    .wallet-info .btn-secondary {
        padding: 5px 10px;
        font-size: 0.8em;
        white-space: nowrap;
    }
}

/* 更小屏幕字体与间距优化 */
@media (max-width: 480px) {
    .stats-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .stats-strip .label {
        font-size: 9px;
    }
    
    .stats-strip .value {
        font-size: 12px;
    }
    
    .intro-text {
        padding: 16px 0;
        margin: 16px 0 24px 0;
    }
    
    .intro-text p {
        font-size: 0.85em;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    
    .positioning-grid {
        gap: 10px;
        margin-top: 12px;
    }
    
    .positioning-card {
        padding: 16px 0;
        margin-bottom: 20px;
    }
    
    .positioning-card h4 {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    .positioning-card ul li {
        font-size: 0.8em;
        line-height: 1.5;
        padding: 5px 0;
        padding-left: 18px;
    }
    
    .beb-token-uses {
        gap: 10px 12px;
        padding-top: 6px;
    }

    .beb-use-item {
        padding: 6px 0;
    }
    
    .beb-use-text {
        font-size: 0.8em;
        line-height: 1.4;
        gap: 2px;
    }
    
    .roadmap-sections {
        gap: 12px;
        margin-top: 12px;
    }
    
    .roadmap-quarter {
        padding: 16px 0;
        margin-bottom: 16px;
    }
    
    .quarter-title {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    .quarter-items li {
        font-size: 0.8em;
        line-height: 1.5;
        padding: 5px 0;
        padding-left: 18px;
    }
    
    .welcome-card-layout {
        min-height: 300px;
    }
    
    .welcome-content {
        padding: 25px 15px;
    }
    
    .hero-visual {
        inset: -24px -12px auto -12px;
        height: 200px;
    }
    
    .hero-visual .grid-surface {
        bottom: -90px;
        height: 180px;
    }
    
    
    .rwa-highlights {
        padding: 25px 15px;
    }
    
    .rwa-content-wrapper {
        padding: 25px 0;
    }
    
    .beb-token-intro {
        padding: 25px 15px;
    }
    
    .hebe-intro {
        padding: 25px 10px;
    }
    
    .hebe-header {
        flex-direction: row;
        gap: 12px;
    }
    
    .hebe-logo {
        height: 40px;
    }
    
    .hebe-title {
        font-size: 1.1em;
    }
    
    .hebe-cards {
        gap: 20px;
    }
    
    .hebe-card {
        padding: 20px;
    }
    
    .card-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .card-title {
        font-size: 1em;
    }
    
    .card-text {
        font-size: 0.85em;
        line-height: 1.6;
    }
    
    .roadmap-section {
        padding: 25px 15px;
    }
    
    .rwa-flow {
        padding: 25px 15px;
    }
    
    .flow-title-wrapper {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .flow-logo {
        height: 40px;
    }
    
    .flow-title {
        font-size: 1.1em;
        margin-bottom: 0;
    }
    
    .flow-sections {
        gap: 25px;
    }
    
    .section-title {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    .flow-diagram {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .flow-box {
        padding: 12px 18px;
        min-width: auto;
    }
    
    .flow-box span {
        font-size: 0.85em;
    }
    
    .flow-arrow,
    .flow-arrow-down {
        font-size: 1.2em;
    }
    
    .use-cases {
        gap: 14px;
        margin-bottom: 15px;
    }
    
    .use-case-box {
        padding: 10px 15px;
        gap: 12px;
    }
    
    .use-case-title {
        font-size: 0.9em;
        min-width: 60px;
    }
    
    .use-case-arrow {
        font-size: 1.2em;
    }
    
    .use-case-desc {
        font-size: 0.85em;
    }
    
    .vision-section {
        padding: 25px 15px;
    }
    
    .summary-text {
        font-size: 0.9em;
        line-height: 1.7;
    }
    
    .flow-summary {
        padding: 25px 15px;
        margin-top: 15px;
    }
    
    .product-highlights {
        padding: 25px 15px;
    }
    
    .highlights-grid {
        padding: 0;
    }
    
    .how-it-works {
        padding: 25px 15px;
    }
    
    .ai-positioning {
        padding: 25px 15px;
    }
    
    header h1 {
        font-size: 1.6em;
    }
    .header-logo {
        height: 32px;
    }
    .card h2 {
        font-size: 1.2em;
    }
    .info-item .value {
        font-size: 1.3em;
    }
    #walletAddress {
        font-size: 0.8em;
        max-width: 150px;
    }
    .btn-primary, .btn-secondary, .btn-success, .btn-large {
        padding: 10px 18px;
        font-size: 0.95em;
        border-radius: 20px;
    }
    .referral-input-group textarea#referralLinkInput {
        font-size: 0.9em;
        line-height: 1.3;
    }
    .usdt-progress .value {
        font-size: 1.05em;
    }
    .description {
        font-size: 1em;
    }
    .description [data-i18n="welcome_desc_line1"] {
        font-size: 1em;
    }
    .description [data-i18n="welcome_desc_line2"] {
        font-size: 0.85em;
    }
    .header-right {
        gap: 4px;
        margin-right: 6px;
    }
    
    .network-badge {
        padding: 4px 6px;
        font-size: 9px;
        white-space: nowrap;
    }
    
    .lang-switch {
        gap: 2px;
        padding: 2px;
    }
    
    .lang-btn {
        padding: 4px 6px;
        font-size: 9px;
        min-width: 32px;
    }
    
    .wallet-info {
        padding: 4px 6px;
        gap: 4px;
        flex-wrap: nowrap;
    }
    
    #walletAddress {
        font-size: 0.7em;
        padding: 4px 6px;
        max-width: 80px;
    }
    
    .wallet-info .btn-secondary {
        padding: 4px 8px;
        font-size: 0.7em;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 汉堡菜单样式 */
.hamburger-menu-container {
    position: relative;
    z-index: 10000;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 10001;
    position: relative;
}

.hamburger-btn:hover {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-color: rgba(59,130,246,0.5);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* 菜单遮罩层 */
.hamburger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2147483646;
}

.hamburger-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #FFFFFF;
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(59,130,246,0.3);
    min-width: 280px;
    width: 90%;
    max-width: min(360px, calc(100vw - 40px));
    max-height: min(80vh, calc(100vh - 40px));
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0;
    backdrop-filter: none;
    z-index: 2147483647;
    overflow-y: auto;
    overflow-x: hidden;
}

.hamburger-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.hamburger-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #1F2937;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    position: relative;
    margin: 2px 0;
}

.hamburger-menu .menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3B82F6, #2563EB);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger-menu .menu-item:hover {
    background: rgba(59,130,246,0.08);
    color: #3B82F6;
    padding-left: 25px;
    transform: translateX(3px);
}

.hamburger-menu .menu-item:hover::before {
    opacity: 1;
}

.hamburger-menu .menu-item.active {
    background: rgba(59,130,246,0.12);
    border-left-color: #3B82F6;
    color: #3B82F6;
    padding-left: 23px;
}

.hamburger-menu .menu-item.active::before {
    opacity: 1;
}

.hamburger-menu .menu-item .bi-zh,
.hamburger-menu .menu-item .bi-en {
    display: block;
}

/* 菜单中的钱包信息 */
.menu-wallet-info {
    padding: 12px 20px;
    background: rgba(59,130,246,0.05);
    border-bottom: 1px solid rgba(59,130,246,0.2);
    margin-bottom: 0;
}

.menu-wallet-info.hidden {
    display: none;
}

.menu-wallet-address {
    margin-bottom: 10px;
}

.menu-wallet-address span {
    display: block;
    font-size: 0.8em;
    color: #3B82F6;
    background: rgba(59,130,246,0.1);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(59,130,246,0.3);
    font-family: 'Courier New', monospace;
    word-break: break-all;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.menu-wallet-address span:hover {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.5);
}

.menu-disconnect-btn {
    width: 100%;
    padding: 6px 12px;
    font-size: 0.8em;
    margin-top: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.menu-disconnect-btn:hover {
    background: rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.5);
    transform: translateY(-1px);
}

/* 菜单中的网络和语言切换 */
.menu-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(59,130,246,0.03);
    border-bottom: 1px solid rgba(59,130,246,0.2);
    margin-bottom: 0;
}

.menu-header-controls .network-badge {
    flex-shrink: 0;
    font-size: 11px;
    padding: 5px 10px;
    font-weight: 700;
}

.menu-header-controls .lang-switch {
    flex-shrink: 0;
    gap: 4px;
    padding: 3px;
}

.menu-header-controls .lang-switch .lang-btn {
    padding: 5px 10px;
    font-size: 11px;
    min-width: 42px;
    font-weight: 700;
}

/* 菜单分隔线 */
.menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
    margin: 12px 20px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .hamburger-menu {
        /* 保持电脑端样式：居中、圆角、阴影、边框 */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        width: 90%;
        max-width: min(360px, calc(100vw - 40px));
        max-height: min(80vh, calc(100vh - 40px));
        border-radius: 16px;
        padding: 0;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(59,130,246,0.3);
        border: 1px solid rgba(59,130,246,0.3);
    }

    .hamburger-menu.active {
        transform: translate(-50%, -50%) scale(1);
    }
    
    .hamburger-menu .menu-item {
        padding: 14px 20px;
        font-size: 0.95em;
    }
    
    .menu-header-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 20px;
    }
    
    .menu-header-controls .network-badge {
        width: auto;
        text-align: left;
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .menu-header-controls .lang-switch {
        width: auto;
        justify-content: flex-end;
        gap: 4px;
        padding: 3px;
    }
    
    .menu-header-controls .lang-switch .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 42px;
    }
    
    .menu-wallet-info {
        padding: 12px 20px;
    }
    
    .menu-wallet-address {
        margin-bottom: 10px;
    }
    
    .menu-wallet-address span {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .menu-disconnect-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .menu-divider {
        margin: 12px 20px;
    }
}