/* mobile-style.css - 主样式文件 */

/* 全局变量 */
:root {
    --primary-color: #ff6b81;
    --secondary-color: #ff9eb5;
    --text-color: #333;
    --light-text: #fff;
    --bg-color: #fff;
    --section-padding: 60px 0;
}
.global-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s; 
}
.liuliang-ico {
    padding-bottom: 20rpx;
}
.global-loading .loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #eee;
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.global-loading .loading-text {
    color: var(--primary-color);
    font-size: 18px;
    letter-spacing: 2px;
}
.global-loading.hide {
    opacity: 0;
    pointer-events: none;
}
/* 全屏滚动容器 */
.fullpage-container {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* 每一屏的基本样式 */
.section {
    will-change: transform; /* 添加GPU加速 */
    backface-visibility: hidden;
    height: 100vh;
    width: 100%;
    position: absolute; /* 修改为绝对定位 */
    top: 0; /* 确保所有section都从顶部开始 */
    left: 0;
    overflow: hidden;
    transition: transform 0.8s ease;
}

/* 每一屏的内容容器 */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 背景图片设置 */
#section1 {
    /* background: linear-gradient(135deg, #ffedee 0%, #ffd8e2 100%); */
    background-image: url('../images/section1.webp');

}

#section2 {
    background-image: url('../images/section2.webp');
}

#section3 {
    background-image: url('../images/section3.webp');
}

#section4 {
    background-image: url('../images/section4.webp');
}

#section5 {
    background-image: url('../images/section5.webp');
}
#section6 {
    background-image: url('../images/section6.webp');
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    /* 整体居中 */
    padding: 0 50px;
    z-index: 1000;
}

.logo {
    height: 40px;
    position: absolute;
    left: 10%;
    /* 保持在左侧 */
    top: 50%;

    transform: translateY(-50%);
    /* 垂直居中 */
}

.logo img {
    height: 100%;
}

.nav {
    display: flex;
    justify-content: center;
    /* 导航居中 */
}

.nav ul {
    display: flex;
}

.nav li {
    /* 增加导航项间距，提高可读性 */
    margin: 0 50px;
}

.nav a {
    color: var(--text-color);
    font-size: 16px;
    padding: 10px 0;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
    font-family: 'PingFangSC-Semibold-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    /* 应用字体 */
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav a:hover:after,
.nav a.active:after {
    width: 100%;
}

/* 第一屏：首页 */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    /* padding-top: 50px; 导航栏高度 */
}

.hero-left {
    flex: 1;
    padding-right: 50px;
}

.title-container {
    display: flex;
    /* 启用 Flexbox 布局 */
    align-items: center;
    /* 垂直居中对齐 logo 和 title */
    gap: 10px;
    /* 可选：在 logo 和 title 之间添加一些间距 */
    margin-bottom: 20px;
    /* 保持原 title 下方的间距，如果需要的话 */
}

.title-container .title-container-logo {
    height: 80px;
    /* 根据你的 logo 实际大小调整 */
    /* 你可能需要移除或调整之前为 .logo 设置的绝对定位等样式，如果它是在 .header 之外使用的另一个 logo */
}

.title-container .title {
    margin-bottom: 0;
    /* 移除原 title 的下边距，因为间距由 title-container 控制 */
}

.hero-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right img {
    max-height: 80vh;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.title {
    font-size: 48px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-family: 'PingFangSC-Semibold-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    /* 应用字体 */
}

.subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 70px;
}

.limit-subtitle {
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
    /* max-width: 35px; 设置最大宽度 */
}

