/* === 1. 全局基础设置 === */
* { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif; }
html {
    scroll-behavior: smooth; 
}

body {
    background-color: #0F172A;
    color: #94A3B8;
    overflow-x: hidden;
}

.gradient-bg { background: #0F172A !important; }


.glass-card {
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(30, 41, 59, 0.9);
    transition: all 0.3s ease;
}


h1, h2, h3, h4, .text-white { 
    color: #F8FAFC !important; 
}
p, .text-gray-300, .text-gray-400, .text-gray-500 { 
    color: #94A3B8 !important; 
}

.hero-content h1 {
    font-size: 3.5rem;      
    font-weight: 800;       
    color: #ffffff;         
    line-height: 1.2;       
    margin-bottom: 1.5rem;  
}


.hero-content p {
    font-size: 1.5rem;
    color: #3B82F6; 
    font-weight: 500;
}


@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem; 
    }
}



button.bg-primary {
    background-color: #3B82F6 !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    border: none !important;
}
button.bg-primary:hover {
    background-color: #2563EB !important;
    transform: translateY(-1px);
}

/* (B) 下载按钮 (iOS/安卓) - 强效高亮版 */
.bg-dark-light, 
button[class*="border-gray-700"] {
    
    background: rgba(59, 130, 246, 0.15) !important; 
    
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
   
    border: 1px solid rgba(59, 130, 246, 0.5) !important; 
    
   
    color: #F8FAFC !important;
    
    /* 阴影 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* 鼠标放上去的效果 */
.bg-dark-light:hover,
button[class*="border-gray-700"]:hover {
    background: rgba(59, 130, 246, 0.3) !important; /* 悬停变更亮 */
    border-color: #60A5FA !important; /* 边框变亮蓝 */
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); /* 发光 */
    transform: translateY(-2px);
}

/* === 5. 边框修正 (防止页脚出现小方块) === */
/* 只针对页脚或者非按钮的边框，强制背景透明 */
div.border-gray-700, div.border-gray-800 {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: transparent !important; 
}

/* === 6. 其他组件 === */
.feature-icon {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60A5FA;
}

/* 手机模型 */
.app-phone {
    border: 8px solid #334155;
    background: #020617;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}
.app-phone::before { background: #334155; }
.app-phone .bg-gray-900 { background: #0F172A !important; }
.app-phone .bg-gray-800 { background: #1E293B !important; border: 1px solid rgba(255,255,255,0.05); }

/* 导航与页脚 */
nav.glass-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
footer {
    background: #020617 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}

@media (max-width: 768px) {
    .app-phone { border-width: 5px; }
}
::selection { background: #3B82F6; color: white; }