/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-align {
    display: flex;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.strong {
    font-weight: 600;
    color: #000;
}

.container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    height: 62px;
    line-height: 62px;
    z-index: 1000;
}

.navbar .container {
    height: 100%;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    /* padding: 15px 20px; */
}

.logo0 {
    height: 26px;
    margin-right: 13px;
}

.logo {
    height: 22px;
}

.nav-menu {
    display: flex;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 73px;
}

.nav-menu a {
    text-decoration: none;
    color: #666666;
    font-weight: normal;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: #000;
    font-weight: 500;
}

.nav-menu a.active {
    color: #000;
    font-weight: 500;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    height: 4px;
    width: 13px;
    background: #ff9500;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主banner区域 */
.hero {
    background: radial-gradient(circle, #fded15ff, #fdc715f7);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* .hero::before {
    content: '';
    position: absolute;
    bottom: -9.375rem;
    width: 97.875rem;
    height: 45.75rem;
    background: url('../images/image1.png') no-repeat center center;
    background-size: cover;
} */

.image-pets {
    position: absolute;
    bottom: -9.375rem;
    width: 97.875rem;
    height: 45.75rem;
    objectFit: cover;
    /* background: url('../images/image1.png') no-repeat center center; */
    /* background-size: cover; */
}

.hero-content {
    position: absolute;
    top: 100px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 50px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.pets-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-top: 100px;
}

.about {
    /* padding: 100px 0; */
    height: 650px;
    width: 100%;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 22px;
    position: relative;
}

.about-text h3::after {
    /* content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px; */
    /* background: #ff9500; */
}

.about-text div {
    font-size: 1.25rem;
    line-height: 30px;
    color: #333;
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
}

.about-text .gongsi::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 298px;
    height: 118px;
    background: url('../images/who.png') no-repeat center center;
    background-size: cover;
}



.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.building-image {
    width: 100%;
    height: auto;
    /* border-radius: 10px; */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}
/* 产品部分 */
.products {
    padding: 3.3125rem 0 6.0625rem 0;
    /* background: #fff; */
    background: #F8F8F8;
}

.line-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    gap: 4px;
}
.line-box .line1, .line-box .line3 {
    width: 26px;
    height: 5px;
    border-radius: 100px;
    background: #FDD615;
}

.line-box .line2 {
    width: 39px;
    height: 5px;
    border-radius: 100px;
    background: #FDA015;
 }

/* 标题图片样式 */
.section-title-image {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title-image .title-image {
    height: 32px;
    max-width: 100%;
}

.title-image-wrapper {
    margin-bottom: 30px;
}

.title-image-wrapper .title-image {
    max-height: 50px;
    height: auto;
    max-width: 100%;
}

.vision-title {
    margin-bottom: 15px;
}

.vision-title-image {
    height: 32px;
    max-width: 100%;
}

.title-image-wrapper .title-image-wms {
    height: 32px;
}

/* 保持原有section-title样式用于其他地方 */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: #000;
    margin-bottom: 60px;
    position: relative;
    font-weight: bold;
    line-height: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff9500;
}

