/* ============================================================
   写逸网络 V2 主题「数据之光」—— 全站共享层
   暗夜头部 / 暗夜页脚 / 暗色横幅 / 内容轻量化
   ============================================================ */

/* ---------- 头部：暗夜玻璃（全站） ---------- */
.header {
    background: rgba(15, 24, 48, 0.92);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 32px rgba(6, 12, 26, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header.v2-scrolled {
    background: rgba(10, 17, 34, 0.97);
}

.nav-item {
    color: #e8edf7;
}

.nav-item:hover,
.nav-item a:hover {
    color: #7fd4ff;
}

.dropdown-icon {
    color: #8a93a6;
}

.phone-number {
    color: #e8edf7;
}

.hamburger-line {
    background-color: #e8edf7;
}

.mobile-menu {
    background: rgba(15, 24, 48, 0.98);
}

.mobile-menu-title,
.mobile-nav-link,
.mobile-nav-item-header span,
.mobile-nav-arrow,
.mobile-phone {
    color: #e8edf7;
}

.mobile-nav-sublink {
    color: #8a93a6;
}

.mobile-menu-overlay {
    background: rgba(8, 12, 26, 0.55);
}

/* ---------- 页脚：暗夜收尾（全站） ---------- */
.footer {
    background: #0f1830;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-title {
    color: #e8edf7;
}

.footer-title::before {
    background-color: #37e6c8;
}

.footer-contact-item,
.footer-list a,
.footer-qr-title {
    color: #8a93a6;
}

.footer-list a:hover {
    color: #7fd4ff;
}

.footer-copyright {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.footer-copyright p {
    color: #8a93a6;
}

/* ---------- 暗色横幅（全站） ---------- */
.page-banner,
.about-banner,
.banner-subpage,
.join-banner {
    position: relative;
}

.page-banner::before,
.about-banner::before,
.banner-subpage::before,
.join-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(900px 360px at 85% -20%, rgba(22, 96, 232, 0.26), transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15, 24, 48, 0.5) 0%, rgba(15, 24, 48, 0.78) 100%);
    background-size: auto, 56px 56px, 56px 56px, auto;
    pointer-events: none;
}

/* ---------- 子页面横幅：小标签 ---------- */
.v2-banner-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.28em;
    color: #7fd4ff;
    margin: 0 0 18px;
    opacity: 0;
    animation: v2FadeUp 0.8s ease 0.1s forwards;
}

.v2-banner-tag::before,
.v2-banner-tag::after {
    content: '';
    width: 28px;
    height: 1px;
    background: rgba(127, 212, 255, 0.55);
}

@keyframes v2FadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- 中间内容区：浅灰蓝底，白色卡片形成层次 ---------- */
body {
    background-color: #f6f8fc;
}

.subpage-content-wrapper {
    background-color: #f6f8fc;
}

.company-intro-section,
.qualifications-section,
.service-intro-section,
.service-section,
.news-section,
.ai-solution-section,
.tabs-section,
.partner-details-section,
.employee-section,
.reasons-section,
.tech-strength-section,
.cta-section {
    background-color: #f6f8fc;
}

.page-banner-content,
.banner-subpage .banner-content,
.join-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-title,
.about-banner-title,
.join-banner-title {
    color: #e8edf7;
}

.page-banner-description,
.about-banner-description,
.join-banner-description,
.banner-subpage .banner-description {
    color: #8a93a6;
}

.banner-subpage .banner-title {
    color: #e8edf7;
}

/* ---------- 内容区：标题与分区更干净 ---------- */
.section-title,
.page-section-title,
.content-card-title,
.subpage-tabs .subpage-tab-item {
    color: #0f1830;
}

.subpage-tab-item.active {
    color: #1660e8;
}

/* 产品页区块标题：去水印，改青色竖条 */
.content-section .section-title {
    position: relative;
    padding-left: 18px;
}

.content-section .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: #37e6c8;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 0;
    z-index: auto;
    white-space: normal;
}

/* 页面级大标题：水印改为精致小标签 */
.qualifications-title::before,
.news-section-title::before,
.company-intro-title::before,
.page-section-title::before,
.product-functions-title::before,
.become-partner-title::before,
.cooperation-support-title::before,
.service-section-title::before {
    position: static;
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #1660e8;
    -webkit-text-fill-color: #1660e8;
    text-align: center;
    line-height: 1;
    margin-bottom: 10px;
    z-index: auto;
    transform: none;
    top: auto;
    left: auto;
    white-space: normal;
}

/* ---------- 产品卡片：数据编号 ---------- */
.section-items {
    counter-reset: feat;
}

.content-feature-item {
    counter-increment: feat;
    position: relative;
}

