
/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-container {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-wrapper {
    padding: 40px 30px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 25px;
    margin-bottom: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid {
    border-color: #27ae60;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 480px) {
    .form-container {
        margin: 10px;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .whatsapp-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}



.form-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.form-wrapper {
    background: #000000;
    backdrop-filter: blur(15px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    background: #e74c3c;
    border-radius: 15px;
    transform: rotate(45deg);
    z-index: 1;
    opacity: 0.8;
}

.form-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    width: 80px;
    height: 80px;
    background: #4a4a4a;
    border-radius: 12px;
    transform: rotate(25deg);
    z-index: 2;
}

.form-wrapper {
    background: #000000;
    backdrop-filter: blur(15px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    background: #e74c3c;
    border-radius: 15px;
    transform: rotate(45deg);
    z-index: 1;
    opacity: 0.8;
}

.form-wrapper::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 18px;
    transform: rotate(-30deg);
    z-index: 1;
    opacity: 0.6;
}

.form-wrapper {
    background: 
        radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(74, 74, 74, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(231, 76, 60, 0.2) 0%, transparent 50%),
        #000000;
    backdrop-filter: blur(15px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: rgba(231, 76, 60, 0.6);
    border: 3px solid rgba(231, 76, 60, 0.8);
    border-radius: 12px;
    transform: rotate(45deg);
    z-index: 1;
}

.form-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(74, 74, 74, 0.7);
    border: 2px solid rgba(74, 74, 74, 0.9);
    border-radius: 15px;
    transform: rotate(-25deg);
    z-index: 1;
}

h1 {
    text-align: center;
    color: #f0f0f0;
    margin-bottom: 35px;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 36px 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    margin: 25px 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 20px rgba(37, 211, 102, 0.3),
        0 0 0 0 rgba(37, 211, 102, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(37, 211, 102, 0.5);
    position: relative;
    z-index: 10;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 6px 20px rgba(37, 211, 102, 0.3),
            0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(37, 211, 102, 0.5),
            0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn:hover {
    background: linear-gradient(45deg, #128C7E, #075E54);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(37, 211, 102, 0.4),
        0 0 0 20px rgba(37, 211, 102, 0);
    border-color: #25D366;
    animation: none;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #e0e0e0;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #666;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #5a5a5a, #4a4a4a);
    color: #f0f0f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    background: linear-gradient(145deg, #6a6a6a, #5a5a5a);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.submit-btn::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: left 0.5s ease;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #c0392b, #a93226);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:disabled {
    background: linear-gradient(45deg, #666, #555);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.submit-btn:disabled::before {
    display: none;
}

.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ff6b6b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 15px;
    }

    .company-logo {
        max-width: 150px;
        max-height: 75px;
    }

    .logo-container {
        margin-bottom: 25px;
    }

    

    .form-wrapper {
        padding: 40px 25px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .whatsapp-btn {
        font-size: 16px;
        padding: 30px 18px;
    }

    .form-group input {
        padding: 15px 18px;
        font-size: 16px;
    }

    .submit-btn {
        padding: 18px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 35px 20px;
        border-radius: 15px;
    }

    .company-logo {
        max-width: 120px;
        max-height: 60px;
        padding: 8px;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    

    h1 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .whatsapp-btn {
        font-size: 15px;
        padding: 28px 16px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input {
        padding: 14px 16px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 15px;
        letter-spacing: 1px;
    }
}
