html {
    scroll-behavior: smooth;
}

section {
    margin-block: 4rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-15px) rotateX(2deg) rotateY(2deg);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 40px rgba(99, 102, 241, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(99, 102, 241, 0.2);
    }
}

@keyframes particle-drift {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0) translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px) translateX(10px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
    opacity: 0;
}

.float {
    animation: float 6s ease-in-out infinite;
    perspective: 1000px;
}

.glow-pulse {
    animation: glow-pulse 4s ease-in-out infinite;
}

.particle-drift {
    animation: particle-drift 5s ease-in-out infinite;
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

.stagger-7 {
    animation-delay: 0.7s;
}

.gradient-purple-blue {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 25%, #3b82f6 50%, #06b6d4 75%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.text-glow {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

/*========== Active Navigation Link Styles ==========*/
#header a.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

/* Active link styling - change color to white/rose */
#header a.nav-link.active {
    color: rgb(251, 113, 133) !important; /* rose-400 */
    font-weight: 600;
}

/* Active link glow effect */
#header a.nav-link.active span {
    text-shadow: 0 0 10px rgba(251, 113, 133, 0.5);
}

/* Hover effect */
#header a.nav-link:hover {
    color: rgb(251, 113, 133, 0.7) !important;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    #header a.nav-link.active {
        color: rgb(251, 113, 133) !important; /* rose-400 */
    }

    #header a.nav-link:hover {
        color: rgb(251, 113, 133, 0.7) !important;
    }
}


/*========== testimonial ==========*/
.embla {
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.embla__viewport {
    overflow: visible;
    width: 100%;
}

.embla__container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-left: 0;
}

.embla__slide {
    flex: 0 0 auto;
    min-width: 0;
    flex-shrink: 0;
    /* Show 2-3 cards with proper spacing */
    width: 420px;
    max-width: 90vw;
}

/* On medium screens, adjust width */
@media (max-width: 1024px) {
    .embla__slide {
        width: 380px;
        max-width: 85vw;
    }
}

/* On small screens, show 1 card */
@media (max-width: 640px) {
    .embla__slide {
        width: 90vw;
        max-width: 500px;
    }
}

/* Make testimonial cards full width of their container */
.embla__slide .testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

/* Add subtle fade on edges to emphasize clipped cards */
.embla::before,
.embla::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.embla::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
}

.embla::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
}

/* Smooth transitions for animations */
.testimonial-header,
.testimonial-subtitle,
.testimonial-card,
.testimonial-quote,
.testimonial-text,
.testimonial-author {
    transition: opacity 0.5s ease, transform 0.5s ease;
}


/*========== pricing ==========*/
/* Desktop only - hidden on mobile */
.zy-desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .zy-desktop-only {
        display: block;
    }
}

/* Mobile only - hidden on desktop */
.zy-mobile-only {
    display: block;
}

@media (min-width: 768px) {
    .zy-mobile-only {
        display: none;
    }
}

/* Color theme overrides to match about.html */
.tab-content .bg-gray-50 {
    background-color: rgba(24, 24, 27, 0.5) !important; /* bg-zinc-900/50 */
}

.tab-content .text-gray-900 {
    color: rgba(255, 255, 255, 0.9) !important; /* text-white/90 */
}

.tab-content .text-gray-500 {
    color: rgb(161, 161, 170) !important; /* text-zinc-400 */
}

.tab-content .text-gray-600 {
    color: rgb(161, 161, 170) !important; /* text-zinc-400 */
}

.tab-content .text-gray-700 {
    color: rgb(212, 212, 216) !important; /* text-zinc-300 */
}

.tab-content .text-gray-400 {
    color: rgb(113, 113, 122) !important; /* text-zinc-500 */
}

.tab-content .bg-gray-200 {
    background-color: rgba(63, 63, 70, 0.5) !important; /* bg-zinc-700/50 */
}

.tab-content .border-gray-200 {
    border-color: rgba(63, 63, 70, 0.5) !important; /* border-zinc-700/50 */
}

.tab-content .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(63, 63, 70, 0.5) !important; /* divide-zinc-700/50 */
}

.tab-content .bg-white {
    background-color: rgb(24, 24, 27) !important; /* bg-zinc-900 */
}

.tab-content .hover\:bg-gray-50:hover {
    background-color: rgba(39, 39, 42, 0.5) !important; /* hover:bg-zinc-800/50 */
}

.tab-content .border-gray-700 {
    border-color: rgba(63, 63, 70, 0.5) !important; /* border-zinc-700/50 */
}


/*========== testimonial ==========*/

.glass {
    display: flex;
    backdrop-filter: blur(2px) !important;
    background: radial-gradient(circle, #ffffff1a 0%, #1e00001a 60%, #2a0e0e 100%) !important;
    border: 1px solid #ffffff0d !important;
    border-radius: 16px !important;
    justify-content: center !important;
    align-items: center !important;
}