/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --container-padding: 20px;
    --container-width: 1200px;
    --font-primary: 'greycliff-cf', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --underline-width: 0;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    padding-top: 0;
    font-family: var(--font-primary);
    line-height: 1.5;
    color: #1F1F1F;
    font-weight: 400;
}

.container {
    max-width: var(--container-width);
    padding: 0 var(--container-padding);
    margin: 0 auto;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header and Navigation */
.hero {
    background-color: #ff3c47;
    color: white;
    padding: 0;
    height: 100vh; /* 恢复为全屏高度 */
    min-height: 600px;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ff3c47;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    height: 72px;
    transform: translateY(0);
}

.navbar.hide {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background-color: rgba(255, 60, 71, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--container-padding);
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: block;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    height: 100%;
    align-items: center;
}
@keyframes transitionDefaultIn {
    0% {
        transform-origin: top center;
        transform: translate3d(0, 20px, 0);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
.nav-container{
    animation: transitionDefaultIn .3s cubic-bezier(0.215, 0.61, 0.355, 1) .15s backwards;
    animation-play-state: running;
    animation-delay: .05s;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 150%;
    font-weight: 600;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
    transform-origin: left;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    opacity: 1;
    font-weight: 400;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: white;
    font-size: 16px;
    line-height: 150%;
    font-weight: 600;
}
.language-selector a{
    color: #fff;
    text-decoration: none;
}

.globe-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    width: 92px;
    height: 38px;
    background-color: white;
    color: #1f1f1f;
    font-size: 14px;
    border-radius: 100px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: #1f1f1f;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: white;
    background-color: transparent;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary.reverse::before {
    left: -100%;
}

.btn-primary.reverse:hover::before {
    left: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 16px;
    font-weight: 600;
}

.nav-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    position: relative;
    transition: background-color 0.3s ease;
}

.nav-icon::before,
.nav-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: transform 0.3s ease;
}

.nav-icon::before {
    transform: translateY(-8px);
}

.nav-icon::after {
    transform: translateY(8px);
}

/* Mobile Navigation */
@media screen and (max-width: 1024px) {
    .nav-right{
        gap: 2rem;
    }
    .nav-menu{
        gap: 2rem;
    }

}

@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-toggle .nav-icon,.nav-menu,.nav-actions {
        display: none;
    }

    .nav-toggle::before {
        content: 'Menu';
    }

    .hero {
        height: 100vh;
        min-height: 400px;
    }

    .market-popup,.hero-popup {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 10;
        overflow: hidden;
    }
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    margin-top: 72px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 1.5rem;
    line-height: 150%;
    font-weight: 700;
    text-align: center;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}
.hero-content.is-cn h1 {
    font-size: 58px;
}
.hero-content .english-text{
    position: relative;
    display: inline-block;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}
.hero-content .english-text::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 25px;
    background-image: url('../images/line.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-content .english-text:hover::before {
    opacity: 1;
}

.hero-content h1 .chinese-text {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    z-index: 2;
    color: white;
}

.hero-content .english-text:hover + .chinese-text {
    opacity: 1;
}

.hero-content .hero-text {
    font-size: 64px;
    line-height: 150%;
    font-weight: 700;
    text-align: center;
    margin: 0 auto;
}
.hero-content.is-cn .hero-text {
    font-size: 58px;
}

.hero-content .hero-text .line {
    display: block;
    margin-bottom: 20px;
}

.is-inview .english-text{
    transform: translate3d(0, 0, 0);
    clip-path: polygon(-10% 0%, 110% 0%, 110% 110%, -10% 110%);
}

.hero-content .hero-text .highlight {
    color: #FFFEA3;
    position: relative;
    display: inline-block;
    text-decoration: underline;
}

.hero-content .hero-text .line:last-child {
    margin-bottom: 0;
}

.hero-content .hero-text .brand-icon {
    display: inline-block;
    width: 72px;
    height: 72px;
    vertical-align: middle;
    border-radius: 4px;
    overflow: hidden;
}

.hero-content .hero-text .brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
    background-color: #1f1f1f;
}

.case-studies .section-title {
    font-size: 16px;
    font-weight: 700;
    color: #ff3c47;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 1.5%;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: var(--container-width);
    margin: 0 auto;

}

