@font-face {
    font-family: 'HarmonyOS_Sans';
    src: url('font/HarmonyOS_Sans/HarmonyOS_Sans_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans';
    src: url('font/HarmonyOS_Sans/HarmonyOS_Sans_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans';
    src: url('font/HarmonyOS_Sans/HarmonyOS_Sans_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans';
    src: url('font/HarmonyOS_Sans/HarmonyOS_Sans_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans';
    src: url('font/HarmonyOS_Sans/HarmonyOS_Sans_Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans';
    src: url('font/HarmonyOS_Sans/HarmonyOS_Sans_Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC';
    src: url('font/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC';
    src: url('font/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC';
    src: url('font/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC';
    src: url('font/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC';
    src: url('font/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS_Sans_SC';
    src: url('font/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

body {
    font-family: 'HarmonyOS_Sans_SC', 'HarmonyOS_Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

/* 全局动画设置 */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* 淡入动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动触发动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale.animate {
    opacity: 1;
    transform: scale(1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    max-width: 1400px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInFromTop 0.8s ease-out;
}

header .container {
    width: 100%;
    height: 5.208vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 21.094vw;
}

header .logo {
    width: 40px;
    height: 40px;
    animation: fadeIn 1s ease-out 0.3s both;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.1) rotate(5deg);
}

header nav {
    display: flex;
    gap: 9.688vw;
}

header nav a {
    text-decoration: none;
    color: #979797;
    font-size: 1.25vw;
    position: relative;
    transition: all 0.3s ease;
    animation: fadeInRight 0.8s ease-out both;
}

header nav a:nth-child(1) { animation-delay: 0.4s; }
header nav a:nth-child(2) { animation-delay: 0.5s; }
header nav a:nth-child(3) { animation-delay: 0.6s; }
header nav a:nth-child(4) { animation-delay: 0.7s; }

header nav a:hover {
    color: #ED3A16;
    transform: translateY(-2px);
}

header nav a.active {
    color: #ED3A16;
}

header nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ED3A16;
    border-radius: 1px;
    animation: fadeInUp 0.3s ease-out;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: left;
    padding: 120px 50px 100px 50px;
    background: url('/images/hero-bg.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    height: 40.521vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: start;
    margin-top: 5.208vw;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 56, 18, 0.1) 0%, rgba(253, 119, 12, 0.05) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    font-size: 4.792vw;
    background: linear-gradient(to right, #F93812, #FD770C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 900;
    margin: 0;
    font-family: 'HarmonyOS_Sans_SC';
    display: inline-block;
    animation: fadeInLeft 1.2s ease-out 0.5s both;
    transform: translateX(-50px);
}

.hero-content p {
    font-family: 'HarmonyOS_Sans_SC';
    font-size: 3.542vw;
    color: #333333;
    margin: 10px 0 0;
    font-weight: bold;
    animation: fadeInLeft 1.2s ease-out 0.8s both;
    transform: translateX(-50px);
}

/* About Us Section */
.about-us {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0px;
    gap: 2.448vw;
    scroll-margin-top: 80px;
}

.about-us-content {
    max-width: 72.917vw;
}

.about-us-content h2 {
    font-size: 2.188vw;
    font-weight: bold;
    color: #333333;
    display: inline-block;
    margin-bottom: 0.729vw;
    position: relative;
    font-family: 'HarmonyOS_Sans_SC';
    transition: transform 0.3s ease;
}

.about-us-content h2:hover {
    transform: translateX(10px);
}

.about-us-content h2::before {
    content: '';
    position: absolute;
    top: -1.615vw;
    left: 0;
    width: 2.917vw;
    height: 0.208vw;
    background-color: #ED3A16;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: scaleInX 0.8s ease-out 0.3s both;
}

@keyframes scaleInX {
    to {
        transform: scaleX(1);
    }
}

.about-us-content p {
    font-size: 1.042vw;
    color: #333333;
    font-family: 'HarmonyOS_Sans_SC';
    line-height: 1.8;
    transition: all 0.3s ease;
}

.about-us-content p:hover {
    color: #555;
    transform: translateX(5px);
}

.about-us-image {
    flex-shrink: 0;
    animation: fadeInRight 1.2s ease-out 0.8s both;
}

.about-us-image img {
    width: 26.771vw; /* 使用vw单位显示原本大小 */
    height: auto;
    transition: all 0.3s ease;
    box-shadow: 0 0.521vw 2.083vw rgba(0, 0, 0, 0.1);
}

.about-us-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0.781vw 3.125vw rgba(237, 58, 22, 0.15);
}

/* Product Center Section */
.product-center {
    text-align: center;
    padding: 0;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}

.product-center .container {
    position: relative;
    padding: 0 20px;
}

.product-bg {
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    opacity: 0.8;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.product-center h2 {
    font-size: 2.188vw;
    color: #333;
    font-weight: bold;
    margin: 5.729vw 0px 5.469vw 0;
    position: relative;
    transition: all 0.3s ease;
}

.product-center h2:hover {
    transform: scale(1.05);
    color: #ED3A16;
}

.product-features {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2.188vw;
    position: relative;
    z-index: 2;
    padding-bottom: 9.375vw;
}

.feature {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature:hover {
    transform: translateY(-10px);
}

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

.feature:nth-child(1) .feature-info {
    margin-bottom: 10.677vw;
    margin-left: -10vw;
}

.feature:nth-child(2) .feature-info {
    margin-bottom: 11.771vw;
}

.feature:nth-child(3) .feature-info {
    margin-bottom: 11.823vw;
    margin-right: -15vw;
}

.feature-info h3 {
    font-size: 1.667vw;

    background: linear-gradient(to right, #F93812, #FD770C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    margin-bottom: 10px;
    font-weight: bold;
}

.feature-info p {
    font-size: 1.25vw;
    color: #666;
    line-height: 1.5;
}

/* 手机模型样式 */
.phone-mockup {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* 左侧手机 */
.left-phone {
    width: 18.385vw;
    height: 28.281vw;
    background-image: url('/images/left-mock-phone-2.webp');
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInLeft 1s ease-out 0.8s both;
}

.left-phone:hover {
    transform: rotate(15deg) scale(1.025);
    filter: drop-shadow(0 20px 40px rgba(249, 56, 18, 0.2));
}

/* 中间手机 */
.center-phone {
    width: 15.521vw;
    height: 32.24vw;
    background-image: url('/images/mid-mock-phone-2.webp');
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 1s ease-out 1s both;
}

.center-phone:hover {
    transform: translateY(-15px) scale(1.05);
    filter: drop-shadow(0 25px 50px rgba(249, 56, 18, 0.15));
}

/* 右侧手机 */
.right-phone {
    width: 18.438vw;
    height: 28.333vw;
    background-image: url('/images/right-mock-phone-2.webp');
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInRight 1s ease-out 0.8s both;
}

.right-phone:hover {
    transform: rotate(-15deg) scale(1.025);
    filter: drop-shadow(0 20px 40px rgba(249, 56, 18, 0.2));
}

/* 效果图层 */
.left-feature::before {
    content: '';
    position: absolute;
    top: 9vw;
    left: 10%;
    width: 4.375vw;
    height: 10.156vw;
    background: url('/images/left-effect.webp') no-repeat center;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

.center-feature::before {
    content: '';
    position: absolute;
    top: 9vw;
    left: 50%;
    transform: translateX(-50%);
    width: 3.281vw;
    height: 8.438vw;
    background: url('/images/mid-effect.webp') no-repeat center;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

.right-feature::before {
    content: '';
    position: absolute;
    top: 9vw;
    right: 10%;
    width: 4.427vw;
    height: 10.156vw;
    background: url('/images/right-effect.webp') no-repeat center;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

/* Special Services Section */
.special-services {
    text-align: center;
    padding: 80px 20px;
    scroll-margin-top: 80px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.special-services .intro {
    max-width: 72.292vw;
    font-size: 1.25vw;
    margin: 0 auto 50px auto;
    line-height: 1.8;
    color: #666666;
    transition: all 0.3s ease;
}

.special-services .intro:hover {
    color: #555;
    transform: translateY(-2px);
}

.special-services h2 {
    font-size: 2.188vw;
    color: #333333;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.special-services h2:hover {
    color: #ED3A16;
    transform: scale(1.05);
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 10.417vw;
    margin-top: 50px;
    position: relative;
}

.service-item {
    width: 250px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-15px);
}

/* 添加分割线 */
.service-item:nth-child(1)::after,
.service-item:nth-child(2)::after {
    content: '';
    position: absolute;
    right: -5.208vw;
    /* gap的一半位置 */
    top: 50%;
    transform: translateY(-50%);
    width: 0.052vw;
    height: 15.471vw;
    background-color: #E5E5E5;
}

.service-item .icon-container {
    width: 100px;
    height: 100px;
    background-color: #eaf6ff;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 20px rgba(234, 246, 255, 0.5);
}

.service-item:nth-child(2) .icon-container {
    background-color: #e8f5e9;
    box-shadow: 0 5px 20px rgba(232, 245, 233, 0.5);
}

.service-item:nth-child(3) .icon-container {
    background-color: #fff3e0;
    box-shadow: 0 5px 20px rgba(255, 243, 224, 0.5);
}

.service-item:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(237, 58, 22, 0.2);
}

.service-item img {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 1.458vw;
    color: #333333;
    margin: 1.615vw 0 0.99vw 0;
    transition: all 0.3s ease;
}

.service-item:hover h3 {
    color: #ED3A16;
    transform: translateY(-2px);
}

.service-item p {
    font-size: 1.25vw;
    color: #666666;
    transition: all 0.3s ease;
}

.service-item:hover p {
    color: #555;
}

footer {
    background-color: #535353;
    color: #979797;
    text-align: center;
    padding: 5.052vw 31.979vw 3.854vw 31.615vw;
    font-size: 0.938vw;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ED3A16, transparent);
    animation: slideInLine 2s ease-out 0.5s both;
}

@keyframes slideInLine {
    to {
        left: 100%;
    }
}

footer p {
    margin: 5px 0;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

footer p:nth-child(1) { animation-delay: 0.2s; }
footer p:nth-child(2) { animation-delay: 0.4s; }
footer p:nth-child(3) { animation-delay: 0.6s; }

footer p:hover {
    transform: translateY(-2px);
    color: #bbb;
}

footer a {
    color: #979797;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ED3A16;
    text-decoration: none;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ED3A16;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}