/* ============================================================
   清湛智造官网 - 站点补充样式（沿用 Notech 主题色板）
   主色 --notech-base: #6653e8  标题 --notech-black: #1b1525
   正文 --notech-gray: #777181  边框 --notech-bdr-color: #e9e9ee
   ============================================================ */

/* ---------- 内页页头 ---------- */
.tz-page-hero {
    position: relative;
    padding: 130px 0 90px;
    background: linear-gradient(135deg, #1b1525 0%, #2d2350 55%, #6653e8 130%);
    overflow: hidden;
}
.tz-page-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 83, 232, .55) 0%, rgba(102, 83, 232, 0) 70%);
}
.tz-page-hero .container { position: relative; z-index: 2; }
.tz-page-hero__tagline {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 14px;
}
.tz-page-hero__title {
    font-size: 46px;
    line-height: 1.2;
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
}
.tz-page-hero__desc {
    max-width: 720px;
    font-size: 16px;
    line-height: 30px;
    color: rgba(255, 255, 255, .78);
}

/* ---------- 通用区块 ---------- */
.tz-section { padding: 100px 0; }
.tz-section--gray { background-color: var(--notech-extra, #f7f7f9); }
.tz-section__desc {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
    font-size: 16px;
    line-height: 32px;
    color: var(--notech-gray, #777181);
}
.tz-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(102, 83, 232, .1);
    color: var(--notech-base, #6653e8);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ---------- 卡片网格 ---------- */
.tz-grid { display: grid; gap: 30px; }
.tz-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tz-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tz-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199px) {
    .tz-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .tz-grid--3, .tz-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .tz-grid--2, .tz-grid--3, .tz-grid--4 { grid-template-columns: 1fr; }
}

.tz-card {
    background: #fff;
    border: 1px solid var(--notech-bdr-color, #e9e9ee);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
    height: 100%;
}
.tz-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(27, 21, 37, .1);
}
.tz-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f2f1f7;
}
.tz-card__img > a { display: block; height: 100%; }
.tz-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.tz-card:hover .tz-card__img img { transform: scale(1.04); }
.tz-card__body { padding: 26px 28px 30px; }
.tz-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--notech-black, #1b1525);
    margin-bottom: 12px;
    line-height: 1.4;
}
.tz-card__title a { color: inherit; }
.tz-card__title a:hover { color: var(--notech-base, #6653e8); }
.tz-card__text {
    font-size: 15px;
    line-height: 28px;
    color: var(--notech-gray, #777181);
    margin: 0;
}
.tz-card__meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tz-card__meta span {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--notech-extra, #f7f7f9);
    color: var(--notech-gray, #777181);
    border: 1px solid var(--notech-bdr-color, #e9e9ee);
}
.tz-card__more {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--notech-base, #6653e8);
}
.tz-card__more:hover { color: #5240cf; }
.tz-card__more i { transition: transform .3s ease; }
.tz-card__more:hover i { transform: translateX(4px); }

/* ---------- 三位一体平台卡片 ---------- */
.tz-super {
    border-radius: 24px;
    padding: 40px 36px;
    height: 100%;
    color: #fff;
    position: relative;
    overflow: hidden;
    /* 叠一层浅色遮罩，压暗渐变明亮端，保证白字在 #8f7cf5 一端也有足够对比度 */
    background-image: linear-gradient(rgba(27, 21, 37, .16), rgba(27, 21, 37, .16)), var(--tz-super-bg);
}
.tz-super::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.tz-super__en {
    color: #fff;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: .8;
    margin-bottom: 10px;
}
.tz-super__title {
    color: #fff;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    /* main.css 的重置给 div 直接写了 color/font-size，且三张卡片标题行数不一，
       这里固定两行高度，保证三张卡片的正文起始线对齐 */
    min-height: 2.8em;
    margin-bottom: 14px;
}
.tz-super__text { color: #fff; font-size: 15px; line-height: 28px; }
.tz-super__list { margin-top: 20px; padding: 0; list-style: none; }
.tz-super__list li {
    color: #fff;
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    line-height: 28px;
}
.tz-super__list li + li { margin-top: 4px; }
.tz-super__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: 700;
}
.tz-super--vision { --tz-super-bg: linear-gradient(135deg, #6653e8 0%, #8f7cf5 100%); }
.tz-super--flow { --tz-super-bg: linear-gradient(135deg, #1b1525 0%, #3d2f77 100%); }
.tz-super--pilot { --tz-super-bg: linear-gradient(135deg, #37309b 0%, #6653e8 100%); }

/* ---------- 按钮文字色修正：main.css 的 a/a:visited 会覆盖 .thm-btn 文字色 ---------- */
.thm-btn, .thm-btn:visited, .thm-btn:hover { color: var(--notech-white, #fff); }

/* ---------- 云平台卡片 ---------- */
.tz-cloud-card {
    background: #fff;
    border: 1px solid var(--notech-bdr-color, #e9e9ee);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease;
}
.tz-cloud-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(27, 21, 37, .1);
}
.tz-cloud-card__head {
    padding: 34px 34px 26px;
    color: #fff;
    position: relative;
}
.tz-cloud-card__head h3 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tz-cloud-card__head p { font-size: 14px; color: rgba(255, 255, 255, .92); margin: 0; }
.tz-cloud-card__head .tz-cloud-card__badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 14px;
}
.tz-cloud-card--zh { background: linear-gradient(135deg, #6653e8 0%, #8f7cf5 100%); }
.tz-cloud-card--qian { background: linear-gradient(135deg, #1b1525 0%, #37309b 100%); }
.tz-cloud-card--zhu { background: linear-gradient(135deg, #4527a0 0%, #7c4dff 100%); }
.tz-cloud-card__body { padding: 28px 34px 34px; flex: 1; }
.tz-cloud-card__body ul { list-style: none; padding: 0; margin: 0; }
.tz-cloud-card__body li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 30px;
    color: var(--notech-gray, #777181);
}
.tz-cloud-card__body li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--notech-base, #6653e8);
}
.tz-cloud-card__foot { padding: 0 34px 34px; margin-top: auto; }

/* ---------- 数据指标 ---------- */
.tz-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
@media (max-width: 991px) { .tz-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .tz-stats { grid-template-columns: 1fr; } }
.tz-stat {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 34px 20px;
    text-align: center;
}
.tz-stat__num {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.tz-stat__num span { font-size: 20px; color: var(--notech-base, #a89bff); }
.tz-stat__label { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .75); }

/* ---------- 发展历程时间线 ---------- */
.tz-timeline { position: relative; padding-left: 36px; }
.tz-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--notech-bdr-color, #e9e9ee);
}
.tz-timeline__item { position: relative; padding-bottom: 36px; }
.tz-timeline__item:last-child { padding-bottom: 0; }
.tz-timeline__item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--notech-base, #6653e8);
    box-shadow: 0 0 0 5px rgba(102, 83, 232, .15);
}
.tz-timeline__year {
    font-size: 18px;
    font-weight: 700;
    color: var(--notech-base, #6653e8);
    margin-bottom: 8px;
}
.tz-timeline__text { font-size: 15px; line-height: 28px; color: var(--notech-gray, #777181); }

/* ---------- 客户墙 ---------- */
.tz-customers {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.tz-customers span {
    padding: 10px 22px;
    background: #fff;
    border: 1px solid var(--notech-bdr-color, #e9e9ee);
    border-radius: 999px;
    font-size: 14px;
    color: var(--notech-gray, #777181);
    transition: all .3s ease;
}
.tz-customers span:hover {
    color: var(--notech-base, #6653e8);
    border-color: var(--notech-base, #6653e8);
}

/* ---------- 文章列表 / 详情 ---------- */
.tz-article-card__img { aspect-ratio: 16 / 9; }
.tz-article-card__date {
    font-size: 13px;
    color: var(--notech-base, #6653e8);
    font-weight: 600;
    letter-spacing: 1px;
}
.tz-article-detail { max-width: 860px; margin: 0 auto; }
.tz-article-detail__head { margin-bottom: 36px; }
.tz-article-detail__title {
    font-size: 34px;
    font-weight: 700;
    color: var(--notech-black, #1b1525);
    line-height: 1.4;
    margin: 14px 0;
}
.tz-article-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: var(--notech-gray, #777181);
}
.tz-article-detail__body {
    font-size: 16px;
    line-height: 34px;
    color: #443c52;
}
.tz-article-detail__body img { max-width: 100%; border-radius: 16px; margin: 18px 0; }
.tz-article-detail__body h2, .tz-article-detail__body h3 {
    color: var(--notech-black, #1b1525);
    margin: 32px 0 16px;
}
.tz-article-detail__body p { margin-bottom: 18px; }
.tz-article-detail__body pre {
    background: #1b1525;
    color: #e8e4f5;
    padding: 20px;
    border-radius: 14px;
    overflow-x: auto;
    font-size: 14px;
}
.tz-article-detail__body blockquote {
    border-left: 4px solid var(--notech-base, #6653e8);
    background: var(--notech-extra, #f7f7f9);
    padding: 16px 22px;
    border-radius: 0 14px 14px 0;
    color: var(--notech-gray, #777181);
}
.tz-article-cover {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 36px;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

/* ---------- 后台管理 ---------- */
.tz-admin { max-width: 1080px; margin: 0 auto; padding: 40px 20px 80px; }
.tz-admin__card {
    background: #fff;
    border: 1px solid var(--notech-bdr-color, #e9e9ee);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(25, 25, 26, .05);
}
.tz-admin h2 { color: var(--notech-black, #1b1525); font-weight: 700; }
.tz-admin label {
    font-size: 14px;
    font-weight: 600;
    color: var(--notech-black, #1b1525);
    margin-bottom: 6px;
    display: block;
}
.tz-admin .form-control, .tz-admin .form-select {
    border-radius: 12px;
    border: 1px solid var(--notech-bdr-color, #e9e9ee);
    padding: 10px 14px;
    font-size: 15px;
}
.tz-admin .form-control:focus, .tz-admin .form-select:focus {
    border-color: var(--notech-base, #6653e8);
    box-shadow: 0 0 0 3px rgba(102, 83, 232, .12);
}
.tz-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--notech-base, #6653e8);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s ease;
}
.tz-btn-primary:hover { background: #5240cf; color: #fff; }
.tz-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--notech-base, #6653e8);
    border: 1px solid var(--notech-base, #6653e8);
    border-radius: 999px;
    padding: 9px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}
.tz-btn-ghost:hover { background: rgba(102, 83, 232, .08); }
.tz-btn-danger {
    background: transparent;
    color: #e5484d;
    border: 1px solid #e5484d;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13px;
    cursor: pointer;
}
.tz-btn-danger:hover { background: #e5484d; color: #fff; }
.tz-admin-table { width: 100%; border-collapse: collapse; }
.tz-admin-table th, .tz-admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--notech-bdr-color, #e9e9ee);
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
}
.tz-admin-table th { color: var(--notech-black, #1b1525); font-weight: 700; }
.tz-admin-table td { color: var(--notech-gray, #777181); }
.tz-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.tz-status--published { background: rgba(46, 160, 67, .12); color: #2ea043; }
.tz-status--draft { background: rgba(240, 166, 35, .14); color: #d98a00; }
.tz-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    background: #1b1525;
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(27, 21, 37, .25);
    opacity: 0;
    transition: opacity .3s ease;
}
.tz-toast.show { opacity: 1; }

/* ---------- CTA 条 ---------- */
.tz-cta {
    background: linear-gradient(120deg, #1b1525 0%, #37309b 60%, #6653e8 100%);
    border-radius: 28px;
    padding: 56px 50px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.tz-cta h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.tz-cta p { color: #fff; opacity: .8; margin: 0; }
/* 按钮原底色 #6653e8 与 CTA 渐变右端同色，按钮轮廓和文字一起糊掉；
   改为深色半透明底 + 白色描边，白字与底色对比度 8:1 以上 */
.tz-cta .thm-btn {
    color: #fff;
    background-color: rgba(27, 21, 37, .7);
    border: 1px solid rgba(255, 255, 255, .8);
    flex: none;
}
.tz-cta .thm-btn:visited { color: #fff; }
.tz-cta .thm-btn:hover {
    color: #fff;
    background-color: rgba(27, 21, 37, .88);
    border-color: #fff;
}

/* ------------------------------------------------------------------
   首页产品矩阵：符号化图标卡片（顶部图标等高、卡片顶/底对齐）
   ------------------------------------------------------------------ */
#chanpin .project-one__single {
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(27, 21, 37, 0.07);
    overflow: hidden;
    transition: box-shadow 300ms ease, transform 300ms ease;
}
#chanpin .project-one__single:hover {
    box-shadow: 0 16px 40px rgba(102, 83, 232, 0.18);
    transform: translateY(-4px);
}
#chanpin .project-one__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 26px 28px 28px;
}
#chanpin .project-one__btn {
    margin-top: auto;
    align-self: flex-start;
}
.tz-product-icon {
    height: 150px;
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f2f0ff 0%, #e5e1ff 100%);
    border-bottom: 1px solid rgba(102, 83, 232, 0.10);
}
.tz-product-icon i {
    font-size: 54px;
    line-height: 1;
    color: #6653e8;
    transition: transform 400ms ease;
}
.project-one__single:hover .tz-product-icon i {
    transform: scale(1.12);
}

/* 焦点可见性：鼠标/触摸点击不显示任何焦点框
   （覆盖 main.css 的 `:focus{outline-style:auto}` 在点击时绘制的黑色焦点环）；
   键盘 Tab 聚焦时改用柔和的品牌色光晕（替代生硬的方框），
   导航项复用主题自带的下划线展开效果，视觉与 hover 一致 */
:focus:not(:focus-visible) {
    outline: none;
}
html :focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 83, 232, .35);
    border-radius: 6px;
}
.main-menu__list>li>a:focus-visible,
.stricky-header .main-menu__list>li>a:focus-visible {
    box-shadow: none;
    border-radius: 0;
    color: var(--notech-black);
}
.main-menu__list>li>a:focus-visible::before,
.stricky-header .main-menu__list>li>a:focus-visible::before {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    background-color: var(--notech-base);
}
