/* ================================================
   REVIEWS SECTION — Auto-Swipe Carousel
   ================================================ */
.reviews-section {
    position: relative;
    padding: 0 0 120px;
    overflow: hidden;
    background: transparent;
}

/* ── Ambient blobs ── */
.rev-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    filter: blur(120px);
}

.rev-blob--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    animation: blobFloat1 12s ease-in-out infinite;
}

.rev-blob--2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
    bottom: -50px;
    left: -80px;
    animation: blobFloat2 14s ease-in-out infinite;
}

@keyframes blobFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, 20px) scale(1.1);
    }

    66% {
        transform: translate(20px, -15px) scale(0.95);
    }
}

@keyframes blobFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(25px, -30px) scale(1.08);
    }
}

.rev-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

/* ── Container ── */
.rev-container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Title ── */
.rev-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 900;
    color: #fff;
    text-align: center;
    letter-spacing: -1.5px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.rev-title-gradient {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.3));
}

.rev-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-bottom: 4rem;
    font-weight: 500;
}

/* ================================================
   CAROUSEL
   ================================================ */
.rev-carousel {
    position: relative;
    overflow: hidden;
    cursor: grab;
    padding: 1rem 0 2rem;
    -webkit-user-select: none;
    user-select: none;
}

.rev-carousel:active {
    cursor: grabbing;
}

/* ── Soft edge glow lights ── */
.rev-edge-glow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
}

.rev-edge-glow--left {
    left: 0;
    background: linear-gradient(90deg,
            rgba(139, 92, 246, 0.08) 0%,
            rgba(139, 92, 246, 0.03) 30%,
            transparent 100%);
}

.rev-edge-glow--right {
    right: 0;
    background: linear-gradient(-90deg,
            rgba(236, 72, 153, 0.08) 0%,
            rgba(236, 72, 153, 0.03) 30%,
            transparent 100%);
}

/* ── Track ── */
.rev-track {
    display: flex;
    will-change: transform;
}

/* ── Single Review Card ── */
.rev-card {
    position: relative;
    /* Each card = 1/3 of viewport (show 3 at a time) */
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
    box-sizing: border-box;
    padding: 0 0.75rem;
}

/* Inner card style — using a wrapper approach with pseudo-like inner */
.rev-card>*:not(.rev-hover-glow) {
    position: relative;
    z-index: 2;
}

.rev-card::before {
    content: '';
    position: absolute;
    inset: 0 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    z-index: 0;
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rev-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem calc(0.75rem + 1.8rem);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── Per-card soft edge light ── */
.rev-card__edge-light {
    position: absolute;
    inset: 0 0.75rem;
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow:
        inset 0 0 20px var(--card-glow, rgba(139, 92, 246, 0.15)),
        0 0 30px var(--card-glow, rgba(139, 92, 246, 0.08));
}

/* ── Glass reflection overlay ── */
.rev-card__glass-reflection {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 160%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.02) 30%,
            transparent 60%);
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* ── Shine streak ── */
.rev-card__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.04) 40%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 60%,
            transparent 100%);
    pointer-events: none;
    z-index: 3;
    transition: left 0.8s ease;
}

/* ── Animated border glow ── */
.rev-card__border-glow {
    position: absolute;
    inset: 0 0.75rem;
    opacity: 0;
    z-index: 0;
    filter: blur(40px);
    border-radius: 24px;
    transition: opacity 0.5s ease;
}

/* ── Stars ── */
.rev-stars {
    color: #eab308;
    font-size: 1.15rem;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.4));
    animation: starTwinkle 3s ease-in-out infinite;
}

@keyframes starTwinkle {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 14px rgba(234, 179, 8, 0.7));
    }
}

/* ── Quote Text ── */
.rev-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.93rem;
    line-height: 1.75;
    font-style: italic;
    position: relative;
    z-index: 2;
    flex: 1;
    transition: color 0.3s ease;
}

/* ── Author ── */
.rev-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
}

.rev-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rev-avatar-emoji {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.rev-author-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    transition: color 0.3s ease;
}

