/* ========================================
   Ack-AI 高端商务风格界面 - 专业版
   商务级AI展示平台 | Professional AI Showcase
   ======================================== */

:root {
    /* 主色调系统 - 专业商务蓝 */
    --primary-blue: #3b82f6;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    
    /* 中性色系 */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    /* 功能色 */
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-accent: linear-gradient(135deg, #8b5cf6, #ec4899);
    
    /* 阴影系统 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* 模糊效果 */
    --blur-sm: 4px;
    --blur-md: 8px;
    --blur-lg: 16px;
    
    /* 动画时间 */
    --transition-fast: 0.15s;
    --transition-medium: 0.3s;
    --transition-slow: 0.5s;
    
    /* 字体系统 */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

/* ========================================
   全局样式重置
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: var(--neutral-100);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   动态背景系统
   ======================================== */
.background-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.geometric-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float-gentle 20s ease-in-out infinite;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.element-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation-delay: -7s;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 80%;
    left: 20%;
    animation-delay: -14s;
}

.element-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation-delay: -10s;
}

@keyframes float-gentle {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(20px, -30px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-10px, 20px) rotate(180deg) scale(0.9); }
    75% { transform: translate(30px, 10px) rotate(270deg) scale(1.05); }
}

.light-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.light-beam {
    position: absolute;
    background: var(--gradient-secondary);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse-glow 8s ease-in-out infinite;
}

.beam-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.beam-2 {
    width: 400px;
    height: 400px;
    bottom: -5%;
    left: -5%;
    animation-delay: -3s;
}

.beam-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.03; transform: scale(1); }
    50% { opacity: 0.08; transform: scale(1.2); }
}

/* ========================================
   主容器
   ======================================== */
.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    backdrop-filter: blur(var(--blur-sm));
}

/* ========================================
   顶部导航栏
   ======================================== */
.top-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(var(--blur-lg));
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    animation: nav-slide-down 1s ease-out;
}

@keyframes nav-slide-down {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform var(--transition-medium) ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--neutral-400);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--neutral-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-medium) ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-medium) ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--neutral-100);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link:hover::before {
    width: 80%;
}

/* ========================================
   英雄区域
   ======================================== */
.hero-section {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    animation: hero-fade-in 1.5s ease-out;
}

@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    animation: slide-from-left 1s ease-out 0.3s both;
}

@keyframes slide-from-left {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.4); }
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.title-line-1 {
    display: block;
    color: var(--neutral-100);
    animation: title-reveal 1s ease-out 0.5s both;
}

.title-line-2 {
    display: block;
    color: var(--neutral-200);
    animation: title-reveal 1s ease-out 0.7s both;
}

.title-line-3 {
    display: block;
    font-size: 0.6em;
    color: var(--neutral-400);
    margin-top: 0.5rem;
    animation: title-reveal 1s ease-out 0.9s both;
}

.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes title-reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--neutral-300);
    line-height: 1.7;
    margin-bottom: 3rem;
    animation: fade-up 1s ease-out 1.1s both;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: stats-reveal 1s ease-out 1.3s both;
}

@keyframes stats-reveal {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    font-family: var(--font-mono);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--neutral-400);
    margin-top: 0.5rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: actions-reveal 1s ease-out 1.5s both;
}

@keyframes actions-reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-medium) ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   右侧可视化区域
   ======================================== */
.hero-right {
    animation: slide-from-right 1s ease-out 0.5s both;
}

@keyframes slide-from-right {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.visualization-container {
    position: relative;
    height: 600px;
}

.ai-brain {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-core {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-ring {
    position: absolute;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: rotate-ring 20s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary-blue);
    animation-duration: 20s;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-right-color: var(--accent-purple);
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border-left-color: var(--accent-cyan);
    animation-duration: 10s;
}

@keyframes rotate-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.core-center {
    background: var(--gradient-primary);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
    animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.neural-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.5);
    cursor: pointer;
    transition: all var(--transition-medium) ease;
    animation: node-float 6s ease-in-out infinite;
}

.node::before {
    content: attr(data-skill);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--neutral-400);
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--transition-medium) ease;
}

.node:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

.node:hover::before {
    opacity: 1;
}

.node-1 { top: 10%; left: 50%; animation-delay: 0s; }
.node-2 { top: 30%; right: 10%; animation-delay: -1s; }
.node-3 { bottom: 30%; right: 20%; animation-delay: -2s; }
.node-4 { bottom: 10%; left: 50%; animation-delay: -3s; }
.node-5 { bottom: 30%; left: 10%; animation-delay: -4s; }
.node-6 { top: 30%; left: 20%; animation-delay: -5s; }

@keyframes node-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    animation: card-float 8s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.card-1 { top: 20%; right: 20%; animation-delay: 0s; }
.card-2 { bottom: 40%; left: 10%; animation-delay: -3s; }
.card-3 { top: 60%; right: 30%; animation-delay: -6s; }

@keyframes card-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neutral-200);
}

/* ========================================
   访问入口区域
   ======================================== */
.access-portal {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(51, 65, 85, 0.3));
    backdrop-filter: blur(var(--blur-sm));
}

.portal-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.portal-header {
    margin-bottom: 4rem;
}

.portal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.title-en {
    display: block;
    color: var(--neutral-100);
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-zh {
    display: block;
    font-size: 1.2rem;
    color: var(--neutral-400);
    margin-top: 0.5rem;
}

.portal-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-300);
}

