/* ----------------------------------------------------
   极地狐狸 Tundra 现代化着陆页样式 (styles.css)
   支持玻璃拟物化、动态渐变、微动画
---------------------------------------------------- */

:root {
    /* 颜色系统 */
    --bg-color: #0b0f19;
    --primary: #00f0ff;
    --secondary: #7000ff;
    --text-main: #f0f4f8;
    --text-muted: #8a99a8;
    
    /* 玻璃面板变量 */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 动态背景光晕跟随鼠标 */
body::before {
    content: '';
    position: fixed;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

/* ====== Glassmorphism 基础类 ====== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* ====== 顶部导航栏 ====== */
.glass-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
}

.logo {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 32px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* ====== 首屏 Hero Section ====== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    position: relative;
}

/* 浮动的渐变光球 */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--secondary);
    filter: blur(120px);
    opacity: 0.4;
    top: 15%;
    left: 20%;
    z-index: -1;
    animation: float 8s ease-in-out infinite alternate;
}

.glow-orb.orb-2 {
    background: var(--primary);
    top: 40%;
    left: 60%;
    animation-delay: -4s;
    opacity: 0.3;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 70px;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #b04aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 下载按钮区域 */
.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 52px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-color);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, #7000ff, #00f0ff);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.5);
}

.pulse-btn {
    position: relative;
}

.pulse-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 100px;
    border: 2px solid var(--text-main);
    opacity: 0;
    animation: pulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0; }
}

.btn-secondary.pulse-btn::after {
    border: 2px solid var(--primary);
}

.version-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ====== 软件UI模拟预览 ====== */
.app-preview {
    width: 100%;
    max-width: 600px;
    padding: 0;
    overflow: hidden;
    /* 3D 透视效果 */
    transform: perspective(1000px) rotateX(8deg) translateY(-20px);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-preview:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 30px;
}

.mockup-status {
    color: #00f0ff;
    font-family: monospace;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 600;
}

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

.mockup-item {
    background: rgba(255,255,255,0.03);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.mockup-item:hover {
    background: rgba(255,255,255,0.06);
}

.mockup-item.active {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.key {
    background: #1a2235;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: bold;
    border: 1px solid #2a354f;
    box-shadow: 0 4px 0 #0f1423;
}

/* ====== 功能特性 & 使用步骤 ====== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
}

.features, .steps-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
}

/* 使用步骤 */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-num {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: -30px;
    right: 10px;
    line-height: 1;
    z-index: 0;
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.step p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* ====== 页脚 ====== */
footer {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.2);
}

/* ====== 响应式适配 ====== */
@media (max-width: 768px) {
    .glass-nav {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
    }
    .hero {
        padding-top: 120px;
    }
    .app-preview {
        transform: none;
    }
}
