/* =====================================================================
   Landing V2 — additions ON TOP of free-rope-pack.css
   The landing Blade wraps in .frp-page + .landing-page, so every
   base style (.hero, .section, .btn-primary, .final-cta, etc.) is
   inherited directly from free-rope-pack.css. This file only defines
   blocks that don't exist on the lead-magnet page:
     - Landing proof band         (.landing-proof*)
     - What you get row           (.landing-what*)
     - Form 2-col + side panel    (.landing-form-*)
     - Testimonial carousel       (.landing-testimonials*)
     - 3-pillar Method cards      (.landing-pillar-*)
     - Why It Works bg image      (.landing-why-*)
     - FAQ accordion              (.landing-faq-*)
     - Chart Flow section wrapper (.landing-structure)
     - Small hero-visual override (static img, no hover)
   ===================================================================== */

/* --- Hero visual: static image (no hover, no cursor pointer). The
       base .hero-visual rule from free-rope-pack.css gives us the
       radius, shadow, fixed 520px height and bg-color. We just guarantee
       the child img fills the container. --- */
/* Tighter hero gap to the site header (was 120px 0 80px in FRP) */
.frp-page.landing-page .hero {
    padding: 88px 0 64px !important;
}
.frp-page.landing-page .hero-label {
    margin-bottom: 16px !important; /* was 28 — label now closer to title */
}
.frp-page.landing-page .landing-hero-visual {
    height: 420px;
    overflow: hidden;
}
.frp-page.landing-page .landing-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* Zoom crop: eliminates the green vegetation bands at top + bottom */
    transform: scale(1.22);
    transform-origin: center;
    display: block;
}

/* V3 — Hero micro-reassurance row directly under the CTAs */
.frp-page.landing-page .landing-hero-microline {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
}
.frp-page.landing-page .landing-hero-microline li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.1px;
}
.frp-page.landing-page .landing-hero-microline li svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* --- Flash errors --- */
.frp-page.landing-page .landing-flash-errors {
    max-width: 1280px;
    margin: 16px auto;
    padding: 14px 20px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.28);
    border-radius: 10px;
    color: #991B1B;
    font-size: 14px;
}
.frp-page.landing-page .landing-flash-errors ul { margin: 0; padding-left: 20px; }

/* =====================================================================
   PROOF BAND
   ===================================================================== */
/* V3: compact single-line layout (4 items only, no "5 continents").
   On mobile the row stays visible on one line with smaller type. */
.frp-page.landing-page .landing-proof {
    background: #F8FAFC;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 20px 0;
}
.frp-page.landing-page .landing-proof-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.frp-page.landing-page .landing-proof-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    flex-shrink: 0;
    text-align: left;
}
.frp-page.landing-page .landing-proof-item-stars {
    gap: 10px;
    align-items: center;
}
.frp-page.landing-page .landing-proof-stars {
    display: inline-flex;
    gap: 2px;
    color: #FFD700;
    margin: 0;
}
.frp-page.landing-page .landing-proof-stars svg { width: 14px; height: 14px; fill: currentColor; }
.frp-page.landing-page .landing-proof-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.6px;
    margin: 0;
}
.frp-page.landing-page .landing-proof-num-sm {
    font-size: 16px;
    color: var(--text-dark);
}
.frp-page.landing-page .landing-proof-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

/* =====================================================================
   WHAT YOU GET — 3 prominent badges
   ===================================================================== */
.frp-page.landing-page .landing-what {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 32px 0;
}
.frp-page.landing-page .landing-what-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.frp-page.landing-page .landing-what-item {
    text-align: center;
    min-width: 110px;
}
.frp-page.landing-page .landing-what-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -1.2px;
    margin-bottom: 6px;
}
.frp-page.landing-page .landing-what-num-accent { color: var(--accent); font-size: 32px; }
.frp-page.landing-page .landing-what-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.frp-page.landing-page .landing-what-divider {
    width: 1px;
    height: 40px;
    background: rgba(15, 23, 42, 0.1);
}

/* =====================================================================
   FORM — 2-column (card left + dark side right)
   ===================================================================== */