.btn-group {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.btn-group .btn {
    padding: 15px 25px;
    /* 调整按钮的内边距 */
    border-radius: 30px;
    /* 圆角效果 */
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    /* 使按钮内部元素可以使用flex布局 */
    align-items: center;
    /* 垂直居中按钮内的内容 */
    justify-content: center;
    /* 水平居中按钮内的内容 */
    min-width: 220px;
    /* 给按钮一个最小宽度，确保内容能良好显示 */
    text-align: left;
    /* 让按钮内的文字左对齐，配合span的text-align:left */
}

.btn-content-wrapper {
    display: flex;
    /* 启用Flexbox */
    align-items: center;
    /* 垂直居中对齐图标和文字 */
    gap: 10px;
    /* 图标和文字之间的间距 */
}

.btn {
    padding: 12px 30px;
    width: 238px;
    height: 68px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn span {
    display: inline-block;
    font-family: 'PingFangSC-Semibold-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    /* 应用字体 */
}

.btn-primary {
    /* background-color: var(--primary-color); */
    color: white;
    background: linear-gradient(228deg, #FF416C 0%, #FF4B2B 100%);
    box-shadow: 0px 3px 12px 1px rgba(255, 69, 83, 0.3);
    border-radius: 11px 11px 11px 11px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 129, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 129, 0.3);
}

.feature-backgrount {
    width: 80px;
    height: 80px;
    background: linear-gradient(227deg, #FF4B2B 0%, #FF416C 100%);
    border-radius: 12px 12px 12px 12px;
}

.feature-links {
    margin-top: 220px;
    display: flex;
    gap: 35px;
    /* 特色链接之间的间距 */
}

.feature-link-item {
    display: flex;
    flex-direction: column;
    /* 图标和文字垂直排列 */
    align-items: center;
    /* 水平居中 */
    gap: 35px;
    /* 图标和文字之间的间距 */
    /* padding: 15px; */
    padding-top: 20px;
    border-radius: 10px;
    /* 轻微的圆角 */
    /* background-color: #f8f8f8; 默认背景色，可以根据设计调整 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* 添加过渡效果 */
    /* cursor: pointer; 鼠标样式改为指针 */
}

.feature-link-item:hover {
    transform: translateY(-5px);
    /* 鼠标悬停时向上移动一点 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* 添加轻微的阴影效果 */
}

.feature-icon-1 {
    width: 44px;
    height: 40px;
}

.feature-icon-2 {
    margin-bottom: 2px;
    width: 53px;
    height: 40px;
}

.feature-link-item span {
    font-family: 'PingFangSC-Semibold-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    /* 应用字体 */
    ;
    font-size: 18px;
    color: #333333;
    line-height: 26px;
    width: 90px;
    height: 26px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

/* 通用标题样式 */
.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color);
    text-align: center;
    /* margin-bottom: 30px; */
    position: relative;
    padding-bottom: 15px;
}

.section-title .en:after { 
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    /* transform: translateX(-50%); */
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}
.section-title .en{
    display: block;
    font-size: 12px;
    margin-top: 5px;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

/* 第二屏：热门特色推荐 */
.feature-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    flex: 1;
    /* background-color: white; */
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card h3{
    font-family: 'PingFangSC-Semibold-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 20px;
    padding: 15px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-img {
    /* height: 200px; */
    /* width: 497px;
    height: 330px; */
    width: 100%;
    /* height: 200px; */
    /* box-shadow: 0px 3px 30px 1px rgba(255,75,43,0.3); */
    border-radius: 12px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.feature-card:hover .feature-img img {
    transform: scale(1.1);
}
.feature-content{
    padding: 0 20px;
}
.feature-content .feature-title{
    color: #FF4B2B;
    font-size: 16px;
    display: inline-block;
}
.feature-content .feature-desc {
    color: #333;
    font-size: 14px;
    margin-left: 8px;
}
.feature-info {
    padding: 20px;
}

.feature-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

/* .feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
} */
.feature-tags {
    display: flex;
    background-color: #EEEEEE;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    border-radius: 12px;
}

.tag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding-bottom: 20px;
}

.tag-icon {
    padding-top: 5px;
    /* width: 36px;
    height: 36px; */
    object-fit: contain;
    width: 74px;
    height: 74px;
    background: #FFFFFF;
    box-shadow: 0px 3px 12px 1px rgba(204,204,204,0.7);
}

.tag-name {
    font-family: 'PingFangSC-Light-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 16px;
    color: #666;
}
.tag {
    padding: 5px 12px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

/* 第三屏：优秀相亲用户 */
.user-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}
.section3-title{
    text-align: right;
    font-weight: 600;
    position: relative;
    padding-top: 50px;
}
.en {
    font-family: 'PingFangSC-Light-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
    position: relative;
    color: #333333;
    display: inline-block;
    font-style: normal;
    text-align: right;
    line-height: 33px;
    text-transform: none;
    width: 100%;
}

.en:after { 
    content: '';
    position: absolute;
    bottom: -10px;
    top:30px;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left, var(--primary-color) 0%, var(--primary-color) 10%, transparent 10%);
}
.user-card {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.user-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid #f5f5f5;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.user-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.user-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* 第四屏：相亲案例 */
.case-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}
#section4 .en{
    text-align: center;
    position: relative;
    display: block;
    width: fit-content;
    margin: 5px auto;
}
#section4 .en:after{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}
#section5 .en{
    text-align: center;
    position: relative;
    display: block;
    width: fit-content;
    margin: 5px auto;
}
#section5 .en:after{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}
.case-image {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-image img {
    width: 100%;
    transition: transform 0.5s;
}

.case-image:hover img {
    transform: scale(1.05);
}

.case-stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    
}
.stat-item .stat-str{
    font-family: 'PingFangSC-Semibold-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}
.stat-item .stat-desc{
    font-family: 'PingFangSC-Semibold-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}
.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 16px;
    color: #666;
}

/* 第五屏：用户评价 */
.testimonials {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-wrap: wrap;
}
.testimonial-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    background-color: #FFE3E1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card .testimonial-avatar {
    width: 80px;
    height: 80px;
    margin-right: 10rpx;
    margin-bottom: 10rpx;
    flex: 0 0 auto; /* 防止缩放 */
}
.testimonial-info {
    flex: 1; /* 占据剩余空间 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.user-name {
    font-size: 18px;
    font-weight: bold;
    padding-left: 10px;
    color: var(--text-color);
    margin-bottom: 5px;
}
.testimonial-info p {
    padding-left: 10px;
}
.testimonial-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.testimonial-content  {
    font-size: 16px;
    /* color: #666; */
    border-radius: 20px;
    min-height: 150px;
    background-color: #F8F8F8;
    padding: 10px;
    line-height: 1.6;
    width: 100%; /* 确保内容占据整行 */
    margin-top: 15px; /* 与上方元素保持间距 */
    flex-basis: 100%; /* 强制换行 */
}

/* 页脚 */
.footer {
    background-color: #fff;
    color: #333;
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 100px;
}
.contact-us {
    text-align: center;
    margin-bottom: 30px;
}

.contact-us h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-us h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background-color: #FF4B2B;
}