.access-interface {
    position: relative;
}

.interface-frame {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-2xl);
}

.frame-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-purple);
    opacity: 0.6;
}

.corner-tl {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
    border-radius: 20px 0 0 0;
}

.corner-tr {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 20px 0 0;
}

.corner-bl {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 20px;
}

.corner-br {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 20px 0;
}

.input-section {
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 2rem;
}

.input-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
}

#access-key {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: var(--neutral-100);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--transition-medium) ease;
    outline: none;
}

#access-key:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(30, 41, 59, 0.9);
}

#access-key::placeholder {
    color: var(--neutral-500);
}

.input-line {
    height: 2px;
    background: rgba(59, 130, 246, 0.2);
    margin-top: 0.5rem;
    border-radius: 1px;
    overflow: hidden;
}

.line-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    transition: width var(--transition-medium) ease;
}

#access-key:focus + .input-line .line-progress {
    width: 100%;
}

.access-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 1.2rem 2rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-medium) ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.access-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-background {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow) ease;
}

.access-btn:hover .btn-background {
    left: 100%;
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.system-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.status-indicators {
    display: flex;
    gap: 1rem;
}

.indicator {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.indicator::before {
    content: attr(data-label);
    font-size: 0.7rem;
    color: var(--neutral-500);
    font-weight: 500;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neutral-600);
    transition: all var(--transition-medium) ease;
}

.indicator.active .indicator-dot {
    background: var(--success-green);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    animation: status-pulse 2s ease-in-out infinite;
}

.indicator.standby .indicator-dot {
    background: var(--warning-orange);
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 0.9rem;
    color: var(--neutral-400);
}

.status-value {
    color: var(--primary-light);
    font-weight: 600;
}

/* ========================================
   底部信息栏
   ======================================== */
.bottom-footer {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(var(--blur-md));
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-info {
    color: var(--neutral-400);
    font-size: 0.9rem;
}

.copyright {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.icp-info {
    font-size: 0.8rem;
    opacity: 0.8;
}

.tech-badges {
    display: flex;
    gap: 1rem;
}

.tech-badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ========================================
   模态框系统
   ======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    margin-bottom: 2rem;
}

.logo-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.logo-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

.ring-outer {
    width: 100%;
    height: 100%;
    border-color: var(--primary-blue) transparent transparent transparent;
}

.ring-middle {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: transparent var(--accent-purple) transparent transparent;
    animation-duration: 2s;
    animation-direction: reverse;
}

.ring-inner {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: transparent transparent var(--accent-cyan) transparent;
    animation-duration: 1.5s;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}

.loading-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-100);
    margin-bottom: 0.5rem;
}

.loading-subtitle {
    font-size: 1rem;
    color: var(--neutral-400);
    margin-bottom: 2rem;
}

.loading-progress {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    height: 4px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0%;
    animation: progress-fill 3s ease-in-out;
}

@keyframes progress-fill {
    to { width: 100%; }
}

.progress-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: var(--font-mono);
}

.success-modal, .error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(var(--blur-lg));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8888;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium) ease;
}

.success-modal.show, .error-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 400px;
    box-shadow: var(--shadow-2xl);
    animation: modal-slide-up 0.5s ease-out;
}

@keyframes modal-slide-up {
    from { transform: translateY(50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.success-icon, .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-title, .error-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-title {
    color: var(--success-green);
}

.error-title {
    color: var(--error-red);
}

.success-subtitle, .error-subtitle {
    color: var(--neutral-300);
    margin-bottom: 2rem;
}

.modal-close {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium) ease;
}

.modal-close:hover {
    transform: translateY(-2px);
}

/* ========================================
   微信二维码弹窗样式
   ======================================== */
.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium) ease;
}

.wechat-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(var(--blur-lg));
    cursor: pointer;
}

.wechat-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    animation: wechat-modal-slide-up 0.4s ease-out;
    text-align: center;
}

@keyframes wechat-modal-slide-up {
    from { 
        transform: translate(-50%, -50%) translateY(30px) scale(0.9); 
        opacity: 0; 
    }
    to { 
        transform: translate(-50%, -50%) translateY(0) scale(1); 
        opacity: 1; 
    }
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--error-red);
    transition: all var(--transition-medium) ease;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.wechat-header {
    margin-bottom: 1.5rem;
}

.wechat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.wechat-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.wechat-header p {
    color: var(--neutral-300);
    font-size: 0.9rem;
}

.qrcode-container {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-lg);
}

.qrcode-container img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: contain;
}

.wechat-tips {
    margin-top: 1.5rem;
    text-align: left;
}

.wechat-tips p {
    color: var(--neutral-400);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.wechat-tips p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 - 微信弹窗 */
@media (max-width: 480px) {
    .wechat-modal-content {
        padding: 1.5rem;
        max-width: 320px;
    }
    
    .wechat-icon {
        font-size: 2rem;
    }
    
    .wechat-header h3 {
        font-size: 1.3rem;
    }
    
    .qrcode-container img {
        max-width: 180px;
        height: auto;
        object-fit: contain;
    }
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 6rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .access-portal {
        padding: 4rem 1rem;
    }
    
    .interface-frame {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .portal-title .title-en {
        font-size: 2rem;
    }
    
    .tech-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}