/* ============================================================
   西安巨网信息科技有限公司官网 - 科技感设计系统
   ============================================================ */
:root {
    --primary: #0a5cf5;
    --primary-dark: #0a3fa8;
    --primary-light: #e8f0ff;
    --navy: #0a1f44;
    --navy-2: #10275a;
    --ink: #17233d;
    --text: #45516b;
    --muted: #8a94a8;
    --line: #e6eaf2;
    --bg: #f5f7fb;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 40px rgba(23, 43, 99, .1);
    --shadow-hover: 0 18px 48px rgba(10, 92, 245, .18);
    --grad: linear-gradient(135deg, #2b7bff 0%, #0a4fd6 100%);
    --grad-dark: linear-gradient(135deg, #0a1f44 0%, #123 100%);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 15px;
    line-height: 1.7;
    padding-top: 72px;
}

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

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(23, 43, 99, .08); }

.header-inner { display: flex; align-items: center; height: 72px; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 40px; height: 40px; filter: drop-shadow(0 4px 10px rgba(10, 92, 245, .35)); }
.logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 21px; color: var(--ink); letter-spacing: 2px; }
.logo-text i { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: 1.5px; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav > a, .nav-item > a {
    display: block; padding: 8px 13px; font-size: 16px; color: var(--ink);
    position: relative; border-radius: 8px; white-space: nowrap;
}
.main-nav > a:hover, .nav-item > a:hover { color: var(--primary); }
.main-nav > a.active, .nav-item > a.active { color: var(--primary); font-weight: 600; }
.main-nav > a.active::after, .nav-item > a.active::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: -2px;
    height: 3px; border-radius: 2px; background: var(--grad);
}

@media (max-width: 1280px) and (min-width: 861px) {
    .header-inner { gap: 16px; }
    .logo-text b { font-size: 18px; letter-spacing: 1px; }
    .logo-text i { letter-spacing: 1px; }
    .main-nav { gap: 0; }
    .main-nav > a, .nav-item > a { padding: 8px 7px; font-size: 14px; }
    .main-nav > a.active::after, .nav-item > a.active::after { left: 7px; right: 7px; }
    .header-tel { font-size: 15px; }
}