/* 核心业务与产品标题的特殊样式 - 3条不同颜色的线 */
.products .section-title::after {
    width: 120px;
    background: linear-gradient(to right, #ff9500 0%, #ff9500 33%, #4a90e2 33%, #4a90e2 66%, #9b59b6 66%, #9b59b6 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px 52px;
    margin-top: 100px;
}

.product-item {
    posi tion: relative;
    text-align: center;
    padding: 50px 60px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-icon {
    width: 120px;
    height: 120px;
    /* margin: 0 auto 20px; */
    /* flex-shrink: 0; */
    /* padding: 20px; */
    /* border-radius: 50%; */
    /* background: #f8f9fa; */
}

/* 为不同的产品图标设置不同的背景色 */
/* .product-item:nth-child(1) .product-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.product-item:nth-child(2) .product-icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
}

.product-item:nth-child(3) .product-icon {
    background: linear-gradient(135deg, #f3e5f5 0%, #ce93d8 100%);
}

.product-item:nth-child(4) .product-icon {
    background: linear-gradient(135deg, #e0f2f1 0%, #80cbc4 100%);
} */

.img-box1, .img-box2, .img-box3, .img-box4 {
    width: 156px;
    height: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    position: absolute;
    top: -78px;
    left: 50%;
    transform: translateX(-50%);
    background: #f8f9fa;
}

.img-box1 {
    background: #EEF5FF;
    /* background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); */
}
.img-box2 {
    background: #FFF7EE;
    /* background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%); */
}
.img-box3 {
    background: #F2EEFF;
    /* background: linear-gradient(135deg, #f3e5f5 0%, #ce93d8 100%); */
}
.img-box4 {
    background: #EEFFFB;
    /* background: linear-gradient(135deg, #e0f2f1 0%, #80cbc4 100%); */
}

.product-item h4 {
    font-size: 1.25rem;
    color: #333;
    margin-top: 60px;
    margin-bottom: 22px;
    flex-shrink: 0;
}

.product-item p {
    color: #666;
    line-height: 28px;
    font-size: 1rem;
    flex-grow: 1;
    text-align: left;
}

/* 愿景与使命 */
.vision-mission {
    padding: 100px 0;
    background: ffffff;
}

.vision-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.vision-bg {
    position: relative;
    width: 1014px;
    height: 684px;
    /* overflow: hidden; */
}

.vision-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-content {
    position: absolute;
    right: 0;
    bottom: 96px;
    background: linear-gradient(143deg, #FFFFFF 31%, #FAF5EC 93%);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px 30px;
    width: 621px;
    height: 347px;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.12);
}

.vision-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.vision-item:last-child {
    margin-bottom: 0;
}

.vision-icon {
    width: 42px;
    height: 42px;
    /* border-radius: 50%; */
    /* background: linear-gradient(135deg, #ff9500 0%, #ffb84d 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.vision-icon .icon {
    width: 42px;
    height: 37px;
    /* filter: brightness(0) invert(1); */
}

.vision-text h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}

.vision-text p {
    color: #666;
    line-height: 28px;
    font-size: 1rem;
}

/* 选择我们的理由 */
.reasons {
    padding: 100px 0;
    background: #F8F8F8;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); */
    gap: 30px;
    margin-top: 60px;
}

.reason-item {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    /* border: 2px solid #f0f0f0; */
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #ff9500;
}

.reason-icon {
    
    height: 113px;
    margin: 0 auto 15px;
    /* padding: 20px; */
    /* border-radius: 15px; */
    /* background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    /* flex-shrink: 0; */
}

.reason-icon .icon {
    width: 131px;
    height: 113px;
    object-fit: cover;
}

.reason-item h4 {
    font-size: 1.25rem;
    color: #333;
    /* margin-top: 15px; */
    margin-bottom: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.reason-item p {
    color: #666;
    line-height: 28px;
    font-size: 1rem;
    flex-grow: 1;
    text-align: left;
}
/* 马上下载APP体验 */
.app-download-section {
    padding: 100px 0;
    background: #fff;
}

.app-download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-demo-1,
.app-demo-2 {
    /* max-width: 280px; */
    /* height: auto; */
    /* border-radius: 20px; */
    /* box-shadow: 0 15px 35px rgba(0,0,0,0.15); */
}

.app-demo-1 {
    width: 360px;
    z-index: 2;
    margin-right: -50px;
}

.app-demo-2 {
    width: 326px;
    height: 574px;
    z-index: 1;
    margin-top: 30px;
    transform: rotate(5.78deg);
    position: absolute;
    left: 54%;
}

.app-download-text {
    padding-left: 20px;
}

.app-title {
    margin-bottom: 30px;
}

.title-image {
    height: 32px;
}

.app-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.download-item {
    text-align: center;
    /* flex: 1;
    min-width: 120px; */
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 15px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.qr-code:hover {
    border-color: #ff9500;
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.2);
}

.qr-code::before {
    /* content: '';
    color: #ccc;
    font-size: 0.9rem; */
}

.img-code {
    width: 160px;
    height: 160px;
    objectFit: cover;
}

.download-item span {
    color: #333;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 30px;
}

/* 底部 */
.footer {
    background: #ffcf6f;
    color: #000000;
    padding: 60px 0 95px;
    text-align: center;
    font-size: 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo-img {
    height: 87px;
    margin-bottom: 26px;
}

.contact-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* 响应式设计 */
/* 大中屏幕 (小桌面/大平板) */
@media (max-width: 1200px) {
    .hero {
        height: 300px;
    }
    .image-pets {
        display: none;
    }
    .pets-image {
        max-width: 500px;
        margin-top: 10px;
    }
    .container {
        max-width: 1000px;
    }
    
    .products-grid {
        gap: 80px 40px;
    }
    
    .vision-content {
        width: 580px;
        padding: 35px 25px;
        height: 320px;
    }
}

/* 中等屏幕 (平板) */
@media (max-width: 1024px) {
    .hero {
        height: 300px;
    }
    .image-pets {
        display: none;
    }
    .pets-image {
        max-width: 500px;
        margin-top: 10px;
    }
    .container {
        padding: 0 30px;
    }
    
    .products-grid {
        gap: 60px 30px;
    }
    
    .product-item {
        padding: 40px 30px;
    }
    
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .reason-item {
        padding: 40px 25px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .vision-content {
        width: 90%;
        right: 5%;
        padding: 35px 25px;
        height: auto;
    }
    
    .app-download-content {
        gap: 60px;
    }
    
    .app-demo-1 {
        width: 300px;
    }
    
    .app-demo-2 {
        width: 270px;
        height: 480px;
    }
}

/* 小屏幕 (手机横屏) */
@media (max-width: 768px) {
    .hero {
        height: 300px;
    }
    .image-pets {
        display: none;
    }
    .pets-image {
        max-width: 400px;
        margin-top: 10px;
    }
    .navbar .container {
        justify-content: space-between;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        gap: 20px;
        transform: none;
        position: absolute;
        z-index: 1001;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* .hero {
        min-height: 80vh;
    } */
    
    .hero-content {
        top: 80px;
    }
    
    .about {
        height: auto;
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .building-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .products {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 80px;
        margin-top: 60px;
    }
    
    .product-item {
        margin: 0 20px;
        padding: 60px 30px 40px;
    }
    
    .vision-mission {
        padding: 80px 0;
    }
    
    .vision-bg {
        width: 100%;
        height: 400px;
    }
    
    .vision-content {
        position: static;
        width: 100%;
        margin: 20px;
        width: calc(100% - 40px);
        height: auto;
        padding: 30px 25px;
    }
    
    .reasons {
        padding: 80px 0;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: 60px;
    }
    
    .reason-item {
        margin: 0 20px;
        padding: 40px 30px;
    }
    
    .app-download-section {
        padding: 80px 0;
    }
    
    .app-download-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .app-showcase {
        order: 2;
    }
    
    .app-download-text {
        order: 1;
        padding-left: 0;
    }
    
    .app-demo-1 {
        width: 250px;
        margin-right: -30px;
    }
    
    .app-demo-2 {
        width: 220px;
        height: 390px;
        left: 52%;
    }
    
    .download-options {
        justify-content: center;
        gap: 40px;
    }
    
    .qr-code {
        width: 150px;
        height: 150px;
    }
    
    .img-code {
        width: 130px;
        height: 130px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title-image .title-image {
        height: 28px;
    }
    
    .title-image-wrapper .title-image-wms {
        height: 28px;
    }
    
    .vision-title-image {
        height: 28px;
    }
    
    .footer {
        padding: 50px 0 60px;
    }
}

/* 超小屏幕 (手机竖屏) */
@media (max-width: 480px) {
    .hero {
        height: 300px;
    }
    .image-pets {
        display: none;
    }
    .pets-image {
        max-width: 300px;
        margin-top: 10px;
    }
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        height: 56px;
        line-height: 56px;
    }
    
    .logo0 {
        height: 22px;
        margin-right: 10px;
    }
    
    .logo {
        height: 18px;
    }
    
    /* .hero {
        min-height: 70vh;
    } */
    
    .hero-content {
        top: 60px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-text .gongsi {
        font-size: 1.1rem;
        line-height: 26px;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .products {
        padding: 50px 0;
    }
    
    .products-grid {
        margin-top: 50px;
        gap: 60px;
    }
    
    .product-item {
        margin: 0 10px;
        padding: 50px 20px 30px;
    }
    
    .img-box1, .img-box2, .img-box3, .img-box4 {
        width: 120px;
        height: 120px;
        top: -60px;
    }
    
    .product-icon {
        width: 90px;
        height: 90px;
    }
    
    .product-item h4 {
        font-size: 1.1rem;
        margin-top: 45px;
        margin-bottom: 18px;
    }
    
    .product-item p {
        font-size: 0.9rem;
        line-height: 24px;
    }
    
    .vision-mission {
        padding: 60px 0;
    }
    
    .vision-bg {
        height: 300px;
    }
    
    .vision-content {
        margin: 15px;
        width: calc(100% - 30px);
        padding: 25px 20px;
    }
    
    .vision-icon .icon {
        width: 32px;
        height: 28px;
    }
    
    .vision-title-image {
        height: 24px;
    }
    
    .vision-text p {
        font-size: 0.9rem;
        line-height: 24px;
    }
    
    .reasons {
        padding: 60px 0;
    }
    
    .reasons-grid {
        gap: 50px;
        margin-top: 50px;
    }
    
    .reason-item {
        margin: 0 10px;
        padding: 35px 20px;
    }
    
    .reason-icon {
        height: 90px;
        margin-bottom: 12px;
    }
    
    .reason-icon .icon {
        width: 100px;
        height: 90px;
    }
    
    .reason-item h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .reason-item p {
        font-size: 0.9rem;
        line-height: 24px;
    }
    
    .app-download-section {
        padding: 60px 0;
    }
    
    .app-download-content {
        gap: 40px;
    }
    
    .app-demo-1 {
        width: 200px;
        margin-right: -25px;
    }
    
    .app-demo-2 {
        width: 180px;
        height: 320px;
        left: 50%;
        margin-top: 25px;
    }
    
    .app-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .download-options {
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .img-code {
        width: 100px;
        height: 100px;
    }
    
    .download-item span {
        font-size: 1.1rem;
    }
    
    .section-title-image {
        margin-bottom: 40px;
    }
    
    .section-title-image .title-image {
        height: 24px;
    }
    
    .title-image-wrapper .title-image-wms {
        height: 24px;
    }
    
    .footer {
        padding: 40px 0 50px;
        font-size: 0.9rem;
    }
    
    .footer-logo-img {
        height: 70px;
        margin-bottom: 20px;
    }
    
    .contact-info p {
        margin-bottom: 8px;
        line-height: 1.4;
    }
}