/* ==================== ENHANCED PREMIUM STYLES WITH TAILWIND ==================== */

/* Custom animations and utilities that complement Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Global font family */
* {
    font-family: 'Poppins', sans-serif;
}

/* Smooth transitions for all elements */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom gradient backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
}

/* Enhanced hero slider styles */
.hero-slider .slide {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide:not(.active) {
    opacity: 0;
}

/* Slider dot active state */
.slider-dot.active {
    @apply bg-primary scale-125;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

/* Service button hover effects */
.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* App download button effects */
.app-download-btn {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-download-btn:hover {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

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

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

::-webkit-scrollbar-thumb {
    background: #FFC107;
    border-radius: 4px;
}

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

/* Floating animation for stats */
@keyframes float {

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

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

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

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Pricing card special effects */
.pricing-card-popular {
    position: relative;
    overflow: hidden;
}

.pricing-card-popular::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.6s;
}

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

/* Enhanced shadow utilities */
.shadow-premium {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.shadow-premium-lg {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Button glow effect */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.5);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 300px !important;
    }

    .slider-arrow {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }

    .slide-content {
        padding: 20px 15px 15px !important;
    }

    .slide-title {
        font-size: 1.2rem !important;
    }

    .slide-subtitle {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        height: 250px !important;
    }

    .slider-arrow {
        width: 35px !important;
        height: 35px !important;
        font-size: 12px !important;
    }

    .slider-dot {
        width: 10px !important;
        height: 10px !important;
    }
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #FFC107;
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .hero-slider,
    .slider-arrow,
    .slider-dot {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-600 {
        color: #000 !important;
    }

    .bg-gray-50 {
        background-color: #fff !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .dark-mode-support {
        background-color: #1a1a1a;
        color: #ffffff;
    }
}

/* Custom utilities for specific elements */
.backdrop-blur-custom {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Pricing section specific styles */
.pricing-popular-badge {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

/* News card image overlay */
.news-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Service icon animations */
.service-icon {
    transition: transform 0.3s ease;
}

.service-icon:hover {
    transform: rotate(10deg) scale(1.1);
}

/* Stats counter animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Testimonial styles (if needed) */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 143, 0, 0.1));
}

/* CTA section background pattern */
.cta-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Footer wave effect (if needed) */
.wave-divider {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23FFC107'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    height: 60px;
}

/* Performance optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Utility classes for common patterns */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Interactive elements */
.interactive:hover {
    cursor: pointer;
    transform: translateY(-2px);
}

.interactive:active {
    transform: translateY(0);
}

/* Loading spinner */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #FFC107;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}