:root {
    --swiper-navigation-sides-offset: 20px
}

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

body {
    font-family: 'Space Grotesk', Arial, sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    /* max-width: 1200px; */
    width: calc(100% - 40px - 40px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 39px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.mobile-menu-button.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-button.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #eee;
    background: #fff;
}

.mobile-menu-header .logo img {
    height: 35px;
}

.close-button {
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 30px;
    height: 30px;
}

.close-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
}

.close-button span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-button span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-list {
    list-style: none;
    padding: 20px 0;
}

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

.mobile-menu-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
    border-left-color: #007bff;
}

/* Main Content - Hero Section */
.main-container {
    min-height: 794px;
    background: url('/images/0f59a1_25706ca1abfc4294a7b1836d1fa7f96a~mv2.png') center/cover;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
}

.content-wrapper {
    /* max-width: 1200px; */
    width: calc(100% - 70px - 70px);
    /* min-width: 980px; */
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-top: 65px;
    margin-bottom: 10px;
}

.left-content {
    color: white;
}

.main-title {
    font-size: 135px;
    font-weight: bold;
    line-height: 1em;
    margin-bottom: 14px;
    text-shadow: rgba(0, 0, 0, 0.4) 0px 4px 5px;
    width: auto;
    word-wrap: break-word;
    /* 已广泛支持 */
    overflow-wrap: break-word;
    /* 推荐使用 */
    margin-top: 50px;
}

.subtitle {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.3em;
    margin-bottom: 40px;
    text-shadow: rgba(0, 0, 0, 0.4) 0px 4px 5px;
    /* width: 940px; */
}

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

.ac-unit img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Benefits Section */
.benefits-section {
    background: #d6e9ff;
    padding: 80px 0;
}

.benefits-container {
    /* max-width: 1200px; */
    width: calc(100% - 80px - 80px);
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-title {
    font-size: 80px;
    font-weight: bold;
    color: #333;
    margin: 156px 0px 61px calc((100% - 980px) * 0.5);
    margin-left: auto;
    margin-right: auto;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-height: 400px;
}

.benefits-icon-col {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: flex-start;
    padding-top: 0;
    /* text-align: center; */
}

.benefits-icon {
    /* width: 160px; */
    /* height: 160px; */
    width: 48px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.benefits-icon svg {
    /* width: 160px; */
    /* height: 160px; */
    width: 48px;
    height: 47px;
}

.benefits-main-title {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    /* text-align: center; */
}

.benefits-title-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}

.benefits-text-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 0;
    align-items: flex-end;
}

.benefits-description p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    margin: 0 0 20px 0;
    width: 307px;
    height: auto;
}

.benefits-features {
    width: 310px;
    height: auto;
}

.benefits-features p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 15px;
}

.checkmark {
    color: #28a745;
    margin-right: 8px;
}

/* Product Section - 使用flexbox居中布局 */
.product-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 80px 0;
    position: relative;
    /* min-width: 980px; */
    height: 728px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    /* min-width: 980px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
}

.slide {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    /* opacity: 0; */
    /* transition: opacity 1s ease-in-out; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 60px; */
    padding: 40px 0;
}

.slide.active {
    /* opacity: 1; */
}

.product-info {
    background: #1a61ae;
    color: white;
    padding: 45px 49px 46px 49px;
    border-radius: 0px;
    position: relative;
    width: 558px;
    height: auto;
    flex-shrink: 0;
}

.product-subtitle {
    color: #fff;
    font-size: 26px;
    line-height: 1.4em;
    font-weight: normal;
    margin-top: 0;
}

.product-title {
    color: #fff;
    font-size: 26px;
    font-weight: normal;
    margin-bottom: 30px;
    line-height: 1.4em;
}

.product-divider {
    width: 38px;
    height: 1px;
    background: #fff;
    margin-bottom: 30px;
}

.product-features {
    color: white;
    font-size: 16px;
    margin: 0;
    padding: 0;
    margin-left: 20px;
}

.product-features li {
    margin-bottom: 5px;
    font-size: 16px;
    padding-left: 0;
    position: relative;
    line-height: 1.6em;
}

.phone-image {
    width: 138px;
    height: 138px;
    /* position: absolute; */
    margin-top: -30px;
    margin-right: -30px;
    z-index: 3;
}

.main-product-image {
    width: auto;
    height: 550px;
    position: relative;
    flex-shrink: 0;
}


