/* ==============================
   技术支持页面
   Theme: #293b86 / #0305d5
================================= */

.support-page {
    width: 100%;
    padding: 0 0 70px;
    background: #f7f9ff;
}

/* 导航 */
.support-nav-wrap {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e6ebf7;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.support-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 18px 0;
    overflow-x: auto;
}

.support-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 42px;
    padding: 0 24px;
    box-sizing: border-box;
    border: 1px solid #dfe5f5;
    border-radius: 24px;
    background: #fff;
    color: #293b86;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .25s ease;
}

.support-nav a:hover,
.support-nav a.active {
    background: #293b86;
    border-color: #293b86;
    color: #fff;
    box-shadow: 0 10px 24px rgba(41,59,134,.20);
}

.support-main {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding-top: 46px;
}

.support-section {
    padding: 38px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e6ebf7;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(41,59,134,.06);
    scroll-margin-top: 95px;
}

.support-section-head {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e6ebf7;
}

.support-section-head span {
    display: inline-block;
    margin-bottom: 8px;
    color: #0305d5;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.support-section-head h2 {
    margin: 0;
    color: #293b86;
    font-size: 32px;
    line-height: 42px;
    font-weight: bold;
}

.support-section-head p {
    max-width: 820px;
    margin: 14px 0 0;
    color: #666;
    font-size: 15px;
    line-height: 28px;
}

/* 技术文档下载 */
.support-doc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-doc-item {
    display: flex;
    align-items: center;
    padding: 22px 24px;
    box-sizing: border-box;
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
    border-radius: 16px;
    transition: all .25s ease;
}

.support-doc-item:hover {
    background: #fff;
    border-color: #293b86;
    box-shadow: 0 14px 32px rgba(41,59,134,.10);
    transform: translateY(-3px);
}

.support-doc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-right: 18px;
    border-radius: 50%;
    background: #293b86;
    color: #fff;
    font-size: 26px;
    flex-shrink: 0;
}

.support-doc-info {
    flex: 1;
    min-width: 0;
}

.support-doc-info h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 19px;
    line-height: 28px;
    font-weight: bold;
}

.support-doc-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 26px;
}

.support-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 40px;
    margin-left: 22px;
    padding: 0 18px;
    box-sizing: border-box;
    border-radius: 22px;
    background: #293b86;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s ease;
    flex-shrink: 0;
}

.support-doc-btn i {
    margin-left: 8px;
}

.support-doc-btn:hover {
    background: #0305d5;
    color: #fff;
}

/* 应用笔记 */
.support-article-list {
    display: flex;
    flex-direction: column;
}

.support-article-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 22px 40px 22px 0;
    border-bottom: 1px solid #e6ebf7;
    text-decoration: none;
    transition: all .25s ease;
}

.support-article-item:last-child {
    border-bottom: none;
}

.support-article-date {
    width: 120px;
    flex-shrink: 0;
}

.support-article-date strong {
    display: block;
    color: #999;
    font-size: 14px;
    line-height: 26px;
    font-weight: normal;
}

.support-article-info {
    flex: 1;
    min-width: 0;
}

.support-article-info h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 19px;
    line-height: 28px;
    font-weight: bold;
    transition: all .25s ease;
}

.support-article-info p {
    height: 52px;
    margin: 0;
    overflow: hidden;
    color: #666;
    font-size: 14px;
    line-height: 26px;
}

.support-article-item > i {
    position: absolute;
    right: 0;
    top: 26px;
    color: #b8bfd4;
    font-size: 22px;
    transition: all .25s ease;
}

.support-article-item:hover .support-article-info h3,
.support-article-item:hover > i {
    color: #0305d5;
}

.support-article-item:hover {
    padding-left: 10px;
}

/* 样品申请 */
.support-sample-layout {
    display: grid;
    grid-template-columns: 36% 61.5%;
    gap: 34px;
    align-items: stretch;
}

.support-sample-info {
    padding: 30px;
    box-sizing: border-box;
    border-radius: 18px;
    background: linear-gradient(135deg, #293b86 0%, #0305d5 100%);
    color: #fff;
}

.support-sample-info h3 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 24px;
    line-height: 34px;
    font-weight: bold;
}

.support-process-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.support-process-item {
    display: flex;
    align-items: flex-start;
}

.support-process-item em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-style: normal;
    font-size: 14px;
    flex-shrink: 0;
}

.support-process-item strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 16px;
}

.support-process-item p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    line-height: 24px;
}

/* 表单 */
.support-sample-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.support-form-row {
    position: relative;
}

.support-form-row label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    line-height: 22px;
}

.support-form-row label em {
    color: #ff4d4f;
    font-style: normal;
}

.support-form-row input,
.support-form-row textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe5f5;
    outline: none;
    background: #fff;
    color: #333;
    font-size: 14px;
    transition: all .25s ease;
}

.support-form-row input {
    height: 46px;
    padding: 0 15px;
    line-height: 46px;
    border-radius: 10px;
}

.support-form-row textarea {
    height: 130px;
    padding: 13px 15px;
    line-height: 24px;
    border-radius: 10px;
    resize: none;
}

