/* ============================================================
   Electrisim Funnel CRO styles
   Used on: index.html, pricing.html, all article pages, model pages
   Components:
     - .funnel-trust-strip          (above pricing cards)
     - .funnel-testimonials         (social proof row)
     - .funnel-logo-strip           (used-by logos)
     - .funnel-billing-faq          (billing-specific FAQ)
     - .funnel-risk-reversal        (post-CTA microcopy)
     - .funnel-article-cta          (end-of-article subscribe block)
     - .funnel-sticky-cta           (mobile floating Subscribe bar)
     - .funnel-pricing-hero         (pricing.html hero)
     - .funnel-checklist            (what-you-get list)
   ============================================================ */

/* ===== Trust strip above pricing cards ===== */
.funnel-trust-strip {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 28px 36px;
    margin: 0 auto 40px;
    padding: 18px 24px;
    background: rgba(47, 91, 234, 0.04);
    border: 1px solid rgba(47, 91, 234, 0.10);
    border-radius: 12px;
    max-width: 920px;
}
.funnel-trust-strip__item {
    display: inline-flex; align-items: center; gap: 8px;
    color: #374151; font-size: 14px; font-weight: 500;
}
.funnel-trust-strip__item i {
    color: #10b981; font-size: 16px;
}
@media (max-width: 576px) {
    .funnel-trust-strip { gap: 14px 20px; padding: 14px 16px; }
    .funnel-trust-strip__item { font-size: 13px; }
}

/* ===== Testimonials row ===== */
.funnel-testimonials {
    margin-top: 60px;
}
.funnel-testimonials__title {
    text-align: center; font-size: 22px; font-weight: 600;
    color: #1f2937; margin-bottom: 30px;
}
.funnel-testimonial {
    background: #fff; border-radius: 12px; padding: 28px 26px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(47, 91, 234, 0.10);
    display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.funnel-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(47, 91, 234, 0.10);
}
.funnel-testimonial__quote {
    font-size: 15px; line-height: 1.65; color: #374151;
    margin: 0 0 18px 0; font-style: italic;
    flex: 1;
}
.funnel-testimonial__quote::before {
    content: '\201C'; color: #2f5bea; font-size: 36px;
    line-height: 0; margin-right: 4px; vertical-align: -10px;
    font-family: Georgia, serif;
}
.funnel-testimonial__author {
    display: flex; align-items: center; gap: 12px;
    margin-top: auto; padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}
.funnel-testimonial__avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #2f5bea 0%, #6366f1 100%);
    color: #fff; font-weight: 700; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.funnel-testimonial__name {
    font-size: 14px; font-weight: 600; color: #1f2937; line-height: 1.2;
}
.funnel-testimonial__role {
    font-size: 13px; color: #6b7280; line-height: 1.3;
}

/* ===== Used-by logos / placeholder strip ===== */
.funnel-logo-strip {
    text-align: center; margin: 50px 0 0;
    padding: 26px 20px;
    background: #f9fafb; border-radius: 10px;
}
.funnel-logo-strip__label {
    font-size: 13px; font-weight: 600; letter-spacing: 1.2px;
    text-transform: uppercase; color: #6b7280;
    margin-bottom: 16px;
}
.funnel-logo-strip__items {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 28px 44px;
}
.funnel-logo-strip__items img {
    height: 32px; opacity: 0.7; filter: grayscale(1);
    transition: opacity 0.2s ease, filter 0.2s ease;
}
.funnel-logo-strip__items img:hover {
    opacity: 1; filter: grayscale(0);
}
.funnel-logo-strip__placeholder {
    color: #9ca3af; font-size: 14px; font-weight: 500;
    padding: 6px 14px; border: 1px dashed #d1d5db; border-radius: 6px;
}

