﻿:root {
    --primary-pink: #FF9EC5;
    --light-pink: #FFEBF0;
    --accent-yellow: #FFD166;
    --accent-blue: #A0E7FF;
    --accent-purple: #D9B6FF;
    --text-dark: #5A3D5C;
    --text-light: #FFFFFF;
    --border-radius: 24px;
    --shadow-main: 0 10px 20px rgba(255, 158, 197, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    overflow-x: hidden;
    color: var(--text-dark);
    line-height: 1.6;
}

.function {
    width: 100%;
    min-height: 100vh;
    /* background: linear-gradient(135deg, #131313, #131313); */
    background-color: #141809;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.function::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.function::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.functionCont {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.functionContTxt {
    padding-left: 60px;
    flex: 2;
}

.slidesImg {
    flex: 1;
    text-align: center;
    position: relative;
}

.slidesImg::before {
    content: '';
    position: absolute;
    width: 100%;
    z-index: -1;
    opacity: 0.3;
}

.functionContTxt .title {
    font-size: 5rem;
    font-weight: 800;
    color: #00f260;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.functionContTxt .tagline {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.1;
}

.functionContTxt .subtitle {
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.functionContTxt .description {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 90%;
}

.functionContTxt .button {
    margin-top: 20px;
    display: inline-flex;
    width: 220px;
    height: 80px;
    background: linear-gradient(to right, #00f260, #0575e6);
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 24px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 2;
}

.functionContTxt .button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: 0.5s;
}

.functionContTxt .button:hover::after {
    left: 100%;
}

.function dl{
    flex: 2;
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
}

.function dd {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.function dd .layout {
    font-size: 1rem;
    font-weight: 600;
    width: 100px;
    display: inline-block;
}

.function dd .icon {
    color: #131313;
    font-size: 1rem;
    background-color: rgba(0, 242, 96, .2);
    padding: .5rem;
    border-radius: 50%;
    margin-right: 10px;
}

.function dd .dsc {
    font-size: .8rem;
    color: #999;
}

.character-img {
    max-width: 100%;
    height: auto;
    max-height: 780px;
    filter: drop-shadow(0 20px 15px rgba(0, 0, 0, 0.1));
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.character-img:hover {
    transform: scale(1.03) rotate(-2deg);
}

.sweet-features {
    width: 100%;
    padding: 100px 20px;
    position: relative;
}

.sweet-features:nth-child(even) {
    background-color: #000;
    border-top: 2px solid #333;
}

.ItemTit {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 40px;
    background: linear-gradient(to right, #00f260, #0575e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* color: #00f260; */
    position: relative;
}

.ItemTit::after {
    content: '';
    display: block;
    width: 100px;
    height: 8px;
    /* background: linear-gradient(to right, #009cff, #0066a6); */
    margin: 20px auto 0;
    border-radius: 10px;
}

.itemGrid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 156, 255, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #009cff;
}

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

.feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rbga(0, 156, 255, .6);
    border-radius: 30%;
    padding: 20px;
}

.feature-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.feature-showcase-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.showcase-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-column {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-main);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.feature-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* background: linear-gradient(to right, #FF6B9D, #FF9EC5); */
    background: linear-gradient(to right, #009cff, #0066a6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.feature-header-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-header-title .highlight {
    color: #009cff;
}

.funList {
    list-style: none;
}
.showcase-wrapper dd {
    padding: 15px 0;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    align-items: center;
}

.showcase-wrapper dd:last-child {
    border-bottom: none;
}

.showcase-wrapper dd i {
    color: #009cff;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 156, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.showcase-wrapper dd .feature-name {
    font-weight: 600;
    margin-right: 10px;
    display: inline-block;
    min-width: 120px;
}

.showcase-wrapper dd .feature-desc {
    color: var(--text-dark);
    font-size: 1rem;
    display: inline-block;
}

.sweet-gallery {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #FFFFFF, #FFF0F5);
    position: relative;
}

.gallery-container {
    margin: 0 auto;
    position: relative;
}

.swiper-container {
    padding: 40px 0;
    position: relative;
}

.swiper-slide {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-main);
}

.swiper-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 158, 197, 0.4);
}

.case-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.case-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.swiper-slide:hover .case-image img {
    transform: scale(1.05);
}

.view-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    color: #FF6B9D;
    border: none;
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
}

.swiper-slide:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
}

.view-btn:hover {
    background: white;
    color: #FF6B9D;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.navigation-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    margin: 0 20px;
}

.nav-btn:hover {
    background: linear-gradient(to right, #FF6B9D, #FF9EC5);
}

.nav-btn:hover i {
    color: white;
}

.nav-btn i {
    font-size: 20px;
    color: #FF6B9D;
    transition: color 0.3s ease;
}

.aidesign {
    background: linear-gradient(to right, #00f260, #0575e6);
    border-radius: var(--border-radius);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.aidesign .button {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #131313;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
    border: 0 none;
    cursor: pointer;
}

.aidesign .button:hover {
    transform: translateY(-5px);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}
.z7a8b ul {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.z7a8b li{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.z7a8b li:hover::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}
.z7a8b li:hover .showbtn{
    display: flex;
}
.z7a8b li img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.z7a8b li .showbtn{
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}
.z7a8b li .showbtn i{
    color: #0066a6;
    font-size: 20px;
}


.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 242, 96, 0.6);
    border-radius: 8px;
}

.closeBtn {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.closeBtn:hover {
    background: rgba(237, 102, 255, 0.8);
    transform: rotate(90deg);
}

.bottomDiv {
    width: 100%;
    padding: 40px 20px;
    background: #131313;
    color: #fff;
    text-align: center;
}

.bottomDiv .link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.bottomDiv .link:hover {
    color: #fff;
}

.bottomDiv .copyright {
    color: #fff;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .functionCont {
        flex-direction: column;
        text-align: center;
    }

    .functionContTxt {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .functionContTxt .title {
        font-size: 4rem;
    }

    .functionContTxt .tagline {
        font-size: 2.5rem;
    }

    .showcase-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .functionContTxt .title {
        font-size: 3rem;
    }

    .functionContTxt .tagline {
        font-size: 2rem;
    }

    .functionContTxt .subtitle {
        font-size: 1.5rem;
    }

    .functionContTxt .description {
        font-size: 1.1rem;
    }

    .functionContTxt .button {
        width: 200px;
        height: 70px;
        font-size: 1.4rem;
    }

    .ItemTit {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .feature-card p {
        font-size: 1rem;
    }

    .funList li {
        font-size: 0.9rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }
}