:root {
    --primary-color: #0ea5e9;
    /* Sky 500 */
    --secondary-color: #b0c4de;
    /* Light Steel Blue */
    --accent-color: #0819B5;
    /* Deep Blue */
    --accent-secondary: #07D2FB;
    /* Cyan */
    --accent-tertiary: #21FCC7;
    /* Mint */
    --bg-color: #0f172a;
    /* Slate 900 */
    --text-color: #f1f5f9;
    /* Slate 100 */
    --card-bg: rgba(255, 255, 255, 0.05);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Disable dragging */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Smooth scroll offset for fixed navbar */
section[id],
div[id] {
    scroll-margin-top: 100px;
}

/* Enhanced smooth scrolling with easing */
* {
    scroll-behavior: smooth;
}

/* Smooth scroll animation keyframes */
@keyframes smoothScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}

/* Custom scrollbar for smoother feel */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mesh Gradient Background */
.bg-mesh-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #020617;
    /* Very dark slate/black base */
}

.mesh-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float-mesh 10s infinite ease-in-out;
}

.mesh-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    animation-delay: 0s;
}

.mesh-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
    animation-delay: -2s;
}

.mesh-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-tertiary), transparent 70%);
    opacity: 0.4;
    animation-delay: -5s;
}

.mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #020617 100%);
    opacity: 0.7;
}

@keyframes float-mesh {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}


/* Phone Mockups - Retained for Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

@media (min-width: 640px) {
    .hero-visual {
        height: 500px;
    }
}

@media (min-width: 768px) {
    .hero-visual {
        height: 550px;
    }
}

@media (min-width: 1024px) {
    .hero-visual {
        height: 600px;
    }
}

.phone-mockup {
    position: relative;
    width: 180px;
    height: 380px;
    background: #000;
    border-radius: 28px;
    border: 3px solid #2d2d2d;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow: visible;
    transition: transform 0.5s ease;
    z-index: 2;
    animation: float-center 6s ease-in-out infinite;
    transform: translateZ(0);
    /* Force hardware acceleration */
    backface-visibility: hidden;
}

@media (min-width: 640px) {
    .phone-mockup {
        width: 220px;
        height: 460px;
        border-radius: 32px;
        border: 3px solid #2d2d2d;
    }
}

@media (min-width: 768px) {
    .phone-mockup {
        width: 250px;
        height: 520px;
        border-radius: 36px;
        border: 4px solid #2d2d2d;
    }
}