.contact-info {
    font-size: 16px;
    line-height: 3;
}

.social-media {
    text-align: center;
    margin-bottom: 30px;
}

.social-media h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 50px;
}

.social-media h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 2px;
    background-color: #FF4B2B;
}

#qrcode-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.qrcode-item p {
    font-size: 14px;
    color: #666;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.social-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-icon:hover img {
    transform: scale(1.1);
}

.copyright-container {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.copyright-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 10px;
}
#copyright-links1{
    margin-bottom: 0px; 
}
#copyright-links2{
    margin-bottom: 34px; 
}
.copyright-links a {
    color: #666;
    transition: color 0.3s;
}

.copyright-links a:hover {
    color: #FF4B2B;
}

.copyright-info {
    font-size: 14px;
    color: #999;
    padding-bottom: 20px;
    line-height: 3;
}

#icp{ 
    height: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}
#website-record{
    margin-left: 20px;
    margin-right: 20px;
    height: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}
#copyright-text{
    width: 522px;
    height: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    text-align: center;
    justify-content: center;
}
#app-registration{
    height: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

#soft-copyright{
    height: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-left: 20px;
}

#privacy-policy{
    width: 75px;
    height: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    text-decoration-line: underline;
    text-transform: none;
}
#service-agreement{
    width: 75px;
    height: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    text-decoration-line: underline;
    text-transform: none;
    margin-left: 14px;
}
#disclaimer{
    width: 75px;
    height: 22px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    text-decoration-line: underline;
    text-transform: none;
    margin-left: 14px;
}
.record-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #qrcode-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .copyright-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .record-info {
        flex-direction: column;
        gap: 5px;
    }
}
.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #ccc;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--primary-color);
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 120px;
    margin: 0 auto 10px;
}

.footer-qrcode p {
    font-size: 14px;
    color: #ccc;
}

.copyright {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .section-content {
        max-width: 960px;
    }
}

.animated-overlay-left {
    position: absolute;
    left: 0px;
    /* TODO: 调整精确位置 */
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    /* TODO: 调整宽度 */
    height: 200px;
    /* TODO: 调整高度 */
    z-index: 15;
    perspective: 1000px;
    /* 为3D翻转效果设置透视 */
}

/* 左侧翻动动画容器 */
.animated-overlay-left {
    position: absolute;
    left: -220px;
    /* TODO: 调整精确位置 */
    top: 70%;
    transform: translateY(-50%);
    width: 532px;
    /* TODO: 调整宽度 */
    height: 532px;
    /* TODO: 调整高度 */
    z-index: 15;
    perspective: 1000px;
    /* 为3D翻转效果设置透视 */
}

