/* Theme Enhancements - Modern Vibrant Design */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Global Animation Classes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Accent Color Highlights */
.accent-coral {
    color: var(--accent-coral);
}

.accent-yellow {
    color: var(--accent-yellow);
}

.accent-teal {
    color: var(--primary-teal);
}

/* Modern Badge Styles */
.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(42, 98, 255, 0.1), rgba(138, 63, 252, 0.1));
    color: var(--primary-blue);
    border: 1px solid rgba(42, 98, 255, 0.2);
}

.modern-badge.badge-yellow {
    background: linear-gradient(135deg, rgba(255, 215, 66, 0.2), rgba(255, 215, 66, 0.1));
    color: #b8930d;
    border-color: rgba(255, 215, 66, 0.3);
}

.modern-badge.badge-coral {
    background: linear-gradient(135deg, rgba(255, 111, 97, 0.2), rgba(255, 111, 97, 0.1));
    color: #d63827;
    border-color: rgba(255, 111, 97, 0.3);
}

.modern-badge.badge-teal {
    background: linear-gradient(135deg, rgba(26, 200, 201, 0.2), rgba(26, 200, 201, 0.1));
    color: #118b8c;
    border-color: rgba(26, 200, 201, 0.3);
}

/* Enhanced Button Styles */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-modern-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    box-shadow: 0 4px 16px rgba(42, 98, 255, 0.3);
}

.btn-modern-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(42, 98, 255, 0.4);
}

.btn-modern-yellow {
    background: var(--accent-yellow);
    color: var(--text-dark);
    box-shadow: 0 4px 16px rgba(255, 215, 66, 0.3);
}

.btn-modern-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 215, 66, 0.5);
    background: #ffe066;
}

.btn-modern-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-modern-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(42, 98, 255, 0.3);
}

/* Gradient Text Utilities */
.gradient-text-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-colorful {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Card Hover Effects */
.card-modern {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(42, 98, 255, 0.08);
    border: 2px solid rgba(42, 98, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(42, 98, 255, 0.15);
    border-color: var(--primary-teal);
}

/* Decorative Elements */
.decorative-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.decorative-shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), transparent);
    top: 10%;
    right: 5%;
    filter: blur(60px);
}

.decorative-shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-purple), transparent);
    bottom: 10%;
    left: 5%;
    filter: blur(50px);
}

/* Loading State */
.loading-skeleton {
    background: linear-gradient(90deg, 
        var(--light-grey) 25%, 
        rgba(245, 247, 250, 0.5) 50%, 
        var(--light-grey) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Tooltip Style */
.tooltip-modern {
    position: relative;
    display: inline-block;
}

.tooltip-modern::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    padding: 8px 12px;
    background: var(--text-dark);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip-modern:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-trust-badges {
        flex-direction: column;
        gap: 15px;
    }
    
    .trust-badge {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .main-footer,
    .btn,
    .flash-message {
        display: none !important;
    }
    
    body {
        background: white;
    }
}

/* Accessibility Enhancements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 3px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