.nav-item { position: relative; }
.nav-item .dropdown {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
    background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
    padding: 14px 0; opacity: 0; visibility: hidden; transition: all .28s;
    border: 1px solid var(--line); min-width: 200px;
}
.nav-item .dropdown::before {
    content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-cates { display: flex; flex-direction: column; }
.dropdown-wide { min-width: 420px; }
.dropdown-wide .dropdown-cates { display: grid; grid-template-columns: 1fr 1fr; }
.dropdown-cates a {
    display: flex; align-items: center; gap: 10px; padding: 10px 22px;
    font-size: 14.5px; color: var(--text); white-space: nowrap;
}
.dropdown-cates a:hover { background: var(--primary-light); color: var(--primary); }
.cate-icon {
    width: 7px; height: 7px; border-radius: 2px; background: var(--grad);
    transform: rotate(45deg); flex-shrink: 0;
}

.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-tel {
    display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700;
    color: var(--primary); letter-spacing: .5px; white-space: nowrap;
}
.header-tel .ico { width: 19px; height: 19px; fill: var(--primary); animation: ring 3s infinite; }
@keyframes ring { 0%, 92%, 100% { transform: rotate(0); } 94% { transform: rotate(-12deg); } 96% { transform: rotate(10deg); } 98% { transform: rotate(-8deg); } }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------------- 轮播 Banner ---------------- */
.banner {
    position: relative; width: 100%; margin: 0;
    height: min(calc(100vh - 152px), 720px); min-height: 500px;
    overflow: hidden; background: var(--navy);
}
.banner-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
    background-size: cover; background-position: center;
}
.banner-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(6, 18, 44, .82) 0%, rgba(6, 18, 44, .45) 55%, rgba(6, 18, 44, .15) 100%);
}
.banner-slide.active { opacity: 1; }
.banner-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.banner-text { max-width: 640px; color: #fff; transform: translateY(30px); opacity: 0; transition: all .9s .25s; }
.banner-slide.active .banner-text { transform: translateY(0); opacity: 1; }
.banner-text .tag {
    display: inline-block; padding: 5px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 20px;
    font-size: 13px; letter-spacing: 3px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.banner-text h2 { font-size: 52px; line-height: 1.22; letter-spacing: 2px; margin-bottom: 18px; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.banner-text p { font-size: 19px; color: rgba(255,255,255,.85); letter-spacing: 1px; margin-bottom: 36px; }
.banner-btns { display: flex; gap: 16px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 34px; border-radius: 30px;
    font-size: 15.5px; cursor: pointer; border: 0; transition: all .3s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(10, 92, 245, .4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 92, 245, .55); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }

.banner-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.banner-dots span { width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.banner-dots span.active { background: #fff; }

.banner-arrows {
    position: absolute; bottom: 26px; right: max(30px, calc((100vw - 1200px) / 2)); display: flex; gap: 10px; z-index: 5;
}
.banner-arrows button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.12); color: #fff; font-size: 18px; cursor: pointer; transition: .3s;
}
.banner-arrows button:hover { background: var(--primary); border-color: var(--primary); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 86px 0; }
.section.bg-gray { background: var(--bg); }
.section.bg-deep { background: var(--grad-dark); position: relative; overflow: hidden; }
.section.bg-deep::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 15% 20%, rgba(43, 123, 255, .18), transparent 60%),
        radial-gradient(500px 260px at 85% 80%, rgba(43, 123, 255, .12), transparent 60%);
}
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .en {
    font-size: 13px; letter-spacing: 5px; color: var(--primary); text-transform: uppercase; font-weight: 600;
}
.section-head h2 { font-size: 36px; color: var(--ink); letter-spacing: 2px; margin: 10px 0 14px; }
.section-head .desc { color: var(--muted); font-size: 15.5px; max-width: 720px; margin: 0 auto; }
.section-head.light h2 { color: #fff; }
.section-head.light .desc { color: rgba(255,255,255,.65); }

/* 首页公司简介条 */
.intro-strip { padding: 70px 0; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.intro-text h2 { font-size: 30px; color: var(--ink); margin-bottom: 6px; letter-spacing: 1px; }
.intro-text .sub { color: var(--primary); font-size: 14px; letter-spacing: 3px; font-weight: 600; margin-bottom: 22px; }
.intro-text p { margin-bottom: 14px; color: var(--text); }
.intro-more { margin-top: 14px; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.intro-media::before {
    content: ""; position: absolute; width: 60%; height: 60%; right: -18px; bottom: -18px;
    border: 2px solid var(--primary-light); border-radius: var(--radius); z-index: -1;
    background: linear-gradient(45deg, rgba(43,123,255,.08), transparent);
}
.intro-badges { display: flex; gap: 14px; margin-top: 26px; }
.badge-chip {
    padding: 9px 18px; background: var(--primary-light); color: var(--primary);
    border-radius: 10px; font-size: 13.5px; font-weight: 600;
}

/* 卡片网格 */
.card-grid { display: grid; gap: 26px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.content-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 4px 20px rgba(23, 43, 99, .07); transition: all .35s; border: 1px solid transparent;
    display: flex; flex-direction: column;
}
.content-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(10, 92, 245, .18); }
.content-card .card-img { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #dfe7f5; }
.content-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.content-card:hover .card-img img { transform: scale(1.07); }
.content-card .card-cate {
    position: absolute; top: 14px; left: 14px; padding: 4px 14px; border-radius: 16px;
    background: rgba(10, 31, 68, .72); color: #fff; font-size: 12.5px; backdrop-filter: blur(4px);
}
.content-card .card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.content-card h3 {
    font-size: 17.5px; color: var(--ink); margin-bottom: 10px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.content-card:hover h3 { color: var(--primary); }
.content-card p {
    font-size: 13.8px; color: var(--muted); flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.card-foot .more { color: var(--primary); font-weight: 600; }

/* 首页产品卡（简洁横向） */
.product-card .card-body { padding-bottom: 20px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.product-tags i {
    font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 4px;
    background: var(--primary-light); color: var(--primary);
}

/* 解决方案深色区 */
.solution-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; transition: all .35s; }
.solution-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); border-color: rgba(43,123,255,.5); box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.solution-card .card-img { aspect-ratio: 16/10; overflow: hidden; }
.solution-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.solution-card:hover .card-img img { transform: scale(1.07); }
.solution-card .card-body { padding: 22px 22px 24px; }
.solution-card h3 { color: #fff; font-size: 17.5px; margin-bottom: 10px; }
.solution-card p { color: rgba(255,255,255,.6); font-size: 13.8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.solution-card .card-foot .more { color: #5ea0ff; }

/* 数据统计 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; z-index: 2; }
.stat-box { text-align: center; padding: 34px 10px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: .3s; }
.stat-box:hover { background: rgba(43,123,255,.14); border-color: rgba(43,123,255,.4); }
.stat-box b { display: block; font-size: 46px; line-height: 1.1; color: #fff; font-weight: 700; }
.stat-box b::after { content: "+"; color: #5ea0ff; font-size: 30px; margin-left: 2px; }
.stat-box span { color: rgba(255,255,255,.62); font-size: 14.5px; letter-spacing: 1px; }

/* 优势/服务 4格 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.adv-card { background: var(--white); border-radius: var(--radius); padding: 34px 28px; box-shadow: 0 4px 20px rgba(23,43,99,.07); transition: all .35s; position: relative; overflow: hidden; }
.adv-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: .4s; }
.adv-card:hover::before { transform: scaleX(1); }
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.adv-icon {
    width: 62px; height: 62px; border-radius: 16px; background: var(--primary-light);
    display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.adv-icon svg { width: 30px; height: 30px; fill: var(--primary); }
.adv-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 12px; }
.adv-card p { font-size: 13.8px; color: var(--muted); }
.adv-num { position: absolute; right: 18px; top: 14px; font-size: 46px; font-weight: 800; color: rgba(10, 92, 245, .07); }

/* 新闻区（首页） */
.news-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: stretch; }
.news-feature { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 380px; }
.news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-feature .nf-body {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 28px 26px;
    background: linear-gradient(transparent, rgba(6,18,44,.92)); color: #fff;
}
.news-feature .nf-date { font-size: 13px; color: #9ec2ff; margin-bottom: 8px; }
.news-feature h3 { font-size: 21px; line-height: 1.5; margin-bottom: 10px; }
.news-feature p { font-size: 13.8px; color: rgba(255,255,255,.7); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.news-item { display: flex; gap: 20px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); transition: all .3s; background: var(--white); }
.news-item:hover { border-color: rgba(10,92,245,.35); box-shadow: 0 10px 26px rgba(23,43,99,.08); }
.news-date { flex-shrink: 0; width: 72px; text-align: center; padding: 10px 0; border-radius: 10px; background: var(--primary-light); }
.news-date b { display: block; font-size: 24px; color: var(--primary); line-height: 1.1; }
.news-date span { font-size: 12px; color: var(--muted); }
.news-item h4 { font-size: 16px; color: var(--ink); margin-bottom: 6px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-item:hover h4 { color: var(--primary); }
.news-item p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* 实训室分组 */
.lab-group { margin-bottom: 46px; }
.lab-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.lab-group-head .bar { width: 6px; height: 24px; border-radius: 3px; background: var(--grad); }
.lab-group-head h3 { font-size: 21px; color: var(--ink); letter-spacing: 1px; }
.lab-group-head .go { margin-left: auto; color: var(--primary); font-size: 13.5px; }

/* ---------------- 页面 Banner ---------------- */
.page-banner {
    position: relative; padding: 120px 0 90px; overflow: hidden;
    background: var(--grad-dark);
}
.page-banner .pb-bg { position: absolute; inset: 0; opacity: .42; background-size: cover; background-position: center; }
.page-banner::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(6,18,44,.9), rgba(6,18,44,.55) 60%, rgba(10,92,245,.25));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: 38px; letter-spacing: 3px; margin-bottom: 12px; }
.page-banner .crumb { color: rgba(255,255,255,.68); font-size: 14px; }
.page-banner .crumb a:hover { color: #fff; }

/* 列表页布局：左侧分类 + 内容 */
.list-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.side-panel { background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 20px rgba(23,43,99,.07); overflow: hidden; position: sticky; top: 92px; }
.side-panel .sp-title {
    padding: 18px 22px; background: var(--grad); color: #fff; font-size: 17px; letter-spacing: 2px; font-weight: 600;
}
.side-panel ul { padding: 10px 0; }
.side-panel li a {
    display: flex; align-items: center; gap: 10px; padding: 12px 22px; font-size: 14.5px; color: var(--text);
    border-left: 3px solid transparent; transition: all .25s;
}
.side-panel li a:hover, .side-panel li a.active {
    color: var(--primary); background: var(--primary-light); border-left-color: var(--primary); font-weight: 600;
}
.side-contact { margin-top: 22px; padding: 26px 22px; border-radius: var(--radius); background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.side-contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 160px at 80% 10%, rgba(43,123,255,.35), transparent); }
.side-contact b { font-size: 17px; display: block; margin-bottom: 8px; }
.side-contact p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px; }

/* ---------------- 详情页 ---------------- */
.detail-wrap { background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 20px rgba(23,43,99,.07); padding: 44px 48px; }
.detail-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 28px; }
.detail-head h1 { font-size: 27px; color: var(--ink); line-height: 1.45; margin-bottom: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13.5px; color: var(--muted); }
.detail-meta b { color: var(--primary); font-weight: 600; margin-right: 4px; }
.detail-body { font-size: 15.5px; color: var(--text); line-height: 2; }
.detail-body p { margin-bottom: 16px; }
.detail-body img { border-radius: 10px; margin: 18px auto; }
.detail-body ul { margin: 0 0 16px 4px; }
.detail-body ul li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.detail-body ul li::before {
    content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px;
    border-radius: 2px; background: var(--grad); transform: rotate(45deg);
}
.detail-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail-nav a { font-size: 14px; color: var(--muted); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-nav a:hover { color: var(--primary); }
.detail-sub { margin-top: 18px; padding: 16px 20px; border-radius: 10px; background: var(--primary-light); color: var(--primary-dark); font-size: 14.5px; }

/* 相关推荐 */
.related { margin-top: 40px; }
.related h3 { font-size: 20px; color: var(--ink); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.related h3::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--grad); }

/* ---------------- 单页（关于我们） ---------------- */
.page-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.page-tabs a {
    padding: 11px 30px; border-radius: 26px; font-size: 15px; color: var(--text);
    background: var(--white); border: 1px solid var(--line); transition: all .3s;
}
.page-tabs a.active, .page-tabs a:hover { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(10,92,245,.3); }
.about-content { background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 20px rgba(23,43,99,.07); padding: 46px 50px; }
.about-content h2 { font-size: 26px; color: var(--ink); margin-bottom: 24px; padding-left: 14px; border-left: 5px solid var(--primary); }
.about-content .rich { font-size: 15.5px; line-height: 2.05; }
.about-content .rich p { margin-bottom: 14px; }
.about-content .rich b { color: var(--primary-dark); }

/* AI+教育 专题 */
.edu-hero { position: relative; padding: 110px 0 90px; background: var(--grad-dark); overflow: hidden; }
.edu-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.edu-hero h1 { color: #fff; font-size: 42px; line-height: 1.3; letter-spacing: 2px; margin-bottom: 18px; }
.edu-hero h1 span { color: #5ea0ff; }
.edu-hero p.lead { color: rgba(255,255,255,.72); font-size: 16px; margin-bottom: 32px; }
.edu-hero img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.4); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.edu-points { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 60px; }
.edu-point { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 26px; transition: .3s; }
.edu-point:hover { transform: translateY(-6px); background: rgba(43,123,255,.15); border-color: rgba(43,123,255,.45); }
.edu-point b { display: block; font-size: 19px; color: #fff; margin-bottom: 10px; }
.edu-point b::before { content: "◆ "; color: #5ea0ff; font-size: 14px; }
.edu-point p { font-size: 13.5px; color: rgba(255,255,255,.62); }

/* ---------------- 留言表单 ---------------- */
.msg-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.msg-info { background: var(--grad-dark); border-radius: var(--radius); color: #fff; padding: 44px 40px; position: relative; overflow: hidden; }
.msg-info::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 240px at 90% 0%, rgba(43,123,255,.3), transparent); }
.msg-info > * { position: relative; }
.msg-info h3 { font-size: 26px; margin-bottom: 12px; }
.msg-info > p { color: rgba(255,255,255,.68); font-size: 14.5px; margin-bottom: 30px; }
.mi-item { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.mi-item:last-child { border-bottom: 0; }
.mi-item svg { width: 21px; height: 21px; fill: #5ea0ff; flex-shrink: 0; margin-top: 3px; }
.mi-item b { display: block; font-size: 15px; margin-bottom: 3px; }
.mi-item span { font-size: 13.5px; color: rgba(255,255,255,.65); }
.msg-form { background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 20px rgba(23,43,99,.07); padding: 44px 46px; }
.msg-form h3 { font-size: 22px; color: var(--ink); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-item { display: flex; flex-direction: column; gap: 8px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 14px; color: var(--ink); font-weight: 600; }
.form-item label i { color: #e5484d; font-style: normal; margin-left: 3px; }
.form-item input, .form-item textarea {
    border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 14.5px;
    color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; font-family: inherit;
    background: #fafbfe;
}
.form-item input:focus, .form-item textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10, 92, 245, .12); background: #fff;
}
.form-item textarea { min-height: 130px; resize: vertical; }
.msg-ok {
    margin-bottom: 22px; padding: 14px 18px; border-radius: 10px; background: #e8f8ef; color: #147a43;
    border: 1px solid #bfe9d2; font-size: 14.5px;
}
.validation-msg { color: #e5484d; font-size: 13px; }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.page-btn {
    min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--white); border: 1px solid var(--line); color: var(--text); font-size: 14.5px;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(10,92,245,.3); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0a1526; color: rgba(255,255,255,.65); margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 50px; padding: 64px 0 40px; }
.footer-col h4 { color: #fff; font-size: 17px; letter-spacing: 2px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--grad); }
.footer-brief { font-size: 13.5px; line-height: 1.9; margin-bottom: 24px; }
.footer-stats { display: flex; gap: 30px; }
.footer-stats b { display: block; font-size: 25px; color: #fff; }
.footer-stats span { font-size: 12px; color: rgba(255,255,255,.5); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer-links a, .footer-contact li { font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: #5ea0ff; }
.footer-contact li b { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-links-row { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; }
.footer-links-row a { color: rgba(255,255,255,.45); }
.footer-links-row a:hover { color: #5ea0ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12.5px; color: rgba(255,255,255,.4); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #5ea0ff; }
.demo-link {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 16px; margin-left: 4px;
    border-radius: 20px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 600;
    transition: .25s; box-shadow: 0 4px 12px rgba(10, 92, 245, .25);
}
.demo-link:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10, 92, 245, .4); }
.admin-entry {
    display: inline-block; margin-left: 10px; padding: 1px 12px;
    border: 1px solid rgba(255,255,255,.28); border-radius: 20px;
    font-size: 12px; color: rgba(255,255,255,.65); transition: .25s;
}
.admin-entry:hover { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }

/* ---------------- 浮动工具 ---------------- */
.float-tools { position: fixed; right: 22px; bottom: 90px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.ft-btn {
    width: 48px; height: 48px; border-radius: 12px; background: var(--white); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(23,43,99,.12);
    transition: all .3s; opacity: 0; transform: translateY(20px);
}
.ft-btn.show { opacity: 1; transform: translateY(0); }
.ft-btn svg { width: 21px; height: 21px; fill: var(--primary); }
.ft-btn:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.ft-btn:hover svg { fill: #fff; }

/* 客服按钮 */
.ft-cs { position: fixed; right: 22px; bottom: 36px; z-index: 901; opacity: 1; transform: none; flex-direction: column; gap: 2px; }
.ft-cs .ft-badge { font-size: 10px; color: var(--primary); line-height: 1; margin-top: 1px; }
.ft-cs:hover .ft-badge { color: #fff; }

/* 客服面板 */
.cs-panel {
    position: fixed; right: 22px; bottom: 100px; z-index: 902;
    width: 280px; background: #fff; border-radius: 16px;
    box-shadow: 0 16px 48px rgba(23,43,99,.2); border: 1px solid var(--line);
    transform: scale(.85) translateY(20px); opacity: 0; pointer-events: none;
    transform-origin: bottom right; transition: all .28s cubic-bezier(.16,1,.3,1);
}
.cs-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.cs-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 8px; font-size: 15px; font-weight: 600; color: var(--dark); border-bottom: 1px solid var(--bg); }
.cs-close { font-size: 22px; color: var(--muted); text-decoration: none; line-height: 1; }
.cs-close:hover { color: var(--danger); }
.cs-panel-body { padding: 14px 18px 18px; }
.cs-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cs-item-label { font-size: 13px; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.cs-dot.wechat { background: #07c160; }
.cs-dot.qq { background: #12b7f5; }
.cs-qr { width: 170px; height: 170px; border-radius: 10px; border: 1px solid var(--line); display: block; margin: 0 auto; }
.cs-tip { font-size: 12px; color: var(--muted); margin-top: 6px; }
.cs-divider { height: 1px; background: var(--bg); margin: 14px 0; }
.cs-qq-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; background: linear-gradient(135deg, #12b7f5, #0d8cd9); color: #fff; border-radius: 8px; font-size: 13px; text-decoration: none; transition: opacity .2s; }
.cs-qq-btn:hover { opacity: .88; }
.cs-qq-btn svg { fill: #fff; }

/* 聊天框 */
.chat-box { width: 100%; max-width: 240px; }
.chat-msgs { height: 200px; overflow-y: auto; padding: 8px; background: #f5f6f8; border-radius: 8px; margin-bottom: 8px; }
.chat-msgs::-webkit-scrollbar { width: 4px; }
.chat-msgs::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.chat-msg { margin-bottom: 8px; line-height: 1.5; }
.chat-msg .cm-name { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.chat-msg .cm-bubble { display: inline-block; padding: 6px 12px; border-radius: 10px; font-size: 13px; max-width: 85%; word-break: break-word; }
.chat-msg.visitor .cm-bubble { background: #e8edf5; color: var(--dark); }
.chat-msg.admin .cm-bubble { background: var(--grad); color: #fff; }
.chat-msg.admin { text-align: right; }
.chat-input-wrap { display: flex; gap: 6px; }
.chat-input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 13px; outline: none; }
.chat-input:focus { border-color: var(--primary); }
.chat-send { background: var(--grad); color: #fff; border: none; border-radius: 8px; padding: 6px 14px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.chat-send:hover { opacity: .88; }

@media (max-width: 600px) {
    .cs-panel { width: calc(100vw - 44px); right: 22px; }
    .ft-cs { bottom: 30px; }
}

/* ---------------- 滚动进场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(36px); transition: all .8s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
    .cols-4, .adv-grid, .stats-grid, .edu-points { grid-template-columns: repeat(2, 1fr); }
    .cols-3 { grid-template-columns: repeat(2, 1fr); }
    .banner-arrows { right: 30px; }
}
@media (max-width: 860px) {
    body { padding-top: 64px; }
    .header-inner { height: 64px; }
    .header-tel { display: none; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: #fff;
        flex-direction: column; align-items: stretch; padding: 20px; gap: 4px;
        transform: translateX(100%); transition: transform .35s; overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav > a, .nav-item > a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav-item .dropdown { display: none; }
    .nav-item.open .dropdown {
        display: block; position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border: 0; padding: 0 0 6px 20px;
    }
    .dropdown-wide .dropdown-cates { grid-template-columns: 1fr; }
    .banner { height: auto; min-height: 480px; }
    .banner-slide { position: absolute; }
    .banner-text h2 { font-size: 32px; }
    .banner-text p { font-size: 15.5px; }
    .intro-grid, .news-layout, .msg-wrap, .edu-hero .container { grid-template-columns: 1fr; }
    .list-layout { grid-template-columns: 1fr; }
    .side-panel { position: static; }
    .cols-3, .cols-4 { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .section-head h2 { font-size: 27px; }
    .detail-wrap, .about-content, .msg-form { padding: 28px 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 34px; }
    .page-banner h1 { font-size: 28px; }
    .edu-hero h1 { font-size: 30px; }
    .edu-points { grid-template-columns: 1fr; margin-top: 34px; }
    .banner-text h2 br { display: none; }
}
