﻿@charset "UTF-8";

/* ====== 自定义滚动条 (蓝色滑块) ====== */
.scrollbar-custom {
    scrollbar-width: thin;
    scrollbar-color: #3056D3 #f1f1f1;
}

.scrollbar-custom::-webkit-scrollbar {
    height: 8px;
}

.scrollbar-custom::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 0 15%;
}

.scrollbar-custom::-webkit-scrollbar-thumb {
    background: #3056D3;
    border-radius: 4px;
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background: #2541b2;
}

/* ====== 模态框动画 ====== */
#screenshot-modal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ====== 响应式布局 ====== */
.carousel-item {
    width: 25%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .carousel-item {
        width: 50%;
    }
}

@media (max-width: 640px) {
    .carousel-item {
        width: 100%;
    }
    #prev-btn, #next-btn {
        display: none;
    }
}

/* ====== 辅助样式 ====== */
.section-subtitle {
    color: #3056D3;
    font-weight: 600;
}

/* ====== 截图卡片样式 ====== */
.screenshot-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    height: 100%;
}

.screenshot-card img {
    border-radius: 0.5rem;
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s;
}

.screenshot-card:hover img {
    transform: scale(1.02);
}

/* ====== Bootstrap 精简样式 ====== */
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
::after,
::before {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

.container,
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-4,
.col-12,
.col-md-2,
.col-md-5 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}

/* ====== 间距工具类 ====== */
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.p-0 { padding: 0 !important; }

/* ====== 显示工具类 ====== */
.d-none { display: none !important; }
.d-block { display: block !important; }

@media (min-width: 576px) {
    .d-sm-none { display: none !important; }
}

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
}

/* ====== 背景颜色 ====== */
.bg-light { background-color: #f8f9fa !important; }
.bg-info { background-color: #17a2b8 !important; }

/* ====== 文本颜色 ====== */
.text-secondary { color: #6c757d !important; }
.text-light { color: #fff !important; }

/* ====== 边框 ====== */
.border-top { border-top: 1px solid #dee2e6 !important; }
.border-right { border-right: 1px solid #dee2e6 !important; }

/* ====== 定位 ====== */
.fixed-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}

/* ====== 文本对齐 ====== */
.text-center { text-align: center !important; }

/* ====== 小号文本 ====== */
.small {
    font-size: 80%;
    font-weight: 400;
}

/* ====== 模态框透明背景样式 ====== */
#screenshot-modal {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(5px);
}

/* 图片容器 - 移除白色背景 */
#screenshot-modal > div > div {
    background: transparent !important;
    box-shadow: none !important;
}

/* 图片本身 - 添加阴影增加立体感 */
#modal-image {
    background: transparent !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
}

/* 标题栏 - 半透明 (已修复完整) */
#modal-title {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 导航按钮悬停效果 */
#prev-btn:hover,
#next-btn:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: translateY(-50%) scale(1.1);
    transition: all 0.2s ease;
}

/* ====== 合作伙伴轮播样式 ====== */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-230px * 5));
    }
}

.partner-carousel:hover .partner-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .partner-item {
        width: 150px !important;
    }
    @keyframes scroll {
        100% {
            transform: translateX(calc(-180px * 5));
        }
    }
}

/* ====== FAQ折叠面板样式 ====== */
.faq-content {
    transition: all 0.3s ease;
}

/* ====== 回到顶部按钮 ====== */
.back-to-top {
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #1e3a8a !important;
}

/* ====== 导航栏滚动效果 ====== */
.ud-header.scrolled {
    background: rgba(48, 86, 211, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* ====== 图片悬停效果 ====== */
.screenshot-item img {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.screenshot-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* ====== 卡片通用样式 ====== */
.wow {
    visibility: hidden;
}

/* ====== 响应式图片 ====== */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ====== 列表样式 ====== */
.lh-2 {
    line-height: 2;
}

.lh-3 {
    line-height: 3;
}

/* ====== 版权信息 ====== */
.copyright {
    padding: 1rem 0;
    font-size: 0.875rem;
}