.fx {
    --fx-primary:      #0282DA;
    --fx-primary-dark: #0268ae;
    --fx-primary-soft: #F0F6FB;
    --fx-dark:         #3c4858;
    --fx-black:        #161c2d;
    --fx-muted:        #8492a6;
    --fx-light:        #f8f9fc;
    --fx-line:         #e9ecef;
    --fx-white:        #ffffff;

    --fx-success:      #2eca8b;
    --fx-warning:      #f17425;
    --fx-purple:       #7952B3;

    --fx-radius:       16px;
    --fx-radius-sm:    10px;
    --fx-shadow:       0 1px 2px rgba(60, 72, 88, .05), 0 6px 18px rgba(60, 72, 88, .06);
    --fx-shadow-lg:    0 14px 38px rgba(60, 72, 88, .14);

    --fx-header:       75px;
    --fx-toolbar:      70px;
    --fx-jump:         56px;

    font-family: 'Nunito', sans-serif;
    color: var(--fx-dark);
}

.fx *,
.fx *::before,
.fx *::after { box-sizing: border-box; }

.fx-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.fx-icon { width: 1em; height: 1em; flex: none; }

.fx-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.fx-btn .fx-icon { font-size: 17px; }

.fx-btn--primary {
    background: var(--fx-primary);
    color: var(--fx-white);
    box-shadow: 0 6px 16px rgba(2, 130, 218, .28);
}
.fx-btn--primary:hover {
    background: var(--fx-primary-dark);
    color: var(--fx-white);
    box-shadow: 0 10px 22px rgba(2, 130, 218, .34);
}

.fx-btn--ghost {
    background: var(--fx-white);
    border-color: var(--fx-line);
    color: var(--fx-dark);
}
.fx-btn--ghost:hover {
    border-color: var(--fx-primary);
    color: var(--fx-primary);
}

.fx-btn--on-dark {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
    color: var(--fx-white);
}
.fx-btn--on-dark:hover {
    background: var(--fx-white);
    border-color: var(--fx-white);
    color: var(--fx-primary);
}

.fx-link-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--fx-primary-dark);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.fx-hero {
    position: relative;
    padding: 128px 0 64px;
    background:
        radial-gradient(1200px 420px at 78% -14%, rgba(2, 130, 218, .14), transparent 62%),
        radial-gradient(800px 300px at 12% 8%, rgba(121, 82, 179, .07), transparent 60%),
        linear-gradient(180deg, var(--fx-light) 0%, var(--fx-white) 100%);
}

.fx-hero__inner { max-width: 760px; }

.fx-hero__eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 5px 13px;
    border-radius: 100px;
    background: var(--fx-primary-soft);
    color: var(--fx-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fx-hero__title {
    margin: 0 0 18px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.18;
    color: var(--fx-black);
}
.fx-hero__title span {
    display: block;
    background: linear-gradient(100deg, var(--fx-primary) 0%, var(--fx-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fx-hero__subtitle {
    margin: 0 0 30px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--fx-muted);
}

.fx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.fx-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fx-hero__trust li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fx-dark);
}
.fx-hero__trust .fx-icon {
    font-size: 16px;
    color: var(--fx-success);
    stroke-width: 2.4;
}

.fx-stats { padding: 0 0 32px; }

.fx-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    padding: 20px 32px;
    border-radius: var(--fx-radius);
    background: var(--fx-white);
    box-shadow: 0 2px 8px rgba(60, 72, 88, .06), 0 12px 32px rgba(60, 72, 88, .08);
}

.fx-stat {
    position: relative;
    padding: 8px 18px;
    background: transparent;
    text-align: center;
}
.fx-stat + .fx-stat::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(2, 130, 218, .18), transparent);
}
.fx-stat__value {
    margin: 0 0 4px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--fx-primary);
}
.fx-stat__label {
    margin: 0;
    font-size: 13.5px;
    color: var(--fx-muted);
}

.fx-toolbar {
    position: sticky;
    top: var(--fx-header);
    z-index: 20;
    padding: 12px 0;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--fx-line);
}

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

.fx-search {
    position: relative;
    flex: 1 1 240px;
    max-width: 380px;
}
.fx-search__icon {
    position: absolute;
    inset-inline-start: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: var(--fx-muted);
    pointer-events: none;
}
.fx-search__input {
    width: 100%;
    padding: 11px 15px;
    padding-inline-start: 40px;
    border: 1px solid var(--fx-line);
    border-radius: var(--fx-radius-sm);
    background: var(--fx-white);
    font: inherit;
    font-size: 14px;
    color: var(--fx-dark);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.fx-search__input::placeholder { color: var(--fx-muted); }
.fx-search__input:focus {
    outline: none;
    border-color: var(--fx-primary);
    box-shadow: 0 0 0 3px rgba(2, 130, 218, .13);
}
.fx-search__input::-webkit-search-cancel-button { display: none; }

.fx-search__reset {
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--fx-line);
    color: var(--fx-dark);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.fx-search__reset[hidden] { display: none; }

.fx-plan-filter {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--fx-line);
    border-radius: 100px;
    background: var(--fx-light);
}
.fx-plan-filter__btn {
    padding: 7px 15px;
    border: 0;
    border-radius: 100px;
    background: none;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--fx-muted);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}