.frp-page.landing-page .landing-form-section {
    background: #F5F9FF;
    padding: 72px 0;
    scroll-margin-top: 80px;
}
.frp-page.landing-page .landing-form-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    align-items: stretch;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(10, 22, 40, 0.12), 0 8px 24px rgba(10, 22, 40, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
}
.frp-page.landing-page .landing-form-card {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.frp-page.landing-page .landing-form-card .section-label { margin-bottom: 14px; }
.frp-page.landing-page .landing-form-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.6px;
    line-height: 1.2;
    margin: 0 0 10px 0;
}
.frp-page.landing-page .landing-form-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0 0 14px 0; /* tightened — was 24, felt too detached from the fields */
}
.frp-page.landing-page .landing-honeypot {
    position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0;
}
.frp-page.landing-page .landing-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.frp-page.landing-page .landing-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #FFFFFF;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
    outline: none;
}
.frp-page.landing-page .landing-form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(12, 140, 233, 0.12);
}
/* Country select — match input styling + custom chevron icon */
.frp-page.landing-page select.landing-form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'><path d='M5 8l5 5 5-5' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    cursor: pointer;
}
.frp-page.landing-page .landing-form-submit {
    width: 100%;
    margin-top: 4px;
}
/* V3: 4-item reassurance row replacing the single reassurance string */
.frp-page.landing-page .landing-form-reassurance-row {
    list-style: none;
    margin: 16px 0 0 0;
    padding: 14px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.frp-page.landing-page .landing-form-reassurance-row li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1px;
}
.frp-page.landing-page .landing-form-reassurance-row li svg {
    width: 14px;
    height: 14px;
    color: #29CC57;
    flex-shrink: 0;
}

/* --- Form side panel (dark, matches signup-v2 pattern) --- */
.frp-page.landing-page .landing-form-side {
    position: relative;
    overflow: hidden;
    background: #0A1628 url('/images/testimage-hero.webp') center center / cover no-repeat;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
}
.frp-page.landing-page .landing-form-side-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,11,21,0.92) 0%, rgba(10,22,40,0.82) 45%, rgba(12,140,233,0.35) 100%);
    z-index: 1;
}
.frp-page.landing-page .landing-form-side-content {
    position: relative;
    z-index: 2;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
}
.frp-page.landing-page .landing-form-side-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--accent);
    margin: 0 0 20px 0;
    padding: 7px 14px;
    background: rgba(12,140,233,0.2);
    border: 1px solid rgba(12,140,233,0.35);
    border-radius: 100px;
    width: fit-content;
}
.frp-page.landing-page .landing-form-side-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.6px;
    margin: 0 0 14px 0;
    color: #FFFFFF;
}
.frp-page.landing-page .landing-form-side-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    margin: 0 0 24px 0;
    max-width: 440px;
}
/* V3: side panel — 5 lesson titles only (desktop). Rod asked to
   remove the email mockup framing (header, greeting, CTA, "+2 more"
   placeholder) and keep just what matters: the value inside. */
.frp-page.landing-page .landing-side-lessons {
    list-style: none;
    margin: 4px 0 24px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.frp-page.landing-page .landing-side-lessons li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.frp-page.landing-page .landing-side-lessons li:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(12, 140, 233, 0.45);
    transform: translateX(2px);
}
.frp-page.landing-page .landing-side-lesson-n {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #FFFFFF;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.frp-page.landing-page .landing-side-lesson-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.frp-page.landing-page .landing-side-lesson-time {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.frp-page.landing-page .landing-form-side-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}
.frp-page.landing-page .landing-form-side-trust svg { width: 14px; height: 14px; flex-shrink: 0; }

/* =====================================================================
   METHOD — 3-pillar cards
   ===================================================================== */
.frp-page.landing-page .landing-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.frp-page.landing-page .landing-pillar-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 32px 28px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.frp-page.landing-page .landing-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.08);
    border-color: var(--accent);
}
.frp-page.landing-page .landing-pillar-icon {
    width: 52px; height: 52px;
    background: rgba(12, 140, 233, 0.12);
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px 0;
    flex-shrink: 0;
}
.frp-page.landing-page .landing-pillar-icon svg { width: 26px; height: 26px; }
.frp-page.landing-page .landing-pillar-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    line-height: 1.3;
    letter-spacing: -0.2px;
}
.frp-page.landing-page .landing-pillar-desc {
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================================
   CHART FLOW section wrapper
   ===================================================================== */
.frp-page.landing-page .landing-structure .section-head {
    margin-bottom: 40px;
}

/* =====================================================================
   WHY IT WORKS — image as full-bleed section background
   ===================================================================== */
.frp-page.landing-page .landing-why-bg {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    color: #FFFFFF;
}
.frp-page.landing-page .landing-why-bg-image {
    position: absolute;
    inset: 0;
    background: url('/images/landing-v2/why-it-works-handline.png') center center / cover no-repeat;
    z-index: 0;
}
.frp-page.landing-page .landing-why-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5,11,21,0.65) 0%, rgba(5,11,21,0.45) 45%, rgba(5,11,21,0.75) 100%),
        linear-gradient(90deg, rgba(5,11,21,0.35) 0%, rgba(5,11,21,0) 40%, rgba(5,11,21,0) 60%, rgba(5,11,21,0.35) 100%);
    z-index: 1;
}
.frp-page.landing-page .landing-why-bg .container {
    position: relative;
    z-index: 2;
}
.frp-page.landing-page .landing-why-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.frp-page.landing-page .landing-why-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--accent);
    margin: 0 0 24px 0;
    padding: 8px 16px;
    background: rgba(12,140,233,0.15);
    border: 1px solid rgba(12,140,233,0.3);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.frp-page.landing-page .landing-why-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #FFFFFF;
    margin: 0 0 20px 0;
}
/* V4: 2 paragraphs split for mobile readability */
.frp-page.landing-page .landing-why-lead {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255,255,255,0.92);
    margin: 0 0 16px 0;
    max-width: 720px;
}
.frp-page.landing-page .landing-why-lead:last-child { margin-bottom: 0; }

