/**	Write your changes below	**/

/* 服务卡片美化 */
.services {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: linear-gradient(180deg, #141432 0%, #12121a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px !important;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 126, 0.2);
}

.services svg {
    background: linear-gradient(135deg, rgba(255, 0, 126, 0.2) 0%, rgba(82, 0, 255, 0.2) 100%);
    border-radius: 50%;
    padding: 15px;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.services h2 {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.services h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    border-radius: 3px;
}

.feature-list {
    margin-bottom: 25px;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 0, 126, 0.3);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    border-left: 2px solid rgba(255, 0, 126, 1);
    padding-left: 15px;
}

.feature-list li strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

.feature-list .txt-gradient {
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.1em;
}

.price-tag {
    font-size: 36px;
    font-weight: 800;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 0, 126, 0.15) 0%, rgba(82, 0, 255, 0.15) 100%);
    display: inline-block;
    margin: 20px 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(255, 0, 126, 0.3);
}

.services .btn {
    width: 100%;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 126, 0.3);
    margin-top: 10px;
}

.services .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 126, 0.4);
}

/* 创建视觉焦点卡片（中间卡片突出显示） */
.services:nth-child(2) {
    transform: scale(1.05);
    z-index: 2;
    border: 1px solid rgba(255, 0, 126, 0.15);
}

.services:nth-child(2):hover {
    transform: scale(1.05) translateY(-12px);
}

/* 推荐标签 */
.recommend-badge {
    position: absolute;
    top: 1px;
    right: 20px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%); 
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 0, 126, 0.4);
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 126, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 126, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 126, 0);
    }
}

/* 修复下拉菜单样式 */
select {
    background-color: #2e2d3a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: rgba(255, 0, 126, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 0, 126, 0.2);
}

/* 下拉菜单选项样式 */
select option {
    background-color: #1c1c36;
    color: #fff;
    padding: 12px;
}

/* 修复下拉菜单的背景颜色 */
select option {
    background-color: #1c1c36 !important;
    color: #fff !important;
}

/* Firefox的下拉菜单样式 */
@-moz-document url-prefix() {
    select {
        color: #fff;
        background-color: #2e2d3a;
    }
    
    select option {
        background-color: #1c1c36 !important;
        color: #fff !important;
    }
}

/* Chrome和Safari的样式 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select {
        color: #fff;
        background-color: #2e2d3a;
    }
    
    select option {
        background-color: #1c1c36 !important;
        color: #fff !important;
    }
}

/* 修复页脚邮箱对齐问题 */
footer .grid.gtc-1-2.justify-start {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px !important;
}

footer .grid.gtc-1-2.justify-start svg {
    justify-self: start;
    align-self: start;
    margin-top: 3px;
}

footer .grid.gtc-1-2.justify-start p {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

footer .grid.gtc-1-2.justify-start a.visible {
    display: inline-block;
    word-break: break-word;
    max-width: 100%;
}

/* 调整联系方式文本和图标的样式 */
.grid.gtc-1-2.justify-start strong {
    display: block;
    margin-bottom: 5px;
}

/* 设置联系方式之间的间距 */
footer ul li:not(:first-child) {
    margin-top: 12px;
}

/* 增值服务卡片样式 */
.value-added-service {
    background: linear-gradient(180deg, #141432 0%, #12121a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 为服务说明设置背景图片*/
.service-description {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    padding-bottom: 20px;
}

.service-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/services/bg-service-description.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
    transition: all 0.3s ease;
}

.service-description:hover::before {
    opacity: 0.08;
    transform: scale(1.02);
}

.service-description h1, 
.service-description h2, 
.service-description p {
    position: relative;
    z-index: 2;
}

.value-added-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
    transition: all 0.3s ease;
}

.value-added-service:hover::before {
    opacity: 0.2;
    transform: scale(1.05);
}

/* 为四个卡片分别设置背景图片 */
.value-added-service:nth-child(1)::before {
    background-image: url('../image/services/bg-feed-optimization.jpg');
}

.value-added-service:nth-child(2)::before {
    background-image: url('../image/services/bg-inspection-report.png');
}

.value-added-service:nth-child(3)::before {
    background-image: url('../image/services/bg-store-reviews.png');
}

.value-added-service:nth-child(4)::before {
    background-image: url('../image/services/bg-dual-reviews.jpg');
}

.value-added-service:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(255, 0, 126, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.value-added-service h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.value-added-service h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    border-radius: 3px;
}

.value-added-service p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 80px;
}

