/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animation Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
}

/* Static background image styles */
.background-static-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: -2;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.content-container {
    position: relative;
    max-width: 800px;
    padding: 0 2rem;
}

/* Main Headline */
.main-headline {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    animation: fadeInUp 1.5s ease-out;
}

/* Subheadline */
.subheadline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: #00d4ff;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

/* Glow Effect */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(0, 212, 255, 0.1) 0%,
        rgba(0, 212, 255, 0.05) 30%,
        transparent 70%
    );
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

/* Contact Section */
.contact-section {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 10;
}

.contact-btn {
    position: relative;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid #00d4ff;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 212, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.contact-btn:hover .btn-glow {
    left: 100%;
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #00d4ff;
    border-radius: 15px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(20px);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #cccccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #00d4ff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #cccccc;
}

.submit-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        padding: 0 1rem;
    }
    
    .contact-section {
        bottom: 2rem;
        right: 2rem;
    }
    
    .contact-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .main-headline {
        font-size: 2.5rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .contact-section {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid #00d4ff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .main-headline {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .contact-btn {
        border-width: 3px;
    }
} 