/* ======================
   Contact Sales Page Styles
   ====================== */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    padding: 3rem 0 2rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 50%, #faf5ff 100%);
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .contact-hero {
        padding: 4rem 0 2.5rem;
    }
}

.contact-hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-content .badge {
    margin-bottom: 1rem;
}

.contact-hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 1rem 0 0.75rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
}

.contact-hero-content > p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .contact-hero-content > p {
        font-size: 1.125rem;
    }
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    font-size: 0.938rem;
    font-weight: 500;
}

.benefit-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #0ea5e9;
}

/* Contact Form Section */
.contact-form-section {
    padding: 2rem 0;
    background: #f9fafb;
}

@media (min-width: 768px) {
    .contact-form-section {
        padding: 2.5rem 0;
    }
}

.contact-form-wrapper {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-form-wrapper {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .contact-form-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 2rem;
    }
}

.form-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

@media (min-width: 768px) {
    .form-header h2 {
        font-size: 1.75rem;
    }
}

.form-header p {
    color: #6b7280;
    font-size: 1rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 1.5rem;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section-title svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #0ea5e9;
}

/* Form Rows */
.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.938rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: #1f2937;
}

.form-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

.form-input:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.form-input.error {
    border-color: #ef4444;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.form-hint svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.error-message {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #ef4444;
    min-height: 1.25rem;
}

.error-message:empty {
    display: none;
}

/* Form Actions */
.form-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f3f4f6;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.form-note a {
    color: #0ea5e9;
    text-decoration: underline;
}

.form-note a:hover {
    color: #0284c7;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-card {
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.sidebar-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: #1f2937;
}

.sidebar-card p {
    font-size: 0.813rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.sidebar-link {
    display: inline-block;
    color: #0ea5e9;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.sidebar-link:hover {
    color: #0284c7;
}

/* Success Message */
.success-message {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 3rem;
    height: 3rem;
    color: white;
}

.success-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.success-content p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .success-content {
        padding: 2rem;
    }
}

/* Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