/* ===== Billing FAQ ===== */
.funnel-billing-faq {
    margin-top: 60px;
    max-width: 880px; margin-left: auto; margin-right: auto;
}
.funnel-billing-faq__title {
    text-align: center; font-size: 22px; font-weight: 600;
    color: #1f2937; margin-bottom: 8px;
}
.funnel-billing-faq__sub {
    text-align: center; font-size: 15px; color: #6b7280;
    margin-bottom: 28px;
}
.funnel-billing-faq__list {
    list-style: none; padding: 0; margin: 0;
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}
.funnel-billing-faq__item {
    border-bottom: 1px solid #e5e7eb;
}
.funnel-billing-faq__item:last-child { border-bottom: 0; }
.funnel-billing-faq__q {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 18px 22px; cursor: pointer;
    background: none; border: 0; text-align: left;
    font-size: 16px; font-weight: 600; color: #1f2937;
    transition: background 0.2s ease;
}
.funnel-billing-faq__q:hover { background: #f9fafb; }
.funnel-billing-faq__q .chevron {
    transition: transform 0.25s ease;
    color: #2f5bea; flex-shrink: 0; margin-left: 12px;
}
.funnel-billing-faq__item.is-open .funnel-billing-faq__q .chevron {
    transform: rotate(180deg);
}
.funnel-billing-faq__a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 22px;
}
.funnel-billing-faq__item.is-open .funnel-billing-faq__a {
    max-height: 500px;
}
.funnel-billing-faq__a-inner {
    padding: 0 0 18px 0;
    font-size: 15px; line-height: 1.65; color: #4b5563;
}
.funnel-billing-faq__a-inner a { color: #2f5bea; font-weight: 500; }

/* ===== Risk reversal microcopy under CTA ===== */
.funnel-risk-reversal {
    text-align: center; margin-top: 14px;
    font-size: 13px; color: #6b7280; line-height: 1.6;
}
.funnel-risk-reversal i {
    color: #10b981; margin-right: 4px;
}
.funnel-risk-reversal__sep {
    margin: 0 8px; color: #d1d5db;
}

/* ===== End-of-article CTA card ===== */
.funnel-article-cta {
    margin: 60px auto 30px;
    max-width: 880px;
    padding: 36px 32px;
    background: linear-gradient(135deg, rgba(47, 91, 234, 0.06) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(47, 91, 234, 0.18);
    border-radius: 16px;
    display: flex; align-items: center; gap: 32px;
    box-shadow: 0 6px 24px rgba(47, 91, 234, 0.08);
}
.funnel-article-cta__icon {
    flex-shrink: 0;
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.funnel-article-cta__body {
    flex: 1;
}
.funnel-article-cta__title {
    font-size: 22px; font-weight: 700; color: #1f2937;
    margin: 0 0 6px 0;
}
.funnel-article-cta__title strong {
    color: #10b981;
}
.funnel-article-cta__desc {
    font-size: 15px; line-height: 1.6; color: #4b5563;
    margin: 0 0 4px 0;
}
.funnel-article-cta__actions {
    flex-shrink: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 8px;
    min-width: 220px;
}
.funnel-article-cta__btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff; padding: 14px 26px; border-radius: 50px;
    font-weight: 700; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    white-space: nowrap;
}
.funnel-article-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    color: #fff;
}
.funnel-article-cta__sub {
    font-size: 12px; color: #6b7280; text-align: center;
}
.funnel-article-cta__sub i {
    color: #10b981; margin-right: 3px;
}
@media (max-width: 768px) {
    .funnel-article-cta {
        flex-direction: column; text-align: center; padding: 28px 22px; gap: 18px;
    }
    .funnel-article-cta__actions { width: 100%; min-width: 0; }
}

/* ===== Mobile sticky CTA ===== */
.funnel-sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px;
    z-index: 990;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    padding: 14px 18px; border-radius: 14px;
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.45);
    text-decoration: none !important;
    display: none;                /* shown via JS or media query */
    align-items: center; justify-content: space-between;
    font-weight: 700; font-size: 15px;
    transform: translateY(120%);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.25s ease;
    opacity: 0;
}
.funnel-sticky-cta.is-visible {
    transform: translateY(0); opacity: 1;
}
.funnel-sticky-cta__label {
    display: inline-flex; align-items: center; gap: 8px;
}
.funnel-sticky-cta__label i { font-size: 16px; }
.funnel-sticky-cta__price {
    background: rgba(255,255,255,0.18);
    padding: 4px 10px; border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.2px;
}
.funnel-sticky-cta__arrow { font-size: 16px; opacity: 0.95; }
@media (max-width: 768px) {
    .funnel-sticky-cta { display: flex; }
}
body.cookie-notice-visible .funnel-sticky-cta { bottom: 70px; }

