@charset "utf-8";
/* ==========================================================================
   网站模板通用样式 - 全站共享
   ========================================================================== */

:root {
    --brand: #1A56DB;
    --brand-dark: #0F3AA8;
    --brand-light: #EAF1FF;
    --accent: #FF7A1A;
    --ink: #16233B;
    --ink-2: #40506B;
    --ink-3: #7A879E;
    --line: #E4E9F2;
    --bg: #FFFFFF;
    --bg-soft: #F5F7FB;
    --radius: 10px;
    --container: 1200px;
    --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* --------------------------------------------------------- 品牌 LOGO 占位 */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand);
    white-space: nowrap;
}
.logo .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand) 0%, #4C8DFF 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo .logo-text { font-size: 22px; }
.logo.light { color: #fff; }
.logo.light .logo-mark { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); }

/* -------------------------------------------------------------- 顶部信息条 */
.topbar {
    background: #0E1B33;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}
.topbar .container {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar .tb-left span { margin-right: 22px; }
.topbar .tb-right a { margin-left: 18px; }
.topbar .tb-right a:hover { color: #fff; }

/* ------------------------------------------------------------------ 导航栏 */
.header { position: sticky; top: 0; z-index: 900; background: #fff; }
.header.scrolled { box-shadow: 0 4px 18px rgba(16, 35, 71, .08); }

.navbar { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }

.nav-menu { display: flex; align-items: center; height: var(--nav-h); }

.nav-item { position: relative; height: var(--nav-h); display: flex; align-items: center; }

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    height: var(--nav-h);
    padding: 0 18px;
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
}
.nav-item > a:hover,
.nav-item.active > a { color: var(--brand); }

.nav-item > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width .25s ease;
}
.nav-item:hover > a::after,
.nav-item.active > a::after { width: 26px; }

.nav-item .caret {
    width: 8px;
    height: 8px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s ease;
}
.nav-item:hover .caret { transform: rotate(-135deg) translateY(-2px); }

/* 自动展示的下拉框（hover 展开） */
.dropdown {
    position: absolute;
    top: var(--nav-h);
    left: 50%;
    transform: translate(-50%, 10px);
    min-width: 200px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(16, 35, 71, .12);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.dropdown li a {
    display: block;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--ink-2);
    white-space: nowrap;
}
.dropdown li a:hover { background: var(--brand-light); color: var(--brand); }
.dropdown li a.current { color: var(--brand); font-weight: 600; background: var(--brand-light); }

/* 三级分组下拉（服务产品：国内 / 海外 / AI短视频） */
.dropdown.mega {
    left: 0;
    transform: translate(0, 10px);
    width: 720px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 20px;
}
.nav-item:hover > .dropdown.mega { transform: translate(0, 0); }
.dropdown.mega .mega-col > h5 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--ink-3);
    padding: 0 12px 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
}
.dropdown.mega .mega-col > h5 a { color: var(--brand); }
.dropdown.mega .mega-col > h5 a:hover { text-decoration: underline; }
.dropdown.mega li a { padding: 8px 12px; font-size: 13.5px; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    transition: background .2s ease;
}
.nav-cta:hover { background: var(--brand-dark); color: #fff; }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

/* -------------------------------------------------------------- 通用区块 */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 38px; }
.section-head h2 { font-size: 30px; color: var(--ink); margin-bottom: 10px; }
.section-head p { color: var(--ink-3); font-size: 14px; letter-spacing: 1px; }

