/* ==============================================
   WORDPRESS THEME OVERRIDES - CRITICAL
   Forces full-width layout for plugin pages
   ============================================== */

/* Remove ALL WordPress padding/margins */
body.leader-crm-page,
body.leader-crm-page .wp-site-blocks,
body.leader-crm-page .entry-content,
body.leader-crm-page .wp-block-post-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Force full width for all sections */
body.leader-crm-page .hero,
body.leader-crm-page .section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* Remove global padding */
body.leader-crm-page .has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Override constrained layout */
body.leader-crm-page .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Max Profit Boost - Leader Funnel Styles */

:root {
    --primary-blue: #0a3d5c;
    --primary-orange: #f7941d;
    --cream-bg: #f5f1e8;
    --white: #ffffff;
    --dark-text: #333333;
    --light-text: #666666;
}

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3);
}

.btn-primary:hover {
    background: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4);
}

.btn-primary span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: var(--primary-blue);
    color: var(--white);
    padding: 40px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 61, 92, 0.9) 0%, rgba(10, 61, 92, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Logo */
.logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

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

/* Section */
.section {
    padding: 80px 20px;
}

.section-cream {
    background: var(--cream-bg);
}

.section-white {
    background: var(--white);
}

.section-blue {
    background: var(--primary-blue);
    color: var(--white);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title h2 span {
    color: var(--primary-orange);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

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

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.testimonial-author h4 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.stars {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    background: var(--white);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px 20px 20px;
    color: var(--light-text);
}

/* Qualify Form Specific Styles */
.qualify-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group-full {
    margin-bottom: 20px;
}

.form-group-full label,
.form-row .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group-full input,
.form-group-full select,
.form-row .form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

.dob-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.radio-group {
    margin-bottom: 25px;
}

.radio-group > label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.radio-options {
    display: flex;
    gap: 30px;
}

.radio-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.radio-options input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.submit-btn {
    background: #0a3d5c;
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #083147;
    transform: translateY(-2px);
}

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

.success-message {
    background: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

/* Requirements Box */
.requirements-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 700px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.checkmark {
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 25px;
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    padding: 100px 20px;
}

.thank-you-container .checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease;
}

.thank-you-container .checkmark svg {
    width: 50px;
    height: 50px;
    fill: var(--white);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 50px 20px;
    }

    .btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .dob-row {
        grid-template-columns: 1fr;
    }

    .radio-options {
        flex-direction: column;
        gap: 15px;
    }
}

/* Footer Styles - ULTRA AGGRESSIVE */
.footer-section,
footer.footer-section,
body footer.footer-section,
body .footer-section,
.wp-site-blocks footer.footer-section {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    padding: 40px 20px !important;
    text-align: center !important;
}

.footer-logo,
footer .footer-logo {
    max-width: 250px !important;
    margin-bottom: 20px !important;
}

.footer-disclaimer,
footer .footer-disclaimer,
footer p.footer-disclaimer {
    max-width: 800px !important;
    margin: 0 auto 20px !important;
    opacity: 0.9 !important;
    color: var(--white) !important;
}

.footer-copyright,
footer .footer-copyright,
footer p.footer-copyright {
    color: var(--white) !important;
}

.footer-links,
footer .footer-links,
footer p.footer-links {
    font-size: 0.9rem !important;
    margin-top: 10px !important;
}

.footer-links a,
footer .footer-links a,
footer p.footer-links a {
    color: var(--primary-orange) !important;
    text-decoration: none !important;
}

.footer-links a:hover,
footer .footer-links a:hover,
footer p.footer-links a:hover {
    text-decoration: underline !important;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none;
}