.value-added-service h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(255, 0, 126, 0.15) 0%, rgba(82, 0, 255, 0.15) 100%);
    display: inline-block;
    border-radius: 8px;
}

/* 注意事项样式 */
.notice-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(180deg, rgba(20, 20, 50, 0.7) 0%, rgba(18, 18, 26, 0.7) 100%);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.notice-item:hover {
    background: linear-gradient(180deg, rgba(20, 20, 50, 0.9) 0%, rgba(18, 18, 26, 0.9) 100%);
    border: 1px solid rgba(255, 0, 126, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.notice-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 0, 126, 0.2) 0%, rgba(82, 0, 255, 0.2) 100%);
    border-radius: 50%;
    padding: 8px;
}

.notice-icon svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.notice-text {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* 为什么选择我们 区域样式调整 */
.grid.g-2.gtc-1-2-1.mb-4 {
    margin-top: 40px;
    margin-bottom: 50px !important;
    grid-gap: 30px;
}

.grid.g-2.gtc-1-2-1.mb-4 h2 {
    margin-top: 10px;
    font-size: 28px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.grid.g-2.gtc-1-2-1.mb-4 h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    border-radius: 3px;
}

.why-choose-us {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* 两列布局 */
.why-choose-us.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 最后一个项目跨两列 */
.why-choose-us.two-column .choose-item:last-child {
    grid-column: span 2;
}

/* 响应式：手机端恢复单列 */
@media (max-width: 768px) {
    .why-choose-us.two-column {
        grid-template-columns: 1fr;
    }
    
    .why-choose-us.two-column .choose-item:last-child {
        grid-column: 1;
    }
}

.choose-item {
    background: linear-gradient(180deg, rgba(20, 20, 50, 0.7) 0%, rgba(18, 18, 26, 0.7) 100%);
    border-radius: 12px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.choose-item:hover {
    background: linear-gradient(180deg, rgba(20, 20, 50, 0.9) 0%, rgba(18, 18, 26, 0.9) 100%);
    border: 1px solid rgba(255, 0, 126, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.choose-item h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.choose-item h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 20px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    border-radius: 3px;
}

.choose-item p {
    margin-bottom: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.grid.g-2.gtc-1-2-1.mb-4 .btn {
    padding: 12px 25px;
    font-weight: 600;
}

/* 为什么选择我们新布局 */
.why-choose-section {
    margin: 60px 0;
    text-align: center;
}

.why-choose-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.why-choose-section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    border-radius: 3px;
}

.why-choose-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.why-choose-card {
    background: linear-gradient(180deg, rgba(20, 20, 50, 0.7) 0%, rgba(18, 18, 26, 0.7) 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(255, 0, 126, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.choose-icon {
    background: linear-gradient(135deg, rgba(255, 0, 126, 0.2) 0%, rgba(82, 0, 255, 0.2) 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.choose-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.why-choose-card h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.why-choose-card p {
    margin-bottom: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}

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

.text-center .btn {
    display: inline-block;
    padding: 14px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 0, 126, 0.3);
    transition: all 0.3s ease;
}

.text-center .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 0, 126, 0.4);
}

/* 响应式：手机端改为单列 */
@media (max-width: 768px) {
    .why-choose-container {
        grid-template-columns: 1fr;
    }
}

/* 导航菜单调整以适应更多项目 */
nav#navbar ul {
    gap: 15px !important;
}

nav#navbar a:not(.btn) {
    font-size: 0.95rem;
}

/* 页脚布局样式 */
footer .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: start;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

footer .container > div,
footer .container > ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer .container ul.social {
    justify-content: flex-start;
}

footer .container .grid.gtc-1-2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

footer .container svg {
    margin: 0;
}

/* 调整联系我们部分图标大小 */
footer .container .contact-icon svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    footer .container {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    footer .container > div,
    footer .container > ul {
        align-items: flex-start;
    }
}

/* 联系我们部分的图标大小 */
#contact .mx-h-4 {
    width: 18px;
    height: 18px;
}

#contact .grid.gtc-1-2.justify-start {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px !important;
}

#contact .grid.gtc-1-2.justify-start svg {
    justify-self: start;
    align-self: center;
}

/* 首页大背景图样式 */
#slider {
    position: relative;
    background-image: url('../image/hero-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 120px 0 60px;
    overflow: hidden;
    z-index: 1;
}

/* 添加浮动视觉元素 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 126, 0.1) 0%, rgba(255, 0, 126, 0) 70%);
    top: -50px;
    right: -50px;
    animation: float 15s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 0, 255, 0.1) 0%, rgba(82, 0, 255, 0) 70%);
    bottom: -50px;
    left: 20%;
    animation: float 18s ease-in-out infinite reverse;
    backdrop-filter: blur(5px);
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

#slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.65) 0%, rgba(20, 20, 50, 0.85) 100%);
    z-index: -1;
}

#slider .container {
    position: relative;
    z-index: 2;
}

#slider h1, 
#slider h2, 
#slider .btn {
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#slider .flex.space-between {
    margin-top: 80px;
    background: rgb(63 63 67 / 45%);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 确保移动设备上背景图也能正常显示 */
@media (max-width: 768px) {
    #slider {
        padding: 100px 0 40px;
        background-position: 70% center !important;
    }
    
    #slider .flex.space-between {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
        background: rgba(63, 63, 67, 0.65);
        padding: 15px;
    }
    
    #slider .flex.space-between h2 {
        font-size: 16px;
        margin: 5px 0;
        text-align: center;
    }

    #slider h1 {
        font-size: 28px;
        text-align: center;
    }

    #slider h2.w-60 {
        width: 100%;
        font-size: 18px;
        text-align: center;
        margin-bottom: 20px;
    }

    #slider .btn {
        display: block;
        margin: 0 auto;
        text-align: center;
        max-width: 200px;
    }

    #slider .grid.gtc-2-1 {
        grid-template-columns: 1fr;
    }
}

