/* Insurance Quotes Pro - Modern Design CSS */

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #1f2937;
    --light: #f3f4f6;
    --border: #e5e7eb;
    --text: #374151;
}

html, body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #ffffff;
}

.iqp-wrapper {
    background: white;
    min-height: 100vh;
}

.iqp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== COMPLIANCE BAR ===== */
.iqp-compliance-bar {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 2px solid #fbbf24;
    padding: 14px 0;
    text-align: center;
    font-size: 0.95rem;
    color: #78350f;
    font-weight: 500;
}

/* ===== HEADER ===== */
.iqp-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.iqp-header .iqp-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.iqp-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
}

.iqp-nav {
    display: flex;
    gap: 25px;
}

.iqp-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.iqp-nav a:hover {
    color: #fbbf24;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .iqp-nav {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.iqp-hero {
    background: linear-gradient(135deg, #f8f7ff 0%, #faf5ff 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.iqp-hero .iqp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.iqp-hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.iqp-lead {
    font-size: 1.15rem;
    color: #6b7280;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.7;
}

/* ===== CALL BUTTON ===== */
.iqp-call-button {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.iqp-call-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.4);
}

.iqp-call-button:active {
    transform: translateY(-2px);
}

/* ===== OR DIVIDER ===== */
.iqp-or {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 25px 0;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ===== HERO GRAPHIC ===== */
.iqp-hero-graphic {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.iqp-hero-graphic svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.1));
}

@media (max-width: 900px) {
    .iqp-hero .iqp-container {
        grid-template-columns: 1fr;
    }
    
    .iqp-hero-graphic {
        order: 2;
    }
}

/* ===== FORM SECTION ===== */
.iqp-form-section {
    background: white;
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.iqp-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.iqp-form h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.iqp-form-subtitle {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 25px;
}

.iqp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

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

.iqp-field {
    margin-bottom: 15px;
}

.iqp-field label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.iqp-field input,
.iqp-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s;
}

.iqp-field input::placeholder,
.iqp-field textarea::placeholder {
    color: #d1d5db;
}

.iqp-field input:focus,
.iqp-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.iqp-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
    cursor: pointer;
}

.iqp-consent-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.iqp-consent-checkbox a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.iqp-consent-checkbox a:hover {
    text-decoration: underline;
}

/* ===== SUBMIT BUTTON ===== */
.iqp-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.iqp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.iqp-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== FORM DISCLAIMER ===== */
.iqp-form-disclaimer {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 15px;
    line-height: 1.6;
}

.iqp-form-disclaimer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ===== SUCCESS/ERROR MESSAGES ===== */
.iqp-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 14px;
    border-radius: 6px;
    font-weight: 500;
    border-left: 4px solid var(--danger);
}

.iqp-success {
    background: #ecfdf5;
    color: #065f46;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--success);
}

.iqp-success h4 {
    color: #047857;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* ===== FEATURES SECTION ===== */
.iqp-features {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.iqp-features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
}

.iqp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.iqp-feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.iqp-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

.iqp-feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
}

.iqp-feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.iqp-feature-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.iqp-stats {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 60px 0;
    color: white;
}

.iqp-stats .iqp-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.iqp-stat-card {
    text-align: center;
}

.iqp-stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.iqp-stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== CONTENT PAGES ===== */
.iqp-content {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.iqp-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 25px;
    margin-top: 40px;
    font-weight: 800;
}

.iqp-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
}

.iqp-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 700;
}

.iqp-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.iqp-content ul,
.iqp-content ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.iqp-content li {
    margin-bottom: 10px;
    color: var(--text);
}

.iqp-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    transition: all 0.3s;
}

.iqp-link:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* ===== STEPS ===== */
.iqp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.iqp-step {
    background: linear-gradient(135deg, #f0f9ff 0%, #f3e8ff 100%);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    position: relative;
}

.iqp-step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: 'Poppins', sans-serif;
}

.iqp-step h3 {
    color: var(--dark);
    margin-top: 0;
    font-size: 1.3rem;
}

/* ===== FAQ ===== */
.iqp-faq-item {
    margin: 20px 0;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.iqp-faq-item summary {
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
    font-size: 1.05rem;
}

.iqp-faq-item summary:hover {
    color: var(--secondary);
}

.iqp-faq-item p {
    color: var(--text);
    margin: 15px 0 0 0;
}

/* ===== CONTACT ===== */
.iqp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .iqp-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.iqp-contact-info h3 {
    color: var(--dark);
    margin-top: 0;
}

.iqp-contact-info p {
    margin-bottom: 12px;
}

.iqp-contact-form {
    background: #f9fafb;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.iqp-contact-form input,
.iqp-contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
}

/* ===== TCPA MODAL ===== */
.iqp-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.iqp-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.iqp-modal-content h3 {
    color: var(--danger);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.iqp-modal-text {
    background: #f9fafb;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    max-height: 300px;
    overflow-y: auto;
}

.iqp-modal-text p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: var(--text);
}

.iqp-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.iqp-modal-accept,
.iqp-modal-cancel {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.iqp-modal-accept {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.iqp-modal-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.iqp-modal-cancel {
    background: #e5e7eb;
    color: var(--dark);
}

.iqp-modal-cancel:hover {
    background: #d1d5db;
}

/* ===== FOOTER ===== */
.iqp-footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #e5e7eb;
    padding: 50px 0;
    margin-top: 60px;
}

.iqp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

.iqp-footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.iqp-footer-links a:hover {
    color: var(--primary);
}

.iqp-footer-disclaimer {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.7;
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 20px;
    margin-bottom: 15px;
}

.iqp-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .iqp-form {
        padding: 25px;
    }
    
    .iqp-call-button {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .iqp-content {
        padding: 40px 0;
    }
    
    .iqp-content h1 {
        font-size: 1.8rem;
    }
    
    .iqp-features h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 500px) {
    .iqp-form {
        padding: 20px;
    }
    
    .iqp-call-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .iqp-features-grid {
        gap: 15px;
    }
    
    .iqp-stats .iqp-container {
        gap: 20px;
    }
    
    .iqp-stat-number {
        font-size: 2rem;
    }
}
