/* styles.css */
@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../fonts/harmonyos-sans-sc-light.woff2') format('woff2'),
        url('../fonts/harmonyos-sans-sc-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../fonts/harmonyos-sans-sc-regular.woff2') format('woff2'),
        url('../fonts/harmonyos-sans-sc-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../fonts/harmonyos-sans-sc-medium.woff2') format('woff2'),
        url('../fonts/harmonyos-sans-sc-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('../fonts/harmonyos-sans-sc-bold.woff2') format('woff2'),
        url('../fonts/harmonyos-sans-sc-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-light.woff2') format('woff2'),
        url('../fonts/montserrat-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-regular.woff2') format('woff2'),
        url('../fonts/montserrat-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-medium.woff2') format('woff2'),
        url('../fonts/montserrat-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-bold.woff2') format('woff2'),
        url('../fonts/montserrat-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #39a953;
    --text-color: #333;
    --text-light: #666;
    --transition: all 0.3s ease;
    --title-size: 24px;
    --description-size: 14px;
    --step-title-size: 24px;
    --step-subtitle-size: 20px;
}

* {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: #f4f4f4; */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

img {
    max-width: 100%;
}

.content {
    padding: 20px;
    max-width: 800px;
    height: 100%;
    width: 100vw;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.product-model {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e5e5;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border-bottom: 3px solid transparent;
    flex: 1;
    text-align: center;
}

.tab-button:hover {
    color: var(--text-color);
    background-color: rgba(255, 0, 0, 0.02);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: rgba(57, 169, 83, 0.05);
    outline: none;
}

.tab-content {
    max-width: 800px;
    margin: 0 auto;
}

.tab-content .tab-panel {
    display: none;
}

.tab-content .tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* 中文内容使用 HarmonyOS Sans SC */
#chineseContent,
#chineseContent * {
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', 'SimHei', sans-serif !important;
}

/* 英文内容明确使用 Montserrat */
#englishContent,
#englishContent * {
    font-family: 'Montserrat', Arial, sans-serif;
}