/* Custom styles to complement Tailwind CSS */

:root {
    --primary-purple: #7c3aed;
    --primary-pink: #ec4899;
    --accent-yellow: #fbbf24;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Premium gradients */
.gradient-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-gold {
    background: var(--gradient-gold);
}

/* Animated background particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Hero section animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Premium text effects */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.text-shimmer {
    background: linear-gradient(90deg, #fff 25%, #f0f0f0 50%, #fff 75%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Premium card effects */
.card-premium {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 
        20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
    transition: all 0.3s ease;
}

.card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        25px 25px 70px #bebebe,
        -25px -25px 70px #ffffff;
}

/* Enhanced Luxury button styles */
.btn-luxury {
    background: linear-gradient(145deg, #ffd700, #ffed4a, #ffd700);
    border: 3px solid #ffb000;
    box-shadow: 
        0 12px 40px rgba(255, 215, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.7),
        0 0 0 3px rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-luxury::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.6s ease;
}

.btn-luxury::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-luxury:hover::after {
    opacity: 1;
}

.btn-luxury:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(255, 215, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.8),
        0 0 0 4px rgba(255, 215, 0, 0.2);
    border-color: #ff9500;
}

.btn-luxury:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

/* Primary CTA Button - Extra Large */
.btn-primary-cta {
    background: linear-gradient(145deg, #ff6b35, #f7941d, #ff6b35);
    border: 4px solid #e55a2b;
    box-shadow: 
        0 15px 50px rgba(255, 107, 53, 0.4),
        inset 0 3px 0 rgba(255, 255, 255, 0.3),
        0 0 0 4px rgba(255, 107, 53, 0.1);
    color: white !important;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1.5rem 3rem;
    min-height: 80px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary-cta::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;
}

.btn-primary-cta:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 25px 80px rgba(255, 107, 53, 0.6),
        inset 0 3px 0 rgba(255, 255, 255, 0.4),
        0 0 0 6px rgba(255, 107, 53, 0.2);
    border-color: #d4491f;
}

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

.btn-primary-cta:active {
    transform: translateY(-4px) scale(1.02);
}

/* Secondary buttons */
.btn-secondary {
    background: linear-gradient(145deg, #667eea, #764ba2);
    border: 2px solid #5a6fd8;
    color: white;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #4c63d2;
}

/* Language switcher buttons */
.lang-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.lang-btn.active {
    background: linear-gradient(145deg, #ffd700, #ffed4a);
    border-color: #ffb000;
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.lang-btn.active:hover {
    background: linear-gradient(145deg, #ffed4a, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Button focus states for accessibility */
button:focus, .btn-luxury:focus, .btn-primary-cta:focus, .btn-secondary:focus {
    outline: 3px solid rgba(255, 215, 0, 0.6);
    outline-offset: 3px;
}

/* Button loading state */
.btn-loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Pulse effect for important buttons */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

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

/* Button group styling */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }
    
    .btn-group button {
        width: 100%;
        min-width: 280px;
        min-height: 65px;
        font-size: 1.125rem;
    }
    
    .btn-primary-cta {
        font-size: 1.25rem;
        min-height: 75px;
        padding: 1.25rem 2rem;
    }
    
    .btn-luxury {
        min-height: 60px;
        font-size: 1rem;
    }
    
    /* Enhanced mobile touch targets */
    button, .btn-luxury, .btn-primary-cta, .btn-secondary {
        min-height: 48px; /* Minimum touch target size */
        touch-action: manipulation; /* Prevent zoom on double-tap */
    }
    
    /* Language switcher mobile optimization */
    .lang-btn {
        min-height: 44px;
        min-width: 50px;
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Mobile hover states (for touch devices) */
    @media (hover: none) {
        .btn-luxury:active, .btn-primary-cta:active, .btn-secondary:active {
            transform: scale(0.95);
            transition: transform 0.1s ease;
        }
    }
}

/* High contrast mode enhancements */
@media (prefers-contrast: high) {
    .btn-luxury, .btn-primary-cta, .btn-secondary {
        border-width: 3px;
        font-weight: 900;
    }
    
    .lang-btn {
        border-width: 2px;
        font-weight: 700;
    }
}

/* Print styles for buttons */
@media print {
    button, .btn-luxury, .btn-primary-cta, .btn-secondary {
        background: white !important;
        color: black !important;
        border: 2px solid black !important;
        box-shadow: none !important;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-pink));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-pink), var(--primary-purple));
}

/* Form styling enhancements */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
    border-color: var(--accent-yellow);
}

/* Custom checkbox styling */
input[type="checkbox"]:checked {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
}

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

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom backdrop blur for form */
.backdrop-blur-custom {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Premium form styling */
.form-premium {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

/* Enhanced submit button in form */
.form-premium .btn-luxury {
    width: 100%;
    min-height: 65px;
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 1rem;
    background: linear-gradient(145deg, #ff6b35, #f7941d, #ff6b35);
    color: white;
    border: 3px solid #e55a2b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-premium .btn-luxury:hover {
    background: linear-gradient(145deg, #f7941d, #ff6b35, #f7941d);
    color: white;
    border-color: #d4491f;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 18px 50px rgba(255, 107, 53, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.input-premium {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input-premium:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* Testimonial cards */
.testimonial-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* Loading animation for form submission */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Success message styling */
.success-message {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Error message styling */
.error-message {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Smooth transitions for all interactive elements */
a, button, .card-hover, input, [role="button"] {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
a:focus, button:focus, input:focus, [role="button"]:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-gradient-to-r, .bg-gradient-to-br {
        background: white !important;
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-opacity-10 {
        background-opacity: 0.2;
    }
    
    .text-gray-600 {
        color: #374151;
    }
}

/* Luxury scroll effects */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Premium section backgrounds */
.section-premium {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iYSIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVHJhbnNmb3JtPSJyb3RhdGUoNDUpIj48cmVjdCB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIGZpbGw9Im5vbmUiLz48Y2lyY2xlIGN4PSIyMCIgY3k9IjIwIiByPSIxIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDMpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+') repeat;
    opacity: 0.5;
    pointer-events: none;
}

/* 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;
    }
    
    .animate-float, .animate-fade-in-up, .text-shimmer {
        animation: none;
    }
    
    .particles::before {
        animation: none;
    }
}