@media (min-width: 1024px) {
    .phone-mockup {
        width: 280px;
        height: 580px;
        border-radius: 40px;
        border: 4px solid #2d2d2d;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }
}

/* Ensure all phone mockups have the same border radius - responsive */
.phone-mockup.left,
.phone-mockup.center,
.phone-mockup.right {
    border-radius: 28px;
}

@media (min-width: 640px) {
    .phone-mockup.left,
    .phone-mockup.center,
    .phone-mockup.right {
        border-radius: 32px;
    }
}

@media (min-width: 768px) {
    .phone-mockup.left,
    .phone-mockup.center,
    .phone-mockup.right {
        border-radius: 36px;
    }
}

@media (min-width: 1024px) {
    .phone-mockup.left,
    .phone-mockup.center,
    .phone-mockup.right {
        border-radius: 40px;
    }
}

/* Volume buttons on the left side */
.phone-mockup::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 55px;
    width: 2px;
    height: 14px;
    background: linear-gradient(to right, #1a1a1a, #0f0f0f);
    border-radius: 2px 0 0 2px;
    box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 4;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 72px;
    width: 2px;
    height: 14px;
    background: linear-gradient(to right, #1a1a1a, #0f0f0f);
    border-radius: 2px 0 0 2px;
    box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 4;
}

@media (min-width: 640px) {
    .phone-mockup::before {
        left: -3px;
        top: 65px;
        width: 3px;
        height: 18px;
    }
    .phone-mockup::after {
        left: -3px;
        top: 85px;
        width: 3px;
        height: 18px;
    }
}

@media (min-width: 768px) {
    .phone-mockup::before {
        left: -4px;
        top: 80px;
        width: 3px;
        height: 22px;
    }
    .phone-mockup::after {
        left: -4px;
        top: 105px;
        width: 3px;
        height: 22px;
    }
}

@media (min-width: 1024px) {
    .phone-mockup::before {
        left: -4px;
        top: 85px;
        width: 3px;
        height: 20px;
    }
    .phone-mockup::after {
        left: -4px;
        top: 110px;
        width: 3px;
        height: 20px;
    }
}

/* Power button on the right side */
.phone-mockup .power-button {
    position: absolute;
    right: -3px;
    top: 65px;
    width: 2px;
    height: 26px;
    background: linear-gradient(to left, #1a1a1a, #0f0f0f);
    border-radius: 0 2px 2px 0;
    box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 4;
}

@media (min-width: 640px) {
    .phone-mockup .power-button {
        right: -3px;
        top: 75px;
        width: 3px;
        height: 32px;
    }
}

@media (min-width: 768px) {
    .phone-mockup .power-button {
        right: -4px;
        top: 90px;
        width: 3px;
        height: 38px;
    }
}

@media (min-width: 1024px) {
    .phone-mockup .power-button {
        right: -4px;
        top: 100px;
        width: 3px;
        height: 38px;
    }
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #1f2937;
    overflow: hidden;
    position: relative;
    border-radius: 25px;
    /* Inner radius: 28px (phone) - 3px (border) = 25px */
}

/* Ensure consistent border radius across all screen sizes */
@media (min-width: 640px) {
    .screen-content {
        border-radius: 29px;
        /* Inner radius: 32px (phone) - 3px (border) = 29px */
    }
}

@media (min-width: 768px) {
    .screen-content {
        border-radius: 32px;
        /* Inner radius: 36px (phone) - 4px (border) = 32px */
    }
}

@media (min-width: 1024px) {
    .screen-content {
        border-radius: 36px;
        /* Inner radius: 40px (phone) - 4px (border) = 36px */
    }
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.phone-mockup.center {
    z-index: 10;
}

/* Increased spacing: translateX changed to 160% */
.phone-mockup.left {
    position: absolute;
    left: 50%;
    transform: translateX(-100%) translateY(10px) scale(0.6);
    z-index: 1;
    opacity: 0.5;
    animation: float-left 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

.phone-mockup.right {
    position: absolute;
    right: 50%;
    transform: translateX(100%) translateY(10px) scale(0.6);
    z-index: 1;
    opacity: 0.5;
    animation: float-right 7s ease-in-out infinite;
    animation-delay: 1.2s;
}

@media (min-width: 640px) {
    .phone-mockup.left {
        transform: translateX(-120%) translateY(20px) scale(0.7);
        opacity: 0.6;
    }
    .phone-mockup.right {
        transform: translateX(120%) translateY(20px) scale(0.7);
        opacity: 0.6;
    }
}

@media (min-width: 768px) {
    .phone-mockup.left {
        transform: translateX(-140%) translateY(30px) scale(0.8);
        opacity: 0.7;
    }
    .phone-mockup.right {
        transform: translateX(140%) translateY(30px) scale(0.8);
        opacity: 0.7;
    }
}

@media (min-width: 1024px) {
    .phone-mockup.left {
        transform: translateX(-160%) translateY(40px) scale(0.9);
        opacity: 0.8;
    }
    .phone-mockup.right {
        transform: translateX(160%) translateY(40px) scale(0.9);
        opacity: 0.8;
    }
}

@keyframes float-center {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (min-width: 640px) {
    @keyframes float-center {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-18px);
        }
    }
}

@media (min-width: 1024px) {
    @keyframes float-center {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }
}

@keyframes float-left {

    0%,
    100% {
        transform: translateX(-100%) translateY(10px) scale(0.6);
    }

    50% {
        transform: translateX(-100%) translateY(5px) scale(0.6);
    }
}

@media (min-width: 640px) {
    @keyframes float-left {
        0%, 100% {
            transform: translateX(-120%) translateY(20px) scale(0.7);
        }
        50% {
            transform: translateX(-120%) translateY(10px) scale(0.7);
    }
    }
}

@media (min-width: 768px) {
    @keyframes float-left {
        0%, 100% {
            transform: translateX(-140%) translateY(30px) scale(0.8);
        }
    50% {
        transform: translateX(-140%) translateY(15px) scale(0.8);
        }
    }
}

@media (min-width: 1024px) {
    @keyframes float-left {
        0%, 100% {
            transform: translateX(-160%) translateY(40px) scale(0.9);
        }
    50% {
        transform: translateX(-160%) translateY(20px) scale(0.9);
        }
    }
}

@keyframes float-right {

    0%,
    100% {
        transform: translateX(100%) translateY(10px) scale(0.6);
    }

    50% {
        transform: translateX(100%) translateY(5px) scale(0.6);
    }
}

@media (min-width: 640px) {
    @keyframes float-right {
        0%, 100% {
            transform: translateX(120%) translateY(20px) scale(0.7);
        }
        50% {
            transform: translateX(120%) translateY(10px) scale(0.7);
    }
    }
}

@media (min-width: 768px) {
    @keyframes float-right {
        0%, 100% {
            transform: translateX(140%) translateY(30px) scale(0.8);
        }
    50% {
        transform: translateX(140%) translateY(15px) scale(0.8);
        }
    }
}

@media (min-width: 1024px) {
    @keyframes float-right {
        0%, 100% {
            transform: translateX(160%) translateY(40px) scale(0.9);
        }
    50% {
        transform: translateX(160%) translateY(20px) scale(0.9);
        }
    }
}

@keyframes scroll-down {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(6px);
        opacity: 0;
    }
}

/* Partners Slider */
.partners-slider-wrapper {
    position: relative;
    width: 100%;
    background: transparent;
}

.partners-slider {
    height: 100px;
    margin: auto;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.partners-slider::before,
.partners-slider::after {
    display: none;
}

.slide-track {
    display: flex;
    width: calc(250px * 18);
    /* 250px * 9 partners * 2 sets */
    animation: scroll 40s linear infinite;
    position: relative;
    z-index: 1;
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 3%, 
        rgba(0, 0, 0, 0.25) 6%, 
        rgba(0, 0, 0, 0.4) 8%, 
        rgba(0, 0, 0, 0.55) 10%, 
        rgba(0, 0, 0, 0.7) 12%, 
        rgba(0, 0, 0, 0.82) 13%, 
        rgba(0, 0, 0, 0.91) 14%, 
        rgba(0, 0, 0, 0.97) 14.5%, 
        rgba(0, 0, 0, 1) 15%, 
        rgba(0, 0, 0, 1) 85%, 
        rgba(0, 0, 0, 0.97) 85.5%, 
        rgba(0, 0, 0, 0.91) 86%, 
        rgba(0, 0, 0, 0.82) 87%, 
        rgba(0, 0, 0, 0.7) 88%, 
        rgba(0, 0, 0, 0.55) 90%, 
        rgba(0, 0, 0, 0.4) 92%, 
        rgba(0, 0, 0, 0.25) 94%, 
        rgba(0, 0, 0, 0.1) 97%, 
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 3%, 
        rgba(0, 0, 0, 0.25) 6%, 
        rgba(0, 0, 0, 0.4) 8%, 
        rgba(0, 0, 0, 0.55) 10%, 
        rgba(0, 0, 0, 0.7) 12%, 
        rgba(0, 0, 0, 0.82) 13%, 
        rgba(0, 0, 0, 0.91) 14%, 
        rgba(0, 0, 0, 0.97) 14.5%, 
        rgba(0, 0, 0, 1) 15%, 
        rgba(0, 0, 0, 1) 85%, 
        rgba(0, 0, 0, 0.97) 85.5%, 
        rgba(0, 0, 0, 0.91) 86%, 
        rgba(0, 0, 0, 0.82) 87%, 
        rgba(0, 0, 0, 0.7) 88%, 
        rgba(0, 0, 0, 0.55) 90%, 
        rgba(0, 0, 0, 0.4) 92%, 
        rgba(0, 0, 0, 0.25) 94%, 
        rgba(0, 0, 0, 0.1) 97%, 
        transparent 100%);
}

.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 15px 30px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 9));
    }
}

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question {
    cursor: pointer;
    outline: none;
}

