/* =============================================================================
   InvestProp — Free Prop page
   -----------------------------------------------------------------------------
   Every section of `site/free-prop.blade.php`. Replaces the ~1200 lines of
   inline <style> the page used to carry, and rebuilds each section to the
   standard the home page was rebuilt to (see bento.css / versus.css /
   atlas.css): one shared header component, one card language, one spacing
   rhythm, and a token block instead of hard-coded hex per rule.

   Scoping
   -------
   Every section root carries `.fx-sec`, which is where the tokens live, so a
   section can be lifted onto another page without dragging a body class along.
   The hero visual keeps its own file (`free-hero.css`, `.fh-stage`).

   Conventions this file must respect (see the site design system):
     • dark is the DEFAULT theme (`html.dark`); light is the opt-in override,
       and neither compiled sheet sets a global text colour — every block here
       declares its own.
     • RTL is the default direction; logical properties throughout, so the LTR
       build mirrors without a second rule set.
   ========================================================================== */

.fx-sec {
    /* --- palette (dark = default) ----------------------------------------- */
    --fx-primary: #007BFF;
    --fx-primary-2: #1C8AFF;
    --fx-cyan: #5ED2EC;
    --fx-sky: #8DC4FF;
    --fx-mint: #3DD68C;
    --fx-amber: #F4A641;
    /* the free-prop-for-everyone campaign (way 4) — its own hue on every surface */
    --fx-violet: #A78BFA;
    --fx-violet-2: #8B5CF6;

    --fx-surface: rgba(7, 19, 35, .72);
    --fx-surface-2: rgba(10, 26, 47, .92);
    --fx-raised: rgba(16, 34, 58, .9);
    --fx-line: rgba(141, 196, 255, .14);
    --fx-line-2: rgba(141, 196, 255, .3);
    --fx-text: #EAF2FF;
    --fx-text-2: #C3D4EA;
    --fx-muted: #8FA5C2;

    --fx-grad: linear-gradient(94.98deg, #007BFF 4.01%, #1C8AFF 103.03%);
    --fx-glow: 0 10px 40px -12px rgba(0, 123, 255, .55);
    --fx-shadow: 0 28px 70px -38px rgba(0, 0, 0, .92);
    --fx-radius: 20px;
    --fx-radius-sm: 14px;

    position: relative;
    margin-top: 96px;
}

html:not(.dark) .fx-sec {
    --fx-surface: rgba(255, 255, 255, .82);
    --fx-surface-2: #FFFFFF;
    --fx-raised: #F3F7FD;
    --fx-line: rgba(16, 46, 88, .12);
    --fx-line-2: rgba(16, 46, 88, .24);
    --fx-text: #0F1F33;
    --fx-text-2: #33506F;
    --fx-muted: #5D7492;
    --fx-shadow: 0 26px 60px -40px rgba(10, 40, 80, .5);
    --fx-violet: #7C3AED;
    --fx-violet-2: #6D28D9;
}

@media (width < 48rem) {
    .fx-sec { margin-top: 64px; }
}

/* =============================================================================
   Shared primitives
   ========================================================================== */

/* --- section header: eyebrow pill → title → lead --------------------------
   The old header put a letter-spaced ghost word UNDER the title, which read as
   a stray caption. An eyebrow belongs above the thing it labels. */
.fx-head {
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 40px;
    text-align: center;
}

.fx-head--start {
    margin-inline: 0;
    text-align: start;
}

.fx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding-inline: 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid var(--fx-line-2);
    background: color-mix(in srgb, var(--fx-primary) 10%, transparent);
    color: var(--fx-sky);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
}

