/* XAI Official Website - Created for 𝕏AI DeFi Project */

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

:root {
    /* AIMint Design System Colors - 基于参考项目 */
    --primary-blue: hsl(217, 91%, 60%);      /* 主要蓝色 - 专业、科技感 */
    --primary-cyan: hsl(189, 94%, 43%);      /* 主要青色 - 创新、活力 */
    --primary-purple: hsl(244, 83%, 58%);    /* 主要紫色 - 神秘、AI感 */
    --primary-indigo: hsl(239, 84%, 67%);    /* 主要靛蓝 - 深度学习色 */
    
    /* AIM参考配色系统 */
    --background: hsl(0, 0%, 100%);          /* 白色背景 */
    --foreground: hsl(222, 84%, 5%);         /* 深色前景 */
    --card: hsl(0, 0%, 100%);                /* 卡片背景 */
    --card-foreground: hsl(222, 84%, 5%);    /* 卡片文字 */
    --border: hsl(214, 32%, 91%);            /* 边框色 */
    --ring: hsl(217, 91%, 60%);              /* 焦点环 */
    
    /* 品牌色彩扩展 */
    --blue-600: hsl(217, 91%, 60%);
    --blue-500: hsl(217, 91%, 65%);
    --blue-50: hsl(214, 100%, 97%);
    --cyan-500: hsl(189, 94%, 43%);
    --cyan-50: hsl(183, 100%, 96%);
    --purple-500: hsl(244, 83%, 58%);
    --indigo-600: hsl(239, 84%, 67%);
    --indigo-500: hsl(239, 84%, 72%);
    --indigo-50: hsl(239, 100%, 97%);
    --teal-500: hsl(172, 82%, 42%);
    --slate-50: hsl(210, 40%, 98%);
    --gray-900: hsl(222, 84%, 5%);
    --gray-600: hsl(215, 16%, 47%);
    --gray-500: hsl(215, 13%, 65%);
    
    /* 主要渐变组合 - AIM风格 */
    --gradient-blue-indigo: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(239, 84%, 67%));
    --gradient-blue-cyan: linear-gradient(135deg, hsl(217, 91%, 65%), hsl(189, 94%, 43%));
    --gradient-purple-indigo: linear-gradient(135deg, hsl(244, 83%, 58%), hsl(239, 84%, 67%));
    --gradient-cyan-teal: linear-gradient(135deg, hsl(189, 94%, 43%), hsl(172, 82%, 42%));
    --gradient-indigo-purple: linear-gradient(135deg, hsl(239, 84%, 67%), hsl(244, 83%, 58%));
    
    /* 背景渐变系统 - 浅色主题 */
    --bg-slate-blue: linear-gradient(135deg, hsl(210, 40%, 98%), hsl(214, 100%, 97%));
    --bg-slate-indigo: linear-gradient(135deg, hsl(210, 40%, 98%), hsl(239, 100%, 97%));
    --bg-white-blue: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(214, 100%, 97%));
    --bg-white-cyan: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(183, 100%, 96%));
    
    /* 现代背景系统 */
    --light-bg: hsl(0, 0%, 100%);           /* 纯白背景 */
    --light-secondary: hsl(210, 40%, 98%);   /* 浅灰背景 */
    --card-bg: hsl(0, 0%, 100%);           /* 卡片背景 */
    --glass-bg: rgba(255, 255, 255, 0.8);  /* 玻璃效果 */
    
    /* 文本色彩系统 - 明亮主题 */
    --text-primary: hsl(222, 84%, 5%);      /* 主要文本 */
    --text-secondary: hsl(215, 16%, 47%);   /* 次要文本 */
    --text-muted: hsl(215, 13%, 65%);       /* 弱化文本 */
    --text-accent: hsl(189, 94%, 43%);      /* 强调色文本 */
    
    /* 功能色彩 */
    --success-color: hsl(142, 76%, 36%);    /* 翠绿色 */
    --warning-color: hsl(38, 92%, 50%);     /* 警告黄 */
    --error-color: hsl(0, 84%, 60%);        /* 错误红 */
    
    /* 增强阴影系统 */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-3xl: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
    
    /* 现代卡片阴影 */
    --elevation-1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --elevation-2: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --elevation-3: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    --elevation-4: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    --elevation-5: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
    
    /* 霓虹发光效果 */
    --glow-blue: 0 0 20px hsl(217, 91%, 60%, 0.5), 0 0 40px hsl(217, 91%, 60%, 0.3);
    --glow-cyan: 0 0 20px hsl(189, 94%, 43%, 0.5), 0 0 40px hsl(189, 94%, 43%, 0.3);
    --glow-purple: 0 0 20px hsl(244, 83%, 58%, 0.5), 0 0 40px hsl(244, 83%, 58%, 0.3);
    
    /* 玻璃态效果增强 */
    --backdrop-blur: blur(16px);
    --backdrop-saturate: saturate(180%);
    --border-glass: 1px solid rgba(255, 255, 255, 0.18);
    --bg-glass-light: rgba(255, 255, 255, 0.25);
    --bg-glass-dark: rgba(0, 0, 0, 0.25);
    
    /* 3D变换原点 */
    --transform-origin: center center;
    
    /* 动画时间函数 */
    --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 全局3D优化 */