.animated-overlay-left .anim-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* 初始时所有图片不可见 */
    transform-origin: center;
    /* 设置翻转的轴心在左边中间 */
    backface-visibility: hidden;
    /* 隐藏翻转到背面的元素 */
    animation-duration: 12s;
    /* 总动画时长，假设4张图，每张3秒 */
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes bookFlip {

    0%,
    15% {
        opacity: 1;
        transform: rotateY(0deg);
    }

    /* 显示 */
    25% {
        opacity: 0;
        transform: rotateY(-90deg);
    }

    /* 翻转消失 */
    25.01%,
    100% {
        opacity: 0;
        transform: rotateY(-90deg);
    }

    /* 保持消失状态 */
}

.animated-overlay-left .img-1 {
    animation-name: bookFlip;
    animation-delay: 0s;
}

.animated-overlay-left .img-2 {
    animation-name: bookFlip;
    animation-delay: 3s;
}

.animated-overlay-left .img-3 {
    animation-name: bookFlip;
    animation-delay: 6s;
}

.animated-overlay-left .img-4 {
    animation-name: bookFlip;
    animation-delay: 9s;
}

.static-overlay-right-container {
    position: absolute;
    right: -200px;
    /* TODO: 调整精确位置 */
    top: 80%;
    transform: translateY(-50%);
    width: 430px;
    /* TODO: 调整宽度 */
    height: 350px;
    /* TODO: 调整高度 */
    z-index: 15;
}