html:not(.dark) .fx-eyebrow { color: #0B62C4; }

.fx-eyebrow i { font-size: 15px; }

.fx-title {
    margin: 0;
    color: var(--fx-text);
    font-size: clamp(23px, 3.2vw, 36px);
    font-weight: 900;
    line-height: 1.4;
}

.fx-title b {
    font-weight: 900;
    background: linear-gradient(96deg, var(--fx-primary-2) 0%, var(--fx-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fx-lead {
    margin: 14px auto 0;
    max-width: 620px;
    color: var(--fx-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
}

.fx-head--start .fx-lead { margin-inline: 0; }

/* --- card ---------------------------------------------------------------- */
.fx-card {
    position: relative;
    border-radius: var(--fx-radius);
    border: 1px solid var(--fx-line);
    background: var(--fx-surface);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    box-shadow: var(--fx-shadow);
}

/* the 1px lit edge along the top is the house style for glass on this site */
.fx-card::before {
    content: "";
    position: absolute;
    inset-inline: 16%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(141, 196, 255, .5), transparent);
    pointer-events: none;
}

html:not(.dark) .fx-card::before { opacity: .5; }

/* --- icon tile ------------------------------------------------------------
   Flat tinted tile, not the old 56px gradient block: at three-per-row the
   gradient tiles were the loudest thing on the page. */
.fx-tile {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1px solid color-mix(in srgb, var(--fx-accent, var(--fx-primary)) 34%, transparent);
    background: color-mix(in srgb, var(--fx-accent, var(--fx-primary)) 14%, transparent);
    color: var(--fx-accent, var(--fx-primary-2));
    font-size: 22px;
    flex: 0 0 auto;
}

html:not(.dark) .fx-tile {
    background: color-mix(in srgb, var(--fx-accent, var(--fx-primary)) 10%, #fff);
}

/* --- buttons ------------------------------------------------------------- */
.fx-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding-inline: 24px;
    border-radius: 13px;
    border: 1px solid transparent;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

.fx-btn:hover { transform: translateY(-2px); }
.fx-btn:active { transform: translateY(0); }

.fx-btn--primary {
    background: var(--fx-grad);
    color: #fff;
    box-shadow: var(--fx-glow);
}

.fx-btn--primary:hover { color: #fff; box-shadow: 0 16px 44px -12px rgba(0, 123, 255, .75); }

/* the shine along the top-start edge, same recipe as the site's CTA */
.fx-btn--primary::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(106.61deg, #FFFFFF 2.5%, rgba(255, 255, 255, 0) 18.15%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.fx-btn--ghost {
    background: var(--fx-surface);
    border-color: var(--fx-line-2);
    color: var(--fx-text);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.fx-btn--ghost:hover {
    color: var(--fx-text);
    border-color: var(--fx-primary-2);
    background: color-mix(in srgb, var(--fx-primary) 12%, var(--fx-surface));
}

.fx-btn i { font-size: 18px; }

/* --- inline text link with a chevron ------------------------------------- */
.fx-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    color: var(--fx-primary-2);
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}

.fx-link:hover { color: var(--fx-cyan); gap: 10px; }
.fx-link i { font-size: 15px; }

/* numerals stay latin-ordered inside RTL text */
.fx-num { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* --- focus ---------------------------------------------------------------- */
.fx-sec a:focus-visible,
.fx-sec button:focus-visible,
.fx-sec [tabindex]:focus-visible {
    outline: 2px solid var(--fx-sky);
    outline-offset: 3px;
    border-radius: 6px;
}

/* --- scroll reveal --------------------------------------------------------
   Base state is VISIBLE. The page's script adds `.fx-anim` to <body> before
   marking anything, so a blocked script can never leave the page blank. */
.fx-page.fx-anim .fx-rise {
    opacity: 0;
    translate: 0 22px;
    transition: opacity .55s ease, translate .55s ease;
}

.fx-page.fx-anim .fx-rise.fx-in {
    opacity: 1;
    translate: none;
}

@media (prefers-reduced-motion: reduce) {
    .fx-page.fx-anim .fx-rise { opacity: 1; translate: none; transition: none; }
    .fx-sec *, .fx-sec *::before, .fx-sec *::after { transition-duration: .01ms !important; }
}

/* =============================================================================
   1. HERO
   ========================================================================== */

.fx-hero {
    position: relative;
    margin-top: 28px;
}

.fx-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    padding-top: 10px;
}

.fx-hero__copy {
    flex: 1 1 auto;
    max-width: 620px;
}

.fx-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 34px;
    padding-inline: 16px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fx-primary) 30%, transparent);
    background: color-mix(in srgb, var(--fx-primary) 10%, transparent);
    color: var(--fx-sky);
    font-size: 13px;
    font-weight: 700;
}

html:not(.dark) .fx-hero__badge { color: #0B62C4; }

.fx-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #44D541;
    box-shadow: 0 0 10px #44D541;
    animation: fx-pulse 2s ease-in-out infinite;
}

@keyframes fx-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.82); }
}

@media (prefers-reduced-motion: reduce) {
    .fx-hero__dot { animation: none; }
}

.fx-hero__title {
    margin: 18px 0 0;
    color: var(--fx-text);
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 900;
    line-height: 1.35;
}

.fx-hero__title b {
    font-weight: 900;
    color: var(--fx-primary);
}

.fx-hero__desc {
    max-width: 534px;
    margin: 16px 0 0;
    color: var(--fx-text-2);
    font-size: 15px;
    font-weight: 500;
    line-height: 2.1;
}

html:not(.dark) .fx-hero__desc { color: var(--fx-muted); }