.case-item {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.case-item .case-item-after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(31, 31, 31, 0.8);
    z-index: 10;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.case-content {
    flex: 0.3;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    position: relative;
    z-index: 2;
    margin-right: 20px;
    transition: transform 0.3s;
    transform: translate3d(0px, 0px, 0px) translate(9%, 9%);
}

.case-brand {
    font-size: 16px;
    color: #404040;
    font-weight: 400;
}

.case-title {
    font-size: 32px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    color: #FFFFFF;
    text-decoration: underline;
}

.case-type {
    font-size: 16px;
    color: #ececec;
    font-weight: 400;
    margin-top: 16px;
}

.case-image {
    flex: 0.6;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
    transform: scale(0.9);
}

.case-item.hover .case-image {
    transform: scale(1);
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    transform: scale(1);
}

.case-studies .view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    background-color: #FFFFFF;
    color:  #1F1F1F;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 16px;
}

.case-studies .view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ff3c47;
    transition: left 0.3s ease;
    z-index: -1;
}

.case-studies .view-all-btn:hover {
    color: white;
    background-color: transparent;
}

.case-studies .view-all-btn:hover::before {
    left: 0;
}

.case-btn-wrapper {
    text-align: center;
    margin-top: 2.5rem;
}

.case-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    background-color: #1f1f1f;
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 16px;
}

.case-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ff3c47;
    transition: left 0.3s ease;
    z-index: -1;
}

.case-btn:hover {
    color: white;
    background-color: transparent;
}

.case-btn:hover::before {
    left: 0;
}

/* Services Section */
.services {
    padding: 120px 0;
}

.services .section-title {
    font-size: 16px;
    font-weight: 700;
    color: #ff3c47;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5%;
}

.services .hero-text {
    font-size: 48px;
    line-height: 150%;
    font-weight: 600;
    text-align: left;
    margin: 0 auto;
    max-width: var(--container-width);
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}

.services.is-cn .hero-text {
    font-size: 42px;
}

.services .hero-text.animate {
    transform: translate3d(0, 0, 0);
	clip-path: polygon(-10% 0%, 110% 0%, 110% 110%, -10% 110%);
}

.services .hero-text .line {
    display: block;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services .hero-text.animate .line {
    opacity: 1;
    transform: translateY(0);
}

.services .hero-text .line:nth-child(1) {
    transition-delay: 0.15s;
}

.services .hero-text .line:nth-child(2) {
    transition-delay: 0.3s;
}

.services .hero-text .line:nth-child(3) {
    transition-delay: 0.45s;
}
.services .hero-text .line:nth-child(4) {
    transition-delay: 0.6s;
}

.services .hero-text .highlight {
    color: #1F1F1F;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.services .hero-text .highlight::before {
    content: '';
    position: absolute;
    left: -9%;
    top: 5%;
    width: 119%;
    height: 90%;
    background-image: url('../images/line.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 1;
}

.services .hero-text .line:last-child {
    margin-bottom: 0;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.service-item {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 160px;
    align-items: center;
}
.service-item-wrapper{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -50%;
    width: 200vw;
    height: 1px;
    background: #727272;
    z-index: 10;
    pointer-events: none;
}

.service-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    transition: width 0.3s ease;
}

.service-number {
    width: 40px;
    font-size: 40px;
    font-weight: 600;
    color: #BBBBBB;
    text-align: center;
}

.service-image {
    width: 240px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: width 0.3s ease, height 0.3s ease;
}
.service-item:hover .service-image{
   width: 480px;
   height: 320px;
}

.service-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 40px;
    position: relative;
    transition: width 0.3s ease;
}
.service-item:hover .service-left{
    width: calc(50% + 120px);
}
.service-item:hover .service-content{
    width: calc(50% - 120px);
}

.service-title {
    font-size: 32px;
    font-weight: 600;
    color: #1F1F1F;
    line-height: 150%;
    margin: 0;
    transition: transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1), padding-bottom 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
    margin-bottom: 8px;
}

.service-item:hover .service-title {
    color: #1F1F1F;
    text-decoration: underline;
}

.service-arrow {
    display: none;
    position: relative;
    top: 8px;
    left: 8px;
}

.service-item:hover .service-arrow {
    display: inline-block;
}

.service-desc {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
    width: 100%;
    visibility: hidden;
    max-height: 0;  /* 使用 max-height 来代替 height */
    overflow: hidden;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}

.service-item:hover .service-desc {
    visibility: visible;
    max-height: 500px;  /* 给一个足够大的值，确保展开时能够显示完整内容 */
    transform: translate3d(0, 0, 0);
	clip-path: polygon(-10% 0%, 110% 0%, 110% 110%, -10% 110%);
}



.service-item-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Brands Section */
.brands {
    padding: 120px 0;
    background: #fff;
}

.brands-label {
    color: #ff3c47;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5%;
    text-align: center;
    margin-bottom: 16px;
}

.brands-title {
    text-align: center;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F1F1F;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 0 auto 48px auto;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.brand-item img {
    max-height: 80px;
    width: auto;
    margin-bottom: 40px;
    display: block;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}

.brand-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1F1F1F;
    text-align: center;
    letter-spacing: -1.1%;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0.15s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
    display: none;
}

