@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

:root {
    --primary-color: #77e244; /* Brighter Green */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #212121;
    color: #ffffff;
}

.bg-primary { background-color: var(--primary-color); }
.text-primary { color: var(--primary-color); }
.hero-bg {
     background-color: #2a2a2a;
}

.faq-content {
    transition: max-height 0.5s ease-in-out;
}

.faq-toggle i {
    transition: transform 0.3s ease-in-out;
} 

/* 弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    border: none;
    background: transparent;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    color: #666;
    margin-bottom: 15px;
}

.modal-email {
    font-size: 18px;
    color: var(--primary-color);
    margin: 20px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    border: 1px dashed #ddd;
    user-select: all;
}

.send-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.send-btn:hover {
    background-color: #6bd134;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(119, 226, 68, 0.2);
}

.copy-message {
    display: none;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
}

/* 轮播图样式 */
.show-swiper {
    margin: 40px 0;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.feature-card {
    display: inline-block;
    background: #e9ffee;
    border-radius: 10px;
    overflow: hidden;
    width: 200px;
    margin: 0 10px;
    text-align: center;
}

.feature-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-card .title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #008755;
}

.feature-card .subtitle {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
    padding: 0 10px;
}

/* 自定义Swiper箭头样式 */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(119, 226, 68, 0.2);
    transform: scale(1.05);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* 滚动条样式分页器 */
.swiper-scrollbar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    position: relative;
    margin-top: 20px;
}

.swiper-scrollbar-drag {
    background-color: var(--primary-color);
    border-radius: 3px;
    cursor: pointer;
}

/* 自定义滚动条容器 */
.swiper-container-horizontal > .swiper-scrollbar {
    width: 100%;
    left: 0;
    bottom: 0;
}

/* 隐藏默认分页器 */
.swiper-pagination {
    display: none;
}

/* 图片预览 */
.image-preview-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.image-preview-container {
    position: relative;
    width: 90%;
    height: 80%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: scale(0.9);
    opacity: 0;
}

.image-preview-overlay.active .image-preview-img {
    transform: scale(1);
    opacity: 1;
}

.image-preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
}