﻿
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 60px;
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header {
    text-align: center;
    margin-bottom: 48px;
}

.title {
    font-size: 36px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 18px;
    color: #86868b;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 24px;
}

.contact-item {
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #86868b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    color: #007aff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .contact-link:hover {
        color: #0051d5;
        transform: translateY(-1px);
    }

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.required {
    color: #ff3b30;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: #fbfbfd;
    transition: all 0.3s ease;
    resize: vertical;
}

    .form-input:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #007aff;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
    }

.form-textarea {
    min-height: 120px;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 32px;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(0, 122, 255, 0.3);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    .submit-btn:disabled {
        background: #d1d1d6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.error-message {
    color: #ff3b30;
    font-size: 14px;
    margin-top: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .error-message.show {
        opacity: 1;
    }

.form-input.error,
.form-textarea.error {
    border-color: #ff3b30;
    background: #fff5f5;
}

.success-message {
    background: #30d158;
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

    .success-message.show {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .container {
        padding: 40px 30px;
        border-radius: 20px;
    }

    .title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .title {
        font-size: 24px;
    }
}
