/* CS2 Page Styles */

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s ease;
}
.faq-item:hover { background: rgba(255,255,255,0.04); }
.faq-item.open { background: rgba(255,255,255,0.06); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}
.faq-item.open .faq-a {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 1.5rem;
}
.faq-toggle { transition: transform 0.3s ease; }
.faq-item.open .faq-toggle { transform: rotate(180deg); }

/* Hero text hover effect */
.hero-stretch-text {
    display: inline-block;
    transition: letter-spacing 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-stretch-text:hover { letter-spacing: 0.15em; transform: scaleX(1.05); }

/* Swiper overrides */
.cs2-swiper {
    width: 100%;
    height: 550px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.cs2-swiper .swiper-slide {
    width: 700px;
    height: 450px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #050505;
    border: 1px solid rgba(255,255,255,0.1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.function-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.function-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    max-width: 80%;
    font-weight: 400;
}

.cs2-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.2);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}
.cs2-swiper .swiper-pagination-bullet-active {
    background: #10b981;
    transform: scale(1.2);
}
.cs2-swiper .swiper-button-next,
.cs2-swiper .swiper-button-prev {
    display: none;
}
