:root {
    --primary-color: #00134D;    
    --accent-green: #4CAF50;     
    --accent-blue: #2196F3;      
    --text-color: #ffffff;
    --error-color: #dc2626;
    --overlay-color: rgba(0, 19, 77, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Maintenance Mode */
.maintenance-mode {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.network-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.maintenance-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    max-width: 1200px;
}

/* Header */
.header {
    position: fixed;
    top: 1rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    height: 40px;
    width: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Main Content */
.main-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.maintenance-text {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.current-lang {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    margin-top: 0.5rem;
    min-width: 120px;
    z-index: 1000;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* CTA Button */
.cta-button {
    background: linear-gradient(45deg, var(--accent-green), var(--accent-blue));
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--overlay-color);
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-green);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

input[type="checkbox"] {
    width: auto;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.primary-button,
.secondary-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    flex: 1;
}

.primary-button {
    background-color: var(--accent-green);
    color: white;
}

.secondary-button {
    background-color: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

.primary-button:hover {
    background-color: #45a049;
}

.secondary-button:hover {
    background-color: rgba(76, 175, 80, 0.1);
}

/* Form Status */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.form-status.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.form-status.error {
    background-color: rgba(220, 38, 38, 0.2);
    color: #dc2626;
}

/* Error States */
.error {
    border-color: var(--error-color) !important;
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .maintenance-content {
        padding-top: 0;
    }
    
    .header {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        padding: 1rem;
    }

    h1 {
        font-size: 3rem;
    }
    
    .maintenance-text {
        font-size: 1.1rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .form-buttons {
        flex-direction: column;
    }

    .maintenance-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
        word-break: break-word;
        padding: 0 10px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .cta-button {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .modal-content {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .maintenance-text {
        font-size: 1rem;
        padding: 0 10px;
    }
}