/* 全局重置 & 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

button {
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

/* 汉堡菜单样式 - 移动端新增 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

nav {
    min-height: 80px;
    background: #F7FCFF;
    color: #333;
    padding: 20px 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-logo {
    width: 74px;
    height: 30px;
    margin-right: 40px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.nav-links a {
    color: #333;
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 4px 0;
    max-width: 130px;
    border-bottom: 2px solid transparent;
    text-align: center;
    word-break: break-all;
}

.nav-links a:hover {
    color: #348AF2;
}

.nav-links a.active {
    color: #095BBF;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}

.nav-contact {
    width: 80px;
    height: 32px;
    background: #0E6ADA;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #ffffff !important;
}

.nav-contact:hover {
    background: #348AF2;
}

.nav-lang {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #999999;
    position: relative;
}

.nav-lang-flex {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.icon-lang {
    width: 16px;
    height: 16px;
    background: url('https://resource.hpti.net/hpt-foreign-website/images/language-icon.png') no-repeat center;
    background-size: contain;
}

.icon-down {
    width: 16px;
    height: 16px;
    background: url('https://resource.hpti.net/hpt-foreign-website/images/down.png') no-repeat center;
    background-size: contain;
}

#languageId:hover>div:nth-child(1) {
    background-image: url('https://resource.hpti.net/hpt-foreign-website/images/language-icon-hover.png');
}

#languageId:hover>div:nth-child(3) {
    background-image: url('https://resource.hpti.net/hpt-foreign-website/images/down-hover.png');
}

#languageId:hover>div:nth-child(2) {
    color: #333333;
}

.water-drop {
    width: 50px;
    height: 38px;
    position: absolute;
    right: 50px;
}

.lang-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #ffffff;
    padding: 12px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    display: none;
    z-index: 999;
    text-align: center;
}

.lang-option {
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: #999999;
}

.lang-option:hover {
    color: #333333;
}

/* Banner区域 */
.banner {
    width: 100%;
    height: 680px;
    position: relative;
    background-image: url("https://resource.hpti.net/hpt-foreign-website/images/investment/investment-bg.png");
    background-size: 100% 100%;
    background-position: center;
    padding: 80px 0 0 360px;
}

.ru-banner {
    height: 780px;
}

.banner-title {
    font-weight: bold;
    font-size: 48px;
    color: #0E6ADA;
    margin-bottom: 40px;
    position: relative;
    z-index: 99;
}

.banner-flex {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 99;
}

.banner-num {
    font-weight: bold;
    font-size: 48px;
    color: #0E6ADA;
}

.banner-type {
    font-size: 36px;
    color: #333333;
    font-weight: bold;
}

.banner-text {
    font-weight: bold;
    font-size: 24px;
    color: #333333;
    margin-top: 12px;
}

.banner-mar {
    margin: 0 100px;
}

.banner-item {
    display: flex;
    align-items: center;
    margin-top: 45px;
    position: relative;
    z-index: 99;
}

.banner-block {
    width: 282px;
    height: 168px;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 20px;
    margin-right: 24px;
    word-break: break-all;
}

.de-banner-block {
    height: 200px;
}

.ru-banner-block {
    height: 240px;
}

.banner-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(14, 106, 218, 0.2), rgba(255, 255, 255, 0)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.banner-img {
    text-align: right;
}

.investment-one {
    width: 68px;
    height: 32px;
    margin-top: 24px;
    margin-right: 40px;
}

.banner-block_text {
    font-weight: bold;
    font-size: 20px;
    color: #333333;
    padding: 0 15px;
    margin-top: 28px;
}

.investment-icon {
    position: absolute;
    width: 810px;
    height: 640px;
    top: 0;
    right: 80px;
    z-index: 1;
}

/* 介绍 */
.introductory {
    width: 100%;
    padding: 140px 0 100px 0;
    background: #ffffff;
}

.introductory-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.introductory-left {
    width: 50%;
}

.introductory-logo {
    width: 73px;
    height: 30px;
}