.fx-plan-filter__btn:hover { color: var(--fx-dark); }
.fx-plan-filter__btn.is-active {
    background: var(--fx-white);
    color: var(--fx-primary);
    box-shadow: var(--fx-shadow);
}

.fx-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    color: var(--fx-muted);
}
.fx-count[hidden] { display: none; }
.fx-count .fx-link-btn { font-size: 13px; }

.fx-jump {
    position: sticky;
    top: calc(var(--fx-header) + var(--fx-toolbar));
    z-index: 19;
    background: var(--fx-white);
    border-bottom: 1px solid var(--fx-line);
}

.fx-jump__list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}
.fx-jump__list::-webkit-scrollbar { display: none; }
.fx-jump__list li[hidden] { display: none; }

.fx-jump__list a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fx-muted);
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}
.fx-jump__list a .fx-icon { font-size: 15px; }
.fx-jump__list a:hover {
    background: var(--fx-light);
    color: var(--fx-dark);
}
.fx-jump__list a.is-current {
    background: var(--fx-primary-soft);
    color: var(--fx-primary);
}

.fx-body { padding: 56px 0 24px; }

.fx-empty {
    padding: 56px 0;
    text-align: center;
    font-size: 16px;
    color: var(--fx-muted);
}
.fx-empty[hidden] { display: none; }

.fx-section {
    margin-bottom: 64px;
    scroll-margin-top: calc(var(--fx-header) + var(--fx-toolbar) + var(--fx-jump) + 22px);
}
.fx-section[hidden] { display: none; }

.fx-section__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
}

.fx-section__icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    flex: none;
    border-radius: var(--fx-radius-sm);
    background: var(--fx-primary-soft);
    color: var(--fx-primary);
    font-size: 24px;
}

.fx-section__title {
    margin: 0 0 5px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--fx-black);
}
.fx-section__tagline {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--fx-muted);
}

.fx-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fx-card {
    padding: 22px 22px 24px;
    border: 1px solid var(--fx-line);
    border-radius: var(--fx-radius);
    background: var(--fx-white);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    cursor: pointer;
}
.fx-card[hidden] { display: none; }
.fx-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--fx-shadow-lg);
}

.fx-card--link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}
.fx-card--link:hover { border-color: rgba(2, 130, 218, .35); }

.fx-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--fx-primary);
}
.fx-card__cta .fx-icon {
    font-size: 16px;
    transition: transform .18s ease;
}
.fx-card--link:hover .fx-card__cta .fx-icon { transform: translateX(3px); }
[dir="rtl"] .fx-card__cta .fx-icon { transform: scaleX(-1); }
[dir="rtl"] .fx-card--link:hover .fx-card__cta .fx-icon { transform: scaleX(-1) translateX(3px); }

.fx-card--featured {
    grid-column: span 2;
    background:
        radial-gradient(600px 200px at 100% 0%, rgba(2, 130, 218, .08), transparent 62%),
        var(--fx-white);
    border-color: rgba(2, 130, 218, .28);
}

.fx-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.fx-card__title {
    margin: 0;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--fx-black);
}
.fx-card--featured .fx-card__title { font-size: 19px; }

.fx-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: none;
}

.fx-card__desc {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--fx-muted);
}
.fx-card--featured .fx-card__desc { font-size: 15.5px; }

