/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Header */
.header-wrapper {
    border-bottom: 1px solid #e1e5e9;
    background: #ffffff;
}

.header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 18px;
    color: #1a1a1a;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    color: #1a1a1a; /* Uses currentColor from the SVG */
}

.form-quote-code {
    display: inline-block;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Side - Information */
.info-section {
    padding-right: 40px;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.benefits {
    margin-bottom: 60px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 18px;
    color: #1a1a1a;
}

.check-icon {
    flex-shrink: 0;
}

.additional-info {
    border-top: 1px solid #e1e5e9;
    padding-top: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.contact-item a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #374151;
}

/* Right Side - Form */
.form-section {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    overflow: hidden;
}

.form-container {
    padding: 40px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

/* Form Styles */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #ffffff;
    font-family: inherit;
    color: #1a1a1a;
}

input:focus {
    outline: none;
    border-color: #1DA1F2;
    box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.1);
}

input::placeholder {
    color: #9ca3af;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.error-message.show {
    opacity: 1;
}

/* Button */
.submit-btn {
    width: 100%;
    padding: 12px 24px;
    background: #1DA1F2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.submit-btn:hover:not(:disabled) {
    background: #1a91da;
}

.submit-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.submit-btn.loading {
    background: #1a91da;
    color: white;
    cursor: not-allowed;
    position: relative;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.error-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #dc2626;
    font-size: 14px;
    display: none;
}

.error-banner.show {
    display: block;
}

.success-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #166534;
    font-size: 14px;
    display: none;
}

.success-banner.show {
    display: block;
}



/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid #e1e5e9;
}

.modal-overlay.show .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 32px 32px 16px;
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #1DA1F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 32px;
    font-weight: bold;
}

.modal h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-body {
    padding: 0 32px 24px;
    text-align: center;
    color: #6b7280;
}

.modal-body p {
    margin-bottom: 8px;
}

.modal-footer {
    padding: 0 32px 32px;
}

.modal-btn {
    width: 100%;
    padding: 12px 24px;
    background: #1DA1F2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

.modal-btn:hover {
    background: #1a91da;
}

/* Quote code styling in modal */
#modalQuoteCode {
    font-size: 12px;
    font-family: 'Courier New', monospace;
    color: #9ca3af;
    font-weight: 400;
    word-break: break-all;
    max-width: 100%;
    display: inline-block;
}

/* Desktop only elements */
.desktop-only {
    display: block;
}

/* Mobile only elements */
.mobile-only {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 16px 24px;
    }
    
    .container {
        padding: 40px 24px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-section {
        padding-right: 0;
        text-align: left;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .mobile-contact-details {
        margin-top: 0px;
        padding: 0px 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .mobile-contact-details .contact-item {
        font-size: 16px;
    }
    
    .mobile-contact-details .contact-item a {
        font-weight: 400;
        color: #9ca3af;
    }
    
    h1 {
        font-size: 36px;
        margin-bottom: 32px;
    }
    
    .benefits {
        margin-bottom: 0;
    }
    
    .benefit-item {
        justify-content: flex-start;
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .form-container {
        padding: 32px 24px;
    }
    
    h2 {
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 16px;
    }
    
    .quote-code {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .benefit-item {
        font-size: 15px;
    }
    
    .mobile-contact-details .contact-item {
        font-size: 15px;
    }
    
    .form-container {
        padding: 24px 20px;
    }
    
    input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