/* ===== pricing.html hero ===== */
.funnel-pricing-hero {
    padding: 90px 0 50px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}
.funnel-pricing-hero h1 {
    font-size: 44px; font-weight: 700; color: #1f2937;
    margin: 0 0 14px;
}
.funnel-pricing-hero h1 strong {
    color: #2f5bea;
}
.funnel-pricing-hero p {
    font-size: 18px; line-height: 1.6; color: #4b5563;
    max-width: 720px; margin: 0 auto 26px;
}
.funnel-pricing-hero__bar {
    width: 80px; height: 4px; margin: 0 auto 22px;
    background: #2f5bea; border-radius: 2px;
}
.funnel-pricing-hero__chips {
    display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-top: 6px;
}
.funnel-pricing-hero__chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px;
    background: #fff; border: 1px solid rgba(47,91,234,0.15);
    color: #1f2937; font-size: 13px; font-weight: 500;
}
.funnel-pricing-hero__chip i { color: #10b981; }
@media (max-width: 768px) {
    .funnel-pricing-hero { padding: 70px 0 40px; }
    .funnel-pricing-hero h1 { font-size: 32px; }
    .funnel-pricing-hero p { font-size: 16px; }
}

/* ===== "What you get" checklist (pricing page) ===== */
.funnel-checklist {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
    max-width: 760px; margin: 30px auto 0;
}
.funnel-checklist li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 15px; color: #374151; line-height: 1.5;
}
.funnel-checklist li i {
    color: #10b981; font-size: 16px; margin-top: 4px; flex-shrink: 0;
}
@media (max-width: 576px) {
    .funnel-checklist { grid-template-columns: 1fr; }
}

/* ===== Final CTA band on pricing.html ===== */
.funnel-final-cta {
    margin: 70px 0 0;
    padding: 60px 30px;
    background: linear-gradient(135deg, #2f5bea 0%, #6366f1 100%);
    color: #fff; text-align: center;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(47,91,234,0.25);
}
.funnel-final-cta h2 {
    color: #fff; font-size: 30px; font-weight: 700; margin: 0 0 12px;
}
.funnel-final-cta p {
    color: #e0e7ff; font-size: 17px; line-height: 1.55;
    max-width: 640px; margin: 0 auto 28px;
}
.funnel-final-cta .funnel-final-cta__btn {
    background: #fff; color: #2f5bea !important;
    padding: 16px 38px; border-radius: 50px;
    font-weight: 700; font-size: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.funnel-final-cta .funnel-final-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.funnel-final-cta .funnel-final-cta__sub {
    margin-top: 16px; color: #c7d2fe; font-size: 13px;
}
@media (max-width: 576px) {
    .funnel-final-cta { padding: 44px 22px; }
    .funnel-final-cta h2 { font-size: 24px; }
    .funnel-final-cta p { font-size: 15px; }
}

/* ===== Refined hero pricing-card on pricing.html ===== */
.funnel-pricing-section { padding: 30px 0 70px; }

/* Override single-pricing-table on pricing page so 'featured' stands tall */
@media (max-width: 991px) {
    .single-pricing-table.featured { transform: scale(1); }
}