.rev-author-info span {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(236, 72, 153, 0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── Ambient glow under card ── */
.rev-hover-glow {
    position: absolute;
    bottom: -20px;
    left: calc(0.75rem + 10%);
    right: calc(0.75rem + 10%);
    height: 70px;
    filter: blur(40px);
    opacity: 0.15;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: -1;
    animation: revGlowPulse 5s ease-in-out infinite;
}

@keyframes revGlowPulse {

    0%,
    100% {
        opacity: 0.1;
        transform: scaleX(0.85);
    }

    50% {
        opacity: 0.25;
        transform: scaleX(1.15);
    }
}

/* ================================================
   HOVER EFFECTS
   ================================================ */
@media (hover: hover) {
    .rev-card:hover {
        transform: scale(1.03) translateY(-6px);
    }

    .rev-card:hover::before {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(139, 92, 246, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .rev-card:hover .rev-card__shine {
        left: 130%;
    }

    .rev-card:hover .rev-card__border-glow {
        opacity: 0.15;
    }

    .rev-card:hover .rev-card__glass-reflection {
        opacity: 0.7;
    }

    .rev-card:hover .rev-card__edge-light {
        opacity: 1;
    }

    .rev-card:hover .rev-hover-glow {
        opacity: 0.65;
        transform: scaleX(1.2);
        animation: none;
    }

    .rev-card:hover .rev-text {
        color: rgba(255, 255, 255, 0.8);
    }

    .rev-card:hover .rev-avatar {
        transform: scale(1.12) rotate(-5deg);
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
    }

    .rev-card:hover .rev-avatar-emoji {
        transform: scale(1.15);
    }
}

/* ================================================
   NAV DOTS
   ================================================ */
.rev-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
}

.rev-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0;
    position: relative;
}

.rev-dot--active {
    width: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ec4899, #f97316);
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
}

.rev-dot:hover:not(.rev-dot--active) {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.2);
}

/* ================================================
   ARROW BUTTONS
   ================================================ */
.rev-arrow {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.rev-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.rev-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.rev-arrow--left {
    left: 0;
}

.rev-arrow--right {
    right: 0;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .rev-card {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .rev-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .rev-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .rev-title {
        font-size: 2.4rem;
    }

    .rev-subtitle {
        margin-bottom: 2.5rem;
    }

    .rev-edge-glow {
        width: 60px;
    }
}

/* === FeedbackSection.css === */
/* ================================================
   FEEDBACK / TESTIMONIALS SECTION
   ================================================ */
.feedback-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
    background: var(--bg-primary, #090014);
}

@media (min-width: 1024px) {
    .feedback-section {
        padding: 120px 0;
    }
}

/* ---- Container ---- */
.feedback-section__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================================================
   HEADER — Marketing Copy
   ================================================ */
.feedback-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.feedback-section__tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-cyan, #06b6d4);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.feedback-section__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.feedback-section__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* ================================================
   HORIZONTAL SCROLL TRACK
   ================================================ */
.feedback-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 2rem 1.5rem 2.5rem;
    width: 100%;
    cursor: grab;
    user-select: none;

    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.feedback-track:active {
    cursor: grabbing;
}

.feedback-track::-webkit-scrollbar {
    display: none;
}

/* ================================================
   SINGLE CARD — Glassmorphism + Glow
   ================================================ */
.feedback-card {
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Ambient glow behind each card */
.feedback-card__glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s ease;
    opacity: 0.6;
}

.feedback-card:hover .feedback-card__glow {
    opacity: 1;
}

/* Shadow under card */
.feedback-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 15%;
    right: 15%;
    height: 30px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
    z-index: -1;
}

/* Hover */
@media (hover: hover) {
    .feedback-card:hover {
        transform: translateY(-8px) scale(1.02);
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow: 0 25px 50px -5px rgba(0, 0, 0, 0.6),
            0 0 25px rgba(139, 92, 246, 0.08);
    }
}

/* Mobile sizing */
@media (max-width: 580px) {
    .feedback-card {
        flex: 0 0 280px;
    }
}

/* ---- Quote ---- */
.feedback-card__quote {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin: 0;
    flex: 1;
    position: relative;
    z-index: 1;
}

.feedback-card__open-quote {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-purple, #8b5cf6);
    margin-right: 2px;
}

/* ---- Author ---- */
.feedback-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.feedback-card__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.feedback-card__name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.feedback-card__role {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

/* ================================================
   DOT INDICATORS
   ================================================ */
.feedback-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 200px;
}

.feedback-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-tap-highlight-color: transparent;
}

.feedback-dot--active {
    width: 22px;
    border-radius: 10px;
    background: var(--accent-purple, #8b5cf6);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.feedback-dot:hover:not(.feedback-dot--active) {
    background: rgba(255, 255, 255, 0.4);
}
