/* Modern Professional Design System */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Root variables for consistent design */
:root {
    /* Professional Blue Palette */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Success Green Palette */
    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-200: #a7f3d0;
    --success-300: #6ee7b7;
    --success-400: #34d399;
    --success-500: #10b981;
    --success-600: #059669;
    --success-700: #047857;
    --success-800: #065f46;
    --success-900: #064e3b;

    /* Warning Orange Palette */
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-200: #fde68a;
    --warning-300: #fcd34d;
    --warning-400: #fbbf24;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;
    --warning-800: #92400e;
    --warning-900: #78350f;

    /* Neutral Gray Palette */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes float {

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

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

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

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce-slow {

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

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

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes pulse-glow {

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

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animation Utility Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

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

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

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

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

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

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

.animate-gradient-shift {
    animation: gradient-shift 8s ease-in-out infinite;
    background-size: 200% 200%;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Modern Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.gradient-primary-soft {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
}

.gradient-success {
    background: linear-gradient(135deg, var(--success-500) 0%, var(--success-600) 100%);
}

.gradient-success-soft {
    background: linear-gradient(135deg, var(--success-50) 0%, var(--success-100) 100%);
}

.gradient-warning {
    background: linear-gradient(135deg, var(--warning-500) 0%, var(--warning-600) 100%);
}

.gradient-warning-soft {
    background: linear-gradient(135deg, var(--warning-50) 0%, var(--warning-100) 100%);
}

.gradient-hero {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--success-600) 100%);
}

.gradient-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(16, 185, 129, 0.8) 100%);
}

/* Modern Card Styles */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-200);
}

.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Modern Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--success-600), var(--success-700));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.25);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--success-700), var(--success-800));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
}

.btn-outline:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.25);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
}

/* Enhanced gradient backgrounds with professional colors */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 50%, var(--primary-700) 100%);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.25);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-700) 0%, var(--secondary-500) 50%, var(--secondary-600) 100%);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.25);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-700) 0%, var(--accent-500) 50%, var(--accent-600) 100%);
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.25);
}

.bg-gradient-professional {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    box-shadow: 0 4px 14px 0 rgba(30, 41, 59, 0.25);
}

.bg-gradient-luxury {
    background: linear-gradient(135deg, #7c2d12 0%, #ea580c 50%, #dc2626 100%);
    box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.25);
}

.bg-gradient-elegant {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #8b5cf6 100%);
    box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.25);
}

.bg-gradient-premium {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    box-shadow: 0 4px 14px 0 rgba(15, 23, 42, 0.25);
}

.bg-gradient-warm {
    background: linear-gradient(135deg, var(--warning-600) 0%, var(--warning-500) 50%, var(--warning-400) 100%);
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.25);
}

.bg-gradient-cool {
    background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #0ea5e9 100%);
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.25);
}

/* Enhanced color utilities */
.text-primary {
    color: var(--primary-600) !important;
}

.text-secondary {
    color: var(--secondary-600) !important;
}

.text-accent {
    color: var(--accent-600) !important;
}

.bg-primary {
    background-color: var(--primary-600) !important;
}

.bg-secondary {
    background-color: var(--secondary-600) !important;
}

.bg-accent {
    background-color: var(--accent-600) !important;
}

/* Decorative shapes */
.shape-blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
}

.shape-circle {
    border-radius: 50%;
}

.shape-rounded {
    border-radius: 20px;
}

/* Hero section styles with enhanced professional look */
.hero-bg {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.9) 30%, rgba(5, 150, 105, 0.85) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/><polygon fill="%23ffffff" fill-opacity="0.03" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* 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);
}

/* Enhanced Button styles with proper colors */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.25);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-600), var(--secondary-700));
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.25);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-700), var(--secondary-800));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.35);
}

.btn-outline {
    border: 2px solid var(--primary-600);
    color: var(--primary-600);
    background: transparent;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.25);
}

