/* ContactSales Page Styles */

/* Add gradient animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.5); }
    100% { box-shadow: 0 0 10px rgba(99, 102, 241, 0.3); }
}

/* Base font styles */
* {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.contact-sales-page {
    min-height: 100vh;
    background: #020617;
    padding: 2rem 0;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Page Header - specific to contact sales content, not the nav header */
.page-header {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

.page-header-content {
    text-align: center;
}

.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.subtitle {
    font-size: 20px;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    font-size: 14px;
}

.trust-badge .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #6366F1;
}

/* Social Proof */
.social-proof {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(99, 102, 241, 0.05) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.social-proof p {
    color: #94A3B8;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.client-logo {
    height: 40px;
    opacity: 0.5;
    filter: grayscale(100%) brightness(0) invert(1);
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 0.8;
    filter: grayscale(100%) brightness(0) invert(1);
    transform: scale(1.1);
}

/* Progress Bar */
.progress-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.progress-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #6366F1, #4F46E5);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #94A3B8;
}

/* Selected Services Sidebar */
.selected-services {
    position: fixed;
    right: -300px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0.5rem 0 0 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    max-width: 250px;
    z-index: 100;
}

.selected-services.visible {
    right: 0;
}

.selected-services h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selected-services li {
    padding: 0.5rem 0;
    color: #94A3B8;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Form Container */
.form-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366F1, #4F46E5);
    opacity: 0.6;
}

.section:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    position: relative;
}

.section-number::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, transparent);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.5px;
}

.subsection {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.375rem;
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subsection h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #6366F1, #4F46E5);
    border-radius: 2px;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #94A3B8;
    margin-bottom: 0.5rem;
}

.required {
    color: #dc2626;
}

.form-input,
.form-textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), 0 0 20px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

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

.field-help {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 0.25rem;
}

.error-message {
    font-size: 12px;
    color: #dc2626;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.success-message {
    font-size: 12px;
    color: #10B981;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.input-invalid {
    border-color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.05) !important;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.input-valid {
    border-color: #10B981 !important;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.checkbox-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.checkbox-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.checkbox-item:hover::before {
    left: 100%;
}

.checkbox-item.checked {
    border-color: #6366F1;
    background: rgba(99, 102, 241, 0.15);
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-item label {
    cursor: pointer;
    flex: 1;
}

.checkbox-item strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.checkbox-item small {
    display: block;
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.5;
}

/* Conditional Sections */
.conditional-section {
    display: none;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    position: relative;
}

.conditional-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6366F1, #4F46E5);
    border-radius: 0.5rem;
    opacity: 0.1;
    z-index: -1;
}

.conditional-section.active {
    display: block;
}

.conditional-header {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

/* Smart Suggestions */
.smart-suggestions {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 1rem;
}

/* Cross Reference */
.cross-reference {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Submit Section */
.submit-section {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.submit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366F1, transparent);
}

.consent-checkboxes {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.consent-item input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.consent-item label {
    font-size: 14px;
    color: #94A3B8;
}

.submit-button {
    background: #6366F1;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submit-button:hover:not(:disabled) {
    background: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Value Props */
.value-props {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    font-size: 14px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-modal-content {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 0.5rem;
    max-width: 500px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

.success-modal-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.success-modal-content p {
    font-size: 16px;
    color: #94A3B8;
    line-height: 1.6;
}

.modal-icon {
    width: 4rem;
    height: 4rem;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    animation: glow 2s ease-in-out infinite;
}

.modal-button {
    background: #6366F1;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1.5rem;
}

.modal-button:hover {
    background: #4F46E5;
}

/* Notification */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #10B981;
}

.notification-error {
    border-left: 4px solid #dc2626;
}

/* Exit Intent Modal */
.exit-intent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.exit-intent-content {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
}

.exit-intent-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
}

.exit-intent-close:hover {
    color: #4b5563;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .selected-services {
        display: none;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }
    
    .header h1 {
        font-size: 36px;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .value-props {
        flex-direction: column;
        align-items: center;
    }
}

/* Validation Summary */
.validation-summary {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.validation-summary-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #EF4444;
    font-weight: 600;
    margin-bottom: 1rem;
}

.validation-summary-header i {
    font-size: 1.25rem;
}

.validation-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-summary-list li {
    color: #FFFFFF;
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

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

.validation-summary-list li:before {
    content: "•";
    color: #EF4444;
    font-weight: bold;
    position: absolute;
    left: 0.75rem;
}

/* Placeholder and Form Element Dark Theme Styles */
.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
    opacity: 1;
}

.form-group select {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background: #0F172A;
    color: #FFFFFF;
    padding: 0.5rem;
}

.form-group select::-ms-expand {
    color: #94A3B8;
}

/* Custom scrollbar for dark theme */
.form-textarea::-webkit-scrollbar {
    width: 8px;
}

.form-textarea::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.form-textarea::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.form-textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}