.fx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.fx-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.fx-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding-inline: 14px;
    border-radius: 999px;
    border: 1px solid var(--fx-line);
    background: var(--fx-surface);
    color: var(--fx-text-2);
    font-size: 13px;
    font-weight: 600;
}

.fx-trust-chip i { color: var(--fx-cyan); font-size: 17px; }

html:not(.dark) .fx-trust-chip i { color: #0E86C8; }

/* the two chips floating over the 3D emblem */
.fx-hero__chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--fx-line-2);
    background: var(--fx-surface-2);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: var(--fx-text);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .9);
}

html:not(.dark) .fx-hero__chip { box-shadow: 0 10px 30px -18px rgba(16, 32, 54, .45); }

.fx-hero__chip i { color: var(--fx-cyan); font-size: 16px; }

html:not(.dark) .fx-hero__chip i { color: #0E86C8; }

@media (width >= 48rem) {
    .fx-hero__inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }
}

/* =============================================================================
   2. WHAT IS FREE PROP — prose + the prize card
   ========================================================================== */

.fx-what__grid {
    display: grid;
    gap: 28px;
    align-items: start;
}

@media (width >= 64rem) {
    .fx-what__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; }
}

.fx-what__text p {
    margin: 0 0 16px;
    color: var(--fx-text-2);
    font-size: 15px;
    line-height: 2.1;
}

html:not(.dark) .fx-what__text p { color: var(--fx-muted); }

.fx-what__text a {
    color: var(--fx-primary-2);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--fx-primary-2) 40%, transparent);
}

.fx-what__text a:hover { color: var(--fx-cyan); }

.fx-checks {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.fx-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--fx-radius-sm);
    border: 1px solid var(--fx-line);
    background: color-mix(in srgb, var(--fx-mint) 6%, transparent);
    color: var(--fx-text);
    font-size: 14px;
    font-weight: 600;
}

.fx-checks i {
    color: var(--fx-mint);
    font-size: 19px;
    flex: 0 0 auto;
}

/* --- the prize card ------------------------------------------------------ */
.fx-prize {
    padding: 26px;
    overflow: hidden;
}

/* a corner glow instead of the old trophy PNG, which overlapped the heading */
.fx-prize::after {
    content: "";
    position: absolute;
    inset-inline-end: -30%;
    top: -45%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 123, 255, .30), rgba(0, 123, 255, 0) 68%);
    pointer-events: none;
}

.fx-prize__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fx-prize__name {
    margin: 0;
    color: var(--fx-text);
    font-size: 17px;
    font-weight: 800;
}

.fx-prize__badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding-inline: 11px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fx-amber) 40%, transparent);
    background: color-mix(in srgb, var(--fx-amber) 14%, transparent);
    color: var(--fx-amber);
    font-size: 11.5px;
    font-weight: 800;
    margin-inline-start: auto;
}

.fx-prize__amount {
    position: relative;
    margin: 22px 0 0;
    font-family: dana, yekanbakh, sans-serif;
    font-size: clamp(38px, 6vw, 52px);
    font-weight: 900;
    line-height: 1;
    direction: ltr;
    text-align: center;
    background: linear-gradient(96deg, var(--fx-text) 0%, var(--fx-sky) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html:not(.dark) .fx-prize__amount {
    background: linear-gradient(96deg, #0F1F33 0%, #2F74C6 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.fx-prize__amount-label {
    position: relative;
    margin: 8px 0 0;
    text-align: center;
    color: var(--fx-muted);
    font-size: 12.5px;
    font-weight: 600;
}

.fx-prize__rows {
    position: relative;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--fx-line);
}

.fx-prize__rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 2px;
    border-bottom: 1px solid var(--fx-line);
    color: var(--fx-muted);
    font-size: 13.5px;
    font-weight: 600;
}

.fx-prize__rows li span {
    color: var(--fx-text);
    font-weight: 800;
}

.fx-prize__note {
    position: relative;
    margin: 16px 0 0;
    color: var(--fx-muted);
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

/* =============================================================================
   3. WAYS — three routes to a free account
   ========================================================================== */

.fx-ways {
    display: grid;
    gap: 18px;
}

@media (width >= 48rem) { .fx-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fx-way {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    transition: transform .25s ease, border-color .25s ease;
}

.fx-way:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--fx-accent, var(--fx-primary)) 45%, transparent);
}

.fx-way__step {
    position: absolute;
    inset-block-start: 20px;
    inset-inline-end: 22px;
    /* `.fx-num` sets direction:ltr, and logical insets resolve against the
       element's OWN direction — so in RTL the number landed on the icon tile
       (start) instead of the opposite corner. Two digits read the same either
       way, so inherit the page direction here. */
    direction: inherit;
    font-family: dana, yekanbakh, sans-serif;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    color: color-mix(in srgb, var(--fx-accent, var(--fx-primary)) 22%, transparent);
}

