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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b20 50%, #1a1a1a 100%);
    min-height: 100vh;
    color: #ffffff;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.header {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(220, 38, 38, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dc2626;
}

.logo h1 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 0.5rem;
}

.whatsapp-btn,
.call-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    border-color: #dc2626;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #991b1b, #7f1d1d);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
}

.call-btn {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: #dc2626;
    border-color: #dc2626;
}

.call-btn:hover {
    background: linear-gradient(135deg, #374151, #4b5563);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1f2937, #374151);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dc2626;
}

.back-btn:hover {
    background: linear-gradient(135deg, #374151, #4b5563);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.hero-section {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: #d1d5db;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.form-container {
    background: rgba(15, 15, 15, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.form-container h3 {
    color: #dc2626;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #f3f4f6;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #374151;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(31, 41, 55, 0.8);
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: rgba(31, 41, 55, 0.9);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

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

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem;
    background: rgba(31, 41, 55, 0.8);
    border: 2px dashed #374151;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: #d1d5db;
}

.file-input-label:hover {
    background: rgba(31, 41, 55, 0.9);
    border-color: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.file-input-label i {
    color: #dc2626;
}

.file-preview {
    margin-top: 10px;
    padding: 10px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 8px;
    border-left: 4px solid #dc2626;
    color: #f3f4f6;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.5);
    background: linear-gradient(135deg, #991b1b, #7f1d1d);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Info Section */
.info-section {
    background: rgba(15, 15, 15, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.info-section h3 {
    color: #dc2626;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
    position: relative;
    padding-left: 2rem;
    color: #d1d5db;
}

.info-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(220, 38, 38, 0.5);
}

.info-list li:last-child {
    border-bottom: none;
}

/* Message Styles */
.message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.message.error {
    background: rgba(220, 38, 38, 0.1);
    color: #ef4444;
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.message.info {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 0;
        height: auto;
        min-height: 60px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .contact-buttons {
        gap: 0.3rem;
    }

    .whatsapp-btn,
    .call-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .back-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .back-text {
        display: none;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .form-container,
    .info-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .navbar {
        padding: 0.5rem 0;
        height: auto;
        min-height: 55px;
    }

    .logo img {
        width: 30px;
        height: 30px;
    }

    .logo h1 {
        font-size: 0.9rem;
    }

    .whatsapp-btn,
    .call-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .back-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .form-container,
    .info-section {
        padding: 1rem;
    }
}