.faq-answer {
    max-height: 0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 0;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Feature Card Shine Effect */
.feature-card {
    position: relative;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

/* Ghost hover effect - automatic cycling */
.feature-card.ghost-hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card.ghost-hover::before {
    left: 100%;
}

/* Different glow colors for ghost hover based on card position */
.feature-card.ghost-hover:nth-child(1) {
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
}

.feature-card.ghost-hover:nth-child(2) {
    box-shadow: 
        0 10px 30px rgba(6, 182, 212, 0.3),
        0 0 20px rgba(6, 182, 212, 0.2),
        0 0 40px rgba(6, 182, 212, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.4);
}

.feature-card.ghost-hover:nth-child(3) {
    box-shadow: 
        0 10px 30px rgba(168, 85, 247, 0.3),
        0 0 20px rgba(168, 85, 247, 0.2),
        0 0 40px rgba(168, 85, 247, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-card.ghost-hover:nth-child(4) {
    box-shadow: 
        0 10px 30px rgba(20, 184, 166, 0.3),
        0 0 20px rgba(20, 184, 166, 0.2),
        0 0 40px rgba(20, 184, 166, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(20, 184, 166, 0.4);
}

.feature-card.ghost-hover:nth-child(5) {
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.3),
        0 0 20px rgba(99, 102, 241, 0.2),
        0 0 40px rgba(99, 102, 241, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.4);
}

.feature-card.ghost-hover:nth-child(6) {
    box-shadow: 
        0 10px 30px rgba(236, 72, 153, 0.3),
        0 0 20px rgba(236, 72, 153, 0.2),
        0 0 40px rgba(236, 72, 153, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(236, 72, 153, 0.4);
}

/* Ensure user hover takes precedence over ghost hover */
.feature-card:hover {
    /* User hover styles override ghost hover - keep existing hover styles */
}

.feature-card:hover.ghost-hover {
    /* When user hovers, maintain the hover effect even if ghost hover is active */
}

/* Different glow colors for each feature card based on icon color */
.feature-card:nth-child(1):hover {
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
}

.feature-card:nth-child(2):hover {
    box-shadow: 
        0 10px 30px rgba(6, 182, 212, 0.3),
        0 0 20px rgba(6, 182, 212, 0.2),
        0 0 40px rgba(6, 182, 212, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.4);
}

.feature-card:nth-child(3):hover {
    box-shadow: 
        0 10px 30px rgba(168, 85, 247, 0.3),
        0 0 20px rgba(168, 85, 247, 0.2),
        0 0 40px rgba(168, 85, 247, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-card:nth-child(4):hover {
    box-shadow: 
        0 10px 30px rgba(20, 184, 166, 0.3),
        0 0 20px rgba(20, 184, 166, 0.2),
        0 0 40px rgba(20, 184, 166, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(20, 184, 166, 0.4);
}

.feature-card:nth-child(5):hover {
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.3),
        0 0 20px rgba(99, 102, 241, 0.2),
        0 0 40px rgba(99, 102, 241, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.4);
}

.feature-card:nth-child(6):hover {
    box-shadow: 
        0 10px 30px rgba(236, 72, 153, 0.3),
        0 0 20px rgba(236, 72, 153, 0.2),
        0 0 40px rgba(236, 72, 153, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(236, 72, 153, 0.4);
}

/* Testimonial Card Shine Effect */
.testimonial-card {
    position: relative;
    cursor: pointer;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-card > * {
    position: relative;
    z-index: 2;
}

/* Different glow colors for each testimonial card */
.testimonial-card:nth-child(1):hover {
    box-shadow: 
        0 10px 30px rgba(6, 182, 212, 0.3),
        0 0 20px rgba(6, 182, 212, 0.2),
        0 0 40px rgba(6, 182, 212, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.4);
}

.testimonial-card:nth-child(2):hover {
    box-shadow: 
        0 10px 30px rgba(168, 85, 247, 0.3),
        0 0 20px rgba(168, 85, 247, 0.2),
        0 0 40px rgba(168, 85, 247, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.4);
}

/* Ghost hover effect for testimonials - automatic cycling */
.testimonial-card.ghost-hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(6, 182, 212, 0.3),
        0 0 20px rgba(6, 182, 212, 0.2),
        0 0 40px rgba(6, 182, 212, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-card.ghost-hover::before {
    left: 100%;
}

/* Different glow colors for ghost hover based on card position */
.testimonial-card.ghost-hover:nth-child(1) {
    box-shadow: 
        0 10px 30px rgba(6, 182, 212, 0.3),
        0 0 20px rgba(6, 182, 212, 0.2),
        0 0 40px rgba(6, 182, 212, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.4);
}

.testimonial-card.ghost-hover:nth-child(2) {
    box-shadow: 
        0 10px 30px rgba(168, 85, 247, 0.3),
        0 0 20px rgba(168, 85, 247, 0.2),
        0 0 40px rgba(168, 85, 247, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.4);
}

/* Ensure user hover takes precedence over ghost hover for testimonials */
.testimonial-card:hover {
    /* User hover styles override ghost hover - keep existing hover styles */
}

/* Allow text selection in input fields and textareas */
input,
textarea,
select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

.testimonial-card:hover.ghost-hover {
    /* When user hovers, maintain the hover effect even if ghost hover is active */
}