/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 防止任何元素被意外放大 */
html, body {
    zoom: 1 !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

/* 确保所有文本元素使用正确的字体大小 */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    line-height: inherit;
}

/* SVG 图标通用样式 */
svg {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

svg use {
    fill: currentColor;
}

/* 确保 SVG 图标不会超出容器 */
svg.feature-icon,
svg.badge-icon,
svg.btn-icon,
svg.xcc-icon,
svg.download-icon,
svg.inline-icon {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

/* XCC 图标特殊处理 - SVG 直接作为容器 */
svg.xcc-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    display: block !important;
    border-radius: 16px;
    margin-bottom: 12px;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
}

:root {
    /* 莫兰迪未来蓝绿色调 (Morandi Futuristic Blue-Green) */
    /* 品牌主色 */
    --primary: #7FA8A5;
    --primary-hover: #6FA29E;
    --accent: #8CBEBB;
    --accent-2: #6FA29E;
    --accent-3: #5C6F7B;
    
    /* 深色模式背景 */
    --bg-primary: #0C1115;
    --bg-secondary: #12171C;
    --bg-card: #12171C;
    
    /* 浅色模式背景（备用） */
    --bg-light: #E8ECEB;
    --bg-light-card: #D5D9D8;
    
    /* 文本颜色 */
    --text-primary: #D9E2E1;
    --text-secondary: #8CBEBB;
    --text-light: #2B3A39;
    
    /* 渐变 */
    --gradient-1: linear-gradient(135deg, #7FA8A5 0%, #8CBEBB 50%, #6FA29E 100%);
    --gradient-2: linear-gradient(135deg, #8CBEBB 0%, #6FA29E 50%, #5C6F7B 100%);
    --gradient-3: linear-gradient(135deg, #7FA8A5 0%, #5C6F7B 100%);
    
    /* 边框和阴影 */
    --border-color: rgba(127, 168, 165, 0.2);
    --shadow-glow: 0 0 40px rgba(127, 168, 165, 0.2);
    --shadow-glow-strong: 0 0 60px rgba(127, 168, 165, 0.3);
}

html {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    zoom: 1;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px !important;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    zoom: 1;
    transform: scale(1);
}

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

/* 背景动画 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(127, 168, 165, 0.25) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(140, 190, 187, 0.2) 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: 7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(111, 162, 158, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 17, 21, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.brand-logo {
    height: 32px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.brand-logo:hover {
    opacity: 0.85;
    filter: brightness(1.1);
}

/* 兼容旧版本的 emoji icon（如果 logo 加载失败） */
.brand-icon {
    font-size: 24px;
}

.brand-text {
    color: var(--primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 语言切换器 */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary);
    background: rgba(127, 168, 165, 0.1);
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-primary);
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 8px;
        padding-left: 8px;
        gap: 4px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* 主横幅 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(127, 168, 165, 0.15);
    border: 1px solid rgba(127, 168, 165, 0.3);
    border-radius: 24px;
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.hero-badge .badge-icon {
    color: var(--primary);
}

.badge-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    display: inline-block;
    vertical-align: middle;
    color: var(--primary);
    flex-shrink: 0;
    box-sizing: border-box;
}

.hero-title {
    font-size: 64px !important;
    font-weight: 800;
    line-height: 1.1 !important;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    max-width: 100%;
    word-wrap: break-word;
}

.gradient-text {
    color: var(--primary);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px !important;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6 !important;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
    background: var(--gradient-2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    display: inline-block;
    vertical-align: middle;
    color: currentColor;
    flex-shrink: 0;
    box-sizing: border-box;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 模拟界面 */
.hero-visual {
    position: relative;
    z-index: 2;
}

.mockup-container {
    perspective: 1000px;
}

.mockup-screen {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    border: 1px solid var(--border-color);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(18, 23, 28, 0.95) 100%);
}

.mockup-screen:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    justify-content: center;
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.mockup-content {
    display: flex;
    gap: 12px;
    min-height: 400px;
}

.mockup-sidebar {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.sidebar-item.active {
    background: var(--primary);
    opacity: 0.8;
}

.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-tweet {
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.mockup-mining-panel {
    margin-top: 12px;
    padding: 16px;
    background: rgba(127, 168, 165, 0.1);
    border: 1px solid rgba(127, 168, 165, 0.3);
    border-radius: 8px;
}

.mining-panel-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.mining-stats {
    display: flex;
    gap: 24px;
}

.mining-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mining-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.mining-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* 特性部分 */
.features {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px !important;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 100%;
    word-wrap: break-word;
}

.section-description {
    font-size: 20px !important;
    color: var(--text-secondary);
    max-width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(127, 168, 165, 0.5);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    display: block;
    margin-bottom: 16px;
    color: var(--primary);
    flex-shrink: 0;
    box-sizing: border-box;
}

.feature-title {
    font-size: 24px !important;
    font-weight: 700;
    margin-bottom: 12px;
    max-width: 100%;
    word-wrap: break-word;
}

.feature-description {
    font-size: 16px !important;
    color: var(--text-secondary);
    line-height: 1.6 !important;
    max-width: 100%;
}

/* XCC 系统 */
.xcc-system {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.xcc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.xcc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.xcc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.xcc-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.xcc-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    border-radius: 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.xcc-icon svg {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    color: var(--primary);
    display: block !important;
    box-sizing: border-box;
    flex-shrink: 0;
}

.xcc-icon.base {
    background: linear-gradient(135deg, rgba(127, 168, 165, 0.2) 0%, rgba(127, 168, 165, 0.1) 100%);
    border: 1px solid rgba(127, 168, 165, 0.3);
}

.xcc-icon.base svg {
    color: var(--primary);
}

.xcc-icon.action {
    background: linear-gradient(135deg, rgba(140, 190, 187, 0.2) 0%, rgba(140, 190, 187, 0.1) 100%);
    border: 1px solid rgba(140, 190, 187, 0.3);
}

.xcc-icon.action svg {
    color: var(--accent);
}

.xcc-icon.growth {
    background: linear-gradient(135deg, rgba(111, 162, 158, 0.2) 0%, rgba(111, 162, 158, 0.1) 100%);
    border: 1px solid rgba(111, 162, 158, 0.3);
}

.xcc-icon.growth svg {
    color: var(--accent-2);
}

.xcc-card-header h3 {
    font-size: 24px !important;
    font-weight: 700;
    margin-bottom: 4px;
    max-width: 100%;
    word-wrap: break-word;
}

.xcc-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.xcc-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.xcc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.xcc-action {
    color: var(--text-secondary);
}

.xcc-reward {
    font-weight: 600;
    color: var(--primary);
}

.xcc-levels {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
}

.levels-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.levels-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.level-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.level-item:hover {
    transform: translateY(-4px);
    border-color: rgba(127, 168, 165, 0.5);
}

.level-item.highlight {
    background: var(--gradient-1);
    border-color: transparent;
}

.level-number {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.level-requirement {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.level-bonus {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.level-item.highlight .level-number,
.level-item.highlight .level-requirement,
.level-item.highlight .level-bonus {
    color: white;
}

.settlement-info {
    margin-top: 48px;
    padding: 32px;
    background: rgba(127, 168, 165, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.settlement-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.settlement-info p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* 下载部分 */
.download {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-header {
    margin-bottom: 48px;
}

.download-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-description {
    font-size: 20px;
    color: var(--text-secondary);
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    text-align: left;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(127, 168, 165, 0.5);
}

.download-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    display: block;
    color: var(--primary);
    flex-shrink: 0;
    box-sizing: border-box;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-version {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.download-size {
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-download {
    background: var(--gradient-1);
    color: var(--bg-primary);
    padding: 20px 40px;
    font-size: 18px;
    box-shadow: var(--shadow-glow);
    font-weight: 600;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
    background: var(--gradient-2);
}

.download-requirements {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    text-align: left;
}

.download-requirements h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-requirements ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-requirements li {
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.download-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.download-note {
    padding: 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.inline-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    display: inline-block;
    vertical-align: middle;
    color: currentColor;
    flex-shrink: 0;
    margin-right: 4px;
    box-sizing: border-box;
}

/* 页脚 */
.footer {
    position: relative;
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .nav-links {
        gap: 16px;
        font-size: 14px;
    }

    .features-grid,
    .xcc-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