.slide.slide1 .product-features,
.slide.slide2 .product-features {
    max-width: 360px;
}



/* Slide 1 和 Slide 3 - 调换内容顺序 */
.slide.slide1,
.slide.slide3 {
    flex-direction: row-reverse;
}


.slide.slide1 .product-info {
    transform: translate(-60px, -90px);
}

.slide.slide1 .main-product-image {
    transform: translate(60px, 0);
}

.slide.slide2 .product-info {
    transform: translate(75px, 0);
}

.slide.slide2 .main-product-image {
    transform: translate(-70px, 70px);
    /* width: 605px; */
    width: 566px;
    height: 411px;
}

.slide.slide3 .product-info {
    transform: translate(-20px, -100px);
}

.slide.slide3 .main-product-image {
    transform: translate(20px, 0);
    width: 456px;
    height: 486px;
}

.slide.slide4 .product-info {
    transform: translate(110px, 0px);
}

.slide.slide4 .main-product-image {
    transform: translate(-110px, -60px);
}

#products .swiper-pagination {
    bottom: 20px;
}

#products .swiper-pagination .swiper-pagination-bullet {
    background: #5b5f6b;
    border: 2px solid #fff;
    width: 10px;
    height: 10px;
}

#products .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff;
    border-color: #5b5f6b;
}

/* Custom Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    /* background: rgba(255, 255, 255, 0.9) !important; */
    border-radius: 50% !important;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important; */
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transform: scale(1.05) !important;
}

/* Hide default Swiper icons */
.swiper-button-next:after,
.swiper-button-prev:after {
    display: none !important;
}

/* Custom SVG styling */
.swiper-button-next svg,
.swiper-button-prev svg {
    width: 50px !important;
    height: 30px !important;
    fill: #333 !important;
    transition: fill 0.3s ease !important;
}

.swiper-button-next:hover svg,
.swiper-button-prev:hover svg {
    fill: #007bff !important;
}

/* Rotate the prev button SVG */
.swiper-button-prev svg {
    transform: rotate(180deg) !important;
}

/* Slideshow 控制按钮 */
.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slideshow-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev-btn {
    left: 25px;
}

.next-btn {
    right: 25px;
}

/* 导航点 */
.slide-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slide-dots {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 1);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    padding: 80px 0;
}

.about-container {
    /* max-width: 1200px; */
    width: calc(100% - 80px - 80px);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: url('/images/0f59a1_b22e4c53dc7b4fa689956fe3b6693daf~mv2.png') center/cover;
    height: 882px;
    border-radius: 12px;
}

.about-text {
    padding: 40px;
}

.about-logo {
    width: 200px;
    height: 79px;
    margin-bottom: 30px;
}

.about-text h2 {
    font-size: 50px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Warranty Section */
.warranty-section {
    background: url('/images/0f59a1_dd9b8564e682477e842fe07e2edc9d50~mv2.png') center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer - 修正为与原始网站匹配的浅蓝色背景和左对齐布局 */
footer {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    color: #333;
    padding: 40px 0;
}

.footer-content {
    /* max-width: 1200px; */
    width: calc(100% - 70px - 70px);
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.contact-info a {
    color: #333;
    text-decoration: none;
}

.contact-info a:hover {
    color: #007bff;
}

/* 确保版权信息也是左对齐 */
footer .footer-content>p:last-child {
    text-align: left;
    color: #333;
    font-size: 14px;
    margin-top: 10px;
}

.flex {
    display: flex;
}


.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: flex-center;
}

.self-end {
    align-self: flex-end;
}

.self-stretch {
    align-self: stretch;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

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

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.pc-logo,
.mobile-menu-button-container {
    min-width: 162px;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        margin: 0;
        width: 100%;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
        justify-content: flex-end;
    }

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

    .subtitle {
        font-size: 24px;
    }

    .content-wrapper,
    .benefits-content,
    .about-container,
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .content-wrapper,
    .benefits-container,
    .about-container {
        width: 100vw;
        padding: 0 10px;
        /* display: block */
    }

    .benefits-title {
        font-size: 48px;
        text-align: center;
    }

    .benefits-icon-col,
    .benefits-text-col {
        align-items: center;
    }

    .about-text h2 {
        font-size: 36px;
    }


    .product-title {
        font-size: 32px;
    }

    .main-product-image {
        width: 100%;
        height: auto;
        display: none;
    }

    .product-info {
        width: auto;
        max-width: 100%;
        transform: translate(0, 0) !important;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}