.fx-way__title {
    margin: 4px 0 0;
    color: var(--fx-text);
    font-size: 16.5px;
    font-weight: 800;
}

.fx-way__desc {
    margin: 0;
    color: var(--fx-muted);
    font-size: 13.5px;
    line-height: 2;
    flex: 1 1 auto;
}

/* tile row — the campaign card carries its status pill next to the tile */
.fx-way__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    /* keep clear of the absolutely-positioned step number */
    padding-inline-end: 56px;
}

.fx-way__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding-inline: 11px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fx-violet) 45%, transparent);
    background: color-mix(in srgb, var(--fx-violet) 16%, transparent);
    color: var(--fx-violet);
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
}

.fx-way__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.fx-way__badge--active { color: var(--fx-mint); border-color: color-mix(in srgb, var(--fx-mint) 45%, transparent); background: color-mix(in srgb, var(--fx-mint) 14%, transparent); }
.fx-way__badge--full   { color: var(--fx-amber); border-color: color-mix(in srgb, var(--fx-amber) 45%, transparent); background: color-mix(in srgb, var(--fx-amber) 14%, transparent); }
.fx-way__badge--ended  { color: var(--fx-muted); border-color: var(--fx-line-2); background: transparent; }

html:not(.dark) .fx-way__badge--active { color: #13804C; }
html:not(.dark) .fx-way__badge--full { color: #9A5B06; }

/* the campaign card: same card, violet edge so it reads as the new route */
.fx-way--featured {
    border-color: color-mix(in srgb, var(--fx-violet) 38%, transparent);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--fx-violet) 10%, transparent), transparent 55%),
        var(--fx-surface);
}

.fx-way--featured::before {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fx-violet) 85%, transparent), transparent);
}

.fx-way--featured .fx-link { color: var(--fx-violet); }
.fx-way--featured .fx-link:hover { color: var(--fx-violet-2); }

html:not(.dark) .fx-way--featured .fx-tile { color: var(--fx-violet); }

/* four routes: 1 column on phones, 2×2 on tablets and small laptops, one row
   of four from 75rem — at 1024 a row of four leaves ~220px cards and every
   description breaks into six lines */
@media (width >= 48rem) { .fx-ways.fx-ways--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 75rem) { .fx-ways.fx-ways--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (width >= 75rem) { .fx-ways--4 .fx-way { padding: 22px; } }

/* =============================================================================
   4. TOURNAMENTS
   ========================================================================== */

.fx-tours {
    display: grid;
    gap: 18px;
}

@media (width >= 48rem) { .fx-tours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 64rem) { .fx-tours { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fx-tour {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}

.fx-tour:hover { transform: translateY(-4px); border-color: var(--fx-line-2); }

.fx-tour__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fx-raised);
}

.fx-tour__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fx-tour__badge {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding-inline: 11px;
    border-radius: 999px;
    background: var(--fx-grad);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
}

.fx-tour__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex: 1 1 auto;
}

.fx-tour__title {
    margin: 0;
    color: var(--fx-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
}

.fx-tour__desc {
    margin: 0;
    color: var(--fx-muted);
    font-size: 13.5px;
    line-height: 1.95;
}

.fx-tour__meta {
    display: grid;
    gap: 8px;
    margin-top: 2px;
    padding: 12px;
    border-radius: var(--fx-radius-sm);
    border: 1px solid var(--fx-line);
    background: color-mix(in srgb, var(--fx-primary) 5%, transparent);
}

.fx-tour__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fx-text-2);
    font-size: 12.5px;
    font-weight: 600;
}

html:not(.dark) .fx-tour__meta-item { color: var(--fx-muted); }

.fx-tour__meta-item i { color: var(--fx-cyan); font-size: 16px; flex: 0 0 auto; }

html:not(.dark) .fx-tour__meta-item i { color: #0E86C8; }

.fx-tour .fx-btn { margin-top: auto; width: 100%; }

/* --- empty state ---------------------------------------------------------- */
.fx-empty {
    display: grid;
    justify-items: center;
    gap: 14px;
    max-width: 620px;
    margin-inline: auto;
    padding: 44px 28px;
    text-align: center;
}

.fx-empty__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    border: 1px solid var(--fx-line-2);
    background: color-mix(in srgb, var(--fx-primary) 12%, transparent);
    color: var(--fx-primary-2);
    font-size: 28px;
}