/* 面包屑 */
.breadcrumb {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    font-size: 13px;
    color: var(--ink-3);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: #C3CBDA; }
.breadcrumb .current { color: var(--ink); }

/* 页面标题条 */
.page-hero {
    background: linear-gradient(120deg, #0E1B33 0%, #1A3B7A 60%, #255BC4 100%);
    color: #fff;
    padding: 56px 0 60px;
}
.page-hero h1 { font-size: 34px; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .75); font-size: 15px; }

/* ------------------------------------------------------- 内容占位区（待补） */
.placeholder {
    border: 2px dashed #C8D3E8;
    border-radius: var(--radius);
    background: repeating-linear-gradient(45deg, #FAFBFE, #FAFBFE 12px, #F3F6FC 12px, #F3F6FC 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ink-3);
    padding: 30px;
    gap: 8px;
}
.placeholder .ph-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px dashed #C8D3E8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #9CABC5;
}
.placeholder .ph-title { font-size: 17px; color: var(--ink-2); font-weight: 600; }
.placeholder .ph-desc { font-size: 13px; }
.placeholder.mini { padding: 20px; min-height: 120px; }

/* ------------------------------------------------------------ 首页轮播图 */
.hero { position: relative; background: #0E1B33; overflow: hidden; }
.hero .slides { position: relative; height: 640px; }
.hero .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}
.hero .slide.active { opacity: 1; z-index: 2; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero .slide .slide-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0 0 54px;
    background: linear-gradient(to top, rgba(6, 14, 30, .55), rgba(6, 14, 30, 0));
    color: #fff;
}
.hero .slide .slide-cap .container h2 { font-size: 34px; margin-bottom: 8px; }
.hero .slide .slide-cap .container p { color: rgba(255, 255, 255, .8); }

.hero .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s ease;
}
.hero .arrow:hover { background: rgba(255, 255, 255, .4); }
.hero .arrow.prev { left: 26px; }
.hero .arrow.next { right: 26px; }

.hero .dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}
.hero .dots button {
    width: 28px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}
