/* 全局样式 */

body {
    margin: 0;
    color: rgba(0, 0, 0, 0.65);
    /* font-size: 14px; */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-variant: tabular-nums;
    line-height: 1.5;
    background-color: #fff;
    -webkit-font-feature-settings: 'tnum';
    font-feature-settings: 'tnum';
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

@media (max-width: 3000px) {
    html {
        font-size: 15px !important;
    }
}

@media (max-width: 2500px) {
    html {
        font-size: 15px !important;
    }
}

@media (max-width: 2000px) {
    html {
        font-size: 13px !important;
    }
}

@media (max-width: 1600px) {
    html {
        font-size: 13px !important;
    }
}

@media (max-width: 1400px) {
    html {
        font-size: 12px !important;
    }
}

::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
}

::-webkit-scrollbar-track {
    border-radius: 1px;
}

::-webkit-scrollbar-thumb {
    border-radius: 1px;
    background: rgba(0, 0, 0, 0.2);
}

:root {
    --primary-color: #2453a2;
    /* 品牌主色（绿色） */
    --secondary-color: #29b9b9;
    /* 辅助色（蓝色） */
    --text-dark: #333;
    /* 深色文字 */
    --text-light: #666;
    /* 浅色文字 */
    --bg-light: #f8f9fa;
    /* 浅背景色 */
    --bg-dark: #333;
    /* 深背景色 */
    --white-trans: rgba(255, 255, 255, 0.9);
    /* 白色半透明 */
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* 基础阴影 */
    --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* hover阴影 */
    --banner-count: 3;
    --visible-count: 1;
}

.guide-page {
    width: 100%;
    float: left;
    height: 100%;
    background: #f3f3f3;
}


/* 顶部导航栏 */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 4rem;
}

.navbar .brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.navbar .nav-links {
    display: flex;
    gap: 2rem;
}

.navbar .nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.navbar .nav-links a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}


/* 移动端汉堡菜单 */

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}


/* 轮播图区域 */

.banner {
    position: relative;
    width: 100%;
    height: calc(100vh - 4rem);
    overflow: hidden;
}

.banner-slides {
    display: flex;
    width: calc(100% * var(--banner-count, 2));
    height: 100%;
    transition: transform 0.4s ease;
}

.banner-slide {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* filter: blur(1px); */
}


/* 登录入口固定层 */

.login-card {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
    width: 80%;
    max-width: 900px;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.login-item {
    text-align: center;
    flex: 1;
    background: var(--white-trans);
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 2rem 3rem;
}

.login-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.login-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.login-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    line-height: 100%;
}

.login-btn:hover {
    background: #219653;
    transform: scale(1.05);
}


/* 流程轮播区 */

.process-section {
    padding: 4rem 5%;
    position: relative;
    z-index: 3;
    /* background: var(--bg-light); */
}

.process-section h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.process-carousel {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    /* -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); */
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); */
    width: calc(100% - -41rem);
    /* background: #f8f9fa; */
    margin-left: 18px;
    border: unset;
    flex: auto;
}

.process-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.process-slide {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    width: calc(100% / var(--visible-count, 2));
    height: 24vw;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    /* box-shadow: var(--shadow); */
    min-width: 150px;
    flex: 1;
    /* max-width: 50vw; */
}

.footer-item-title {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    color: #fff;
    letter-spacing: .1rem;
    float: left;
}

.ewm_box>div {
    width: 100%;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 5px;
}

.step-num {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: bold;
}

.process-step:nth-child(even) .step-num {
    background: #f1c40f;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.4;
}


/* 轮播控制按钮 */

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--primary-color);
    color: white;
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}


/* 操作手册下载区 */

.manual-section {
    padding: 1rem 5% 7rem;
    margin: 0rem auto 0;
    /* background: #f3f3f3;
    margin-top: 50px; */
}

.manual-section h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.manual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}

.manual-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: all 0.3s ease;
    /* display: flex; */
    /* flex-direction: column; */
    /* height: 100%; */
}

.manual-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.manual-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    margin-top: 0;
}

.manual-tag {
    display: inline-block;
    background: #e8f5e9;
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.manual-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    margin-top: 0;
}

.download-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #1a6da0;
}

.download-btn i {
    font-size: 1rem;
}


/* 底部信息区 */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 5%;
}

.footer-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-item {
    flex: auto;
}

.footer-item h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    color: #fff;
    letter-spacing: .1rem;
}

.footer-item p,
.footer-item a {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.8;
    text-decoration: none;
    margin-bottom: 0!important;
}

.footer-item a:hover {
    color: white;
    text-decoration: underline;
}

.footer-item .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.8rem;
}


/* 响应式适配 */

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    .navbar .nav-links.show {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .banner {
        height: 400px;
    }
    .login-card {
        flex-direction: column;
        width: 90%;
        padding: 1.5rem;
    }
    .process-slide {
        flex-direction: column;
        gap: 1rem;
    }
    .process-step {
        width: 100%;
        max-width: none;
    }
    .carousel-control {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .process-slides {
        flex-direction: column;
    }
    .process-slide {
        width: 100%;
    }
    .manual-grid {
        grid-template-columns: 1fr;
    }
}

.process-section {
    max-width: 1500px;
    margin: 3rem auto 0;
    padding: 20px;
    /* background: #fff; */
    border-radius: 12px;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); */
}