.fx-empty__title {
    margin: 4px 0 0;
    color: var(--fx-text);
    font-size: 19px;
    font-weight: 800;
}

.fx-empty__desc {
    margin: 0;
    max-width: 460px;
    color: var(--fx-muted);
    font-size: 14px;
    line-height: 2;
}

.fx-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}

/* =============================================================================
   5. STEPS — a connected roadmap, not four loose cards
   ========================================================================== */

.fx-steps {
    position: relative;
    display: grid;
    gap: 26px;
    counter-reset: fx-step;
}

@media (width >= 62rem) {
    .fx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

    /* the rail the nodes sit on */
    .fx-steps::before {
        content: "";
        position: absolute;
        inset-inline: 12%;
        top: 27px;
        height: 2px;
        background: linear-gradient(90deg,
            transparent,
            color-mix(in srgb, var(--fx-primary) 45%, transparent) 12%,
            color-mix(in srgb, var(--fx-primary) 45%, transparent) 88%,
            transparent);
    }
}

.fx-step {
    position: relative;
    display: grid;
    justify-items: start;
    gap: 12px;
}

@media (width >= 62rem) {
    .fx-step { justify-items: center; text-align: center; }
}

.fx-step__node {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--fx-accent) 40%, transparent);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--fx-accent) 18%, transparent), transparent),
        var(--fx-surface-2);
    color: var(--fx-accent);
    font-size: 25px;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--fx-accent) 8%, transparent);
}

.fx-step__num {
    position: absolute;
    inset-block-start: -9px;
    inset-inline-start: -9px;
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding-inline: 6px;
    border-radius: 999px;
    border: 1px solid var(--fx-line-2);
    background: var(--fx-surface-2);
    color: var(--fx-text);
    font-family: dana, yekanbakh, sans-serif;
    font-size: 12px;
    font-weight: 900;
}

.fx-step__title {
    margin: 0;
    color: var(--fx-text);
    font-size: 15.5px;
    font-weight: 800;
}

.fx-step__desc {
    margin: 0;
    max-width: 260px;
    color: var(--fx-muted);
    font-size: 13px;
    line-height: 1.95;
}

/* =============================================================================
   6. FREE vs MINI
   ========================================================================== */

.fx-vs {
    overflow: hidden;
    padding: 0;
}

.fx-vs__scroll { overflow-x: auto; }

.fx-vs table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.fx-vs th,
.fx-vs td {
    padding: 15px 18px;
    text-align: start;
    vertical-align: middle;
    border-bottom: 1px solid var(--fx-line);
}

.fx-vs thead th {
    color: var(--fx-text);
    font-size: 14.5px;
    font-weight: 800;
    background: color-mix(in srgb, var(--fx-primary) 8%, transparent);
    white-space: nowrap;
}

.fx-vs tbody th {
    color: var(--fx-muted);
    font-size: 13.5px;
    font-weight: 700;
}

.fx-vs tbody td {
    color: var(--fx-text-2);
    font-size: 13.5px;
    font-weight: 600;
}

html:not(.dark) .fx-vs tbody td { color: var(--fx-text); }

.fx-vs tbody tr:last-child th,
.fx-vs tbody tr:last-child td { border-bottom: 0; }

/* the recommended column is tinted end to end so the eye can follow it */
.fx-vs .fx-vs__pick {
    background: color-mix(in srgb, var(--fx-primary) 12%, transparent);
    color: var(--fx-text);
    font-weight: 800;
}

.fx-vs thead .fx-vs__pick {
    background: color-mix(in srgb, var(--fx-primary) 20%, transparent);
    box-shadow: inset 0 2px 0 var(--fx-primary-2);
}

.fx-tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding-inline: 9px;
    margin-inline-start: 8px;
    border-radius: 999px;
    border: 1px solid var(--fx-line-2);
    color: var(--fx-muted);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.fx-tag--blue {
    border-color: color-mix(in srgb, var(--fx-primary) 45%, transparent);
    background: color-mix(in srgb, var(--fx-primary) 16%, transparent);
    color: var(--fx-sky);
}

html:not(.dark) .fx-tag--blue { color: #0B62C4; }

.fx-vs__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* =============================================================================
   7 + 8. ACCORDIONS — rules and FAQ
   ========================================================================== */

.fx-acc {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin-inline: auto;
}

.fx-acc .accordion-item {
    border-radius: var(--fx-radius-sm);
    border: 1px solid var(--fx-line);
    background: var(--fx-surface);
    overflow: hidden;
    transition: border-color .25s ease, background-color .25s ease;
}

.fx-acc .accordion-item.fx-open {
    border-color: color-mix(in srgb, var(--fx-primary) 45%, transparent);
    background: color-mix(in srgb, var(--fx-primary) 7%, var(--fx-surface));
}

.fx-acc .accordion-header { margin: 0; }

.fx-acc .accordion-button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding: 14px 18px;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--fx-text);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    text-align: start;
}