.introductory-text {
    font-size: 24px;
    color: #333333;
    margin-top: 20px;
}

.introductory-icon1 {
    width: 386px;
    height: 386px;
    margin-left: 100px;
}

/* 用户之声 */
.review-wrapper {
    width: 100%;
    height: 776px;
    background-image: url("https://resource.hpti.net/hpt-foreign-website/images/investment/review-bg.png");
    background-size: 100% 100%;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.review-wrapper_title {
    font-weight: bold;
    font-size: 36px;
    color: #FFFFFF;
    text-align: center;
    padding: 100px 0;
}

.review-scroll {
    width: 100%;
    height: calc(776px - 200px);
    overflow: hidden;
    position: relative;
}

.review-scroll-inner {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
}

.review-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: nowrap;
}

.review-item {
    display: flex;
    align-items: center;
    width: 1140px;
    height: 80px;
    background: rgba(216, 216, 216, 0.4);
    border-radius: 40px;
    margin-left: 80px;
    white-space: normal;
    word-wrap: break-word;
}

.head-portrait {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.review-text {
    font-size: 20px;
    color: #FFFFFF;
    margin-left: 20px;
    flex: 1;
    max-width: calc(100% - 100px);
}

/* 1. 定义自右向左滚动的关键帧动画 */
@keyframes scrollLeft {
    0% {
        /* 初始位置：右侧（translateX(0) 对应两层内容的起始位置） */
        transform: translateX(0);
    }

    100% {
        /* 结束位置：左侧（translateX(-100%) 对应滚动完一层内容的距离，无缝衔接第二层） */
        transform: translateX(-60%);
    }
}

/* 2. 给内层拼接容器添加动画 */
.review-scroll-inner {
    /* 动画属性：名称 时长 匀速 无限循环 */
    animation: scrollLeft 30s linear infinite;
    /* 确保动画流畅，开启硬件加速（可选） */
    will-change: transform;
}

/* 3. 保留Hover暂停功能（调整选择器，匹配内层动画容器） */
/* .review-wrapper:hover .review-scroll-inner {
    animation-play-state: paused;
} */

/* 联系区域 */
.contact {
    padding: 40px 120px;
    background-image: url("https://resource.hpti.net/hpt-foreign-website/images/chat-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

.contact-info .contact-info-title {
    font-weight: bold;
    font-size: 48px;
    color: #333333;
    margin-bottom: 20px;
}

.contact-info .contact-info-text {
    font-size: 24px;
    color: #999999;
}

.contact-info .email,
.contact-info .phone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-info .email img,
.contact-info .phone img {
    width: 32px;
    height: 32px;
}

.contact-info .email .cell-text,
.contact-info .phone .cell-text {
    font-size: 24px;
    color: #333333;
}

.handshake {
    display: flex;
    justify-content: center;
    align-items: center;
}

.handshake img {
    width: 225px;
    max-width: 90%;
    height: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 380px;
    max-width: 90%;
}

.contact-form-title {
    font-weight: bold;
    font-size: 20px;
    color: #333333;
}

.contact-form .contact-form-input {
    width: 100%;
    padding: 16px;
    background: #F0F3F6;
    border: 1px solid #F0F3F6;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form .contact-form-input:focus {
    outline: none;
    border-color: #007bff;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666666;
}

.form-check input {
    width: 24px;
    height: 24px;
}

.form-check .agree {
    font-size: 16px;
    color: #3D3D3D;
}

.form-check .agree-blue {
    color: #0E6ADA;
    text-decoration: underline;
    cursor: pointer;
}

.form-btn {
    width: 120px;
    height: 48px;
    background: #0E6ADA;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.form-btn:hover {
    background: #0056b3;
}

/* 页脚 */
footer {
    background: #022045;
    color: #ffffff;
    padding: 40px 120px 20px 120px;
}

.footer-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #808FA2;
    padding-bottom: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    width: 74px;
    height: 30px;
}

.footer-brand {
    width: 20%;
    min-width: 250px;
}

.footer-brand .footer-introduce {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    line-height: 2;
}

.footer-links-column {
    width: 20%;
    min-width: 200px;
}

.footer-links-column .footer-links-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column li {
    margin-bottom: 16px;
}

.footer-links-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links-column a:hover {
    color: #ffffff;
}

.footer-contact {
    width: 15%;
    min-width: 150px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social img {
    width: 37px;
    height: 37px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-social img[src$="linkedin.png"]:hover {
    content: url('https://resource.hpti.net/hpt-foreign-website/images/linkedin-hover.png');
}

.footer-social img[src$="facebook.png"]:hover {
    content: url('https://resource.hpti.net/hpt-foreign-website/images/facebook-hover.png');
}

.footer-social img[src$="youtube.png"]:hover {
    content: url('https://resource.hpti.net/hpt-foreign-website/images/youtube-hover.png');
}

.footer-social img[src$="Twitter.png"]:hover {
    content: url('https://resource.hpti.net/hpt-foreign-website/images/Twitter-hover.png');
}

.fil {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.reserved {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    text-align: center;
}

/* Cookie提示 */
.cookie-notice {
    background: #333333;
    padding: 20px 120px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-notice .cookie-title {
    width: 70%;
    font-weight: bold;
    font-size: 14px;
    color: #FFFFFF;
}

.cookie-notice button {
    width: 148px;
    height: 48px;
    background: #0E6ADA;
    border-radius: 12px;
    font-weight: bold;
    font-size: 20px;
    color: #FFFFFF;
}

.cookie-notice button:hover {
    background: #0056b3;
}

.cookie-notice .cookie-blue {
    color: #0E6ADA;
    text-decoration: underline;
    cursor: pointer;
}

/* 侧边联系/返回顶部 */
.relation-box {
    position: fixed;
    right: 20px;
    top: 40%;
    width: 68px;
    background: #0E6ADA;
    box-shadow: 0px 0px 4px 2px rgba(87, 147, 220, 0.5);
    border-radius: 8px;
    z-index: 1000;
    text-align: center;
    /* padding: 10px 0; */
    cursor: pointer;
    word-break: break-all;
}

.relation-item {
    padding: 10px 0;
}

.relation-item:hover,
.goup-box:hover {
    background: #348AF2;
}

.relation-box img {
    width: 32px;
    height: 32px;
}

.relation-box .relation-line {
    width: 100%;
    height: 1px;
    background: #4C98F5;
}

.relation-box .relation-text {
    font-size: 14px;
    color: #FFFFFF;
    margin-top: 7px;
}

.goup-box {
    padding: 18px;
    position: fixed;
    right: 20px;
    top: 60%;
    text-align: center;
    cursor: pointer;
    background: #0E6ADA;
    box-shadow: 0px 0px 4px 2px rgba(87, 147, 220, 0.5);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.goup-box img {
    width: 32px;
    height: 32px;
}

/* ====================================== */
/* 响应式布局 - 大屏平板 (1200px以下) */
/* ====================================== */
@media (max-width: 1200px) {
    nav {
        padding: 20px 60px;
    }

    footer {
        padding: 40px 60px 20px;
    }

    .cookie-notice {
        padding: 20px 60px;
    }
}

/* ====================================== */
/* 响应式布局 - 平板/手机（768px以下） */
/* ====================================== */
@media (max-width: 768px) {

    /* 导航栏重构 - 汉堡菜单 */
    .hamburger {
        display: flex;
    }

    nav {
        flex-direction: row;
        padding: 15px 5vw;
        min-height: 70px;
    }

    .nav-logo {
        margin-right: 0;
        margin-bottom: 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background-color: #F7FCFF;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 998;
        padding: 20px;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 18px;
        max-width: 100%;
        padding: 10px 0;
        justify-content: center;
    }

    .water-drop {
        display: none;
    }

    .nav-lang {
        margin-top: 0;
        margin-left: 15px;
    }

    .lang-dropdown {
        width: 100px;
        top: -28vh;
    }

    /* Banner适配 */
    .banner {
        height: auto;
        padding: 40px 5vw;
        background-size: cover;
    }


    .investment-icon {
        display: none;
    }


    .banner-title {
        font-size: 28px;
        margin-bottom: 20px;
        text-align: center;
    }


    .banner-flex {
        justify-content: center;
        gap: 40px;
    }


    .banner-mar {
        margin: 0;
        /* 取消固定左右边距 */
    }


    .banner-num {
        font-size: 32px;
    }


    .banner-type {
        font-size: 24px;
    }


    .banner-text {
        font-size: 16px;
    }


    .banner-item {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        padding-bottom: 40px;
        z-index: 1;
    }


    .banner-block {
        width: 100%;
        margin-right: 0;
        height: auto;
        padding: 20px 0;
    }

    .introductory {
        padding: 60px 5vw;
    }

    .introductory-flex {
        flex-direction: column;
        gap: 30px;
    }

    .introductory-icon1 {
        width: 200px;
        height: 200px;
        margin-left: 0;
    }

    .introductory-text {
        font-size: 16px;
        text-align: center;
    }

    .introductory-logo {
        display: block;
        margin: 0 auto;
    }

    .review-wrapper {
        height: auto;
        padding: 60px 5vw;
        background-size: cover;
    }

    .review-wrapper_title {
        font-size: 24px;
        padding: 0 0 30px 0;
    }

    .review-scroll {
        height: 900px;
    }

    .review-item {
        width: 90vw;
        height: auto;
        padding: 15px;
        margin-left: 0;
        flex-direction: column;
        border-radius: 20px;
        margin-left: 20px;
    }

    .head-portrait {
        margin-bottom: 10px;
    }

    .review-text {
        font-size: 14px;
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .review-scroll-inner {
        animation: scrollLeft 60s linear infinite;
    }

    .contact {
        padding: 40px 5vw;
    }

    .contact-container {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info-title {
        font-size: 32px !important;
    }

    .contact-info-text {
        font-size: 18px !important;
    }

    .email,
    .phone {
        justify-content: center;
    }

    .cell-text {
        font-size: 18px !important;
    }

    .contact-form {
        width: 100%;
    }

    .form-btn {
        width: 100%;
    }

    /* 页脚适配 */
    footer {
        padding: 40px 5vw 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-brand,
    .footer-links-column,
    .footer-contact {
        width: 100%;
        min-width: auto;
    }

    .footer-social {
        justify-content: center;
    }

    /* Cookie提示适配 */
    .cookie-notice {
        padding: 15px 5vw;
        flex-direction: column;
        align-items: center;
    }

    .cookie-notice .cookie-title {
        width: 100%;
        font-size: 13px;
        margin-bottom: 10px;
        text-align: center;
    }

    .cookie-notice button {
        width: 100%;
        height: 40px;
        font-size: 16px;
    }

    /* 侧边栏适配 */
    .relation-box {
        width: 60px;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .relation-box img {
        width: 24px;
        height: 24px;
    }

    .relation-text {
        font-size: 12px !important;
    }

    .goup-box {
        width: 60px;
        height: 60px;
        padding: 8px;
        right: 10px;
        top: calc(50% + 100px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .goup-box img {
        width: 24px;
        height: 24px;
    }

    html {
        font-size: 14px;
        /* 缩小基础字体 */
    }

    a,
    p,
    div {
        word-break: break-word;
        /* 强制换行，避免英文单词溢出 */
    }
}

/* ====================================== */
/* 小屏手机额外适配（480px以下） */
/* ====================================== */
@media (max-width: 480px) {

    .carousel-container {
        height: 250px;
    }

    .carousel-title {
        font-size: 18px;
        line-height: 28px;
    }

    .carousel-text {
        font-size: 16px;
    }

    .contact-info-title {
        font-size: 28px !important;
    }
}