/* Base styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

/* Logo */
#logo {
    display: block;
    width: 100px;
    margin: 0 auto 40px;
}

/* Heading styles */
h1 {
    color: #39ff14;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
    letter-spacing: 0.05em;
}

.subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Back button */
.back-button {
    display: inline-block;
    margin-bottom: 30px;
    color: rgba(57, 255, 20, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 15px;
    border: 1px solid rgba(57, 255, 20, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: rgba(57, 255, 20, 0.1);
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Messages */
.message {
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
}

.success-message {
    background-color: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: #39ff14;
}

.error-message {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

/* Form styles */
.contact-form {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 25px;
    color: #e0e0e0;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(57, 255, 20, 0.6);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.form-group select {
    cursor: pointer;
    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='%2339ff14' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* Submit button */
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

button[type="submit"] {
    background: linear-gradient(to right, rgba(57, 255, 20, 0.8), #39ff14, rgba(57, 255, 20, 0.8));
    color: #000;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

button[type="submit"]:hover {
    background: #39ff14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
    transform: translateY(-2px);
}

button[type="submit"]:disabled {
    background: rgba(57, 255, 20, 0.3);
    cursor: not-allowed;
    transform: none;
}

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

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    .container {
        padding: 20px 15px 60px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    button[type="submit"] {
        width: 100%;
    }
}