.fx-acc .accordion-button::after { display: none; }

.fx-acc .accordion-button:not(.collapsed) {
    color: var(--fx-text);
    background: none;
    box-shadow: none;
}

.fx-acc__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    border: 1px solid var(--fx-line-2);
    background: color-mix(in srgb, var(--fx-primary) 12%, transparent);
    color: var(--fx-primary-2);
    font-size: 18px;
    flex: 0 0 auto;
}

.fx-acc__label { flex: 1 1 auto; }

.fx-acc__chev {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--fx-line);
    color: var(--fx-muted);
    font-size: 14px;
    flex: 0 0 auto;
    transition: transform .3s ease, color .25s ease, border-color .25s ease;
}

.fx-acc .accordion-item.fx-open .fx-acc__chev {
    transform: rotate(180deg);
    color: var(--fx-primary-2);
    border-color: var(--fx-primary-2);
}

.fx-acc .accordion-body {
    padding: 0 18px 18px 18px;
    color: var(--fx-muted);
    font-size: 13.5px;
    line-height: 2.1;
}

/* mainPage.css ships Tailwind's `.collapse { visibility: collapse }`, which
   breaks every Bootstrap collapse on the site — this is the standing override */
.fx-acc .accordion-collapse.collapse { visibility: visible !important; }
.fx-acc .accordion-collapse.collapse:not(.show) { display: none; }

.fx-more {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

/* =============================================================================
   9. CLOSING CTA
   ========================================================================== */

.fx-cta__panel {
    position: relative;
    overflow: hidden;
    padding: 46px 28px;
    border-radius: 26px;
    border: 1px solid var(--fx-line-2);
    background:
        radial-gradient(120% 140% at 50% -20%, color-mix(in srgb, var(--fx-primary) 30%, transparent), transparent 60%),
        var(--fx-surface-2);
    box-shadow: var(--fx-shadow);
    text-align: center;
}

.fx-cta__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(141, 196, 255, .07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(141, 196, 255, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 0%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 65% 70% at 50% 0%, #000, transparent 75%);
}

html:not(.dark) .fx-cta__grid {
    background-image:
        linear-gradient(to right, rgba(0, 90, 190, .08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 90, 190, .08) 1px, transparent 1px);
}

.fx-cta__title {
    position: relative;
    margin: 0;
    color: var(--fx-text);
    font-size: clamp(23px, 3.4vw, 34px);
    font-weight: 900;
    line-height: 1.45;
}

.fx-cta__desc {
    position: relative;
    max-width: 560px;
    margin: 14px auto 0;
    color: var(--fx-muted);
    font-size: 14.5px;
    line-height: 2;
}

.fx-cta__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

/* =============================================================================
   3b. CAMPAIGN — "a free prop for every InvestProp user" (way 4)
   -----------------------------------------------------------------------------
   `site/free-prop/campaign.blade.php`. One card split into the pitch (status,
   copy, facts, CTA) and the conditions; the campaign-only rules sit under it.
   Violet is the campaign's hue everywhere it appears (way card, panel menu,
   dashboard) so a visitor recognises it across the site and the panel.
   ========================================================================== */

.fx-eyebrow--violet {
    border-color: color-mix(in srgb, var(--fx-violet) 40%, transparent);
    background: color-mix(in srgb, var(--fx-violet) 12%, transparent);
    color: var(--fx-violet);
}

html:not(.dark) .fx-eyebrow--violet { color: var(--fx-violet-2); }

/* violet twin of the primary CTA */
.fx-btn--violet {
    background: linear-gradient(94.98deg, #7C3AED 4.01%, #9A6BFF 103.03%);
    color: #fff;
    box-shadow: 0 10px 40px -12px rgba(124, 58, 237, .6);
}

.fx-btn--violet:hover { color: #fff; box-shadow: 0 16px 44px -12px rgba(124, 58, 237, .8); }

.fx-btn--violet::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(106.61deg, #FFFFFF 2.5%, rgba(255, 255, 255, 0) 18.15%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* --- the card ------------------------------------------------------------ */
.fx-camp {
    display: grid;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--fx-violet) 30%, transparent);
}

.fx-camp::before {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fx-violet) 85%, transparent), transparent);
}

@media (width >= 64rem) {
    .fx-camp { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

.fx-camp__main {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
}

/* soft violet wash in the pitch's top corner */
.fx-camp__main::after {
    content: "";
    position: absolute;
    inset-inline-start: -120px;
    top: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--fx-violet) 22%, transparent), transparent 68%);
    pointer-events: none;
}