.fx-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.fx-badge--pro      { background: #FFF4E5; color: #C86A10; }
.fx-badge--new      { background: #E7F8F1; color: #12855A; }
.fx-badge--soon     { background: #F1F0F8; color: #5F4B9B; }
.fx-badge--platform { background: var(--fx-light); color: var(--fx-muted); }

.fx-plans {
    padding: 64px 0;
    background: var(--fx-light);
    border-top: 1px solid var(--fx-line);
}

.fx-plans__head {
    max-width: 620px;
    margin: 0 auto 34px;
    text-align: center;
}
.fx-plans__title {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    color: var(--fx-black);
}
.fx-plans__sub {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--fx-muted);
}

.fx-plans__wrap {
    overflow-x: auto;
    border: 1px solid var(--fx-line);
    border-radius: var(--fx-radius);
    background: var(--fx-white);
}

.fx-plans__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.fx-plans__table thead th {
    position: sticky;
    top: 0;
    padding: 15px 18px;
    background: var(--fx-white);
    border-bottom: 1px solid var(--fx-line);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--fx-muted);
    text-align: center;
    white-space: nowrap;
}
.fx-plans__table thead th:first-child { text-align: start; }

.fx-plans__table tbody th {
    padding: 13px 18px;
    font-weight: 600;
    text-align: start;
    color: var(--fx-dark);
}
.fx-plans__table td {
    padding: 13px 18px;
    text-align: center;
}
.fx-plans__table tbody tr + tr th,
.fx-plans__table tbody tr + tr td { border-top: 1px solid var(--fx-line); }

.fx-plans__table tbody tr:hover th,
.fx-plans__table tbody tr:hover td { background: var(--fx-light); }

.fx-plans__pro { background: rgba(2, 130, 218, .04); }
.fx-plans__table thead th.fx-plans__pro { color: var(--fx-primary); }

.fx-tick, .fx-cross {
    display: inline-grid;
    place-items: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    font-size: 14px;
}
.fx-tick  { background: #E7F8F1; color: #12855A; stroke-width: 2.6; }
.fx-cross { background: var(--fx-light); color: #C3CBD6; }

.fx-plans__text { font-weight: 600; color: var(--fx-dark); }

.fx-plans__foot {
    margin: 26px 0 0;
    text-align: center;
}

.fx-cta { padding: 0 0 64px; }

.fx-cta__inner {
    padding: 52px 32px;
    border-radius: 22px;
    background:
        radial-gradient(700px 260px at 88% 0%, rgba(255, 255, 255, .18), transparent 60%),
        linear-gradient(115deg, var(--fx-primary) 0%, var(--fx-primary-dark) 58%, var(--fx-purple) 130%);
    color: var(--fx-white);
    text-align: center;
}

.fx-cta__title {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 700;
    color: var(--fx-white);
}
.fx-cta__text {
    max-width: 520px;
    margin: 0 auto 26px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}
.fx-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.fx-cta .fx-btn--primary {
    background: var(--fx-white);
    color: var(--fx-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
.fx-cta .fx-btn--primary:hover {
    background: var(--fx-white);
    color: var(--fx-primary-dark);
}

@media (max-width: 1199.98px) {
    .fx-grid { grid-template-columns: repeat(2, 1fr); }
    .fx-card--featured { grid-column: span 2; }
}

@media (max-width: 991.98px) {
    .fx-hero { padding: 108px 0 52px; }
    .fx-hero__title { font-size: 34px; }
    .fx-stats__grid { grid-template-columns: repeat(2, 1fr); padding: 24px 20px; }
    .fx-stat { padding: 14px; }
    .fx-stat + .fx-stat::before { display: none; }
    .fx-stat:nth-child(even) { position: relative; }
    .fx-stat:nth-child(even)::before {
        content: '';
        display: block;
        position: absolute;
        inset-inline-start: 0;
        top: 15%; height: 70%; width: 1px;
        background: linear-gradient(180deg, transparent, rgba(2, 130, 218, .18), transparent);
    }
}

@media (max-width: 767.98px) {
    .fx-hero__title { font-size: 29px; }
    .fx-hero__subtitle { font-size: 15.5px; }
    .fx-hero__actions .fx-btn { flex: 1 1 100%; justify-content: center; }

    .fx-grid { grid-template-columns: 1fr; }
    .fx-card--featured { grid-column: span 1; }
    .fx-card--featured .fx-card__title { font-size: 17px; }

    .fx-section { margin-bottom: 48px; }
    .fx-section__title { font-size: 22px; }
    .fx-section__icon { width: 42px; height: 42px; font-size: 21px; }

    .fx-toolbar__inner { gap: 10px; }
    .fx-search { max-width: none; flex: 1 1 100%; }
    .fx-plan-filter { width: 100%; }
    .fx-plan-filter__btn { flex: 1; }

    .fx-plans { padding: 48px 0; }
    .fx-plans__title, .fx-cta__title { font-size: 24px; }
    .fx-cta__inner { padding: 40px 22px; }
    .fx-cta__actions .fx-btn { flex: 1 1 100%; justify-content: center; }
}

[dir="rtl"] .fx-hero {
    background:
        radial-gradient(1200px 420px at 22% -14%, rgba(2, 130, 218, .14), transparent 62%),
        radial-gradient(800px 300px at 88% 8%, rgba(121, 82, 179, .07), transparent 60%),
        linear-gradient(180deg, var(--fx-light) 0%, var(--fx-white) 100%);
}
[dir="rtl"] .fx-card--featured {
    background:
        radial-gradient(600px 200px at 0% 0%, rgba(2, 130, 218, .08), transparent 62%),
        var(--fx-white);
}

/* Header Sign In / Get Started styling now lives in public/css/custom.css so
   it applies site-wide rather than only on this page. */

@media print {
    .fx-toolbar, .fx-jump, .fx-cta { display: none !important; }
    .fx-card { break-inside: avoid; }
}