.support-form-row input:focus,
.support-form-row textarea:focus {
    border-color: #293b86;
    box-shadow: 0 0 0 3px rgba(41,59,134,.08);
}

.support-form-row.error input,
.support-form-row.error textarea {
    border-color: #ff4d4f;
}

.support-error-msg {
    margin-top: 6px;
    color: #ff4d4f;
    font-size: 13px;
    line-height: 20px;
}

.support-form-full {
    grid-column: 1 / 3;
}

.support-form-submit {
    grid-column: 1 / 3;
}

.support-form-submit button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 46px;
    border: none;
    outline: none;
    border-radius: 24px;
    background: #293b86;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all .25s ease;
}

.support-form-submit button i {
    margin-left: 8px;
}

.support-form-submit button:hover {
    background: #0305d5;
    transform: translateY(-2px);
}

/* FAQ */
.support-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-faq-item {
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
    border-radius: 16px;
    overflow: hidden;
    transition: all .25s ease;
}

.support-faq-item:hover {
    border-color: #293b86;
    box-shadow: 0 12px 28px rgba(41,59,134,.08);
}

.support-faq-question {
    min-height: 66px;
    padding: 0 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.support-faq-question h3 {
    margin: 0;
    color: #111;
    font-size: 17px;
    line-height: 26px;
    font-weight: bold;
}

.support-faq-question i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dfe5f5;
    color: #293b86;
    font-size: 14px;
    transition: all .25s ease;
    flex-shrink: 0;
}

.support-faq-answer {
    display: none;
    padding: 0 22px 20px;
}

.support-faq-answer p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 28px;
}

.support-faq-item.active {
    background: #fff;
    border-color: #293b86;
}

.support-faq-item.active .support-faq-question h3 {
    color: #293b86;
}

.support-faq-item.active .support-faq-question i {
    background: #293b86;
    color: #fff;
    border-color: #293b86;
    transform: rotate(45deg);
}

/* Loading / Message */
.support-form-mask {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
}

.support-form-mask.active {
    opacity: 1;
    visibility: visible;
}

.support-form-loading,
.support-form-message {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10001;
    width: calc(100% - 48px);
    max-width: 380px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 22px 70px rgba(0,0,0,.24);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -46%) scale(.96);
    transition: all .25s ease;
}

.support-form-loading.active,
.support-form-message.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.support-form-loading {
    padding: 36px 28px;
}

.support-loading-icon {
    margin-bottom: 16px;
    color: #293b86;
    font-size: 34px;
}

.support-form-loading p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 24px;
}

.support-form-message {
    padding: 38px 30px 32px;
}

.support-message-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #293b86;
    color: #fff;
    font-size: 28px;
}

.support-form-message.error .support-message-icon {
    background: #ff4d4f;
}

.support-form-message h3 {
    margin: 0 0 10px;
    color: #111;
    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
}

.support-form-message p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 26px;
}

.support-form-message button {
    width: 120px;
    height: 42px;
    margin-top: 24px;
    border: none;
    border-radius: 22px;
    background: #293b86;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
}

.support-form-message button:hover {
    background: #0305d5;
}

.support-form-message.error button {
    background: #ff4d4f;
}

/* ==============================
   技术支持详情页
   Theme: #293b86 / #0305d5
================================= */

.support-detail-page {
    width: 100%;
    background: #fff;
}

/* 面包屑 */
.support-detail-breadcrumb-section {
    width: 100%;
    background: #f7f9ff;
    border-top: 1px solid #e6ebf7;
    border-bottom: 1px solid #e6ebf7;
}

.support-detail-breadcrumb-section .container {
    height: 54px;
}

.support-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 54px;
    color: #666;
    font-size: 14px;
    line-height: 24px;
}

.support-detail-breadcrumb i {
    margin-right: 8px;
    color: #293b86;
    font-size: 15px;
}

.support-detail-breadcrumb a {
    color: #555;
    text-decoration: none;
    transition: all .25s ease;
}

.support-detail-breadcrumb a:hover {
    color: #0305d5;
}

.support-detail-breadcrumb em {
    margin: 0 9px;
    color: #999;
    font-style: normal;
}

.support-detail-breadcrumb span {
    color: #888;
}


/* 主体布局 */
.support-detail-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 42px;
    align-items: start;
    padding: 50px 0 70px;
}

.support-detail-content-wrap {
    min-width: 0;
}

/* 文章头部 */
.support-detail-head {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e6ebf7;
}

.support-detail-label {
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin-bottom: 16px;
    padding: 0 14px;
    border-radius: 18px;
    background: #f2f4ff;
    color: #293b86;
    font-size: 14px;
    line-height: 32px;
}

.support-detail-head h1 {
    margin: 0;
    color: #111;
    font-size: 34px;
    line-height: 46px;
    font-weight: bold;
}

.support-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
    color: #888;
    font-size: 14px;
    line-height: 24px;
}

.support-detail-meta span {
    display: inline-flex;
    align-items: center;
}

.support-detail-meta i {
    margin-right: 7px;
    color: #293b86;
}