.fx-camp__main > * { position: relative; z-index: 1; }

@media (width < 30rem) {
    .fx-camp__main,
    .fx-camp__side { padding: 22px 18px; }
}

.fx-camp__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.fx-camp__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding-inline: 14px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fx-camp-hue, var(--fx-violet)) 45%, transparent);
    background: color-mix(in srgb, var(--fx-camp-hue, var(--fx-violet)) 15%, transparent);
    color: var(--fx-camp-hue, var(--fx-violet));
    font-size: 13px;
    font-weight: 800;
}

.fx-camp__pill--active { --fx-camp-hue: var(--fx-mint); }
.fx-camp__pill--full   { --fx-camp-hue: var(--fx-amber); }
.fx-camp__pill--ended  { --fx-camp-hue: var(--fx-muted); }

html:not(.dark) .fx-camp__pill--coming_soon { color: var(--fx-violet-2); }
html:not(.dark) .fx-camp__pill--active { color: #13804C; }
html:not(.dark) .fx-camp__pill--full { color: #9A5B06; }

.fx-camp__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.fx-camp__pill--coming_soon .fx-camp__dot,
.fx-camp__pill--active .fx-camp__dot {
    animation: fx-pulse 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .fx-camp__dot { animation: none !important; }
}

.fx-camp__when {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fx-text-2);
    font-size: 13px;
    font-weight: 700;
}

html:not(.dark) .fx-camp__when { color: var(--fx-muted); }

.fx-camp__when i { color: var(--fx-violet); font-size: 17px; }

.fx-camp__title {
    margin: 2px 0 0;
    color: var(--fx-text);
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 900;
    line-height: 1.6;
}

.fx-camp__desc p {
    margin: 0 0 10px;
    color: var(--fx-text-2);
    font-size: 14.5px;
    line-height: 2.05;
}

.fx-camp__desc p:last-child { margin-bottom: 0; }

html:not(.dark) .fx-camp__desc p { color: var(--fx-muted); }

/* facts: 2×2 tiles */
.fx-camp__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 4px 0 0;
}

.fx-camp__fact {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 12px 14px;
    border-radius: var(--fx-radius-sm);
    border: 1px solid var(--fx-line);
    background: color-mix(in srgb, var(--fx-violet) 6%, transparent);
    min-width: 0;
}

.fx-camp__fact dt {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--fx-muted);
    font-size: 12px;
    font-weight: 700;
}

.fx-camp__fact dt i { color: var(--fx-violet); font-size: 15px; }

.fx-camp__fact dd {
    margin: 0;
    color: var(--fx-text);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* each part of the account label stays whole; lines break only at the dots */
.fx-camp__part { white-space: nowrap; }

.fx-camp__fact .fx-camp__free { color: var(--fx-mint); }

html:not(.dark) .fx-camp__fact .fx-camp__free { color: #13804C; }

.fx-camp__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 6px;
}

.fx-camp__cta .fx-link { color: var(--fx-violet); }
.fx-camp__cta .fx-link:hover { color: var(--fx-violet-2); }

.fx-camp__note-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: var(--fx-muted);
    font-size: 12.5px;
    line-height: 1.95;
}

.fx-camp__note-line i { color: var(--fx-violet); font-size: 16px; margin-top: 3px; flex: 0 0 auto; }

/* --- conditions column ---------------------------------------------------- */
.fx-camp__side {
    padding: 28px;
    border-top: 1px solid var(--fx-line);
    background: color-mix(in srgb, var(--fx-violet) 5%, transparent);
}

@media (width >= 64rem) {
    .fx-camp__side { border-top: 0; border-inline-start: 1px solid var(--fx-line); }
}

.fx-camp__side-title {
    margin: 0;
    color: var(--fx-text);
    font-size: 17px;
    font-weight: 900;
}

.fx-camp__side-sub {
    margin: 6px 0 0;
    color: var(--fx-muted);
    font-size: 13px;
    line-height: 1.9;
}

.fx-camp__conds {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.fx-camp__cond {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--fx-radius-sm);
    border: 1px solid var(--fx-line);
    background: var(--fx-surface-2);
}

.fx-camp__cond-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--fx-violet) 38%, transparent);
    background: color-mix(in srgb, var(--fx-violet) 14%, transparent);
    color: var(--fx-violet);
    font-size: 20px;
    flex: 0 0 auto;
}

.fx-camp__cond-body { flex: 1 1 auto; min-width: 0; }

.fx-camp__cond-body h4 {
    margin: 0;
    color: var(--fx-text);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.7;
}