* {
    transform-style: preserve-3d;
}

/* 增强型浮动动画 */
@keyframes float3d {
    0%, 100% { 
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    25% { 
        transform: translateY(-10px) rotateX(2deg) rotateY(1deg);
    }
    50% { 
        transform: translateY(-20px) rotateX(0deg) rotateY(-1deg);
    }
    75% { 
        transform: translateY(-10px) rotateX(-2deg) rotateY(1deg);
    }
}

/* 立体脉冲动画 */
@keyframes pulse3d {
    0%, 100% { 
        transform: scale(1) rotateX(0deg);
        box-shadow: var(--elevation-2);
    }
    50% { 
        transform: scale(1.05) rotateX(5deg);
        box-shadow: var(--elevation-4);
    }
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    background-image: 
        radial-gradient(circle at 25% 25%, hsl(217, 91%, 60%, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, hsl(244, 83%, 58%, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, hsl(189, 94%, 43%, 0.03) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-glass-light);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.navbar.scrolled {
    background: var(--card);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.logo-image:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--gradient-blue-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px hsl(189, 94%, 43%, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, hsl(189, 94%, 43%, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, hsl(217, 91%, 60%, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, hsl(244, 83%, 58%, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, hsl(239, 84%, 67%, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 10% 90%, hsl(172, 82%, 42%, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, hsl(189, 94%, 43%, 0.1) 0%, transparent 40%);
    animation: pulse3d 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    z-index: 2;
}

.hero-video {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    font-family: 'Orbitron', monospace;
    background: var(--gradient-blue-indigo);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 20px hsl(217, 91%, 60%, 0.3);
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9/16;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--elevation-4);
    background: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1), 
        rgba(6, 182, 212, 0.1));
    pointer-events: none;
    border-radius: inherit;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.video-container:hover .video-overlay {
    opacity: 0.2;
}

.video-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        var(--elevation-4),
        0 0 30px rgba(59, 130, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: var(--elevation-2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-blue-indigo);
    color: white;
    box-shadow: var(--elevation-3), var(--glow-blue);
    border: var(--border-glass);
}

.btn-primary:hover {
    transform: translateY(-5px) rotateX(3deg) scale(1.08);
    box-shadow: var(--elevation-4), var(--glow-blue);
    background: var(--gradient-blue-cyan);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--cyan-500);
    border: 2px solid var(--cyan-500);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
}

.btn-secondary:hover {
    background: var(--gradient-cyan-teal);
    color: white;
    border-color: transparent;
    transform: translateY(-5px) rotateX(3deg) scale(1.08);
    box-shadow: var(--elevation-3), var(--glow-cyan);
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    color: var(--cyan-500);
    text-shadow: 0 0 20px hsl(189, 94%, 43%, 0.4);
    transition: all 0.4s var(--ease-out-back);
    transform-origin: center center;
}

.stat-number:hover {
    transform: scale(1.2) rotateY(15deg);
    color: var(--blue-500);
    text-shadow: 0 0 30px hsl(217, 91%, 60%, 0.6);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Section Styles */
section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-blue-indigo);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-shadow: 0 0 30px hsl(217, 91%, 60%, 0.4);
}

/* Features Section */
.features {
    background: var(--light-secondary);
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-25px) rotateX(8deg) rotateY(8deg) scale(1.02);
    box-shadow: var(--elevation-5), var(--glow-cyan);
    border-color: var(--cyan-500);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-icon {
    font-size: 3rem;
    color: var(--cyan-500);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px hsl(189, 94%, 43%, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Ecosystem Section */
.ecosystem {
    background: var(--light-bg);
    padding: 3rem 0;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.ecosystem-card {
    background: var(--card);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.ecosystem-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ecosystem-card.active {
    border-color: var(--cyan-500);
    background: linear-gradient(135deg, hsl(189, 94%, 43%, 0.1), hsl(172, 82%, 42%, 0.05));
    box-shadow: var(--elevation-3), var(--glow-cyan);
}

.ecosystem-card.active::after {
    background: var(--gradient-secondary);
    transform: scaleX(1);
}

.ecosystem-card.testing {
    border-color: var(--purple-500);
    background: linear-gradient(135deg, hsl(244, 83%, 58%, 0.1), hsl(239, 84%, 67%, 0.05));
    box-shadow: var(--elevation-2), var(--glow-purple);
}

.ecosystem-card.testing::after {
    background: var(--gradient-accent);
    transform: scaleX(0.7);
}

.ecosystem-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(3deg) scale(1.03);
    box-shadow: var(--elevation-4), var(--glow-blue);
    border-color: var(--blue-500);
}

.ecosystem-card:hover::after {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--blue-500);
    text-shadow: 0 0 10px hsl(217, 91%, 60%, 0.3);
}

.card-header h3 {
    flex: 1;
    font-size: 1.3rem;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
}

.testing-status {
    background: var(--accent-color);
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.card-link.disabled {
    background: #666;
    cursor: not-allowed;
}

/* Download Section */
.download {
    background: var(--bg-slate-indigo);
    padding: 3rem 0;
}

.download-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.download-info {
    max-width: 600px;
    margin: 0 auto;
}

.download-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contract-info {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.contract-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%,
        rgba(147, 51, 234, 0.1) 100%);
    padding: 0.8rem;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: hsl(189, 94%, 43%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contract-address:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.copy-btn {
    background: linear-gradient(135deg, hsl(189, 94%, 43%), hsl(217, 91%, 60%));
    border: none;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.copy-btn:hover {
    background: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(244, 83%, 58%));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.btn-download {
    background: var(--gradient-blue-indigo);
    color: white;
}

.btn-web {
    background: var(--gradient-cyan-teal);
    color: white;
}

/* Demo Screenshots Section */
.demo {
    background: var(--bg-white-blue);
    padding: 3rem 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.demo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.demo-phone-mockup {
    position: relative;
    width: 200px;
    height: 400px;
    margin-bottom: 1.5rem;
    background: transparent;
    border-radius: 30px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    border: none;
    background-clip: padding-box;
    animation: float3d 6s ease-in-out infinite;
    perspective: 1000px;
    transition: all 0.6s var(--ease-out-back);
}

.demo-phone-mockup:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
    animation-play-state: paused;
}



.demo-phone-screen {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.demo-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    transition: all 0.4s ease;
}

.demo-phone-mockup:hover .demo-screenshot {
    transform: scale(1.02);
}

.demo-content {
    text-align: center;
    max-width: 100%;
}

.demo-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-blue-indigo);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.demo-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    background: var(--light-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.demo-features li:hover {
    color: var(--cyan-500);
    background: var(--blue-50);
    transform: translateY(-2px);
}

.demo-features i {
    color: var(--cyan-500);
    font-size: 0.8rem;
    width: 12px;
    text-align: center;
}

/* 移除之前的大图样式 */
.demo-card:nth-child(even) {
    direction: initial;
}

.demo-card:nth-child(even) .demo-content {
    direction: initial;
    text-align: center;
}

.demo-image-container,
.demo-image,
.demo-overlay {
    display: none;
}

/* Responsive Demo Layout */
@media (max-width: 968px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-card {
        padding: 2rem;
    }
    
    .demo-phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .demo-content h4 {
        font-size: 1.25rem;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .demo {
        padding: 3rem 0;
    }
    
    .demo-card {
        padding: 1.5rem;
    }
    
    .demo-phone-mockup {
        width: 180px;
        height: 360px;
        margin-bottom: 1.5rem;
        padding: 0;
        border-radius: 25px;
    }
    
    .demo-phone-screen {
        border-radius: 25px;
    }
    
    .demo-screenshot {
        border-radius: 25px;
    }
    
    .demo-content h4 {
        font-size: 1.2rem;
    }
    
    .demo-content p {
        font-size: 0.9rem;
    }
}

/* Community Section */
.community {
    background: var(--light-secondary);
    padding: 3rem 0;
}

.community-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.community-card {
    background: var(--card);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    padding: 1.5rem 1.2rem;
    border-radius: 18px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        var(--shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    min-height: 140px;
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateZ(0);
    animation: cardFloat 4s ease-in-out infinite;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--cyan-500));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: inherit;
    transform: scale(1.1);
}

.community-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.community-card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(2deg) scale(1.05);
    border-color: var(--primary-blue);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 30px hsl(217, 91%, 60%, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    animation: none;
}

.community-card:hover::before {
    opacity: 0.12;
    transform: scale(1);
}

.community-card:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.community-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.6rem;
    text-shadow: 0 0 15px hsl(217, 91%, 60%, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: iconPulse 2s ease-in-out infinite;
}

.community-card:hover i {
    color: var(--cyan-500);
    text-shadow: 0 0 25px hsl(189, 94%, 43%, 0.6);
    transform: scale(1.15) rotateY(15deg) translateZ(10px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.community-card h3 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.community-card:hover h3 {
    transform: translateY(-2px);
}

.community-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.community-card:hover p {
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Specific social media colors */
.community-card:nth-child(1) i {
    color: var(--primary-blue);
}

.community-card:nth-child(1):hover i {
    color: hsl(217, 91%, 50%);
}

.community-card:nth-child(2) i {
    color: hsl(203, 89%, 53%);
}

.community-card:nth-child(2):hover i {
    color: hsl(203, 89%, 40%);
}

.community-card:nth-child(3) i {
    color: hsl(200, 100%, 50%);
}

.community-card:nth-child(3):hover i {
    color: hsl(200, 100%, 40%);
}

.community-card:nth-child(4) i {
    color: hsl(200, 100%, 50%);
}

.community-card:nth-child(4):hover i {
    color: hsl(200, 100%, 40%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, 
        hsl(217, 91%, 8%) 0%,
        hsl(189, 94%, 12%) 50%,
        hsl(244, 83%, 15%) 100%);
    color: var(--light-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, 
        rgba(0, 212, 255, 0.05) 0%, 
        transparent 50%),
    radial-gradient(circle at 80% 20%, 
        rgba(147, 51, 234, 0.05) 0%, 
        transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    background: linear-gradient(135deg, hsl(189, 94%, 43%), hsl(217, 91%, 60%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--slate-50);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--cyan-500);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-glass-dark);
    border-radius: 50%;
    color: var(--cyan-500);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--cyan-500);
}

.social-links a:hover {
    background: var(--cyan-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--slate-50);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 1rem 0; /* 增加顶部padding避免导航栏遮挡 */
        min-height: 100vh;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        justify-items: center;
    }

    .hero-content {
        text-align: center;
        order: 2;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        line-height: 1.5;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 140px;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .stat {
        flex: 0 0 auto;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
        margin-top: 0.2rem;
    }

    .hero-video {
        order: 1;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .video-container {
        max-width: 240px;
        width: 80vw;
        aspect-ratio: 9/16;
        height: auto;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Sections */
    section {
        padding: 1.5rem 0;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .feature-card {
        padding: 1rem;
        text-align: center;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }

    /* Ecosystem */
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .ecosystem-card {
        padding: 1rem;
    }

    .ecosystem-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .ecosystem-card p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .card-link {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    /* Demo */
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .demo-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .demo-phone-mockup {
        width: 120px;
        height: 240px;
        margin: 0 auto 1rem auto;
        order: 1;
    }

    .demo-content {
        order: 2;
    }

    .demo-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .demo-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .demo-features li {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    /* Community */
    .community-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
        max-width: none;
    }

    .community-card {
        padding: 1.2rem 0.8rem;
        min-height: 120px;
        width: calc(50% - 0.4rem);
        border-radius: 14px;
    }

    .community-card i {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .community-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .community-card p {
        font-size: 0.75rem;
    }

    .community-card:hover {
        transform: translateY(-6px) scale(1.02);
    }

    /* Download */
    .download-content {
        padding: 1rem;
        text-align: center;
    }

    .download-info h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .download-info p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .download-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--card);
        backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease-in-out;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        margin: 0.5rem 0;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 90%;
        text-align: center;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--primary-blue);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Language Switcher in Mobile */
    .language-switcher {
        margin: 1rem 0;
        margin-left: 0;
        width: 90%;
    }

    .language-switcher select {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 1rem;
    }

    /* Footer Mobile Optimization */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .footer-section ul li {
        margin-bottom: 0.3rem;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .footer-section ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }

    .footer-bottom p {
        margin-bottom: 0.3rem;
        line-height: 1.4;
    }
}

.footer-section {
    color: var(--slate-50);
}

.footer-section p {
    color: var(--slate-50);
    line-height: 1.6;
}

/* Language Switcher */
.language-switcher {
    margin-left: 1rem;
}

.language-switcher select {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: var(--backdrop-blur);
    outline: none;
}

.language-switcher select:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px hsl(217, 91%, 60%, 0.1);
}

.language-switcher select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px hsl(217, 91%, 60%, 0.2);
}

/* Extra small screens */
@media (max-width: 480px) {
    /* Global compact settings */
    section {
        padding: 1rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    /* Community - 2x2 grid layout */
    .community-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0 0.5rem;
    }

    .community-card {
        padding: 0.8rem 0.6rem;
        min-height: auto;
        height: 110px;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .community-card i {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .community-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
        line-height: 1.1;
    }

    .community-card p {
        font-size: 0.65rem;
        line-height: 1.2;
    }

    .community-card:hover {
        transform: translateY(-3px) scale(1.01);
    }

    /* Features - 2x4 grid layout */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .feature-card {
        padding: 0.8rem 0.5rem;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.6rem;
    }

    .feature-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .feature-card p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    /* Ecosystem - 2x3 grid layout */
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .ecosystem-card {
        padding: 0.8rem;
    }

    .ecosystem-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .ecosystem-card p {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }

    .card-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    /* Download section compact */
    .download-content {
        padding: 0.8rem;
    }

    .download-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .download-info p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 0.6rem;
    }

    .download-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.9rem;
        font-size: 0.85rem;
    }

    /* Tokenomics compact */
    .supply-info {
        padding: 1rem 1.5rem;
        margin: 0 0.8rem;
    }

    .supply-value {
        font-size: 1.6rem;
    }

    .distribution-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .distribution-card {
        padding: 0.6rem 0.4rem;
        height: auto;
    }

    .card-content h4 {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }

    .card-stats .percentage {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }

    .card-stats .amount {
        font-size: 0.6rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }

    .highlight-item {
        padding: 0.25rem 0;
        gap: 0.3rem;
        text-align: center;
        flex-direction: column;
    }

    .highlight-item span {
        font-size: 0.65rem;
        line-height: 1.1;
    }

    .highlight-item i {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }

    /* Ultra compact footer for small screens */
    .footer {
        padding: 1.5rem 0 0.8rem;
    }

    .footer-content {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section {
        padding: 0 0.5rem;
    }

    .footer-section:first-child {
        order: 1;
    }

    .footer-section:nth-child(4) {
        order: 2;
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        order: 3;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-section ul {
        gap: 0.3rem 0.8rem;
    }

    .footer-section ul li a {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
    }

    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.75rem;
    }
}

/* Community card animations */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.community-card {
    animation: cardFloat 4s ease-in-out infinite;
}

.community-card:nth-child(1) {
    animation-delay: 0s;
}

.community-card:nth-child(2) {
    animation-delay: 0.5s;
}

.community-card:nth-child(3) {
    animation-delay: 1s;
}

.community-card:nth-child(4) {
    animation-delay: 1.5s;
}

.community-card:hover {
    animation: none;
}

.community-card i {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Tokenomics Section - Compact Layout */
.tokenomics {
    background: var(--bg-white-blue);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.tokenomics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.03), 
        rgba(6, 182, 212, 0.02));
    z-index: 0;
}

.tokenomics-compact {
    position: relative;
    z-index: 1;
}

/* Supply Header - Compact */
.supply-header {
    text-align: center;
    margin-bottom: 2rem;
}

.supply-info {
    display: inline-block;
    background: var(--card);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.supply-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    background: var(--gradient-blue-indigo);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
}

.supply-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Main Grid Layout */
.tokenomics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Chart Container */
.chart-container {
    background: var(--card);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.chart-wrapper {
    position: relative;
    height: 250px;
    margin-bottom: 1rem;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-item.burned .legend-color {
    background: linear-gradient(135deg, hsl(14, 100%, 57%), hsl(21, 100%, 50%));
}

.legend-item.bsc .legend-color {
    background: linear-gradient(135deg, hsl(45, 93%, 58%), hsl(32, 95%, 44%));
}

.legend-item.mining .legend-color {
    background: linear-gradient(135deg, hsl(142, 76%, 36%), hsl(158, 64%, 52%));
}

.legend-item span {
    color: var(--text-secondary);
    flex: 1;
}

.legend-item strong {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

/* Info Container */
.info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Distribution Cards - Compact */
.distribution-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.distribution-card {
    background: var(--card);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.distribution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.distribution-card.burned::before {
    background: linear-gradient(135deg, hsl(14, 100%, 57%), hsl(21, 100%, 50%));
}

.distribution-card.bsc::before {
    background: linear-gradient(135deg, hsl(45, 93%, 58%), hsl(32, 95%, 44%));
}

.distribution-card.mining::before {
    background: linear-gradient(135deg, hsl(142, 76%, 36%), hsl(158, 64%, 52%));
}

.distribution-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.distribution-card:hover::before {
    opacity: 0.05;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.distribution-card.burned .card-icon {
    background: linear-gradient(135deg, hsl(14, 100%, 57%), hsl(21, 100%, 50%));
}

.distribution-card.bsc .card-icon {
    background: linear-gradient(135deg, hsl(45, 93%, 58%), hsl(32, 95%, 44%));
}

.distribution-card.mining .card-icon {
    background: linear-gradient(135deg, hsl(142, 76%, 36%), hsl(158, 64%, 52%));
}

.card-icon i {
    font-size: 1.2rem;
    color: white;
}

.card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.card-stats {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-stats .percentage {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.distribution-card.burned .percentage {
    color: hsl(14, 100%, 57%);
}

.distribution-card.bsc .percentage {
    color: hsl(45, 93%, 58%);
}

.distribution-card.mining .percentage {
    color: hsl(142, 76%, 36%);
}

.card-stats .amount {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Orbitron', monospace;
}

/* Highlights Compact */
.highlights-compact {
    background: var(--card);
    backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.highlights-compact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-blue-indigo);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(5px);
}

.highlight-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.highlight-item:nth-child(1) i {
    color: hsl(14, 100%, 57%);
}

.highlight-item:nth-child(2) i {
    color: hsl(280, 100%, 70%);
}

.highlight-item:nth-child(3) i {
    color: hsl(142, 76%, 36%);
}

.highlight-item span {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Mobile responsive styles for tokenomics */
@media (max-width: 768px) {
    .tokenomics {
        padding: 2rem 0;
    }
    
    .supply-info {
        padding: 1rem 1.5rem;
        margin: 0 1rem;
    }
    
    .supply-value {
        font-size: 1.8rem;
    }
    
    .supply-label {
        font-size: 0.8rem;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chart-wrapper {
        height: 180px;
    }
    
    .chart-container {
        padding: 0.8rem;
        order: 2;
    }
    
    .info-container {
        order: 1;
        gap: 0.8rem;
    }
    
    .distribution-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .distribution-card {
        padding: 0.8rem 0.5rem;
        text-align: center;
        flex-direction: column;
    }

    .card-icon {
        width: 30px;
        height: 30px;
        margin: 0 auto 0.5rem auto;
    }

    .card-content h4 {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .card-stats .percentage {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }

    .card-stats .amount {
        font-size: 0.65rem;
    }
    
    .card-icon {
        width: 35px;
        height: 35px;
    }
    
    .card-icon i {
        font-size: 1rem;
    }
    
    .card-content h4 {
        font-size: 0.9rem;
    }
    
    .card-stats .percentage {
        font-size: 1.1rem;
    }
    
    .card-stats .amount {
        font-size: 0.9rem;
    }
    
    .highlights-compact {
        padding: 0.8rem;
    }
    
    .highlights-compact h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    .highlight-item {
        padding: 0.3rem 0;
        gap: 0.4rem;
        text-align: center;
        flex-direction: column;
    }
    
    .highlight-item span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .highlight-item i {
        font-size: 1rem;
        width: auto;
        margin-bottom: 0.2rem;
    }
}

@media (max-width: 480px) {
    .supply-info {
        margin: 0 0.5rem;
        padding: 0.8rem 1rem;
    }
    
    .supply-value {
        font-size: 1.5rem;
    }
    
    .chart-wrapper {
        height: 180px;
    }
    
    .legend-item {
        font-size: 0.8rem;
        gap: 0.6rem;
    }
    
    .legend-color {
        width: 14px;
        height: 14px;
    }
    
    .distribution-card {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .card-stats .percentage {
        font-size: 1rem;
    }
    
    .card-stats .amount {
        font-size: 0.8rem;
    }
    
    /* Hero Video Mobile Adjustments */
    .hero {
        min-height: 100vh;
        padding: 120px 0 1rem 0; /* 增加顶部padding避免导航栏遮挡 */
        margin-top: 0;
    }

    .hero-grid {
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        max-width: 95%;
    }

    .hero-buttons {
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
        min-width: 120px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .video-container {
        max-width: 280px;
        width: 90vw;
        aspect-ratio: 9/16;
        height: auto;
    }
}

/* Ultra small screens - Hero optimization */
@media (max-width: 360px) {
    .hero {
        min-height: 100vh;
        padding: 100px 0 1rem 0; /* 增加顶部padding避免导航栏遮挡 */
        margin-top: 0;
    }

    .hero-grid {
        gap: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.7rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        max-width: 100%;
        line-height: 1.4;
    }

    .hero-buttons {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        min-width: 160px;
        width: 100%;
        max-width: 200px;
    }

    .hero-stats {
        gap: 1.2rem;
        justify-content: space-around;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .video-container {
        max-width: 250px;
        width: 85vw;
        aspect-ratio: 9/16;
        height: auto;
    }

    /* Features even more compact */
    .feature-card {
        padding: 0.6rem 0.4rem;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 0.5rem;
    }

    .feature-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .feature-card p {
        font-size: 0.7rem;
        line-height: 1.1;
    }

    /* Ecosystem ultra compact */
    .ecosystem-card {
        padding: 0.6rem;
    }

    .ecosystem-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .ecosystem-card p {
        font-size: 0.65rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

    .card-link {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    /* Community ultra compact */
    .community-card {
        padding: 0.6rem 0.4rem;
        height: 100px;
    }

    .community-card i {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .community-card h3 {
        font-size: 0.75rem;
        margin-bottom: 0.15rem;
    }

    .community-card p {
        font-size: 0.6rem;
        line-height: 1.1;
    }

    /* Tokenomics ultra compact */
    .distribution-cards {
        gap: 0.3rem;
    }

    .distribution-card {
        padding: 0.5rem 0.3rem;
    }

    .card-icon {
        width: 25px;
        height: 25px;
        margin-bottom: 0.3rem;
    }

    .card-content h4 {
        font-size: 0.6rem;
        margin-bottom: 0.15rem;
    }

    .card-stats .percentage {
        font-size: 0.85rem;
    }

    .card-stats .amount {
        font-size: 0.55rem;
    }
}

/* Hero Badge Styles */
.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.chain-badge {
    background: linear-gradient(135deg, 
        hsl(244, 83%, 58%), 
        hsl(239, 84%, 67%));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Orbitron', monospace;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
    animation: chainGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.chain-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shine 2s infinite;
}

.launch-date {
    background: linear-gradient(135deg, 
        hsl(189, 94%, 43%), 
        hsl(217, 91%, 60%));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes chainGlow {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
    }
    50% { 
        box-shadow: 0 8px 35px rgba(147, 51, 234, 0.7), 
                    0 0 40px rgba(147, 51, 234, 0.3);
    }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile adjustments for hero badge */
@media (max-width: 768px) {
    .hero-badge {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .chain-badge {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .launch-date {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        margin: 1rem 0;
    }
    
    .chain-badge {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .launch-date {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}