.brand-item p {
    font-size: 16px;
    color: #404040;
    line-height: 1.5;
    text-align: left;
    font-weight: 400;
    letter-spacing: -1.1%;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0.3s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}

.animate .brand-item img,.animate .brand-item h3,.animate .brand-item p{
    transform: translate3d(0, 0, 0);
	clip-path: polygon(-10% 0%, 110% 0%, 110% 110%, -10% 110%);
}


.brands-btn-wrapper {
    text-align: center;
}

.brands-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #1F1F1F;
    color: #fff;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    border: none;
    margin: 0 auto;
}

.brands-btn:hover {
    background: #fff;
    color: #1F1F1F;
    border: 1px solid #1F1F1F;
}

.hero-content .hero-text .brands-highlight {
    color: #FFFEA3;
    position: relative;
    display: inline-block;
    z-index: 2;
    cursor: pointer;
    transform: translateZ(0);  /* 创建新的层叠上下文 */
    will-change: transform;    /* 优化动画性能 */
    text-decoration: underline;
}

/* Stats Section */
.stats {
    background: #1F1F1F;
    color: #fff;
    width: 100vw;
    padding: 120px 0;
}

.stats-container {
    margin: 0 auto;
}

.stats-header {
    margin-bottom: 48px;
    text-align: left;
    max-width: 700px;
}

.stats-label {
    color: #ff3c47;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5%;
    margin-bottom: 8px;
}

.stats-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 32px;
    color: #fff;
    line-height: 1.2;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}

.stats-title .highlight {
    color: #FFFEA3;
}

.stats-desc {
    font-size: 18px;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.7;
    max-width: 600px;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0.15s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}

.animate .stats-title,.animate .stats-desc{
    transform: translate3d(0, 0, 0);
	clip-path: polygon(-10% 0%, 110% 0%, 110% 110%, -10% 110%);
}

.stats-grid {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 80px;
    margin: 56px 0 48px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 16px;
}

.stat-item h3 {
    font-size: 56px;
    margin-bottom: 0;
    min-width: 100px;
    text-align: right;
    display: inline-block;
    font-weight: 600;
}

.stat-item p {
    font-size: 16px;
    margin: 0;
}

.stats-btn-wrapper {
    text-align: center;
}

.stats-btn {
    display: inline-block;
    background: #fff;
    color: #1f1f1f;
    font-size: 20px;
    font-weight: 700;
    border-radius: 40px;
    padding: 16px 40px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
    border: none;
}

.stats-btn:hover {
    background: #ff3c47;
    color: #fff;
}

.stats-btn-wrapper .btn.btn-primary:hover,
.stats-btn-wrapper .btn.btn-primary:focus,
.stats-btn-wrapper .btn.btn-primary.reverse:hover,
.stats-btn-wrapper .btn.btn-primary.reverse:focus {
    color: #fff !important;
    background-color: #ff3c47 !important;
    border: none !important;
}
.stats-btn-wrapper .btn.btn-primary:hover::before,
.stats-btn-wrapper .btn.btn-primary:focus::before,
.stats-btn-wrapper .btn.btn-primary.reverse:hover::before,
.stats-btn-wrapper .btn.btn-primary.reverse:focus::before {
    background-color: #ff3c47 !important;
    left: 0 !important;
}

/* Blog Section */
.blog {
    padding: 120px 0;
    background: #fff;
}

.blog-label {
    color: #ff3c47;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 auto 48px auto;
}

.blog-item {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}

.blog-item a{
    text-decoration: none;
    color: #1F1F1F;
}

.blog-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 8px;
    transition: transform 0.3s ease; /

}

.blog-item-image{
    overflow: hidden;
}

.blog-item h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: #1F1F1F;
    margin-bottom: 8px;
    text-align: left;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}

.blog-item p {
    font-size: 16px;
    color: #404040;
    margin-bottom: 32px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0;
    text-align: left;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1), text-decoration 0.3s ease;;
    transition-delay: 0.15s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
}

.blog-date {
    font-size: 14px;
    color: #bbb;
    text-align: left;
    transition: clip-path .9s cubic-bezier(0.215, 0.61, 0.355, 1), transform .9s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0.3s;
    transform: translate3d(0, 100%, 0);
    clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
    display: none;
}
.animate .blog-item h3,.animate .blog-item p,.animate .blog-date{
    transform: translate3d(0, 0, 0);
	clip-path: polygon(-10% 0%, 110% 0%, 110% 110%, -10% 110%);
}
.blog-item:hover .blog-item-image img{
    transform: scale(1.05);
}
.blog-item:hover h3{
    text-decoration: underline;
}

