/* Text overflow fix */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.overflow-wrap-anywhere {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Enhanced Gradient Text with Animation */
.gradient-text {
    background: linear-gradient(90deg, #4f46e5, #ec4899, #4f46e5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: gradient-shift 3s ease infinite;
}

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

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    opacity: 0.7;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Enhanced Card Animations */
.product-card,
.service-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: white;
}

.product-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.8s;
    z-index: 1;
}

.product-card:hover::before,
.service-card:hover::before {
    left: 100%;
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25), 
                0 0 30px rgba(79, 70, 229, 0.15);
}

/* Scroll-triggered animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15),
                0 0 15px rgba(79, 70, 229, 0.1);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.floating-cart:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2),
                0 0 25px rgba(79, 70, 229, 0.15);
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(50px, 50px) scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.2s;
}

.animate-blob {
    animation: blob 7s infinite;
}

.animate-blob.animation-delay-2000 {
    animation-delay: 2s;
}

.animate-blob.animation-delay-4000 {
    animation-delay: 4s;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.animate-pulse-slow {
    animation: pulse-slow 2s ease-in-out infinite;
}

/* Staggered animation for multiple elements */
.fade-in-stagger > * {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.fade-in-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.fade-in-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.fade-in-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.fade-in-stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced Cart Notification */
.cart-notification {
    position: fixed;
    bottom: 100px;
    right: 25px;
    z-index: 1000;
    animation: slideInBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

@keyframes slideInBounce {
    from {
        transform: translateX(100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Enhanced Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(79, 70, 229, 0.2);
    border-radius: 50%;
    border-top-color: #4f46e5;
    border-right-color: #ec4899;
    border-bottom-color: #10b981;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: relative;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(79, 70, 229, 0.1);
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Mobile Menu */
@media (max-width: 768px) {
    #mobileMenu {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }
    
    #mobileMenu.closed {
        transform: translateX(-100%);
    }
    
    #mobileMenu.open {
        transform: translateX(0);
    }
}

/* Enhanced Accordion */
.collapse-title {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.collapse-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.collapse-title:hover::before {
    left: 100%;
}

.collapse-title:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.collapse-content {
    color: #64748b;
    line-height: 1.7;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 0 0 8px 8px;
    margin-top: -4px;
    border-left: 3px solid #4f46e5;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Modal */
.modal-box {
    max-width: 32rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: modalAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Enhanced Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4f46e5, #ec4899);
    border-radius: 4px;
    box-shadow: inset 2px 2px 2px rgba(255,255,255,0.3),
                inset -2px -2px 2px rgba(0,0,0,0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ec4899, #4f46e5);
}

/* Pulse animation for attention */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(79, 70, 229, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Button hover effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-hover-effect:hover::before {
    left: 100%;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced header on scroll */
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Particle effect background */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    animation: particle-float 20s infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Enhanced WhatsApp button */
#whatsappFloating {
    position: relative;
    overflow: visible;
}

#whatsappFloating::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.3);
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Premium Pricing Section Styles */
.pricing-card {
    position: relative;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.pricing-card-inner {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    border-radius: 32px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 20px 60px -15px rgba(0, 0, 0, 0.1),
        0 10px 30px -10px rgba(79, 70, 229, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.pricing-card-inner::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.2) 0%,
        rgba(124, 58, 237, 0.2) 25%,
        rgba(236, 72, 153, 0.2) 50%,
        rgba(249, 115, 22, 0.2) 75%,
        rgba(79, 70, 229, 0.2) 100%);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease, background-position 3s ease;
    animation: gradient-border 3s ease infinite;
    z-index: -1;
}

.pricing-card-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%);
    transform: rotate(45deg);
    transition: all 0.8s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.pricing-card:hover .pricing-card-inner {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 80px -20px rgba(79, 70, 229, 0.25),
        0 15px 40px -15px rgba(236, 72, 153, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.95),
        0 0 50px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
}

.pricing-card:hover .pricing-card-inner::before {
    opacity: 1;
    background-position: 100% 50%;
}

.pricing-card:hover .pricing-card-inner::after {
    top: 50%;
    left: 50%;
    opacity: 0.4;
}

.pricing-card-featured {
    transform: scale(1.05);
}

.pricing-card-featured .pricing-card-inner {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 1) 50%,
        rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 
        0 25px 70px -15px rgba(79, 70, 229, 0.2),
        0 15px 40px -10px rgba(236, 72, 153, 0.15),
        0 0 0 2px rgba(79, 70, 229, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.95);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.5);
    z-index: 10;
    animation: pulse-glow 2s infinite;
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    color: #4f46e5;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.pricing-icon-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
}

.pricing-price {
    text-align: center;
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    margin-left: 0.25rem;
}

.pricing-description {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:hover {
    color: #4f46e5;
    padding-left: 0.5rem;
}

.pricing-features li i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pricing-button {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.pricing-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.pricing-button:hover::before {
    left: 100%;
}

.pricing-button-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}

.pricing-button-primary:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    box-shadow: 0 15px 35px -5px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}

.pricing-button-featured {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.4);
}

.pricing-button-featured:hover {
    background: linear-gradient(135deg, #db2777, #ec4899);
    box-shadow: 0 15px 35px -5px rgba(236, 72, 153, 0.5);
    transform: translateY(-2px);
}

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

/* Responsive adjustments for pricing */
@media (max-width: 768px) {
    .pricing-card-inner {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .pricing-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .pricing-card-featured {
        transform: scale(1);
    }
    
    .popular-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.25rem;
    }
}

/* Premium FAQ Section Styles */
.faq-item {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    isolation: isolate;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.15) 0%,
        rgba(124, 58, 237, 0.15) 25%,
        rgba(236, 72, 153, 0.15) 50%,
        rgba(249, 115, 22, 0.15) 75%,
        rgba(79, 70, 229, 0.15) 100%);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease, background-position 3s ease;
    animation: gradient-border 3s ease infinite;
    z-index: -1;
}

.faq-item:hover::before,
.faq-item.active::before {
    opacity: 1;
    background-position: 100% 50%;
}

.faq-item:hover {
    box-shadow: 
        0 20px 50px -15px rgba(79, 70, 229, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.95);
    border-color: rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 
        0 15px 40px -10px rgba(79, 70, 229, 0.15),
        0 0 0 2px rgba(79, 70, 229, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.95);
    border-color: rgba(79, 70, 229, 0.3);
}

.faq-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.faq-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4f46e5, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.faq-item.active .faq-header::before {
    opacity: 1;
}

.faq-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-header::after {
    opacity: 0;
}

.faq-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.faq-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-item.active .faq-icon-wrapper::before {
    opacity: 1;
}

.faq-icon-wrapper i {
    color: #4f46e5;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.faq-item.active .faq-icon-wrapper i {
    color: white;
}

.faq-item:hover .faq-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px -5px rgba(79, 70, 229, 0.3);
}

.faq-question {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-arrow {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-arrow i {
    color: #4f46e5;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.active .faq-arrow {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    transform: rotate(180deg);
}

.faq-item.active .faq-arrow i {
    color: white;
}

.faq-item:hover .faq-arrow {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(124, 58, 237, 0.15));
    transform: scale(1.1);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-content {
    max-height: 2000px;
    padding: 0 2rem 2rem 2rem;
}

.faq-answer {
    padding-top: 1.5rem;
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: #1e293b;
    font-weight: 700;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 0;
}

.faq-answer li {
    padding: 0.75rem 0;
}

/* Responsive FAQ adjustments */
@media (max-width: 768px) {
    .faq-header {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
    
    .faq-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .faq-icon-wrapper i {
        font-size: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-arrow {
        width: 32px;
        height: 32px;
    }
    
    .faq-content {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

/* Review Card Styles */
.review-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #6366f1);
    border-radius: 2px 2px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover::before {
    opacity: 1;
}

.review-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

/* Star Rating Animation */
.star-btn {
    transition: all 0.2s ease;
    cursor: pointer;
}

.star-btn:hover {
    transform: scale(1.2);
}

.star-btn:active {
    transform: scale(0.95);
}

/* Review Form Animation */
#reviewForm {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Review Section */
@media (max-width: 768px) {
    .review-card {
        padding: 1.25rem;
    }
    
    #reviewForm {
        padding: 1.5rem;
    }
}