:root {
    --bg-black: #000000;
    --bg-dark: #070707;
    --bg-card: rgba(20, 20, 20, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --accent: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --success: #00d54b;
    --nav-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- 背景装饰 --- */
.glow-blob {
    position: absolute; height: 600px;
    background: radial-gradient(circle, rgba(0, 213, 75, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%; z-index: -1; pointer-events: none;
    filter: blur(80px);
}
.glow-1 { top: -100px; right: -100px; }
.glow-2 { top: 40%; left: -200px; background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%); }
.glow-3 { bottom: -100px; right: 10%; }

/* 揭示动画 */
.reveal { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* 导航栏 */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border); z-index: 3000;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; text-decoration: none; color: #fff; }
.logo-box { width: 24px;
    height: 24px;
    background-image: url('icon/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);}

.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* 语言切换器 */
.lang-selector { position: relative; }
.lang-btn {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: #fff;
    padding: 8px 16px; border-radius: 100px; cursor: pointer;
    display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
}
.lang-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0; width: 140px;
    background: #1a1a1a; border: 1px solid var(--border); border-radius: 12px;
    display: none; box-shadow: 0 20px 50px rgba(0,0,0,0.8); z-index: 3100;
}
.lang-dropdown.show { display: block; }
.lang-dropdown a { display: block; padding: 12px 16px; color: var(--text-secondary); text-decoration: none; font-size: 13px; }
.lang-dropdown a:hover { background: #222; color: #fff; }
.lang-dropdown a.active { color: var(--success); }

/* --- Hero Section --- */
.hero-section { padding: 180px 0 60px; position: relative; }
.hero-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 60px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.05; margin-bottom: 28px; letter-spacing: -4px; }
.hero h1 span { color: #555; display: block; }
.hero p { max-width: 600px; color: var(--text-secondary); font-size: 19px; line-height: 1.6; margin-bottom: 48px; }

/* Badge */
.badge {
    display: inline-flex; align-items: center; gap: 10px; background: rgba(0, 213, 75, 0.1);
    padding: 8px 16px; border-radius: 100px; font-size: 13px; color: var(--success);
    margin-bottom: 32px; border: 1px solid rgba(0, 213, 75, 0.2); backdrop-filter: blur(10px);
}
.dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; box-shadow: 0 0 10px var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* Referral Box */
.referral-box { 
    background: rgba(255,255,255,0.03); border: 1px solid var(--border); 
    padding: 12px 24px; border-radius: 12px; display: flex; align-items: center; gap: 16px; 
}
.referral-code { font-family: 'Inter', monospace; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.copy-btn { background: none; border: none; color: var(--text-secondary); cursor: pointer; transition: 0.2s; padding: 4px; }
.copy-btn:hover { color: #fff; transform: scale(1.1); }

#market {margin-top: 60px;}

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.stat-item {
    background: rgba(255,255,255,0.02); padding: 24px 16px; border-radius: 16px;
    border: 1px solid var(--border); text-align: center; transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stat-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(0, 213, 75, 0.4); transform: translateY(-5px); }
.stat-num { font-size: 28px; font-weight: 800; margin-bottom: 4px; color: #fff; letter-spacing: -1px; }
.stat-label { font-size: 10px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* Floating Card */
.floating-card {
    width: 300px; height: 500px; background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.01));
    border-radius: 30px; border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px); transform: rotateY(-20deg) rotateX(10deg);
    animation: float 6s ease-in-out infinite; box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    margin: auto;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(-20deg) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateY(-15deg) rotateX(5deg); }
}

/* Market Ticker */
.glass-panel { background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 20px; }
.market-ticker { display: flex; justify-content: space-around; padding: 24px; gap: 20px; flex-wrap: wrap; }
.ticker-item { display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.ticker-name { font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.ticker-price { font-size: 20px; font-weight: 800; color: #fff; }
.ticker-change.up { color: var(--success); }
.ticker-change.down { color: #ff3b30; }

/* Sections */
section { padding: 66px 0; position: relative; overflow: hidden; }
section.alt-bg { background-color: var(--bg-dark); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: -2px; }
.section-header p { color: var(--text-secondary); font-size: 17px; max-width: 700px; margin: 0 auto; }

/* Grid 3 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: var(--bg-card); padding: 48px 40px; border-radius: 32px; border: 1px solid var(--border); transition: 0.5s; backdrop-filter: blur(15px); position: relative; overflow: hidden; }
.card:hover { border-color: var(--success); transform: translateY(-5px); }
.card-icon-styled { width: 56px; height: 56px; background: rgba(0, 213, 75, 0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; color: var(--success); }
.card h3 { margin-bottom: 16px; font-size: 20px; }
.card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* Steps */
.steps-container { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 40px; }
.step-item { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.step-num-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--success); color: #000; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin-bottom: 24px; box-shadow: 0 0 20px rgba(0,213,75,0.4); }
.step-divider { flex: 0.2; height: 2px; background: var(--border); margin-top: 24px; position: relative; }

/* Security Tower */
.security-layout { display: grid; grid-template-columns: 0.6fr 1.4fr; align-items: center; gap: 80px; }
.tower-base { position: relative; width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; }
.tower-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0,213,75,0.2) 0%, transparent 70%); animation: pulse 4s infinite; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.sec-item h4 { margin-bottom: 8px; color: #fff; }
.sec-item p { font-size: 14px; color: var(--text-secondary); }

/* App Layout */
.app-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.app-text h2 { font-size: 42px; font-weight: 800; margin-bottom: 24px; letter-spacing: -2px; }
.app-features { list-style: none; margin: 32px 0; }
.app-features li { margin-bottom: 16px; font-size: 16px; display: flex; align-items: center; gap: 12px; color: var(--text-secondary); }

/* Phone Frame */
.app-mockup { perspective: 1200px; display: flex; justify-content: center; }
.phone-frame {
    width: 300px; height: 610px; background: #000;
    border: 10px solid #1a1a1a; border-radius: 54px;
    position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.9), inset 0 0 10px rgba(255,255,255,0.1);
    padding: 10px; overflow: hidden; transform: rotateY(-5deg) rotateX(2deg); transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone-frame:hover { transform: rotateY(0) rotateX(0); }
.dynamic-island {
    position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 24px; background: #000; border-radius: 20px; z-index: 100;
}
.phone-screen {
    width: 100%; height: 100%; background: #000; border-radius: 38px;
    overflow-y: hidden; display: flex; flex-direction: column; gap: 12px; padding-top: 40px;
}
.mock-header { display: flex; justify-content: space-between; padding: 0 20px; align-items: center; }
.mock-search { width: 140px; height: 12px; background: #222; border-radius: 6px; }
.mock-bell { width: 16px; height: 16px; background: #222; border-radius: 4px; }
.mock-balance-card { margin: 0 20px; padding: 20px; background: linear-gradient(135deg, #111, #1a1a1a); border-radius: 16px; border: 1px solid #333; }
.mock-label { font-size: 10px; color: #666; margin-bottom: 4px; }
.mock-amount { font-size: 24px; font-weight: 800; color: #fff; }
.mock-chart-container { margin: 0 20px; padding: 16px; background: #0a0a0a; border-radius: 16px; border: 1px solid #1a1a1a; }
.mock-chart-title { font-size: 10px; color: #444; margin-bottom: 8px; }
.mock-chart-main { height: 60px; position: relative; }
.chart-line {
    position: absolute; bottom: 10px; left: 0; width: 100%; height: 2px;
    background: var(--success); box-shadow: 0 0 15px var(--success);
    transform: skewY(-8deg); animation: chart-pulse 4s infinite ease-in-out;
}
@keyframes chart-pulse { 0%, 100% { transform: skewY(-8deg) translateY(0); } 50% { transform: skewY(-12deg) translateY(-5px); } }

.mock-list { display: flex; flex-direction: column; gap: 1px; background: #111; margin-top: 10px; }
.mock-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: #000; }
.coin-icon { width: 28px; height: 28px; background: #1a1a1a; border-radius: 50%; }
.coin-info { flex: 1; display: flex; flex-direction: column; }
.coin-info span { font-size: 13px; font-weight: 700; }
.coin-info small { font-size: 9px; color: #555; }
.coin-price { text-align: right; }
.coin-price span { font-size: 13px; font-weight: 700; display: block; }
.coin-price small.up { color: var(--success); font-size: 9px; }
.coin-price small.down { color: #ff3b30; font-size: 9px; }

/* Partners */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 20px; }
.partner-logo { font-size: 20px; font-weight: 800; color: #333; text-align: center; letter-spacing: 1px; }

/* FAQ Module */
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,0.02); transition: 0.3s; overflow: hidden; }
.faq-toggle { width: 100%; padding: 24px 32px; background: none; border: none; color: #fff; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 17px; }
.faq-content { max-height: 0; overflow: hidden; transition: 0.4s cubic-bezier(0.2, 0, 0.2, 1); padding: 0 32px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.faq-item.is-expanded { border-color: var(--success); background: rgba(0, 213, 75, 0.03); }
.faq-item.is-expanded .faq-content { max-height: 300px; padding: 0 32px 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 40px; border-radius: 12px; font-weight: 700; transition: 0.3s; font-size: 16px; border: none; cursor: pointer; text-decoration: none; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: var(--success); transform: scale(1.02); }
.cta-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-referral-bak {
    background: #ffffffaa;
    color: #000;
}

/* Footer */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); text-align: center; }
.footer-copy { font-size: 14px; color: #444; margin-bottom: 24px; }
.risk-warning { font-size: 11px; color: #333; max-width: 900px; margin: 32px auto 0; line-height: 1.8; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout, .security-layout, .app-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-visual, .security-visual { display: none; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-container { flex-direction: column; align-items: center; }
    .step-divider { display: none; }
    .cta-group { justify-content: center; }
}
@media (max-width: 640px) {
    .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}