/* =========================================
   1. Base & Premium Typography Variables
   ========================================= */
:root {
    --bg-color: #020305; 
    --card-bg: #070a0f;
    --accent-blue: #0ea5e9;
    --accent-blue-rgb: 14, 165, 233;
    --accent-green: #10b981;
    --accent-green-rgb: 16, 185, 129;
    --text-primary: #ffffff;
    --text-secondary: #8b99a8; 
    --text-muted: #4b5563;
    
    --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, monospace;
    --transition-standard: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0; padding: 0; background-color: var(--bg-color);
    color: var(--text-primary); font-family: var(--font-main); line-height: 1.7; overflow-x: hidden;
    background: radial-gradient(circle at top, rgba(14, 165, 233, 0.05), transparent 45%), var(--bg-color);
    background-attachment: fixed;
}

::-webkit-scrollbar { width: 0px; background: transparent; }

h1, h2.section-title, .logo, .nav-links a, .panel-tag, .step-num, .tag-v2, .core-initialize-data, .badge-verified, .demo-instruction, .lang-selector {
    font-weight: 200 !important;
    letter-spacing: 5px !important;
    text-transform: uppercase !important;
}

/* =========================================
   2. Navbar & Language Selector Layout
   ========================================= */
.navbar { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 2rem 5%; position: fixed; top: 0; width: 100%; z-index: 100; 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02); 
}
.logo { color: var(--text-primary); font-size: 1.05rem; }
.nav-container-right { display: flex; align-items: center; gap: 3rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 2.5rem; font-size: 0.72rem; transition: var(--transition-standard); }
.nav-links a:hover { color: var(--text-primary); }

/* 极简多语言样式 */
.lang-selector { display: flex; gap: 0.8rem; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 2px !important;}
.lang-btn { cursor: pointer; transition: var(--transition-standard); }
.lang-btn.active, .lang-btn:hover { color: var(--text-primary); font-weight: 400 !important; }

section { padding: 10rem 5% 6rem 5%; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 3rem; color: var(--text-primary); }

/* =========================================
   3. Premium Hero Section
   ========================================= */
.hero-section { text-align: center; padding-top: 14rem; position: relative; animation: breathe 8s ease-in-out infinite; }
@keyframes breathe {
    0% { filter: drop-shadow(0 0 0 rgba(14, 165, 233, 0)); }
    50% { filter: drop-shadow(0 -10px 40px rgba(14, 165, 233, 0.04)); }
    100% { filter: drop-shadow(0 0 0 rgba(14, 165, 233, 0)); }
}

.hero-content { position: relative; z-index: 10; max-width: 1000px; margin: 0 auto; }
.hero-logo-container { margin-bottom: 2rem; }
.hero-logo-img { width: 90px; height: 90px; border-radius: 24px; object-fit: cover; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); border: 1px solid rgba(255,255,255,0.03); }

.hero-main-title {
    font-size: 4.6rem; font-weight: 200; letter-spacing: -1px !important; line-height: 1.12;
    margin: 0 auto 3rem auto; color: var(--text-primary); text-transform: none !important;
}

/* =========================================
   3.5 Neural Core Wrapper & Philosophy
   ========================================= */