.hero .dots button.active { background: #fff; }

/* ---------------------------------------------------------- 合作案例 logo 墙 */
.partners { background: var(--bg-soft); padding: 60px 0 66px; }
.partner-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
.partner-grid .partner-item {
    height: 92px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A9B5CB;
    font-weight: 600;
    letter-spacing: 1px;
    filter: grayscale(1);
    opacity: .9;
    transition: all .25s ease;
}
.partner-grid .partner-item:hover { filter: grayscale(0); opacity: 1; border-color: #C6D6F5; color: var(--brand); }

/* --------------------------------------------------------- 新闻中心简略导航 */
.news-brief { padding: 62px 0 68px; }
.news-list { margin-top: 34px; display: grid; gap: 14px; }
.news-row {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all .25s ease;
}
.news-row:hover { border-color: #BFD3FA; box-shadow: 0 8px 22px rgba(26, 86, 219, .1); transform: translateY(-2px); }
.news-row .news-date {
    flex: 0 0 88px;
    text-align: center;
    border-right: 1px solid var(--line);
    padding-right: 18px;
}
.news-row .news-date strong { display: block; font-size: 24px; line-height: 1.1; color: var(--ink); }
.news-row .news-date span { font-size: 12px; color: var(--ink-3); }
.news-row .news-main { flex: 1; min-width: 0; }
.news-row .news-main h3 {
    font-size: 17px;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-row .news-main p { font-size: 13px; color: var(--ink-3); }
.news-row .news-tag {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--brand-light);
    color: var(--brand);
}
.news-row .news-go { flex: 0 0 auto; color: var(--brand); font-size: 20px; }

/* ------------------------------------------------------------------ 分类 Tab */
.cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.cat-tabs a {
    padding: 10px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: 15px;
    transition: all .2s ease;
}
.cat-tabs a:hover { border-color: #BFD3FA; color: var(--brand); }
.cat-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: all .25s ease;
}
.cat-card:hover { border-color: #BFD3FA; box-shadow: 0 10px 26px rgba(26, 86, 219, .1); transform: translateY(-3px); }
.cat-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.cat-card p { font-size: 14px; color: var(--ink-3); margin-bottom: 16px; min-height: 48px; }
.cat-card .more { color: var(--brand); font-size: 14px; }

/* ------------------------------------------------------------ 联系我们页面 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.info-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 16px; }
.info-card li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.info-card li:last-child { border-bottom: none; }
.info-card li b { color: var(--ink); font-weight: 600; margin-right: 8px; }

.map-box {
    margin-top: 16px;
    height: 280px;
    border: 2px dashed #C8D3E8;
    border-radius: var(--radius);
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink-3);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}
.map-box .pin { font-size: 26px; }

/* ------------------------------------------------------------------ FAQ 页 */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; border: none; background: none; padding: 18px 22px; font-size: 16px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-q .sign { color: var(--brand); font-size: 18px; transition: transform .2s ease; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 20px; font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 16px; }
.faq-item.open .faq-a { display: block; }

/* ------------------------------------------------------------------- 页脚 */
.footer { background: #0E1B33; color: rgba(255, 255, 255, .68); font-size: 14px; }
.footer .foot-main { padding: 54px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .9fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.footer .f-about p { margin-top: 16px; line-height: 1.9; font-size: 13px; }
.footer .f-links li { margin-bottom: 10px; }
.footer .f-links a:hover { color: #fff; padding-left: 4px; }
.footer .f-contact li { margin-bottom: 12px; display: flex; gap: 10px; line-height: 1.7; }
.footer .f-contact .ic { color: #6E93FF; flex: 0 0 18px; }

/* 页脚地图定位（静态占位，点击跳转联系我们） */
.foot-map {
    display: block;
    margin-top: 14px;
    height: 108px;
    border: 1px dashed rgba(255, 255, 255, .3);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M0 15h60M0 45h60M15 0v60M45 0v60' stroke='rgba(255,255,255,0.12)' stroke-width='1' fill='none'/></svg>");
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all .25s ease;
}
.foot-map:hover { border-color: rgba(255, 255, 255, .6); color: #fff; background-color: rgba(255, 255, 255, .09); }
.foot-map .pin { font-size: 18px; }

/* 二维码缺口 */
.qr-slot {
    width: 124px;
    height: 124px;
    border: 2px dashed rgba(255, 255, 255, .35);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    text-align: center;
    background: rgba(255, 255, 255, .04);
}
.qr-slot .qr-frame { font-size: 22px; }
.footer .qr-tip { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .45); }

.footer .foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}
.footer .foot-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------- 响应式适配 */
@media (max-width: 1080px) {
    .partner-grid { grid-template-columns: repeat(4, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer .foot-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .topbar { display: none; }
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(16, 35, 71, .1);
        display: none;
        max-height: 78vh;
        overflow-y: auto;
    }
    .nav-menu.open { display: flex; }
    .nav-item { height: auto; flex-direction: column; align-items: stretch; }
    .nav-item > a { height: auto; padding: 14px 20px; justify-content: space-between; }
    .nav-item > a::after { display: none; }
    .nav-item .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 8px 20px;
        min-width: 0;
    }
    .nav-item.open > .dropdown { display: block; }
    .nav-item .dropdown.mega {
        width: 100%;
        grid-template-columns: 1fr;
        padding: 0 0 8px 20px;
        transform: none;
    }
    .nav-item .dropdown.mega .mega-col > h5 { padding-left: 0; margin-top: 8px; }
    .nav-cta { display: none; }
    .hero .slides { height: 320px; }
    .hero .slide .slide-cap .container h2 { font-size: 22px; }
    .contact-grid { grid-template-columns: 1fr; }
    .section { padding: 44px 0; }
}

@media (max-width: 640px) {
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: 1fr; }
    .footer .foot-main { grid-template-columns: 1fr; }
    .news-row { flex-wrap: wrap; }
    .news-row .news-date { flex: 0 0 auto; border-right: none; padding-right: 0; text-align: left; }
    .news-row .news-main h3 { white-space: normal; }
    .section-head h2 { font-size: 24px; }
    .page-hero h1 { font-size: 26px; }
}