/* 摘要 */
.support-detail-summary {
    margin-bottom: 28px;
    padding: 20px 24px;
    box-sizing: border-box;
    background: #f2f4ff;
    border-left: 4px solid #293b86;
    color: #555;
    font-size: 15px;
    line-height: 28px;
}

.support-detail-summary strong {
    color: #293b86;
}

/* 正文 */
.support-detail-content {
    color: #444;
    font-size: 16px;
    line-height: 32px;
}

.support-detail-content p {
    margin: 0 0 18px;
}

.support-detail-content h2,
.support-detail-content h3,
.support-detail-content h4 {
    margin: 30px 0 16px;
    color: #111;
    font-weight: bold;
}

.support-detail-content h2 {
    font-size: 26px;
    line-height: 36px;
}

.support-detail-content h3 {
    font-size: 22px;
    line-height: 32px;
}

.support-detail-content h4 {
    font-size: 18px;
    line-height: 28px;
}

.support-detail-content img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 24px auto;
}

.support-detail-content ul,
.support-detail-content ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.support-detail-content li {
    margin-bottom: 8px;
}

.support-detail-content table {
    width: 100% !important;
    margin: 24px 0;
    border-collapse: collapse;
    background: #fff;
}

.support-detail-content table th,
.support-detail-content table td {
    padding: 12px;
    border: 1px solid #e6ebf7;
}

.support-detail-content table th {
    background: #293b86;
    color: #fff;
}


/* 右侧导航 */
.support-detail-side {
    position: sticky;
    top: 100px;
}

.support-side-box {
    margin-bottom: 26px;
    padding: 26px 24px;
    box-sizing: border-box;
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
    border-radius: 16px;
}

.support-side-title {
    margin-bottom: 18px;
}

.support-side-title h3 {
    margin: 0;
    color: #111;
    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
}

.support-side-title span {
    display: block;
    width: 42px;
    height: 5px;
    margin-top: 9px;
    background: #293b86;
    border-radius: 5px;
}

/* 技术支持导航 */
.support-side-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-side-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 15px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e7f3;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s ease;
}

.support-side-nav a i {
    width: 20px;
    margin-right: 10px;
    color: #293b86;
    font-size: 16px;
    text-align: center;
    transition: all .25s ease;
}

.support-side-nav a:hover,
.support-side-nav a.active {
    background: #293b86;
    border-color: #293b86;
    color: #fff;
}

.support-side-nav a:hover i,
.support-side-nav a.active i {
    color: #fff;
}

/* 相关文章 */
.support-side-list {
    display: flex;
    flex-direction: column;
}

.support-side-list a {
    position: relative;
    display: block;
    padding: 12px 0 12px 16px;
    border-bottom: 1px solid #e1e6f3;
    color: #333;
    font-size: 14px;
    line-height: 24px;
    text-decoration: none;
    transition: all .25s ease;
}

.support-side-list a:last-child {
    border-bottom: none;
}

.support-side-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #293b86;
}

.support-side-list a span {
    display: block;
    height: 24px;
    overflow: hidden;
}

.support-side-list a:hover {
    color: #0305d5;
    padding-left: 20px;
}

/* ==============================
   Article Video
================================= */

.support-detail-video {
    width: 100%;
    margin: 0 0 32px;
    padding: 24px;
    box-sizing: border-box;
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
    border-radius: 16px;
}

.support-detail-video-title {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.support-detail-video-title i {
    margin-right: 10px;
    color: #293b86;
    font-size: 22px;
}

.support-detail-video-title h2 {
    margin: 0;
    color: #111;
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
}

.support-detail-video-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(12, 33, 80, .12);
}

.support-detail-video-box video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    margin: 0;
    background: #000;
    object-fit: contain;
    outline: none;
}

.support-detail-video-box video:focus {
    outline: none;
}

/* ==============================
   相关下载
================================= */
.support-download-box {
    padding-bottom: 20px;
}

.support-download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-download-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e7f3;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    transition: all .25s ease;
}

.support-download-item:hover {
    border-color: #293b86;
    box-shadow: 0 10px 24px rgba(41,59,134,.10);
    transform: translateY(-2px);
}

.support-download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 12px;
    border-radius: 10px;
    background: #f2f4ff;
    color: #293b86;
    font-size: 20px;
    flex-shrink: 0;
    transition: all .25s ease;
}

.support-download-info {
    flex: 1;
    min-width: 0;
}

.support-download-info h4 {
    margin: 0 0 4px;
    overflow: hidden;
    color: #333;
    font-size: 14px;
    line-height: 22px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all .25s ease;
}

.support-download-info p {
    margin: 0;
    color: #999;
    font-size: 12px;
    line-height: 20px;
}

.support-download-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 10px;
    border-radius: 50%;
    background: #f7f9ff;
    color: #293b86;
    font-size: 14px;
    flex-shrink: 0;
    transition: all .25s ease;
}

.support-download-item:hover .support-download-icon {
    background: #293b86;
    color: #fff;
}

.support-download-item:hover .support-download-info h4 {
    color: #293b86;
}

.support-download-item:hover .support-download-action {
    background: #293b86;
    color: #fff;
}