.process-section h2,
.manual-section h2 {
    text-align: center;
    margin: 24px 0 48px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    position: relative;
}

.process-section h2::after,
.manual-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1890ff, #52c41a);
    margin: 8px auto;
    border-radius: 2px;
}


/* 快速导航样式 */

.quick-nav {
    margin-bottom: 24px;
}

.nav-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.jump-select {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jump-select label {
    font-weight: 500;
    color: #595959;
    white-space: nowrap;
}

.custom-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    color: #1a1a1a;
    outline: none;
    transition: all 0.3s;
    cursor: pointer;
}

.custom-select:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.custom-select:hover {
    border-color: #40a9ff;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-input>>>.ant-input {
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    transition: all 0.3s;
}

.search-input>>>.ant-input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.search-input>>>.ant-input-search-button {
    border-radius: 0 6px 6px 0;
}

.counter {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    min-width: 80px;
    justify-content: center;
}

.counter .current {
    font-size: 18px;
    font-weight: 600;
    color: #1890ff;
}

.counter .separator {
    color: #bfbfbf;
    margin: 0 4px;
}

.counter .total {
    color: #8c8c8c;
    font-weight: 500;
}


/* 轮播区样式 */

.process-carousel {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 3px rgba(0, 0, 0, 0.2);
}

.carousel-container {
    overflow: hidden;
    border-radius: 10px;
}

.process-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.process-slide {
    flex: 0 0 100%;
    position: relative;
    /* opacity: 0.3; */
    transition: opacity 0.3s ease;
    height: 100%;
}

.process-slide.active {
    opacity: 1;
}

.process-step {
    position: relative;
    width: 100%;
    height: 400px;
    background: #ffffff;
}

.process-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.image-title {
    font-size: 18px;
    font-weight: 500;
    max-width: 70%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.image-number {
    font-size: 14px;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 12px;
}


/* 轮播控制按钮 */

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-control:hover:not(.disabled) {
    background: white;
    color: #1890ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control:active:not(.disabled) {
    transform: translateY(-50%) scale(0.95);
}

.carousel-control.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}


/* 增强指示器样式 */

.enhanced-indicators {
    /* margin-top: 24px; */
    padding: 16px;
    /* background: #f8f9fa; */
    border-radius: 8px;
    /* border: 1px solid #e8e8e8; */
    display: flex;
    flex-direction: column;
    /* background: rgba(255, 255, 255, 1); */
}

.indicators-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.enhanced-indicator {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(25% - 8px);
    flex: 0 0 calc(25% - 8px);
    /* min-width: 200px; */
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 5px 12px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    margin: 4px 0;
}

.enhanced-indicator:hover {
    border-color: #40a9ff;
    box-shadow: 0 2px 8px rgba(64, 169, 255, 0.2);
    transform: translateY(-2px);
}

.enhanced-indicator.active {
    border-color: #1890ff;
    background: #f0f9ff;
    box-shadow: 0 2px 12px rgba(24, 144, 255, 0.15);
}

.enhanced-indicator.is-matching {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 144, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(24, 144, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(24, 144, 255, 0);
    }
}

.indicator-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.indicator-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border-radius: 50%;
    font-weight: 600;
    color: #595959;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.enhanced-indicator.active .indicator-number {
    background: #1890ff;
    color: white;
}

.indicator-info {
    flex: 1;
    min-width: 0;
}

.indicator-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.enhanced-indicator.active .indicator-title {
    color: #1890ff;
    font-weight: 600;
}

.indicator-preview {
    display: block;
    font-size: 12px;
    color: #8c8c8c;
    margin-top: 2px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.enhanced-indicator:hover .indicator-preview,
.enhanced-indicator.active .indicator-preview {
    opacity: 1;
    transform: translateY(0);
}

.indicator-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1890ff, #52c41a);
    animation: progress 8s linear infinite;
    transform-origin: left;
}

@keyframes progress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}


/* 响应式设计 */

@media (max-width: 1024px) {
    .nav-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .jump-select,
    .search-box {
        min-width: 100%;
    }
    .counter {
        align-self: center;
    }
    .enhanced-indicator {
        flex: 0 0 calc(33.333% - 8px);
    }
}

@media (max-width: 768px) {
    .process-step {
        height: 300px;
    }
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
    .enhanced-indicator {
        flex: 0 0 calc(50% - 8px);
    }
    .image-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .image-title {
        max-width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .process-section {
        padding: 15px;
    }
    .process-step {
        height: 250px;
    }
    .enhanced-indicator {
        flex: 0 0 100%;
    }
    .indicators-container {
        max-height: 200px;
        overflow-y: auto;
    }
    .nav-controls {
        padding: 12px;
    }
    .jump-select label {
        display: none;
    }
}

.ewm_box {
    float: left;
    width: 100px;
}

.text_box {
    width: 100%;
    height: calc(100vh - 6rem);
    position: relative;
    display: flex;
    overflow: hidden;
}

.manual-section {
    align-self: center;
    width: 80%;
    position: relative;
    z-index: 3;
}

.text_box_back {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 0;
}

.blank_box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    z-index: 1;
}