/* =====================================================================
   FAQ accordion
   ===================================================================== */
.frp-page.landing-page .landing-faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.frp-page.landing-page .landing-faq-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    transition: border-color 0.3s;
}
.frp-page.landing-page .landing-faq-item.is-open {
    border-bottom-color: var(--accent);
}
.frp-page.landing-page .landing-faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    font-family: inherit;
    letter-spacing: -0.1px;
    cursor: pointer;
}
.frp-page.landing-page .landing-faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: rgba(12,140,233,0.12);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.frp-page.landing-page .landing-faq-item.is-open .landing-faq-icon {
    background: var(--accent);
    color: #FFFFFF;
    transform: rotate(45deg);
}
.frp-page.landing-page .landing-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.frp-page.landing-page .landing-faq-item.is-open .landing-faq-answer {
    max-height: 500px;
}
.frp-page.landing-page .landing-faq-answer-inner {
    padding: 0 0 22px 0;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.65;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
    .frp-page.landing-page .landing-form-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
    .frp-page.landing-page .landing-form-side { order: -1; }
    .frp-page.landing-page .landing-form-card { padding: 40px 32px; }
    .frp-page.landing-page .landing-form-side-content { padding: 36px 32px; }
    .frp-page.landing-page .landing-pillars-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 900px) {
    /* Hero tightening so the whole hero block fits in viewport without scroll */
    .frp-page.landing-page .hero {
        padding: 40px 0 24px !important;
    }
    .frp-page.landing-page .landing-hero-visual {
        height: auto;
        aspect-ratio: 16 / 11;
        max-height: 220px;
        overflow: hidden;
        margin-top: 8px;
    }
    .frp-page.landing-page .landing-hero-visual img {
        /* Zoom crop on mobile too — kill the green vegetation bands top/bottom
           while keeping both characters (Arthur + canyoner) in frame */
        transform: scale(1.18);
        transform-origin: center;
        object-position: center center;
    }
    /* V4: tighter pillar cards on mobile (Rod: "resserrer les blocs") */
    .frp-page.landing-page .landing-pillar-card {
        padding: 22px 20px 20px;
    }
    .frp-page.landing-page .landing-pillar-icon {
        width: 44px; height: 44px;
        margin-bottom: 14px;
    }
    .frp-page.landing-page .landing-pillar-icon svg { width: 22px; height: 22px; }
    .frp-page.landing-page .landing-pillar-title { font-size: 17px; margin-bottom: 8px; }
    .frp-page.landing-page .landing-pillar-desc { font-size: 14px; line-height: 1.55; }
    /* Why paragraphs: tighter on mobile for readability */
    .frp-page.landing-page .landing-why-lead {
        font-size: 16px;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    /* Proof band: switch from horizontal scroll to 2x2 grid */
    .frp-page.landing-page .landing-proof { padding: 18px 0; }
    .frp-page.landing-page .landing-proof-inner {
        flex-wrap: wrap;
        overflow: visible;
        justify-content: center;
        gap: 14px 24px;
    }
    .frp-page.landing-page .landing-proof-item {
        flex: 1 1 calc(50% - 24px);
        justify-content: center;
        min-width: 0;
    }
    .frp-page.landing-page .landing-form-section { padding: 56px 0; }
    .frp-page.landing-page .landing-why-bg { padding: 72px 0; }
}
@media (max-width: 600px) {
    /* Hero micro-reassurance row: force single line, tighter */
    .frp-page.landing-page .landing-hero-microline {
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: flex-start;
    }
    .frp-page.landing-page .landing-hero-microline li {
        font-size: 11.5px;
        gap: 5px;
        white-space: nowrap;
    }
    .frp-page.landing-page .landing-hero-microline li svg {
        width: 13px;
        height: 13px;
    }
    .frp-page.landing-page .landing-proof-item { flex: 1 1 calc(50% - 12px); min-width: 0; }
    .frp-page.landing-page .landing-form-grid { border-radius: 18px; }
    .frp-page.landing-page .landing-form-card { padding: 32px 22px; }
    .frp-page.landing-page .landing-form-side { display: none; }  /* mobile: focus on form */
    .frp-page.landing-page .landing-form-side-title { font-size: 22px; }
}