.static-overlay-right-container .static-overlay-right {
    position: absolute;
    width: 60%;
    height: 60%;
    object-fit: cover;
    opacity: 0;
    /* 初始时所有图片不可见 */
    animation-duration: 12s;
    /* 与左侧动画同步 */
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* 定义淡入淡出动画效果 */
@keyframes fadeInOut {

    0%{
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    /* 显示 */
    25%,
    100% {
        opacity: 0;
    }

    /* 渐隐并保持消失 */
}

/* 为每张右侧图片应用动画和延迟 */
.static-overlay-right-container .overlay-img-1 {
    animation-name: fadeInOut;
    animation-delay: 0s;
}

.static-overlay-right-container .overlay-img-2 {
    animation-name: fadeInOut;
    animation-delay: 3s;
}

.static-overlay-right-container .overlay-img-3 {
    animation-name: fadeInOut;
    animation-delay: 6s;
}

.static-overlay-right-container .overlay-img-4 {
    animation-name: fadeInOut;
    animation-delay: 9s;
}

@media (max-width: 992px) {
    .section-content {
        max-width: 720px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        flex: 1;
        padding-right: 50px;
        z-index: 1;
    }

    .hero-right {
        flex: 1;
        position: relative;
        /* 设置为相对定位，作为绝对定位子元素的容器 */
        display: flex;
        /* 使内部的 phone-img 居中 (如果需要) */
        justify-content: center;
        /* 水平居中 phone-img */
        align-items: center;
        /* 垂直居中 phone-img */
    }

    .phone-img {
        max-width: 100%;
        /* 确保手机图片不会超出容器 */
        height: auto;
        /* 保持宽高比 */
        z-index: 10;
        /* 确保手机图片在蒙层之上 */
        position: relative;
        /* 确保 z-index 生效 */
    }



    .btn-group {
        justify-content: center;
    }

    .feature-cards,
    .user-cards,
    .testimonials {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .nav {
        display: none;
        /* 移动端导航需要单独设计 */
    }

    .title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* 第三屏：服务对象 */
.service-object-container {
    margin-top: 40px;
    display: flex;
    gap: 40px;
}

.service-left {
    flex: 0.6; /* 占60%宽度 */
    position: relative;
    min-height: 500px;
}

.large-image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.large-image-container img {
    width: 80%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.thumbnail-container {
    position: absolute;
    top: 50%;
    right: 100px; /* 将小图移到右侧 */
    transform: translateY(-50%); /* 垂直居中 */
    z-index: 2;
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    gap: 10px;
}

.thumbnail {
    width: 120px; /* 调整小图尺寸 */
    height: 120px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    z-index: 3;
    background: #ffffff00; /* 添加白色背景 */
}
.thumbnail:nth-child(2) {
    transform: translateX(-80px); /* 向左偏移半个缩略图的距离 */
}

/* 设置第三个缩略图的位置 */
.thumbnail:nth-child(3) {
    transform: translateX(0); /* 回到原始位置 */
}
.thumbnail:hover {
    transform: scale(1.1); /* 改为缩放效果 */
    border-color: #ffffff00;
}
.thumbnail:nth-child(2):hover {
    transform: translateX(-100px) scale(1.1);
}
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-right {
    flex: 0.6; /* 占40%宽度 */
}
/* 第三屏右侧内容样式 */
.service-right-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-right-title {
    width: 470px;
    height: 150px;
    font-family: 'PingFangSC-Light-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;;
    font-weight: 600;
    font-size: 50px;
    color: #FF4B2B;
    line-height: 70px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
.group-qianmian {
    font-family: 'PingFangSC-Semibold-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;;
    font-weight: 600; /* 或其他需要的样式 */
    font-size: 16px;
    color: black;
    display: inline; /* 确保内联显示 */
}
.group-houmian {
    font-family: 'PingFangSC-Light-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;;
    font-size: 16px;
    color: #333; /* 或其他需要的样式 */
    display: inline; /* 确保内联显示 */
}
.service-right-desc {
    font-family: 'PingFangSC-Light-woff2', 'Microsoft YaHei', 'PingFang SC', sans-serif;;
    font-size: 24px;
    font-weight: bold;
    color: #666666;
    line-height: 36px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 20px;
}

.service-right-group {
  
}

.group-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.group-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.service-right-icons {
    background-color: #EEEEEE;
    border-radius: 12px 12px 12px 12px;
    /* opacity: 0.5; */
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    margin-top: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    z-index: 500;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.icon-circle img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.icon-text {
    font-size: 12px;
    color: #666;
    text-align: center;
}
.service-object-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-object-title,
.service-object-subtitle {
    font-size: 32px;
    color: var(--text-color);
    margin: 0;
    display: inline-block;
}

.service-object-desc {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
}

.service-object-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.service-object-images {
    flex: 1;
    position: relative;
}

.image-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

.service-object-info {
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.info-group {
    margin-bottom: 20px;
}

.info-group h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.info-group p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.service-tags .tag {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-tags .tag:hover {
    background-color: var(--primary-color);
    color: white;
}
/* 第四屏：用户故事 */
.love-story-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    position: relative;
    height: 400px;
}

.women-avatar-container, .man-avatar-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 20%;
}
.man-avatar-container{
    align-items: flex-end;
}

.main-photo-container {
    width: 60%;
    height: 100%;
    display: flex;
    object-fit: cover;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
}
.main-image .image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.main-image:hover .image-overlay {
    opacity: 1;
    pointer-events: auto;
}
.overlay-content {
    max-height: 120px; /* 可根据实际调整 */
    overflow: hidden;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}
.overlay-title {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -100px); /* 居中且略上移，可根据实际调整 */
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
}
.overlay-text {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translate(-50%, 20px); /* 居中且略下移，可根据实际调整 */
    /* max-height: 120px; */
    width: 80%;
    /* overflow: visible; */
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    z-index: 1;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 12px 16px;
    max-height: calc(100% - 48px);
    max-height: 60%; /* 根据实际容器高度调整 */
    overflow: hidden;
    transition: max-height 0.3s;
}
.overlay-text-inner {
    transition: transform 2s linear;
    will-change: transform;
}
.main-photo-outer {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 24px 24px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #fff;
    margin-bottom: 12px;
}
.photo-name {
    margin-top: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.couple-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 16px;
}
.couple-story{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 16px;
}

.avatar-item {
    width: 120px;
    height: 120px;
    /* border-radius: 50%; */
    overflow: hidden;
    /* border: 3px solid #f5f5f5; */
    transition: all 0.3s ease;
    cursor: pointer;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-item.active {
    transform: scale(1.2);
    /* border-color: #FF5C35; */
    /* box-shadow: 0 8px 25px rgba(255, 92, 53, 0.3); */
}

.story-stats-container {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #FF5C35;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 16px;
    color: #666;
}

.data-source {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #999;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .love-story-container {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }
    
    .women-avatar-container, .man-avatar-container {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .main-photo-container {
        width: 100%;
        order: -1; /* 确保大图在移动端显示在最上方 */
    }
    
    .avatar-item {
        width: 80px;
        height: 80px;
    }
}
/* 第五屏：用户评价 - 更新样式 */
.testimonials {
    width: 100%;
    overflow: hidden;
    margin-top: 50px;
    position: relative;
    padding: 20px 0;
}

.testimonial-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    cursor: grab;
    padding: 20px 0;
}

/* 隐藏滚动条 */
.testimonial-row::-webkit-scrollbar {
    display: none;
}

/* 移除下排错位显示相关样式 */
.lower-row {
    display: none; /* 隐藏下排 */
}

.testimonial-card {
    flex: 0 0 300px;
    min-width: 400px;
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 可选：添加控制按钮样式 */
.scroll-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-control.left {
    left: 10px;
}

.scroll-control.right {
    right: 10px;
}