/* 针对超小屏幕设备的优化 */
@media (max-width: 480px) {
    #slider {
        padding: 80px 0 30px;
        background-position: 65% center !important; /* 更多偏移，确保小屏幕也能看到重要内容 */
    }
    
    #slider h1 {
        font-size: 24px;
    }
    
    #slider h2.w-60 {
        font-size: 16px;
    }
    
    #slider .hero-overlay::before,
    #slider .hero-overlay::after {
        opacity: 0.5; /* 降低视觉元素的存在感，更聚焦于内容 */
    }
    
    #slider::before {
        background: linear-gradient(180deg, rgba(18, 18, 26, 0.75) 0%, rgba(20, 20, 50, 0.9) 100%);
    }
}

/* 超额产品服务横幅样式 */
/* 服务套餐标题样式 */
.service-packages-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 100px auto 60px;
    position: relative;
    display: block;
    padding-bottom: 12px;
    width: 100%;
}

.service-packages-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100px;
    height: 3px;
    margin-left: -50px;
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .service-packages-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
}

/* 超额产品数量服务简单描述样式 */
.excess-products-note {
    margin: 20px 0;
    padding: 12px 20px;
    text-align: center;
    border-left: 3px solid rgba(255, 0, 126, 0.5);
    background: rgba(20, 20, 50, 0.3);
    border-radius: 6px;
}

.excess-products-note p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.excess-products-note strong {
    color: #fff;
    font-weight: 700;
}

.excess-products-note .txt-gradient {
    background: linear-gradient(90deg, #ff007e 0%, #5200ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

@media (max-width: 768px) {
    .excess-products-note {
        padding: 10px 15px;
    }
    
    .excess-products-note p {
        font-size: 14px;
    }
}

/* 服务套餐标题样式 */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
}

.mb-4 {
    margin-bottom: 20px;
}