/* EUINC.LTD - 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #030712;
    color: #f3f4f6; /* 提高整体正文颜色亮度 (gray-200) */
    margin: 0;
    overflow-x: hidden;
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 玻璃卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 移动菜单激活状态 */
.mobile-menu-active {
    display: flex !important;
}

/* 移动菜单背景锁定 */
body.menu-open {
    overflow: hidden;
}

/* 强制下拉菜单选项背景色（修复 Chrome/Safari 默认白色背景问题） */
select option {
    background-color: #0f172a !important;
    color: white !important;
}

/* 选中高亮 */
::selection {
    background-color: rgba(59, 130, 246, 0.3);
}

/* 链接悬停 */
a {
    transition: color 0.2s ease;
}

/* 按钮基础 */
button {
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 输入框 */
input, select, textarea {
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff; /* 纯白文字提高对比度 */
    outline: none;
    transition: border-color 0.2s ease;
    font-size: 14px;
}

input:focus, select:focus, textarea:focus {
    border-color: #3b82f6;
}

/* 工具提示 */
.tooltip {
    position: relative;
}

.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 简单的进入动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.4s ease-out forwards;
}