/* neXtaste Landing Page - Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #411E5A;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7d5b91;
}

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
    }
}

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

/* Header sticky state */
.header-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ accordion */
.faq-item.active .faq-content {
    display: block;
}

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

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #411E5A 0%, #7d5b91 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

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

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

/* Card hover effects */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(65, 30, 90, 0.15);
}

/* Table responsive */
@media (max-width: 768px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Integration logos grayscale effect */
.integration-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.integration-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonial card */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: rgba(65, 30, 90, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Segment cards */
.segment-card {
    position: relative;
    overflow: hidden;
}

.segment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 30, 90, 0.9) 0%, rgba(65, 30, 90, 0.7) 100%);
    z-index: 1;
}

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

/* Pricing card popular */
.pricing-popular {
    position: relative;
}

.pricing-popular::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FF6B35, #411E5A);
    border-radius: 18px;
    z-index: -1;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #411E5A;
    box-shadow: 0 0 0 3px rgba(65, 30, 90, 0.1);
}

/* WhatsApp button pulse */
.whatsapp-btn {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Mobile menu animation */
.mobile-menu-enter {
    animation: slideDown 0.3s ease-out;
}

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

/* Loading spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}

/* Print styles */
@media print {
    .whatsapp-btn,
    .mobile-menu,
    header,
    footer {
        display: none !important;
    }
}

/* Selection color */
::selection {
    background: #411E5A;
    color: #fff;
}

::-moz-selection {
    background: #411E5A;
    color: #fff;
}