.neural-core-wrapper { position: relative; width: 100%; max-width: 800px; height: 420px; margin: 3rem auto 0 auto; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#canvas-container { width: 100%; height: 100%; position: absolute; top: 0; left: 0; cursor: crosshair; border-radius: 24px; overflow: hidden; -webkit-mask-image: radial-gradient(circle, white 45%, transparent 100%); mask-image: radial-gradient(circle, white 45%, transparent 100%); }
#canvas-container canvas { display: block; width: 100% !important; height: 100% !important; }

.core-initialize-data { position: absolute; bottom: 0rem; font-family: var(--font-mono); color: var(--text-muted); font-size: 0.65rem; opacity: 0.3; z-index: 20; }
.hero-philosophy { margin-top: 5rem; font-size: 0.75rem; letter-spacing: 8px; color: rgba(255,255,255,0.28); font-weight: 300; z-index: 20; position: absolute; bottom: -4rem; }

/* =========================================
   4. Architecture Header & Manifesto Grid
   ========================================= */
.architecture-header { text-align: center; max-width: 750px; margin: 0 auto 5rem auto; }
.section-subtitle, .panel-desc, .why-desc, .manifesto-text p, .crypto-list li, .auth-step-v3 p, footer p { font-weight: 300 !important; letter-spacing: 1.5px !important; color: var(--text-secondary); }
.section-subtitle { font-size: 1.15rem; line-height: 1.7; margin-top: 1.5rem; }

.security-manifesto-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto 8rem auto; }
.manifesto-card { background: rgba(255, 255, 255, 0.01); border: 1px solid rgba(255, 255, 255, 0.02); border-radius: 16px; padding: 2rem; display: flex; gap: 1.5rem; align-items: flex-start; }
.manifesto-icon { font-family: var(--font-mono); color: rgba(255,255,255,0.3); font-weight: 200; font-size: 0.9rem; background: rgba(255, 255, 255, 0.02); width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.manifesto-text h4 { font-size: 0.95rem; margin: 0 0 0.4rem 0; color: var(--text-primary); font-weight: 500; letter-spacing: 1px; }
.manifesto-text p { font-size: 0.88rem; margin: 0; line-height: 1.5; }

/* =========================================
   5. Technical Detail Rows
   ========================================= */
.architecture-rows { display: flex; flex-direction: column; gap: 4rem; }
.security-row { display: flex; align-items: center; justify-content: space-between; gap: 5rem; padding: 3rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.02); }
.security-row.reverse { flex-direction: row-reverse; border-bottom: none;}
.row-text { flex: 1; } .row-visual { flex: 1; width: 100%; }

.panel-tag { color: var(--text-muted); font-size: 0.7rem; margin-bottom: 1.2rem; }
.row-text h3 { margin: 0 0 1rem 0; font-size: 1.6rem; color: var(--text-primary); font-weight: 400; }
.panel-desc { font-size: 0.95rem; line-height: 1.7; margin: 0; }

.crypto-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.crypto-list li { font-family: var(--font-mono); font-size: 0.8rem; padding: 1rem 1.2rem; background: rgba(255, 255, 255, 0.02); border-radius: 8px; display: flex; align-items: center; }
.cross { color: rgba(255,255,255,0.2); margin-right: 15px; font-size: 0.9rem; }

.auth-steps-v3 { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.02); padding: 2rem; border-radius: 12px; }
.auth-step-v3 { flex: 1; text-align: center; }
.auth-step-v3 .step-num { color: rgba(255,255,255,0.3); font-size: 0.65rem; margin-bottom: 0.6rem; }
.auth-step-v3 h4 { margin: 0 0 0.3rem 0; font-size: 0.9rem; font-weight: 500;}
.auth-step-v3 p { margin: 0; font-size: 0.75rem; }
.auth-line { width: 25px; height: 1px; background: rgba(255,255,255,0.05); margin: 0 0.5rem; }

/* =========================================
   6. Why GhostCore Section
   ========================================= */
.why-section { text-align: center; padding-top: 4rem; padding-bottom: 6rem;}
.why-content { max-width: 700px; margin: 0 auto; }
.why-subtitle { font-size: 1.6rem; font-weight: 400; margin-bottom: 2rem; color: var(--text-primary); letter-spacing: -0.5px;}
.why-desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 3.5rem; }
.why-punchlines { display: flex; flex-direction: column; gap: 0.8rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px;}
.punch-line-highlight { margin-top: 1.5rem; color: var(--text-primary); font-weight: 700; letter-spacing: 3px;}

/* =========================================
   7. Interactive Demo Section & Responsive Card Fix
   ========================================= */
.demo-wrapper { text-align: center; padding: 4rem 0 3rem 0; }
.demo-instruction { color: rgba(255,255,255,0.3); font-size: 0.75rem; margin-bottom: 4rem; }
.demo-flex-container { display: flex; justify-content: center; position: relative; width: 100%; padding: 0 1.5rem; }
.perspective-wrapper { perspective: 1200px; width: 100%; display: flex; justify-content: center; }

/* 深度优化：移动端全响应，杜绝溢出爆框 */
.secret-card-v2 {
    position: relative; width: 100%; max-width: 400px; height: 520px; background-color: #040508;
    border-radius: 20px; padding: 4rem 2.5rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.03); cursor: crosshair;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, border-color 0.6s ease;
    transform-style: preserve-3d; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.scanlines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.005) 51%); background-size: 100% 4px; pointer-events: none; z-index: 1; }
.card-glow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(255,255,255, 0.03), transparent 60%); opacity: 0.1; transition: opacity 0.6s; z-index: 2; }
.card-glare { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, transparent 45%); opacity: 0; pointer-events: none; z-index: 11; transition: opacity 0.6s ease; }
.blur-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background-color: rgba(2, 3, 5, 0.8); z-index: 10; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

