/* Landing page templates - modern shared styles
   Self-contained: also provides fallbacks for theme classes the templates use,
   scoped under body.landing* so they don't interfere with non-landing pages. */

body[class*="landing"] {
    background-color: #fff;
}

/* Theme-class fallbacks (Arena uses these utility classes; FTN doesn't) */
body[class*="landing"] .bg_gray {
    background-color: #f6f7fa;
}

body[class*="landing"] .bg_white {
    background-color: #fff;
}

body[class*="landing"] .margin_60_40 {
    padding: 96px 0;
}

body[class*="landing"] .margin_30_40 {
    padding: 72px 0;
}

body[class*="landing"] .main_title {
    margin-bottom: 48px;
}

body[class*="landing"] .main_title.center {
    text-align: center;
}

body[class*="landing"] .btn_1 {
    display: inline-block;
    padding: 14px 32px;
    background: #4DB7FE;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(77, 183, 254, 0.2);
}

body[class*="landing"] .btn_1:hover {
    background: #2c8fd6;
    box-shadow: 0 6px 16px rgba(77, 183, 254, 0.35);
    transform: translateY(-1px);
    color: #fff;
}

/* Strip dated italic / oversized fonts inside landing pages.
   Hero overlay text is white (handled below) — exclude it here so the
   dark text colour doesn't fight the hero background. */
body[class*="landing"] h1,
body[class*="landing"] h2,
body[class*="landing"] h3,
body[class*="landing"] h4 {
    font-style: normal;
    color: #1d243a;
    letter-spacing: -0.01em;
}

body[class*="landing"] .landing-hero-overlay h1,
body[class*="landing"] .landing-hero-overlay h2,
body[class*="landing"] .landing-hero-overlay h3,
body[class*="landing"] .landing-hero-overlay h4,
body[class*="landing"] .landing-hero-overlay p {
    color: #fff;
}

body[class*="landing"] .landing-final-cta h1,
body[class*="landing"] .landing-final-cta h2,
body[class*="landing"] .landing-final-cta h3,
body[class*="landing"] .landing-final-cta h4,
body[class*="landing"] .landing-final-cta p {
    color: #fff;
}

body[class*="landing"] .lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #5a6470;
    font-weight: 400;
}

/* ========== HERO ========== */

.landing-hero-wrap {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: stretch;
    background-color: #1d243a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.landing-hero-wrap.landing-hero-compact {
    min-height: 420px;
}

.landing-hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    padding: 120px 0;
}

.landing-hero-headline {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.landing-hero-sub {
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.55;
    font-weight: 400;
}

.landing-hero-btn {
    margin-top: 1.5rem;
    padding: 16px 40px !important;
    font-size: 16px !important;
}

/* Edit-mode floating image-swap card */
.landing-hero-bg-edit {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.96);
    color: #1d243a;
    border-radius: 8px;
    padding: 12px;
    width: 240px;
    max-width: calc(100% - 32px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.landing-hero-bg-edit-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7388;
    margin-bottom: 8px;
}

.landing-hero-bg-edit .fuzone {
    min-height: 80px;
    padding: 8px;
}

.landing-hero-bg-edit-img {
    max-height: 56px !important;
    width: auto !important;
    margin: 0 auto;
}

/* Edit-mode CTA pattern */
.landing-cta-edit-row {
    display: inline-block;
}

.landing-cta-link-caption {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.35);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    max-width: 100%;
    word-break: break-all;
}

.landing-cta-link-caption-dark {
    color: #6b7388;
    background: rgba(0, 0, 0, 0.04);
}

/* ========== FEATURE / CARD GRIDS ========== */

.landing-feature-card,
.landing-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    height: 100%;
    padding: 36px 28px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(20, 30, 50, 0.04);
}

.landing-feature-card:hover,
.landing-card:hover {
    box-shadow: 0 12px 32px rgba(20, 30, 50, 0.08);
    transform: translateY(-3px);
}

