/* Pitchlogic — Elementor-specific overrides */

/* Ensure Elementor canvas template has no margin/padding from theme */
body.elementor-page .site-header + #main-content,
body.elementor-page-template-canvas { padding-top: 0; }

/* Global container width */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
    max-width: 1280px;
}

/* Override Elementor default font with theme fonts */
.elementor-widget-heading .elementor-heading-title {
    font-family: 'Orbitron', sans-serif;
}
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
    font-family: 'Poppins', sans-serif;
    color: var(--color-muted, #9BA3B2);
}

/* Elementor buttons match theme */
.elementor-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 44px;
}

/* Remove Elementor default section padding when using full-width */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
    padding: 0;
}

/* Ensure Elementor popups/modals sit above sticky header */
.elementor-popup-modal { z-index: 9999; }

/* Fix Elementor image widget on dark backgrounds */
.elementor-widget-image img { border-radius: 12px; }

/* Elementor icon list matches theme muted color */
.elementor-icon-list-text { color: var(--color-muted, #9BA3B2); font-family: 'Poppins', sans-serif; }

/* Smooth hover transitions on all Elementor links */
.elementor a { transition: color 0.3s ease, opacity 0.3s ease; }

/* ── Heading widget: correct color on dark bg ─────────────────────────── */
.elementor-widget-heading .elementor-heading-title {
    color: #FFFFFF;
}

/* ── Accordion (FAQ) widget — dark theme style ────────────────────────── */
.pl-faq .elementor-accordion {
    border: none;
    background: transparent;
}
.pl-faq .elementor-accordion-item {
    background: var(--bg-card, #0D1B2E);
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.pl-faq .elementor-tab-title {
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 22px 24px !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color .2s ease;
}
.pl-faq .elementor-tab-title:hover,
.pl-faq .elementor-tab-title.elementor-active { color: var(--color-accent, #1A65FF) !important; }
.pl-faq .elementor-tab-title .elementor-accordion-icon { color: #9BA3B2; transition: transform .3s ease; }
.pl-faq .elementor-tab-title.elementor-active .elementor-accordion-icon { transform: rotate(180deg); color: var(--color-accent, #1A65FF); }
.pl-faq .elementor-tab-content {
    background: transparent !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    color: #9BA3B2 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    padding: 18px 24px 22px !important;
}

/* ── Feature row inner sections — remove default Elementor gaps ────────── */
.pl-feature-row .elementor-inner-section { width: 100%; }
.pl-feature-row .elementor-column { padding: 0 20px; }

/* ── Pricing card HTML widget padding reset ────────────────────────────── */
.pl-pricing .elementor-widget-html { height: 100%; }
.pl-pricing .elementor-widget-wrap { height: 100%; }
.pl-pricing .elementor-column { display: flex; flex-direction: column; }

/* ── Image widget — no border-radius on theme images ──────────────────── */
.pl-hero .elementor-widget-image img,
.pl-cta .elementor-widget-image img,
.pl-hiw .elementor-widget-image img { border-radius: 0; }

/* ── Section full-width containers ────────────────────────────────────── */
.elementor-section-stretched.elementor-section-full_width > .elementor-container {
    max-width: 1240px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
}

/* ── CTA section text color overrides ──────────────────────────────────── */
.pl-cta .elementor-heading-title { color: #FFFFFF !important; }
.pl-cta .elementor-widget-text-editor,
.pl-cta .elementor-widget-text-editor p { color: rgba(255,255,255,0.85) !important; }

/* ── Hero section content alignment ───────────────────────────────────── */
.pl-hero .elementor-widget-wrap {
    align-items: center;
    text-align: center;
}
.pl-hero .elementor-heading-title { color: #FFFFFF !important; }

/* ── Responsive: stack columns on mobile ──────────────────────────────── */
@media (max-width: 767px) {
    .pl-feature-row .elementor-inner-section .elementor-column,
    .pl-hiw .elementor-column,
    .pl-compare .elementor-column,
    .pl-cta .elementor-column {
        width: 100% !important;
    }
    .pl-pricing .elementor-inner-section .elementor-column {
        width: 100% !important;
        margin-bottom: 24px;
    }
}
