/* ============================================
   深圳世间行科技有限公司 - 官网自定义样式
   主色调：深海蓝 #0F4C81
   ============================================ */

/* 基础设置 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a202c;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #0F4C81;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0A3A64;
}

/* 品牌渐变 */
.brand-gradient {
    background: linear-gradient(135deg, #0F4C81 0%, #0A3A64 100%);
}

.brand-gradient-text {
    background: linear-gradient(135deg, #0F4C81 0%, #1E5F9E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 卡片悬浮效果（稳重、不花哨） */
.card-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-hover:hover {
    box-shadow: 0 12px 32px rgba(15, 76, 129, 0.12);
    transform: translateY(-4px);
}

/* 导航链接下划线动画 */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0F4C81;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 悬浮按钮 */
.float-btn {
    transition: all 0.3s ease;
}
.float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.3);
}

/* Hero 背景遮罩 */
.hero-overlay {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.92) 0%, rgba(10, 58, 100, 0.88) 100%);
}

/* 分隔线 */
.section-divider {
    width: 60px;
    height: 3px;
    background: #0F4C81;
    border-radius: 2px;
}

/* 表单输入框样式 */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
    border-color: #0F4C81;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
    outline: none;
}

/* 移动端菜单动画 */
.mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}
.mobile-menu.closed {
    max-height: 0;
    opacity: 0;
}
.mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* 业务板块序号 */
.section-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(15, 76, 129, 0.1);
    line-height: 1;
}

/* 资讯卡片 */
.news-card {
    transition: box-shadow 0.3s ease;
}
.news-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.news-card:hover .news-title {
    color: #0F4C81;
}

/* 页脚链接 */
.footer-link {
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #60a5fa;
}

/* 回到顶部按钮 */
.back-to-top {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.back-to-top.hidden-btn {
    opacity: 0;
    visibility: hidden;
}

/* ============================================
   首页 Hero 轮播
   ============================================ */
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-slide-content {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease 0.2s, opacity 0.6s ease 0.2s;
}
.hero-slide.active .hero-slide-content {
    transform: translateY(0);
    opacity: 1;
}

/* 轮播指示器 */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}
.hero-dot.active {
    background: #ffffff;
    width: 30px;
    border-radius: 5px;
}

/* 轮播左右箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}
.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}
.hero-arrow-prev {
    left: 24px;
}
.hero-arrow-next {
    right: 24px;
}
@media (max-width: 768px) {
    .hero-arrow {
        width: 36px;
        height: 36px;
    }
    .hero-arrow-prev { left: 12px; }
    .hero-arrow-next { right: 12px; }
    .hero-dots { bottom: 20px; }
}

/* 关于我们 - 合规理念列表 */
.compliance-list {
    counter-reset: compliance-counter;
}
.compliance-list > li {
    counter-increment: compliance-counter;
    position: relative;
    padding-left: 3.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.compliance-list > li::before {
    content: counter(compliance-counter);
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #0F4C81 0%, #0A3A64 100%);
    color: #ffffff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}