/* Modern Form Styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    background: white;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.form-input.border-green-500 {
    border-color: var(--success-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input.border-red-500 {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    background: white;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    resize: vertical;
    min-height: 120px;
}

.form-textarea:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

/* Enhanced Captcha specific styles */
.captcha-container {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border: 2px solid #cbd5e1;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.captcha-question {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    border-radius: 12px;
    border-left: 5px solid #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.captcha-question strong {
    color: #1e40af;
    font-size: 18px;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.captcha-refresh {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    position: relative;
    z-index: 1;
}

.captcha-refresh:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.captcha-refresh:active {
    transform: scale(1.05) rotate(180deg);
}

/* Icon styles */
.icon-large {
    @apply text-4xl mb-4 text-blue-600;
}

.icon-medium {
    @apply text-2xl text-blue-600;
}

.icon-small {
    @apply text-lg text-blue-600;
}

/* Section spacing */
.section-padding {
    @apply py-16 lg:py-24;
}

/* Improved form inputs */
.form-input-enhanced {
    @apply w-full px-4 py-3 border-2 border-gray-300 rounded-xl;
    @apply focus:border-blue-500 focus:ring-2 focus:ring-blue-200;
    @apply transition-all duration-300 bg-white shadow-sm hover:shadow-md;
}

.form-textarea-enhanced {
    @apply w-full px-4 py-3 border-2 border-gray-300 rounded-xl;
    @apply focus:border-blue-500 focus:ring-2 focus:ring-blue-200;
    @apply transition-all duration-300 bg-white shadow-sm hover:shadow-md resize-none;
}

/* Better paragraph spacing */
.content-paragraph {
    @apply text-lg text-gray-700 leading-relaxed mb-4;
}

.content-paragraph:last-child {
    @apply mb-0;
}

/* Related communes section */
.commune-card {
    @apply bg-white rounded-lg shadow-md hover:shadow-lg;
    @apply transition-all duration-300 transform hover:scale-105;
    @apply p-6 group;
}

.commune-card h3 {
    @apply font-bold text-gray-900 group-hover:text-blue-600;
    @apply transition-colors duration-300;
}

/* Page width constraints */
.page-container {
    @apply container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl;
}

.content-container {
    @apply max-w-4xl mx-auto;
}

.form-container {
    @apply max-w-5xl mx-auto;
}

.section-padding-sm {
    @apply py-12 lg:py-16;
}

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

/* Loading animation */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }

    .card {
        padding: 20px;
        border-radius: 12px;
    }

    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem !important;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 640px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .grid {
        gap: 16px;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-600), var(--success-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

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

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

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

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

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

/* Floating elements */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

/* Success/Error messages */
.alert-success {
    @apply bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded-lg;
}

.alert-error {
    @apply bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded-lg;
}

.alert-info {
    @apply bg-blue-100 border border-blue-400 text-blue-700 px-4 py-3 rounded-lg;
}

/* Modern particle effects */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatUp 15s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced button effects */
.btn-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-modern::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-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* Neon glow effects */
.neon-blue {
    color: #00f5ff;
    text-shadow: 0 0 5px #00f5ff, 0 0 10px #00f5ff, 0 0 15px #00f5ff, 0 0 20px #00f5ff;
}

.neon-green {
    color: #39ff14;
    text-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14, 0 0 15px #39ff14, 0 0 20px #39ff14;
}

/* Loading states */
.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        color: rgba(0, 0, 0, 0);
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
    }

    40% {
        color: black;
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
    }

    60% {
        text-shadow: .25em 0 0 black, .5em 0 0 rgba(0, 0, 0, 0);
    }

    80%,
    100% {
        text-shadow: .25em 0 0 black, .5em 0 0 black;
    }
}

/* Responsive enhancements */
@media (max-width: 768px) {

    .glass,
    .glass-dark {
        backdrop-filter: blur(5px);
    }

    .btn-modern {
        padding: 10px 20px;
        font-size: 14px;
    }

    .neon-blue,
    .neon-green {
        text-shadow: 0 0 3px currentColor, 0 0 6px currentColor;
    }
}