.card-content { position: relative; z-index: 12; height: 100%; display: flex; flex-direction: column; justify-content: space-between; transform: translateZ(30px); }
.lock-v2 { display: flex; justify-content: center; margin-bottom: 2rem; }
.lock-body { width: 70px; height: 70px; background: rgba(255, 255, 255, 0.01); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.6s ease; box-shadow: inset 0 0 15px rgba(0,0,0,0.5); }
.premium-lock { width: 24px; height: 24px; color: rgba(255,255,255,0.15); transition: all 0.6s ease; }
.lock-shackle { transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: left bottom;}

.scramble-group { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; text-align: center;}
.scramble-text { color: rgba(255, 255, 255, 0.1); transition: color 0.6s; font-family: var(--font-main); }
.scramble-group h3 { font-size: 1.1rem; margin-bottom: 1rem; font-weight: 500; letter-spacing: 0.5px;}
.scramble-group p { font-size: 0.85rem; line-height: 1.6; }

.card-tags { display: flex; justify-content: center; gap: 8px; margin-top: auto; }
.tag-v2 { font-size: 0.6rem; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.3); border-radius: 4px; }

.perspective-wrapper:hover .secret-card-v2 { box-shadow: 0 30px 70px rgba(255, 255, 255, 0.02), 0 0 0 1px rgba(255, 255, 255, 0.08); border-color: transparent; }
.perspective-wrapper:hover .card-glow { opacity: 1; }
.perspective-wrapper:hover .card-glare { opacity: 1; }
.perspective-wrapper:hover .blur-overlay { backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); background-color: transparent; pointer-events: none; }
.perspective-wrapper:hover .lock-body { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 10px rgba(255,255,255, 0.02); }
.perspective-wrapper:hover .premium-lock { color: rgba(255,255,255,0.7); }
.perspective-wrapper:hover .lock-shackle { transform: translateY(-3px); }
.perspective-wrapper:hover .scramble-text { color: var(--text-primary); }
.perspective-wrapper:hover .scramble-group p { color: var(--text-secondary); }
.perspective-wrapper:hover .tag-v2 { border-color: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.8); }

/* =========================================
   8. Footer & Multi-Device Fluid Adaptation Engine
   ========================================= */
footer { text-align: center; padding: 4rem 5%; color: var(--text-muted); font-size: 0.75rem; border-top: 1px solid rgba(255,255,255,0.02); display: flex; flex-direction: column; gap: 1rem; }
.footer-info { display: flex; justify-content: center; align-items: center; gap: 2rem; font-size: 0.65rem; opacity: 0.4; }
.badge-verified { color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.1); padding: 3px 8px; border-radius: 4px; }

@media (max-width: 1024px) { 
    .security-row, .security-row.reverse { flex-direction: column; align-items: flex-start; padding: 3rem 0; gap: 2rem; } 
    .row-text, .row-visual { flex: none; width: 100%; } 
}
@media (max-width: 900px) {
    .hero-main-title { font-size: 3.2rem; }
    .security-manifesto-grid { grid-template-columns: 1fr; gap: 1rem; }
}
/* 针对手机窄屏的绝对高级微调适配 */
@media (max-width: 768px) {
    .navbar { padding: 1.2rem 5%; flex-direction: row; justify-content: space-between; }
    .nav-container-right { gap: 1.5rem; }
    .nav-links a { margin-left: 1rem; font-size: 0.68rem; letter-spacing: 2px !important; }
    .lang-selector { gap: 0.5rem; font-size: 0.65rem; }
    .hero-section { padding-top: 12rem; }
}
@media (max-width: 600px) {
    .neural-core-wrapper { height: 300px; }
    .hero-philosophy { bottom: -2.5rem; font-size: 0.65rem; letter-spacing: 5px !important; }
    .secret-card-v2 { height: 480px; padding: 3rem 1.8rem; }
}
@media (max-width: 480px) {
    .hero-main-title { font-size: 2.2rem; line-height: 1.2; letter-spacing: -0.5px !important; }
    .section-title { font-size: 1.6rem; letter-spacing: 3px !important; }
    .why-subtitle { font-size: 1.3rem; }
    .auth-steps-v3 { flex-direction: column; gap: 1.5rem; text-align: center; padding: 1.5rem; } 
    .auth-line { display: none; } 
}