.blog-btn-wrapper {
    text-align: center;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    background-color: #1f1f1f;
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 5px 25px;
}

.blog-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ff3c47;
    transition: left 0.3s ease;
    z-index: -1;
}

.blog-btn:hover {
    color: white;
    background-color: transparent;
}

.blog-btn:hover::before {
    left: 0;
}

/* Footer */
.footer {
    background: #1F1F1F;
    color: #fff;
    padding: 80px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: var(--container-width);
    padding: 0 var(--container-padding);
    margin: 0 auto 160px auto;
    width: 100%;
    gap: 40px;
}

.footer-cta {
    flex: 1.5;
}

.footer-title p {
    font-size: 32px;
    line-height: 1.5;
    font-weight: 600;
}

.footer-talk {
    display: flex;
    align-items: center;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 0;
    gap: 1rem;
    transition: color 0.3s;
}

.footer-talk:hover {
    color: #FFFEA3;
}

.footer-talk .footer-arrow {
    transition: transform 0.3s;
}

.footer-talk .talk-hover-ico{
    display: none;
}

.footer-talk:hover .footer-arrow {
    transform: translateX(20px);
}

.footer-talk:hover .talk-hover-ico{
    display: block;
}

.footer-talk:hover .talk-ico{
    display: none;
}

.footer-contacts {
    flex: 2;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1 1 18%;
}
.footer-contact-desc{
    flex: 1 1 100%;
    text-align: left;
    font-size: 16px;
    color: #BBBBBB;
    margin-top: 10px;
    display: grid;
}

.desc-item {
    display: grid;
    grid-template-columns: minmax(65px, auto) 1fr;
    align-items: baseline;
    gap: 8px;
}

.label {
    text-align: right;
    white-space: nowrap;
}

.footer-city {
    font-size: 20px;
    font-weight: 700;
}

.footer-email {
    font-size: 16px;
    color: #BBBBBB;
    margin-bottom: 24px;
}

.footer-clock {
    width: 80px;
    height: 80px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    position: relative;
    background: none;
}
.clock-hour, .clock-minute, .clock-second {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    border-radius: 2px;
    background: #ffbfc7;
    display: block;
}
.clock-hour {
    width: 3px;
    height: 26px;
    background: #ffbfc7;
    z-index: 3;
}
.clock-minute {
    width: 2px;
    height: 32px;
    background: #ffbfc7;
    z-index: 2;
}
.clock-second {
    width: 2px;
    height: 36px;
    background: #ff3c47;
    z-index: 4;
}

.footer-bottom {
    max-width: var(--container-width);
    padding: 0 var(--container-padding);
    margin: 0 auto;
    width: 100%;
}

.footer-links {
    display: inline-flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 180px;
}

.footer-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #F4F4F4;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #ff3c47;
}

.footer-logo {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.footer-logo img {
    height: 48px;
    width: auto;
}

.footer-meta {
    display: block;
    font-size: 0.95rem;
    color: #bbb;
    padding-top: 18px;
    gap: 16px;
}

.footer-legal {
    display: flex;
    gap: 10px;
    font-size: 10px;
    color: #DEDEDE;
}

.footer-legal a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #ff3c47;
}
.mobile-menu{
    display: none;
}
@media (max-width: 1024px) {
    .footer-top, .footer-bottom {
        flex-direction: column;
        gap: 32px;
        padding: 0 20px;
    }
    .footer-contacts {
        justify-content: flex-start;
        gap: 32px;
    }
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .footer-logo {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }
    .footer-legal {
        gap: 16px;
    }
    .footer-meta-logo {
        margin-bottom: 8px;
    }
}

/* Buttons */
.view-more {
    display: block;
    margin: 3rem auto 0;
    padding: 1rem 3rem;
    background-color: #ff3c47;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.125rem;
}

.view-more:hover {
    background-color: #ff2a35;
}

/* Responsive Design */
@media screen and (min-width: 1440px) {
    :root {
        --container-padding: 40px;
    }
}

@media screen and (max-width: 1200px) {
    .hero-content h1,.hero-content .hero-text {
        font-size: 3.5rem;
    }

    .services-grid,
    .brands-grid,
    .stats-grid,
    .blog-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .service-left{
        width: 40%;
    }
    .service-content{
        width: 60%;
    }
    .service-item:hover .service-left{
        width: calc(40% + 120px);
    }
    .service-item:hover .service-content{
        width: calc(60% - 120px);
    }

    .brand-item{
        margin-bottom: 40px;
    }
    .footer-contacts{
        gap: 50px;
    }


}