.fx-camp__cond-body p {
    margin: 4px 0 0;
    color: var(--fx-muted);
    font-size: 13px;
    line-height: 1.95;
}

.fx-camp__cond-check {
    color: color-mix(in srgb, var(--fx-violet) 70%, transparent);
    font-size: 20px;
    flex: 0 0 auto;
    margin-top: 8px;
}

.fx-camp__warn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: var(--fx-radius-sm);
    border: 1px solid color-mix(in srgb, var(--fx-amber) 40%, transparent);
    border-inline-start-width: 3px;
    background: color-mix(in srgb, var(--fx-amber) 9%, transparent);
}

.fx-camp__warn i { color: var(--fx-amber); font-size: 19px; margin-top: 2px; flex: 0 0 auto; }

.fx-camp__warn p {
    margin: 0;
    color: var(--fx-text-2);
    font-size: 13px;
    line-height: 1.95;
}

.fx-camp__warn b { color: var(--fx-text); font-weight: 800; }

html:not(.dark) .fx-camp__warn i { color: #B66A00; }

/* --- campaign-only rules --------------------------------------------------- */
.fx-camp-rules {
    margin-top: 18px;
    padding: 26px 28px;
}

@media (width < 30rem) {
    .fx-camp-rules { padding: 22px 18px; }
}

.fx-camp-rules__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.fx-camp-rules__title {
    margin: 0;
    color: var(--fx-text);
    font-size: 17px;
    font-weight: 900;
}

.fx-camp-rules__empty {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--fx-radius-sm);
    border: 1px dashed color-mix(in srgb, var(--fx-violet) 40%, transparent);
    color: var(--fx-text-2);
    font-size: 13.5px;
    line-height: 1.95;
}

html:not(.dark) .fx-camp-rules__empty { color: var(--fx-muted); }

.fx-camp-rules__empty i { color: var(--fx-violet); font-size: 18px; margin-top: 3px; flex: 0 0 auto; }

/* admin rich text (sanitised by App\Support\SafeHtml — no inline colours) */
.fx-camp-rules__body {
    color: var(--fx-text-2);
    font-size: 14px;
    line-height: 2.05;
    overflow-wrap: anywhere;
}

.fx-camp-rules__body > :first-child { margin-top: 0; }
.fx-camp-rules__body > :last-child { margin-bottom: 0; }
.fx-camp-rules__body p { margin: 0 0 12px; }

.fx-camp-rules__body h2,
.fx-camp-rules__body h3,
.fx-camp-rules__body h4,
.fx-camp-rules__body h5,
.fx-camp-rules__body h6 {
    margin: 18px 0 8px;
    color: var(--fx-text);
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.7;
}

.fx-camp-rules__body ul,
.fx-camp-rules__body ol { margin: 0 0 12px; padding-inline-start: 22px; }
/* mainPage.css ships Tailwind's preflight (`list-style: none`) */
.fx-camp-rules__body ul { list-style: disc; }
.fx-camp-rules__body ol { list-style: decimal; }
.fx-camp-rules__body li { margin-bottom: 6px; }
.fx-camp-rules__body li::marker { color: var(--fx-violet); }

.fx-camp-rules__body strong,
.fx-camp-rules__body b { color: var(--fx-text); font-weight: 800; }

.fx-camp-rules__body a {
    color: var(--fx-violet);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--fx-violet) 40%, transparent);
}

.fx-camp-rules__body blockquote {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-inline-start: 3px solid var(--fx-violet);
    border-radius: 10px;
    background: color-mix(in srgb, var(--fx-violet) 7%, transparent);
}

.fx-camp-rules__body hr { border: 0; border-top: 1px solid var(--fx-line); margin: 16px 0; }

.fx-camp-rules__body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 0 0 12px;
}

.fx-camp-rules__body th,
.fx-camp-rules__body td { padding: 8px 12px; border: 1px solid var(--fx-line); text-align: start; }
.fx-camp-rules__body th { color: var(--fx-text); background: color-mix(in srgb, var(--fx-violet) 8%, transparent); }

.fx-camp-rules__general {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--fx-line);
}

.fx-camp-rules__general p {
    margin: 0;
    color: var(--fx-muted);
    font-size: 13px;
    line-height: 1.9;
}

.fx-camp-rules__general .fx-link { color: var(--fx-violet); }
.fx-camp-rules__general .fx-link:hover { color: var(--fx-violet-2); }

/* anchor jumps (#fp-campaign, #fp-campaign-rules) clear the sticky header */
.fx-camp-sec,
.fx-camp-rules { scroll-margin-top: 110px; }
