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

:root {
    --primary-blue: #2563a8;
    --dark-blue: #1e4976;
    --light-blue: #4a90d9;
    --white: #ffffff;
    --gray: #6b7280;
    --dark-gray: #374151;
    --bg-dark: #0f1419;
    --overlay-dark: rgba(15, 20, 25, 0.92);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--white);
    background: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.parallax-layer.layer-1 {
    background: radial-gradient(circle at 30% 40%, rgba(37, 99, 168, 0.25) 0%, transparent 50%);
}

.parallax-layer.layer-2 {
    background: radial-gradient(circle at 70% 60%, rgba(74, 144, 217, 0.2) 0%, transparent 60%);
}

.parallax-layer.layer-3 {
    background: radial-gradient(circle at 50% 50%, rgba(30, 73, 118, 0.15) 0%, transparent 70%);
}

.parallax-layer::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.parallax-layer::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 40%;
    filter: blur(80px);
    opacity: 0.3;
}

.parallax-layer.layer-1::before {
    top: 15%;
    left: 10%;
    background: radial-gradient(circle, var(--primary-blue) 0%, var(--light-blue) 100%);
    animation-delay: 0s;
}

.parallax-layer.layer-1::after {
    bottom: 30%;
    right: 20%;
    background: var(--light-blue);
    transform: rotate(45deg);
}

.parallax-layer.layer-2::before {
    top: 50%;
    right: 10%;
    background: radial-gradient(circle, var(--light-blue) 0%, var(--primary-blue) 100%);
    animation-delay: -7s;
}

.parallax-layer.layer-2::after {
    top: 20%;
    left: 30%;
    background: var(--primary-blue);
    transform: rotate(-30deg);
}

.parallax-layer.layer-3::before {
    bottom: 15%;
    left: 40%;
    background: radial-gradient(circle, var(--dark-blue) 0%, var(--primary-blue) 100%);
    animation-delay: -14s;
}

.parallax-layer.layer-3::after {
    top: 40%;
    right: 35%;
    background: var(--dark-blue);
    transform: rotate(60deg);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.fade-in {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

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

.logo-container {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(37, 99, 168, 0.3));
}

.headline {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--white);
}

.contact-item svg {
    color: var(--primary-blue);
}

.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 168, 0.4);
    transition: all 0.3s ease;
}

.fab:hover {
    transform: scale(1.1);
    background: var(--light-blue);
    box-shadow: 0 6px 30px rgba(74, 144, 217, 0.6);
}

.fab svg {
    width: 24px;
    height: 24px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(26, 31, 46, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(74, 144, 217, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.modal h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    padding-right: 2rem;
}

.modal-content {
    color: var(--gray);
    line-height: 1.8;
}

.modal-content.scrollable {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.modal-content.scrollable::-webkit-scrollbar {
    width: 8px;
}

.modal-content.scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-content.scrollable::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.modal-content p {
    margin-bottom: 1rem;
}

.modal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
}

.modal-content strong {
    color: var(--light-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 144, 217, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(37, 99, 168, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: #1a1f2e;
    color: var(--white);
    padding: 0.5rem;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.response-note {
    flex: 1;
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.submit-btn {
    flex: 0 0 50%;
    padding: 1rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 144, 217, 0.4);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

footer {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray);
    font-size: 0.875rem;
    z-index: 1;
}

@media (max-width: 768px) {
    .logo {
        max-width: 280px;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .contact-info {
        font-size: 0.95rem;
    }
    
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
    }
    
    .fab {
        width: 50px;
        height: 50px;
    }
    
    .fab svg {
        width: 20px;
        height: 20px;
    }
    
    .modal {
        padding: 2rem 1.5rem;
    }
    
    .modal h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row .form-group {
        margin-bottom: 0;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .response-note {
        text-align: center;
    }
    
    .submit-btn {
        flex: 1;
        width: 100%;
    }
    
    footer {
        font-size: 0.75rem;
        bottom: 0.5rem;
        padding: 0 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 220px;
    }
    
    .headline {
        font-size: 1.5rem;
    }
    
    .contact-info {
        gap: 0.75rem;
    }
    
    .contact-item {
        font-size: 0.875rem;
    }
}