@media screen and (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.25rem;
    }

    .nav-toggle {
        display: block;
    }

    .services h2 {
        font-size: 1.75rem;
    }

    .case-item {
        flex-direction: column;
        gap: 20px;
        justify-content: flex-start;
    }
    .case-image {
        flex: 1;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        height: 100vh;
        min-height: 450px;
    }
}
@media screen and (max-width: 768px) {
    .services-grid,
    .brands-grid,
    .stats-grid,
    .case-grid{
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 2rem var(--container-padding);
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content .hero-text {
        font-size: 40px;
        letter-spacing: -1.5%;
    }

    .hero-content .hero-text .line {
        display: block;
        margin-bottom: 0;
    }

    .container {
        padding: 0;
    }
    .case-image img{
        object-fit: cover;
        object-position: top;

    }

    .case-studies .section-title {
        font-size: 15px;
        padding: 0 20px;
    }

    .case-studies {
        padding: 80px 0 80px 0;
    }

    .case-content {
        padding: 0 20px;
        order: 1;
        flex: 1;
    }
    .services{
        padding: 80px 20px;
    }
    .services .hero-text {
        font-size: 32px;
    }

    .stats-item h3 {
        font-size: 2.5rem;
    }
    .service-item,.service-item-wrapper{
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-content h2 {
        font-size: 2rem;
    }

    .mobile-menu {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100vw; height: 100vh;
        background: #222;
        color: #fff;
        z-index: 2000;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(.77,0,.18,1);
        display: none;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
    }
    .mobile-menu.open {
        transform: translateX(0);
    }
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 20px 0 20px;
    }
    .mobile-menu-logo img {
        height: 40px;
    }
    .mobile-menu-close {
        background: none;
        border: none;
        color: #fff;
        font-size: 36px;
        cursor: pointer;
        line-height: 1;
    }
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 16px;
        font-size: 20px;
        font-weight: 600;
        padding-left: 20px;
    }
    .mobile-menu-list li a {
        color: #fff;
        text-decoration: none;
    }
    .mobile-menu-footer {
        padding: 0 0 20px 20px;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .mobile-menu-lang {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 20px;
    }
    .mobile-menu {
        display: flex;
    }
    .navbar.nav-open ~ .mobile-menu {
        /* 兼容js控制 */
        transform: translateX(0);
    }


    .service-left {
        width: 100%;
        display: block;
    }

    .service-item:hover .service-left {
        width: 100%;
    }

    .service-image {
        width: 100%;
        height: auto;
    }

    .service-content {
        width: 100%;
        padding-left: 0px;
        min-height: auto;
    }
    .service-item:hover .service-left,.service-item:hover .service-content{
        width: 100%;
    }
    .service-item:hover .service-image{
        width: 100%;
        height: auto;
    }
    .service-title {
        font-size: 24px;
        margin-top: 8px;
    }

    .service-desc {
        display: contents;
        font-size: 15px;
        line-height: 1.4;
        margin-top: 8px;
        opacity: 1;
        left: 0;
        transform: translateY(0px);
        transition: none;
        visibility: visible;
    }
    .service-item:hover .service-desc{
        transform: translateY(0px);
    }
    .service-item:hover .service-title{
        text-decoration: none;
        transform: translateY(0px);
    }
    .service-item:hover .service-arrow{
       display: none;
    }

    .cta-title {
        font-size: 40px;
    }

    .cta-subtitle span {
        font-size: 18px;
    }

    .cta-container .cta-subtitle {
        margin: 0 auto 48px !important;
    }

    /* 480px 下的 brands 样式 */
    .brands {
        padding: 80px 20px 60px 20px;
        width: 100%;
    }

    .brands .container {
        width: 100%;
        padding: 0;
    }
    .brands-label{
        text-align: left;
    }
    .brands-title{
        text-align: left;
        font-size: 32px;
    }

    .mobile-brands-box {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 40px;
        /* 隐藏默认滚动条 */
        scrollbar-width: none;  /* Firefox */
        -ms-overflow-style: none;  /* IE and Edge */
        position: relative;
    }
    /* 隐藏 Webkit 浏览器的默认滚动条 */
    .mobile-brands-box::-webkit-scrollbar {
        display: none;
    }

    /* 自定义滚动条样式 */
    .mobile-brands-box .scrollbar-track {
        position: sticky;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #BBBBBB;
        z-index: 1;
        pointer-events: none;
    }

    .mobile-brands-box .scrollbar-thumb {
        position: sticky;
        bottom: 2px;
        left: 0;
        height: 2px;
        background-color: #FF3C46;
        z-index: 2;
        transition: width 0.1s ease-out;
        width: 0; /* 初始宽度为0 */
        pointer-events: none;
    }

    .brands-grid {
        display: flex;
        width: 340%; /* 确保总宽度正确 */
        gap: 20px;
        padding: 0 20px;
    }
    .brand-item {
        flex: 0 0 calc(25% - 30px);
        min-width: calc(25% - 30px);
    }

    .stats {
       padding: 60px 20px;
    }

    .stats-title {
        font-size: 40px;
    }

    .stats-desc {
        font-size: 16px;
    }

    .stats-grid {
        display: block;
    }
    .stat-item {
        justify-content: flex-start;
    }
    .stat-item h3 {
        text-align: left;
        font-size: 34px;
    }
    .blog-grid {
        display: block;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    .blog-item{
        margin-bottom: 20px;
    }
    .footer-contacts{
        display: block;
    }
    .footer-contact{
        margin-bottom: 40px;
    }
    .footer-contact-desc{
        margin-top: 0px;
    }
}
.market-icon {
    width: 120px;
    height: 90px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    border-radius: 4px;
    overflow: hidden;
}

.market-icon video, .market-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: inline-block;
    vertical-align: top;
}

article {
    margin: 0;
    padding: 0;
}

.media-logo-marquee {
    position: relative;
    left: -40px;
    width: 100vw;
    overflow: hidden;
    background: #fff;
    margin: 0 auto 40px;
    border: none;
    padding: 40px 0;
}

.media-logo-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: media-marquee 30s linear infinite;
    width: max-content;
}