.content-feature-item::before {
    content: '0' counter(feat);
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: rgba(22, 96, 232, 0.16);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.scenario-items {
    counter-reset: scen;
}

.scenario-card {
    counter-increment: scen;
    position: relative;
}

.scenario-card::before {
    content: '0' counter(scen);
    position: absolute;
    top: 12px;
    left: 16px;
    z-index: 5;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* ---------- 公司动态：时间线 ---------- */
.news-list {
    position: relative;
}

.news-list::before {
    content: '';
    position: absolute;
    left: 46px;
    top: 26px;
    bottom: 26px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, #37e6c8, #e2ecff);
    opacity: 0.5;
}

.news-item {
    position: relative;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 42px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #37e6c8;
    box-shadow: 0 0 12px rgba(55, 230, 200, 0.75);
    z-index: 2;
}

/* ---------- 产品页：侧边栏轻量化 ---------- */
.subpage-sidebar .sidebar-nav {
    background: transparent;
    border: none;
    border-radius: 0;
}

.subpage-sidebar .sidebar-title {
    color: #0f1830;
}

.subpage-sidebar .sidebar-line {
    background-color: #37e6c8;
}

.subpage-sidebar .nav-item-header {
    border-radius: 10px;
}

.subpage-sidebar .nav-item-dropdown {
    background-color: transparent;
}

.subpage-sidebar .dropdown-item {
    border-radius: 8px;
}

/* ---------- 内容卡片：去边框、大圆角、柔和阴影 ---------- */
.content-feature-item,
.scenario-card,
.faq-card,
.news-item,
.qualification-item,
.cooperation-support-card,
.service-display-content.active,
.tech-card,
.reason-card,
.employee-card,
.position-card,
.partner-detail-card {
    border-color: #e2ecff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(15, 24, 48, 0.05);
}

.content-feature-item:hover,
.scenario-card:hover,
.faq-card:hover,
.news-item:hover,
.partner-detail-card:hover {
    box-shadow: 0 16px 40px rgba(22, 96, 232, 0.12);
}

/* ---------- 公司动态：日期块青色点缀 ---------- */
.news-item-date {
    background-color: #eef4ff;
}

.news-item-day {
    color: #1660e8;
}

.news-item-title {
    color: #0f1830;
}

.news-toggle {
    color: #1660e8;
    background-color: #eef4ff;
    border-color: #e2ecff;
}

.news-source {
    color: #1660e8;
}

/* ---------- 资质标签：统一青色系点缀 ---------- */
.qualification-tag b {
    color: #1660e8;
}

.qualification-tag {
    border-color: #e2ecff;
    background-color: #eef4ff;
}

.qualification-tag:hover {
    background-color: #eef4ff;
    border-color: #1660e8;
}

/* ---------- 响应式 ---------- */
/* ---------- 404 页视觉 ---------- */
.v2-404 {
    font-size: clamp(96px, 18vw, 180px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg, #7fd4ff 0%, #1660e8 55%, #37e6c8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    text-shadow: none;
    filter: drop-shadow(0 12px 42px rgba(22, 96, 232, 0.35));
}

@media (max-width: 900px) {
    .page-banner,
    .about-banner,
    .join-banner {
        min-height: 220px;
    }

    .news-list::before,
    .news-item::before {
        display: none;
    }
}

/* ---------- 滚动显现（全站，JS 启用） ---------- */
html.v2-js .content-section,
html.v2-js .company-intro-section,
html.v2-js .qualifications-section,
html.v2-js .service-intro-section,
html.v2-js .service-section,
html.v2-js .news-item,
html.v2-js .hot-positions-section,
html.v2-js .tech-strength-section,
html.v2-js .reasons-section,
html.v2-js .employee-section,
html.v2-js .partner-details-section,
html.v2-js .qualification-item,
html.v2-js .ai-solution-section,
html.v2-js .tabs-section,
html.v2-js .content-display-section {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

html.v2-js .content-section.in,
html.v2-js .company-intro-section.in,
html.v2-js .qualifications-section.in,
html.v2-js .service-intro-section.in,
html.v2-js .service-section.in,
html.v2-js .news-item.in,
html.v2-js .hot-positions-section.in,
html.v2-js .tech-strength-section.in,
html.v2-js .reasons-section.in,
html.v2-js .employee-section.in,
html.v2-js .partner-details-section.in,
html.v2-js .qualification-item.in,
html.v2-js .ai-solution-section.in,
html.v2-js .tabs-section.in,
html.v2-js .content-display-section.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 全站按钮统一：胶囊 + 主蓝 ---------- */
.detail-button,
.sub-card-button,
.cta-button,
.cta-button-primary,
.cta-button-secondary,
.news-toggle {
    border-radius: 999px;
    border: none;
    background-color: #1660e8;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(22, 96, 232, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.join-banner .join-apply-button {
    border-radius: 999px;
    border: none;
    background-color: #1660e8;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(22, 96, 232, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.detail-button:hover,
.sub-card-button:hover,
.cta-button:hover,
.cta-button-primary:hover,
.cta-button-secondary:hover {
    background-color: #1048c0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(22, 96, 232, 0.35);
}

.join-banner .join-apply-button:hover {
    background-color: #1048c0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(22, 96, 232, 0.35);
}

.news-toggle {
    background-color: #eef4ff;
    color: #1660e8;
    box-shadow: none;
}

.news-toggle:hover {
    background-color: #1660e8;
    color: #ffffff;
}

/* ---------- 产品与技术下拉面板：暗色玻璃 ---------- */
.dropdown-menu {
    background: rgba(15, 24, 48, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dropdown-sidebar {
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-sidebar-item .sidebar-text {
    color: #e8edf7;
}

.dropdown-sidebar-item.active,
.dropdown-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dropdown-sidebar-item.active .sidebar-text,
.dropdown-sidebar-item:hover .sidebar-text {
    color: #7fd4ff;
}

.dropdown-sidebar-line {
    background-color: #37e6c8;
}

.dropdown-title {
    color: #e8edf7;
}

.dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.dropdown-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-item-title {
    color: #e8edf7;
}

.dropdown-feature-item:hover .feature-item-title {
    color: #7fd4ff;
}

.feature-item-desc {
    color: #8a93a6;
}

.dropdown-close {
    color: #8a93a6;
}