.landing-feature-image,
.landing-card-image {
    margin-bottom: 24px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-feature-img,
.landing-card-img {
    max-height: 72px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* Quieter upload placeholder inside cards */
.landing-feature-image .fuzone,
.landing-card-image .fuzone {
    min-height: 100px;
    padding: 12px;
}

.landing-feature-image .fuzone .fu-text,
.landing-card-image .fuzone .fu-text {
    font-size: 12px;
}

.landing-feature-card h3,
.landing-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1d243a;
}

.landing-feature-card p,
.landing-card p {
    color: #5a6470;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ========== TESTIMONIAL ========== */

.landing-testimonial {
    padding: 48px 0;
}

.landing-quote {
    font-size: 1.45rem;
    font-style: normal;
    line-height: 1.55;
    color: #1d243a;
    font-weight: 500;
    border-left: none;
    padding-left: 0;
    margin: 0 auto;
    position: relative;
}

.landing-quote::before {
    content: "\201C";
    display: block;
    font-size: 4rem;
    color: #4DB7FE;
    line-height: 0.6;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}

.landing-quote-author {
    margin-top: 24px;
    color: #5a6470;
}

/* ========== FAQ ========== */

.landing-faq .accordion-item {
    margin-bottom: 12px;
    border: 1px solid #eef0f3;
    border-radius: 10px !important;
    overflow: hidden;
    background: #fff;
}

.landing-faq .accordion-button {
    padding: 20px 24px;
    font-weight: 500;
    color: #1d243a;
    background: #fff;
}

.landing-faq .accordion-button:not(.collapsed) {
    background: #f6f7fa;
    color: #1d243a;
    box-shadow: none;
}

.landing-faq .accordion-body {
    padding: 8px 24px 24px;
    color: #5a6470;
    line-height: 1.65;
}

.landing-faq-edit-item {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 16px;
}

.landing-faq-edit-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6b7388;
    margin-top: 16px;
    margin-bottom: 6px;
}

.landing-faq-edit-label:first-child {
    margin-top: 0;
}

.landing-faq-edit-q {
    font-weight: 600;
    color: #1d243a;
    font-size: 1.05rem;
}

/* ========== FINAL CTA STRIP ========== */

.landing-final-cta {
    background: linear-gradient(135deg, #1d243a 0%, #2c3e50 100%) !important;
    padding: 72px 0 !important;
}

.landing-final-cta h2,
.landing-final-cta p {
    color: #fff;
}

/* ========== SPLIT ALTERNATING ========== */

.landing-split-row {
    margin-bottom: 6rem;
}

.landing-split-row:last-of-type {
    margin-bottom: 0;
}

.landing-split-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(20, 30, 50, 0.1);
}

.landing-split-text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.landing-split-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a6470;
}

/* ========== SEO LANDING ========== */

.landing-seo-aside {
    position: sticky;
    top: 100px;
}

.landing-seo-callout {
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 28px !important;
    box-shadow: 0 4px 14px rgba(20, 30, 50, 0.05);
}

.landing-seo-callout h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.landing-seo-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #3b4253;
}

.landing-seo-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.landing-seo-body ul {
    padding-left: 1.4rem;
}

.landing-seo-body li {
    margin-bottom: 8px;
}

/* ========== PRICING — COMPARISON TABLE ========== */

.landing-compare-wrap {
    overflow-x: auto;
    overflow-y: visible;
    border-radius: 14px;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 18px rgba(20, 30, 50, 0.04);
    background: #fff;
    padding-top: 18px; /* room for the absolutely-positioned "Most popular" pill */
}

.landing-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 880px;
}

.landing-compare-table th,
.landing-compare-table td {
    padding: 18px 22px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #eef0f3;
    background: #fff;
}

.landing-compare-table tbody tr:last-child th,
.landing-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.landing-compare-feature-col {
    width: 28%;
    background: #fff;
}

.landing-compare-feature {
    text-align: left;
    font-weight: 500;
    color: #1d243a;
    background: #f9fafc;
    border-right: 1px solid #eef0f3;
}

.landing-compare-tier {
    position: relative;
    padding: 28px 22px !important;
    background: #fff;
    border-left: 1px solid #eef0f3;
    width: 18%;
}

