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

body {
    color: #000;
    background: url('./images/bg.png') no-repeat center center/cover;
    overflow-x: hidden;
}
body, textarea, input, a, input {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 63, 54, 0.56) -0.87%, rgba(11, 63, 54, 0.00) 99.12%);
    z-index: -1;
}

.page-container {
    position: relative;
    width: 80%;
    min-height: calc(100vh - 140px - 30px);
    max-width: 1536px;
    margin: 140px auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.language-switch {
    position: absolute;
    /* calc(-140px / 2 - 34px / 2); */
    top: -87px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 1em;
    z-index: 100;
    font-size: 16px;
    font-weight: 400;
}

.language-btn {
    color: #0B3F36;
    text-decoration: none;
    cursor: pointer;
    line-height: 2;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 0.8em;
}

.language-btn.active {
    border-color: #0B3F36;
}

.language-divider {
    color: #0B3F36;
    opacity: 0.6;
}

/* 左侧内容区域 */
.left-content {
    max-width: 600px;
    flex-shrink: 0;
    color: #FFFFFF;
    flex: 1;
}
.left-content--en {
    max-width: 808px;
}

/* 公司标题 */
.company-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 40px;
}

/* 公司描述 */
.company-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* 功能卡片容器 */
.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 功能卡片 */
.feature-card {
    display: flex;
    align-items: center;
    gap: 17px;
    width: 100%;
    background: linear-gradient(90deg, rgba(5, 59, 50, 0.62) -0.87%, rgba(11, 63, 54, 0.00) 99.12%);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    padding: 20px;
    padding-right: 5px;
    min-height: 100px;
}

/* 功能图标 */
.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 功能文本区域 */
.feature-text {
    flex: 1;
}

/* 功能标题 */
.feature-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #03FFB3;
    margin-bottom: 8px;
}

/* 功能描述 */
.feature-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.444;
}
.feature-description--en {
    font-size: 16px;
}

/* 右侧表单区域 */
.right-form {
    max-width: 540px;
    position: relative;
    flex: 1;
}

.tooltip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    z-index: 1;
    height: 40px;
    border-radius: 12px;

    color: #0B3F36;
    width: 160px;
    flex-shrink: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('/images/icon-tip.svg') no-repeat center center/cover;
    background-size: 20px 20px;
    background-position: 13px center;
    padding-left: 40px;
    background-color: #cad4d2;
    font-size: 16px;

    display: none;
}

.tooltip--en {
    width: 220px;
}

/* 表单容器 */
.form-container {
    width: 100%;
    /* height: 100%; */
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

/* 表单标题 */
.form-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.444;
    margin-bottom: 30px;
}

.textarea-group {
    margin-bottom: 16px;
    display: flex;
    position: relative;
}
.char-count {
    color: #909399;
    position: absolute;
    font-size: 12px;
    bottom: 5px;
    right: 10px;
}


.input-group {
    margin-bottom: 16px;
}

.textarea-group textarea,
.input-group input {
    width: 100%;
    height: 100%;
    background-color: rgba(11, 63, 54, 0.05);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    resize: none;
    outline: none;
    transition: background-color 0.3s ease;
}

.textarea-group textarea {
    min-height: 190px;
    padding: 24px 25px;
}
.input-group input {
    height: 60px;
    padding: 0 25px;
    line-height: 60px;
}

.input-group input::placeholder,
.textarea-group textarea::placeholder {
    color: #969696;
}

.textarea-group textarea:focus,
.input-group input:focus {
    background-color: rgba(11, 63, 54, 0.1);
}

/* 提交按钮 */
.submit-button {
    width: 100%;
    height: 64px;
    background-color: #04322A;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #03FFB3;
    cursor: pointer;
    margin: 14px 0 42px;
}

/* 联系方式区域 */
/* .contact-section {} */

.contact-label {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
}

.email-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    justify-content: flex-start;
    line-height: 22px;
}

#email-address {
    background: url('/images/icon-email.svg') no-repeat left center/contain;
    background-size: 18px;
    padding-left: 28px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    color: #000;
}
#email-address:hover {
    text-decoration: underline;
}

.copy-btn {
    background-color: #e3e9e8;
    border: none;
    font-size: 14px;
    font-weight: 400;
    color: #04322A;
    cursor: pointer;
    padding: 0 7px;
    border-radius: 6px;
    line-height: 22px;
    height: 22px;
}

/* 响应式设计 */
@media (max-width: 1512px) {
    .page-container {
        margin: 100px auto 30px;
        min-height: calc(100vh - 100px - 30px);
    }
    .language-switch {
        /* calc(-100px / 2 - 34px / 2); */
        top: -67px;
    }
    .company-title--en {
        font-size: 36px;
        margin-bottom: 20px;
    }
    .company-description--en {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .feature-description--en {
        font-size: 14px;
    }
    .left-content--en {
        max-width: 700px;
    }
    .right-form {
        max-width: 460px;
    }
    .form-container {
        padding: 30px 50px;
    }
    .form-title {
        margin-bottom: 20px;
    }
    .submit-button {
        margin: 0 0 20px;
    }
}
@media (max-width: 1440px) {
    .bg-gradient {
        width: 100%;
    }
    .page-container {
        margin: 80px auto 0;
        min-height: calc(100vh - 80px);
    }
    .language-switch {
        /* calc(-80px / 2 - 34px / 2); */
        top: -57px;
    }
    
    .left-content {
        max-width: 566px;
    }
    .left-content--en {
        max-width: 660px;
    }
    
    .right-form {
        max-width: 460px;
    }
    .company-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    .company-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .feature-icon {
        width: 32px;
        height: 32px;
    }
    .feature-title {
        font-size: 16px;
    }
    .feature-description {
        font-size: 14px;
    }
    .form-container {
        padding: 40px 50px;
    }
    .form-title {
        font-size: 16px;
    }
    .textarea-group textarea, .input-group input {
        font-size: 16px;
    }
    .textarea-group textarea {
        min-height: 160px;
        padding: 21px;
    }
    .input-group input {
        height: 53px;
        padding: 0 21px;
        line-height: 53px;
    }
    .textarea-group, .input-group {
        margin-bottom: 13px;
    }
    .submit-button {
        height: 53px;
        font-size: 16px;
    }
    .contact-label {
        font-size: 16px;
        margin-bottom: 20px;
    }
    #email-address {
        font-size: 16px;
        background-size: 15px;
        padding-left: 23px;
    }
}
@media (max-width: 1400px) {
    .page-container {
        gap: 50px;
    }
    .right-form {
        max-width: 420px;
    }
    .contact-label {
        text-align: center;
    }
    .email-container {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .page-container {
        flex-direction: column;
        gap: 30px;
        margin: 30px auto 0;
        min-height: calc(100vh - 30px);
    }
    .language-switch {
        top: 0;
    }
    .language-switch * {
        display: none;
    }
    .language-btn:not(.active) {
        display: inline;
        border-color: #0B3F36;
    }
    .left-content {
        max-width: 100%;
    }
    .feature-card {
        background: linear-gradient(90deg, rgba(5, 59, 50, 0.62) -0.87%, rgba(11, 63, 54, 0.04) 99.12%);
    }
    .right-form {
        margin-bottom: 80px;
        max-width: 100%;
        width: 100%;
    }
}
