/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Container */
.container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f9fafb 0%, #dbeafe 50%, #faf5ff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 20px;
}

/* Background elements */
.background-elements {
    position: absolute;
    inset: 0;
}

.bg-element {
    position: absolute;
    width: 288px;
    height: 288px;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(64px);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.bg-element-1 {
    top: 80px;
    left: 80px;
    background-color: #93c5fd;
}

.bg-element-2 {
    top: 160px;
    right: 80px;
    background-color: #c4b5fd;
    animation-delay: 2s;
}

.bg-element-3 {
    bottom: -32px;
    left: 160px;
    background-color: #818cf8;
    animation-delay: 4s;
}

/* Particles */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #9ca3af;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-align: center;
}

/* Logo section */
.logo-section {
    margin-bottom: 32px;
}

.logo {
    height: 96px;
    width: auto;
    margin: 0 auto 16px;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.sparkle-icon {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}

/* Main heading */
.main-heading {
    margin-bottom: 32px;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1f2937 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (min-width: 768px) {
    .title {
        font-size: 4.5rem;
    }
}

.subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.wrench-icon {
    width: 24px;
    height: 24px;
    color: #3b82f6;
    animation: spin-slow 3s linear infinite;
}

.subtitle {
    font-size: 1.25rem;
    color: #374151;
    font-weight: 300;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.5rem;
    }
}

.description {
    color: #6b7280;
    max-width: 512px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact section */
.contact-section {
    margin-bottom: 64px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    max-width: 384px;
    margin: 0 auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.8);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mail-icon {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
    font-size: 14px;
}

.contact-icon {
    width: 16px;
    height: 16px;
    color: #3b82f6;
    flex-shrink: 0;
}

/* Footer */
.footer {
    color: #9ca3af;
    font-size: 14px;
}

/* Progress bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e5e7eb;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    width: 75%;
    animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

/* Responsive design */
@media (max-width: 768px) {
    .logo {
        height: 72px;
    }
    
    .contact-card {
        padding: 24px;
        margin: 0 16px;
    }
    
    .title {
        font-size: 2.5rem;
    }
}