/* ============================================================
   快连 官网 - 完整独立样式表
   文件: css/style.css
   ============================================================ */

/* ---------- 全局变量与基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1e1e2a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 头部导航 (现代毛玻璃 & 快连品牌风) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.logo img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #334155;
    font-size: 0.98rem;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
}
.btn-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-header:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* ---------- 下载主按钮 ---------- */
.btn {
    background: #0b1e33;
    border: none;
    border-radius: 48px;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 22px rgba(0, 20, 80, 0.12);
    transition: 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255,255,255,0.06);
}
.btn i {
    font-size: 1.3rem;
    color: #8bb3ff;
}
.btn:hover {
    background: #112f4b;
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 30, 90, 0.2);
}
.btn:active {
    transform: scale(0.97);
}

/* ---------- Hero 区域 ---------- */
.hero-download-area {
    padding: 50px 0 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f2f7;
    gap: 30px;
}
.hero-left {
    flex: 1 1 50%;
    min-width: 280px;
}
.hero-left h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 14px;
}
.hero-left p {
    font-size: 1.15rem;
    color: #3a3a4a;
    max-width: 500px;
    margin-bottom: 28px;
}
.hero-right {
    flex: 0 0 42%;
    max-width: 42%;
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-wrapper {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 1 / 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    animation: floatGlow 4s ease-in-out infinite;
}
.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 30, 70, 0.06));
    transition: transform 0.3s ease;
}

@keyframes floatGlow {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.01); }
    100% { transform: translateY(0px) scale(1); }
}

/* ---------- 内容 Section 通用 ---------- */
.section-spacing {
    padding-top: 70px;
    padding-bottom: 40px;
}
.section-spacing-last {
    padding-top: 70px;
    padding-bottom: 60px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 0;
}
.col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }

.user-interact-image {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.02);
    transition: 0.25s ease;
    background: #fafbfc;
}
.user-interact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.user-interact-inner { padding: 12px 8px 12px 0; }
.interact-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f0f4ff;
    padding: 8px 20px 8px 16px;
    border-radius: 60px;
    font-weight: 600;
    color: #1f3b6b;
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.interact-icon i { color: #ea5a2b; font-size: 1.1rem; }
.user-interact-inner h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0a1424;
}
.user-interact-inner p {
    font-size: 1.05rem;
    color: #2c2c3e;
    max-width: 90%;
    margin-bottom: 6px;
}

/* ---------- FAQ 常见问题 ---------- */
.faq-section { padding: 70px 0 90px 0; }
.faq-section .section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.faq-section .section-title i { color: #2563eb; }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 30px;
}
.faq-item {
    background: #f9faff;
    border-radius: 24px;
    padding: 24px 28px;
    border: 1px solid #eef2f8;
}
.faq-item h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0d1b30;
    display: flex;
    gap: 10px;
}
.faq-item h4 i { color: #2563eb; margin-top: 4px; }
.faq-item p { color: #3a4055; font-size: 0.98rem; padding-left: 28px; }

/* ---------- 页脚 Footer (快连专属暗色科技风) ---------- */
.site-footer {
    background-color: #090d16;
    color: #94a3b8;
    padding-top: 60px;
    border-top: 1px solid #1e293b;
    font-size: 0.92rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

/* 页脚 Logo 完美排版 (渐变图标 + 纯白色文字) */
.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-logo .logo-text span {
    font-weight: 300;
    color: #38bdf8;
    margin-left: 4px;
}

.brand-desc {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #34d399;
}
.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.footer-col h4 {
    color: #f1f5f9;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #38bdf8;
}

.footer-badges {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    padding: 18px 0;
}

.badge-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.badge-item {
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.badge-item i {
    color: #38bdf8;
    font-size: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 32px 0;
    flex-wrap: wrap;
    gap: 16px;
    color: #64748b;
    font-size: 0.88rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #cbd5e1;
}

/* ---------- 响应式自适应 ---------- */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .col-lg-7, .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .hero-download-area {
        flex-direction: column;
        align-items: flex-start;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 12px;
    }
    .nav-links {
        gap: 16px;
        font-size: 0.9rem;
    }
    .badge-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}