.landing-compare-tier.is-featured {
    background: linear-gradient(180deg, rgba(77, 183, 254, 0.08) 0%, rgba(77, 183, 254, 0) 100%);
    border-top: 3px solid #4DB7FE;
}

.landing-compare-tier.is-featured + .landing-compare-tier-name,
.landing-compare-tier.is-featured .landing-compare-tier-name {
    color: #2c8fd6;
}

.landing-compare-pill {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #4DB7FE;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.landing-compare-tier-name {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7388;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.landing-compare-tier-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1d243a;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.landing-compare-tier-unit {
    font-size: 0.85rem;
    color: #6b7388;
    margin-bottom: 20px;
}

.landing-compare-tier-cta a {
    width: 100%;
}

.landing-compare-cell {
    font-weight: 500;
    color: #1d243a;
    border-left: 1px solid #eef0f3;
    background: #fff;
}

.landing-compare-cell.is-featured {
    background: rgba(77, 183, 254, 0.04);
    color: #1d243a;
    font-weight: 600;
}

/* Tick / dash auto-styling — they're plain text in cells */
.landing-compare-cell {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .landing-compare-wrap {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-left: -16px;
        margin-right: -16px;
    }

    .landing-compare-tier-price {
        font-size: 1.8rem;
    }
}

/* ========== PRICING ========== */

.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.landing-pricing-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.landing-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(20, 30, 50, 0.1);
}

.landing-pricing-card.is-featured {
    border-color: #4DB7FE;
    box-shadow: 0 10px 30px rgba(77, 183, 254, 0.18);
}

.landing-pricing-card.is-featured::before {
    content: "Most popular";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #4DB7FE;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 5px 14px;
    border-radius: 999px;
}

.landing-pricing-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #6b7388;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.landing-pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #1d243a;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.landing-pricing-price-unit {
    font-size: 0.95rem;
    color: #6b7388;
    font-weight: 500;
}

.landing-pricing-tagline {
    color: #5a6470;
    margin: 16px 0 28px;
    line-height: 1.55;
}

.landing-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.landing-pricing-features li {
    padding: 10px 0;
    border-top: 1px solid #f0f2f5;
    color: #3b4253;
    font-size: 0.95rem;
    position: relative;
    padding-left: 26px;
}

.landing-pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #4DB7FE;
    font-weight: 700;
}

.landing-pricing-features li:first-child {
    border-top: none;
}

.landing-pricing-cta {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* ========== DEMO STRIP (pricing landing) ========== */

.landing-demo-strip {
    padding: 24px 0 56px;
}

.landing-demo-blurb {
    font-size: 0.95rem;
    color: #6b7388;
    margin-bottom: 12px;
}

.landing-demo-link {
    color: #4DB7FE;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(77, 183, 254, 0.4);
    padding-bottom: 1px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.landing-demo-link:hover {
    color: #2c8fd6;
    border-bottom-color: #2c8fd6;
}

/* ========== HOMEPAGE PROMO / ABOUT ========== */

.home-promo-strip {
    padding: 72px 0;
    background-color: #f6f7fa;
}

.home-promo-strip .home-promo-img img {
    max-width: 100%;
    border-radius: 12px;
}

.home-promo-text h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.home-about-blurb {
    padding: 56px 0;
    color: #5a6470;
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-cta-strip {
    padding: 56px 0;
    border-top: 1px solid #eef0f4;
}

.home-cta-strip + .home-cta-strip {
    padding-top: 24px;
}

.home-cta-strip h2 {
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.home-cta-strip p {
    color: #5a6470;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .home-cta-strip .text-md-end {
        margin-top: 1rem;
    }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    body[class*="landing"] .margin_60_40 {
        padding: 64px 0;
    }
    body[class*="landing"] .margin_30_40 {
        padding: 56px 0;
    }
    .landing-split-row {
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .landing-hero-overlay {
        padding: 80px 0;
    }
    .landing-hero-wrap {
        min-height: 460px;
    }
    .landing-seo-aside {
        position: static;
    }
    .landing-final-cta {
        padding: 56px 0 !important;
    }
}