.media-logo-track img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 8px;
    background: #f8f8f8;
    /*
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    */
}

@keyframes media-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cta-section {
    width: 100vw;
    background: #ff3c47;
    padding: 80px 0 100px 0;
    margin: 0 auto;
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-subtitle {
    position: relative;
    height: 1.5em; /* 固定高度，防止跳动 */
    margin: 0 auto 32px;
    text-align: center;
    white-space: normal; /* 允许文字换行 */
    max-width: 900px; /* 与cta-container保持一致 */
    width: 100%;
}

.cta-subtitle span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 0 0px; /* 添加一些内边距 */
}

.cta-subtitle span.visible {
    opacity: 1;
}

.cta-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: 2px;
}

.cta-title .highlight {
    color: #FFFEA3;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #1f1f1f;
    font-size: 20px;
    font-weight: 700;
    border-radius: 40px;
    padding: 16px 40px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
}

.cta-btn:hover {
    background: #ff3c47;
    color: #fff;
}

.footer-meta-logo {
    margin-bottom: 40px;
}
.footer-meta-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-copyright {
    font-size: 10px;
    color: #DEDEDE;
}

.hero-popup, .market-popup{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(255, 60, 71, 0.9);
    padding: 0 var(--container-padding);
    opacity: 0;
    visibility: hidden;
    transform: scale(.75);
    transition: opacity .25s cubic-bezier(.37,.01,0,.98), transform .3s cubic-bezier(.37,.01,0,.98);
    will-change: opacity, trasform;
}
.active-popup{
    visibility: visible;
    opacity: 1;
    transform: translateZ(0);
    transition: opacity .5s cubic-bezier(.37,.01,0,.98), transform .55s cubic-bezier(.37,.01,0,.98);
}
.close-popup{
    opacity: 0;
    transform: scale(.75);
    transition: opacity .3s cubic-bezier(.37,.01,0,.98), transform .4s cubic-bezier(.37,.01,0,.98);
}



.hero-popup .brands-top,
.hero-popup .brands-bottom {
    will-change: transform;    /* 优化动画性能 */
    transform: translateZ(0);  /* 创建新的层叠上下文 */
}


.hero-popup-content {
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
}

.hero-popup-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.hero-popup-close::before,
.hero-popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transform-origin: center;
}

