﻿/* uploaded: site.css - Refactored & Cleaned */
:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --primary: #3b82f6; /* 科技蓝 */
    --accent: #8b5cf6; /* 紫色流光 */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --whatsapp: #25D366;
    --telegram: #0088cc;
    --wechat: #09B83E;
    --danger-gradient: linear-gradient(to right, #ef4444, #f97316);
}

html {
    height: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* 确保内容撑开，Footer 沉底 */
}

/* === 常用工具类 (Utilities) === */
.text-transparent {
    color: transparent;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.cursor-pointer {
    cursor: pointer;
}

.fs-xs {
    font-size: 0.75rem;
}

.hover-lift-lg {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-lift-lg:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }

/* 背景虚化与发光效果 */
.blur-3xl {
    filter: blur(64px);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* === 导航栏 (Navbar) === */
.navbar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

    .nav-link:hover, .nav-link.active {
        color: #fff !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--primary);
        transition: width 0.3s;
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }

/* === 按钮样式 (Buttons) === */
.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

    .btn-glow:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
        color: white;
    }

/* === 悬浮按钮组 (Fixed Floating Bar) === */
.float-bar {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 9999; /* 确保在最上层 */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.1);
}

    .float-btn:hover {
        transform: scale(1.15) rotate(5deg);
        color: white;
    }

    .float-btn.tg {
        background-color: var(--telegram);
    }

    .float-btn.wx {
        background-color: var(--wechat);
    }

    .float-btn.wa {
        background-color: var(--whatsapp);
    }

/* === Home Page Specific === */
.hero-section {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(15,23,42,0.4), var(--bg-dark));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.feature-box {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Risk & Usage Specific === */
.risk-bg-glow {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.text-gradient-danger {
    background: var(--danger-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.disclaimer-box {
    background: rgba(220, 38, 38, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.25);
}

/* === Products Page Specific === */
.product-tabs-container {
    background-color: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.25);
}

.product-modern-tabs .nav-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

    .product-modern-tabs .nav-link.active {
        background-color: var(--primary);
        color: white;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    }

.hover-card-modern {
    background: rgba(30,41,59,0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

    .hover-card-modern:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        border-color: rgba(59, 130, 246, 0.5) !important;
    }

        .hover-card-modern:hover img {
            transform: scale(1.05);
        }

.transition-transform {
    transition: transform 0.5s ease;
}

.hover-bg-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary) !important;
    color: white;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.ls-1 {
    letter-spacing: 1px;
}
/* 优化富文本中的图片，防止溢出 */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* === Contact Page Specific === */
.card-tg {
    background-color: #24a1de;
}

.card-wa {
    background-color: rgba(30, 41, 59, 0.6);
}

.card-wx {
    background-color: rgba(30, 41, 59, 0.6);
}

.card-wx-icon-bg {
    background-color: #09B83E !important;
    --bs-bg-opacity: .15 !important;
}

/* === FAQ Accordion === */
.accordion-glass .accordion-button {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.05);
    color: white;
    box-shadow: none;
}

    .accordion-glass .accordion-button:not(.collapsed) {
        background: rgba(59, 130, 246, 0.1) !important;
        box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5) !important;
        color: white !important;
    }

    .accordion-glass .accordion-button::after {
        filter: invert(1);
    }

.accordion-glass .accordion-body {
    border-left: 2px dashed rgba(255,255,255,0.1);
}

/* === How It Works Specific === */
.process-bg-glow {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}

.bg-card-glass {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.25);
}

/* === Prose (富文本) === */
.prose {
    color: var(--text-muted);
    line-height: 1.8;
}

    .prose h1, .prose h2, .prose h3 {
        color: #fff;
        margin-top: 2rem;
        font-weight: 700;
    }

    .prose p {
        margin-bottom: 1.5rem;
    }

    .prose strong {
        color: #fff;
        font-weight: 700;
    }

    .prose ul {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .prose img {
        max-width: 100%;
        border-radius: 12px;
        margin: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

/* === Footer === */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* === 响应式 === */
@media(max-width: 768px) {
    .float-bar {
        bottom: 20px;
        right: 15px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }
}