.hero-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.hero-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hero-popup-grid {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-popup-grid .brand-card:first-child {
    top: 40%;
}

.hero-popup-grid .brand-card:nth-child(2) {
    left: 30%;
    top: 10%;
}

.hero-popup-grid .brand-card:nth-child(3) {
    right: 20%;
    top: 20%;
}

.hero-popup-grid .brand-card:nth-child(4) {
    right: 0;
    top: 50%;
}

.hero-popup-grid .brand-card:nth-child(5) {
    bottom: 5%;
    right: 25%;
}

.hero-popup-grid .brand-card:nth-child(6) {
    bottom: 5%;
    left: 25%;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s;
    position: absolute;
}

.brand-card img {
    max-width: 195px;
    border-radius: 4px;
}

.brand-name {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.market-highlight {
    color: #FFFEA3;
    position: relative;
    display: inline-block;
    z-index: 2;
    cursor: pointer;
}

.market-popup .hero-popup-content {
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
}

.market-popup .hero-popup-grid {
    display: flex;
    width: 100%;
    height: 100%;
}

.market-popup .hero-popup-grid .brand-card:first-child {
    top: 40%;
}

.market-popup .hero-popup-grid .brand-card:nth-child(2) {
    left: 20%;
    top: 10%;
}

.market-popup .hero-popup-grid .brand-card:nth-child(3) {
    right: 20%;
    top: 20%;
}

.market-popup .hero-popup-grid .brand-card:nth-child(4) {
    right: 0;
    top: 50%;
}

.market-popup .hero-popup-grid .brand-card:nth-child(5) {
    bottom: 5%;
    right: 25%;
}

.market-popup .hero-popup-grid .brand-card:nth-child(6) {
    bottom: 5%;
    left: 25%;
}
.market-popup .hero-popup-grid .brand-card:nth-child(7) {
    top: 15%;
    left: 45%;
}

.market-popup .brand-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s;
    position: absolute;
    max-width: 150px;
    width: 100%;
}

.market-popup .brand-card img,
.market-popup .brand-card video {
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.market-popup .brand-card:nth-child(2) img,
.market-popup .brand-card:nth-child(2) video,
.market-popup .brand-card:nth-child(3) img,
.market-popup .brand-card:nth-child(3) video {
    max-height: 200px;
}

.market-popup .brand-card:nth-child(5) img,
.market-popup .brand-card:nth-child(5) video,
.market-popup .brand-card:nth-child(6) img,
.market-popup .brand-card:nth-child(6) video {
    max-height: 150px;
}

.market-popup .brand-name {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-top: 8px;
}

.market-highlight:hover + .market-icon img {
    display: none;
}

.market-highlight:hover + .market-icon video {
    display: none;
}



@media screen and (max-width: 768px) {
    .market-popup .brand-name {
        font-size: 14px;
    }
    .stats-title {
        font-size: 40px;
    }
    .stats-desc {
        font-size: 16px;
    }
    .stats-grid {
        display: block;
    }
    .stat-item {
        justify-content: flex-start;
    }
    .stat-item h3 {
        text-align: left;
        font-size: 34px;
    }
}

.market-highlight:hover + .market-icon img {
    display: none;
}

@media screen and (max-width: 375px) {
    .hero-content h1,.hero-content .hero-text{
        font-size: 32px;
    }
}

@media screen and (max-width: 768px) {
    .market-popup,.hero-popup {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 10;
        overflow: hidden;
    }
    .hero-popup .hero-popup-grid{
        align-items: center;
        height: 30%;
        position: absolute;
        top: 5%;
    }
    .hero-popup .brands-bottom{
        top: 50%;
    }
    .hero-popup .hero-popup-grid .brand-card,.market-popup .hero-popup-grid .brand-card{
        position: unset;
    }
    .hero-popup .brands-top .brand-card{
        padding-left: 200px;
    }
    .hero-popup .brands-bottom .brand-card{
        padding-right: 200px;
    }
    .brand-card img{
        max-width: 120px;
    }

    .hero-popup .hero-popup-close,
    .market-popup .hero-popup-close {
        display: block;
    }
    .market-popup .hero-popup-grid{
        height: 60%;
    }
    .market-popup .brand-card {
        max-width: 120px;
        min-width: 120px;
        margin-right: 200px;
    }
    .market-popup .brand-card img,.market-popup .brand-card video {
        max-height: 720px;
    }
    .market-popup .brand-card:nth-child(5) img,
    .market-popup .brand-card:nth-child(5) video,
    .market-popup .brand-card:nth-child(6) img,
    .market-popup .brand-card:nth-child(6) video {
        max-height: 720px;
    }
}

/* 添加滚动动画相关样式 */
section {
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* 视差滚动元素 */
.parallax {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 为不同section设置不同的动画延迟 */
section:nth-child(1) { transition-delay: 0.1s; }
section:nth-child(2) { transition-delay: 0.2s; }
section:nth-child(3) { transition-delay: 0.3s; }
section:nth-child(4) { transition-delay: 0.4s; }
section:nth-child(5) { transition-delay: 0.5s; }

/* 确保内容在动画前不可见 */
section:not(.in-view) {
    visibility: hidden;
}

section.in-view {
    visibility: visible;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
}

/* 自定义进度条滚动条 */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0px;
    width: .3125rem;
    height: 100vh;
    background: rgba(204, 204, 204, .3);
    z-index: 9999;
}

.scroll-progress-bar {
    width: 0.5rem;
    height: 0%;
    background: #ff3c47;
    transition: height 0.1s ease-out;
    box-shadow: 0 0 8px rgba(255, 60, 71, 0.5);
}

/* 深色背景区域的滚动条样式 */
.stats, .footer {
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.stats::-webkit-scrollbar-thumb,
.footer::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
}

.stats::-webkit-scrollbar-thumb:hover,
.footer::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* 导航栏在不同section下的样式 */
.navbar.in-hero .nav-menu a,
.navbar.in-hero .language-selector {
    color: white;
}
.navbar.in-hero .nav-menu .dropdown-menu a{
    color: #1F1F1F;
}
.navbar.in-services .nav-menu a,
.navbar.in-brands .nav-menu a,
.navbar.in-blog .nav-menu a,
.navbar.in-services .language-selector,
.navbar.in-brands .language-selector,
.navbar.in-blog .language-selector,
.navbar.in-services .language-selector a,
.navbar.in-brands .language-selector a,
.navbar.in-blog .language-selector a{
    color: #1F1F1F;
}

/* 导航栏下划线效果 */
.navbar.in-services .nav-menu a::after,
.navbar.in-brands .nav-menu a::after,
.navbar.in-blog .nav-menu a::after{
    background-color: #1F1F1F;
}

.navbar.in-services .btn-primary,
.navbar.in-brands .btn-primary,
.navbar.in-blog .btn-primary{
    background-color: #1F1F1F;
    color: white;
}


.navbar.in-case-studies .btn-primary::before,
.navbar.in-services .btn-primary::before,
.navbar.in-brands .btn-primary::before,
.navbar.in-stats .btn-primary::before,
.navbar.in-blog .btn-primary::before{
    background-color: #ff3c47;
}
/* 导航栏logo */
.logo-red {
    display: none;
}

.navbar.in-services .logo-red,
.navbar.in-brands .logo-red,
.navbar.in-blog .logo-red
{
    display: block;
}

.navbar.in-services .logo-white,
.navbar.in-brands .logo-white,
.navbar.in-blog .logo-white
{
    display: none;
}

/* 导航栏语言图标 */
.globe-icon-black {
    display: none;
}

.navbar.in-services .globe-icon-black,
.navbar.in-brands .globe-icon-black,
.navbar.in-blog .globe-icon-black
{
    display: block;
}

.navbar.in-services .globe-icon,
.navbar.in-brands .globe-icon,
.navbar.in-blog .globe-icon
{
    display: none;
}

.navbar.in-services .nav-toggle,
.navbar.in-brands .nav-toggle,
.navbar.in-blog .nav-toggle
{
    color: #1F1F1F;
}

.footer-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-form-row {
  display: flex;
  gap: 20px;
}

.footer-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-form-group label {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 4px;
}

.footer-form-group input,
.footer-form-group textarea {
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  background: #fff;
  color: #11F1FF;
  outline: none;
  resize: none;
  border: 1px solid #D9D9D9;
}

.footer-form-group input:focus,
.footer-form-group textarea:focus {
  border: 2px solid #ff3c47;
}

.footer-form-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background: #fff;
  color: #1F1F1F;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -1.1%;
  border-radius: 100px;
  padding: 8px 16px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: color 0.2s;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  z-index: 1;
  align-self: flex-start;
}

.footer-form-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ff3c47;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.footer-form-btn:hover {
  color: #fff;
  background: transparent;
}

.footer-form-btn:hover::before {
  left: 0;
}

@media (max-width: 768px) {
  .footer-form-row {
    flex-direction: column;
    gap: 0;
  }
}


/* ===== Dropdown Menu Styles ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 240px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 8px 0;
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1f1f1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #ff3c47;
    padding-left: 24px;
}

/* 深色背景区域的下拉菜单样式 */
.navbar.in-case-studies .dropdown-menu,
.navbar.in-stats .dropdown-menu,
.navbar.in-contact .dropdown-menu {
    background-color: #1f1f1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar.in-case-studies .dropdown-menu a,
.navbar.in-stats .dropdown-menu a,
.navbar.in-contact .dropdown-menu a {
    color: #fff;
}

.navbar.in-case-studies .dropdown-menu a:hover,
.navbar.in-stats .dropdown-menu a:hover,
.navbar.in-contact .dropdown-menu a:hover {
    background-color: #333;
    color: #ff3c47;
}

/* 移动端下拉菜单样式 */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-menu {
    display: none;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 8px 0 8px 20px;
    border-radius: 4px;
    padding: 8px 0;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li {
    list-style: none;
    margin: 0;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.mobile-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ff3c47;
    padding-left: 24px;
}

/* 移动端下拉菜单箭头 */
.mobile-dropdown > a::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active > a::after {
    transform: rotate(180deg);
}



