@charset "UTF-8";

/* === fawtra-home.css === */
.fw-home {
    direction: rtl;
    text-align: right;
    unicode-bidi: isolate;

    --fw-ink: #141a2e;
    --fw-ink-2: #5a6480;
    --fw-line: #e7eaf3;
    --fw-surface: #ffffff;
    --fw-tint: #f6f8fd;
    --fw-brand: #5b4bd6;
    --fw-brand-2: #7c6ef0;
    --fw-brand-soft: #efedfd;
    --fw-green: #16a34a;
    --fw-amber: #f59e0b;
    --fw-blue: #2563eb;

    font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;
    color: var(--fw-ink);
    background: var(--fw-surface);
    line-height: 1.85;
}

.fw-home .container { max-width: 1180px; }

.fw-home h1, .fw-home h2, .fw-home h3 { color: var(--fw-ink); margin: 0; }
.fw-home p { color: var(--fw-ink-2); margin: 0; }


.fw-h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.4px;
}

.fw-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 42px;
}

.fw-head p { margin-top: 10px; font-size: 15.5px; }

.fw-section { padding: 76px 0; }
.fw-section--tint { background: var(--fw-tint); }

.fw-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    cursor: pointer;
}

.fw-btn:hover { text-decoration: none; transform: translateY(-2px); }

.fw-btn--primary {
    background: linear-gradient(135deg, var(--fw-brand), var(--fw-brand-2));
    color: #fff;
    box-shadow: 0 10px 26px rgba(91, 75, 214, .3);
}
.fw-btn--primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(91, 75, 214, .38); }

.fw-btn--ghost {
    background: rgba(255, 255, 255, .78);
    color: var(--fw-ink);
    border-color: var(--fw-line);
}
.fw-btn--ghost:hover { color: var(--fw-brand); border-color: var(--fw-brand); }

.fw-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.fw-btn--outline:hover { color: #fff; background: rgba(255, 255, 255, .12); }

.fw-btn--soft {
    background: var(--fw-brand-soft);
    color: var(--fw-brand);
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 14px;
}
.fw-btn--soft:hover { background: var(--fw-brand); color: #fff; }

.fw-link {
    color: var(--fw-brand);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.fw-link:hover { color: var(--fw-brand-2); text-decoration: none; gap: 11px; }

.fw-accent {
    background: linear-gradient(135deg, var(--fw-brand), var(--fw-brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fw-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--fw-brand-soft);
    color: var(--fw-brand);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}


.fw-hero {
    position: relative;
    padding: 84px 0 92px;
    background: linear-gradient(180deg, #f7f8fe 0%, #ffffff 100%);
    overflow: hidden;
}


.fw-hero__glow {
    position: absolute;
    inset-block-start: -220px;
    inset-inline-start: -160px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 110, 240, .22), transparent 68%);
    pointer-events: none;
}

.fw-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center;
}

.fw-hero__title {
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.8px;
}

.fw-hero__lead {
    margin-top: 20px;
    font-size: 16.5px;
    max-width: 560px;
}

.fw-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.fw-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--fw-ink-2);
}
.fw-hero__points i { color: var(--fw-green); margin-inline-end: 6px; }


.fw-mock {
    background: #fff;
    border: 1px solid var(--fw-line);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(20, 26, 46, .12);
    overflow: hidden;
}

.fw-mock__bar {
    display: flex;
    gap: 6px;
    padding: 13px 16px;
    background: var(--fw-tint);
    border-bottom: 1px solid var(--fw-line);
}
.fw-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d6dbe8; }
.fw-mock__bar span:first-child { background: #ff5f57; }
.fw-mock__bar span:nth-child(2) { background: #febc2e; }
.fw-mock__bar span:nth-child(3) { background: #28c840; }

.fw-mock__body { padding: 18px; }

.fw-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.fw-mock__kpi {
    background: var(--fw-tint);
    border: 1px solid var(--fw-line);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.fw-mock__label { font-size: 11px; color: var(--fw-ink-2); }
.fw-mock__kpi strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.fw-mock__kpi em { font-size: 11px; font-style: normal; }
.fw-mock__kpi .is-up { color: var(--fw-green); }
.fw-mock__kpi .is-flat { color: var(--fw-ink-2); }

.fw-mock__chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 116px;
    margin: 18px 0;
    padding: 0 2px;
}
.fw-mock__chart span {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--fw-brand-2), var(--fw-brand));
    opacity: .85;
}
.fw-mock__chart span:last-child { opacity: 1; }

.fw-mock__rows { display: flex; flex-direction: column; gap: 8px; }

.fw-mock__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid var(--fw-line);
    border-radius: 10px;
    font-size: 12.5px;
}
.fw-mock__row strong { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
.fw-mock__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fw-mock__dot.is-green { background: var(--fw-green); }
.fw-mock__dot.is-blue { background: var(--fw-blue); }
.fw-mock__dot.is-amber { background: var(--fw-amber); }


.fw-stats { padding: 0; margin-top: -34px; position: relative; z-index: 2; }

.fw-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--fw-line);
    border: 1px solid var(--fw-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(20, 26, 46, .08);
}

.fw-stat {
    background: #fff;
    padding: 26px 18px;
    text-align: center;
}
.fw-stat strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--fw-brand);
    font-variant-numeric: tabular-nums;
}
.fw-stat span { font-size: 13.5px; color: var(--fw-ink-2); }


.fw-erp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.fw-erp__text p { margin-top: 14px; font-size: 15.5px; }
.fw-erp__text strong { color: var(--fw-ink); }

.fw-erp__list { list-style: none; padding: 0; margin: 22px 0 0; }
.fw-erp__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 15px;
    color: var(--fw-ink);
}
.fw-erp__list i { color: var(--fw-brand); }


.fw-flow {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 30px 16px;
    background: #fff;
    border: 1px solid var(--fw-line);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(20, 26, 46, .07);
}

.fw-flow__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 6px;
    background: var(--fw-tint);
    border: 1px solid var(--fw-line);
    border-radius: 13px;
    font-size: 12.5px;
    font-weight: 700;
}
.fw-flow__node i { font-size: 18px; color: var(--fw-brand); }
.fw-flow__node span { white-space: nowrap; }
.fw-flow__node.is-final { background: var(--fw-brand); border-color: var(--fw-brand); color: #fff; }
.fw-flow__node.is-final i { color: #fff; }
.fw-flow__arrow { color: #c3cadd; font-size: 13px; flex: none; }


.fw-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.fw-card {
    background: #fff;
    border: 1px solid var(--fw-line);
    border-radius: 16px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fw-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 75, 214, .32);
    box-shadow: 0 18px 40px rgba(20, 26, 46, .1);
}

.fw-card__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--fw-brand-soft);
    color: var(--fw-brand);
    font-size: 20px;
    margin-bottom: 16px;
}

.fw-card__title { font-size: 18px; font-weight: 800; }
.fw-card__text { margin-top: 9px; font-size: 14.5px; }

.fw-card__items { list-style: none; padding: 0; margin: 16px 0 0; }
.fw-card__items li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--fw-ink-2);
    padding: 4px 0;
}
.fw-card__items i { color: var(--fw-green); font-size: 11px; }

.fw-card__link {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--fw-line);
    color: var(--fw-brand);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.fw-card__link:hover { color: var(--fw-brand-2); text-decoration: none; gap: 11px; }


.fw-adv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px 34px;
}

.fw-adv__item { display: flex; gap: 16px; }

.fw-adv__icon {
    flex: none;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--fw-line);
    color: var(--fw-brand);
    font-size: 18px;
}

.fw-adv__item h3 { font-size: 16.5px; font-weight: 800; }
.fw-adv__item p { margin-top: 6px; font-size: 14.5px; }


.fw-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.fw-step {
    position: relative;
    background: var(--fw-tint);
    border: 1px solid var(--fw-line);
    border-radius: 16px;
    padding: 30px 24px 26px;
}

.fw-step__num {
    position: absolute;
    inset-block-start: -18px;
    inset-inline-start: 24px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--fw-brand), var(--fw-brand-2));
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(91, 75, 214, .3);
}

.fw-step h3 { margin-top: 12px; font-size: 17px; font-weight: 800; }
.fw-step p { margin-top: 8px; font-size: 14.5px; }


.fw-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.fw-plan {
    position: relative;
    background: #fff;
    border: 1px solid var(--fw-line);
    border-radius: 16px;
    padding: 30px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.fw-plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 26, 46, .1); }

.fw-plan.is-popular { border-color: var(--fw-brand); box-shadow: 0 18px 44px rgba(91, 75, 214, .16); }

.fw-plan__tag {
    position: absolute;
    inset-block-start: -13px;
    inset-inline-end: 22px;
    background: linear-gradient(135deg, var(--fw-brand), var(--fw-brand-2));
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
}

.fw-plan__name { font-size: 18px; font-weight: 800; }

.fw-plan__price { display: flex; align-items: baseline; gap: 7px; }
.fw-plan__price strong { font-size: 34px; font-weight: 800; color: var(--fw-brand); font-variant-numeric: tabular-nums; }
.fw-plan__price span { font-size: 13px; color: var(--fw-ink-2); }
.fw-plan__free { font-size: 24px; font-weight: 800; color: var(--fw-brand); }

.fw-plan__desc { font-size: 14px; }

.fw-plan__trial {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    background: #eefaf1;
    color: var(--fw-green);
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 700;
}

.fw-plan .fw-btn--soft { margin-top: auto; }

.fw-plans__more { text-align: center; margin-top: 30px; }


.fw-cta { padding: 0 0 84px; }

.fw-cta__box {
    background: linear-gradient(135deg, #2a2352 0%, var(--fw-brand) 55%, var(--fw-brand-2) 100%);
    border-radius: 22px;
    padding: 56px 42px;
    text-align: center;
    color: #fff;
    box-shadow: 0 26px 60px rgba(91, 75, 214, .28);
}

.fw-cta__box h2 { color: #fff; font-size: clamp(23px, 3vw, 32px); font-weight: 800; }
.fw-cta__box p { color: rgba(255, 255, 255, .9); margin: 14px auto 0; max-width: 560px; font-size: 15.5px; }

.fw-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.fw-cta__box .fw-btn--primary { background: #fff; color: var(--fw-brand); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.fw-cta__box .fw-btn--primary:hover { color: var(--fw-brand); }

.fw-cta__phone { margin-top: 20px; color: rgba(255, 255, 255, .92); font-weight: 700; }
.fw-cta__phone i { margin-inline-end: 7px; }


@media (max-width: 991px) {
    .fw-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .fw-hero__visual { order: 2; }
    .fw-erp { grid-template-columns: 1fr; gap: 34px; }
    .fw-section { padding: 58px 0; }
    .fw-hero { padding: 58px 0 70px; }
}

@media (max-width: 575px) {
    .fw-hero__actions .fw-btn,
    .fw-cta__actions .fw-btn { width: 100%; justify-content: center; }
    .fw-mock__kpis { grid-template-columns: 1fr; }
    .fw-cta__box { padding: 40px 22px; }
    .fw-flow { flex-direction: column; padding: 22px 14px; }
    .fw-flow__node { width: 100%; flex: none; }
    .fw-flow__arrow { transform: rotate(-90deg); }
}


@media print {
    .fw-hero__glow, .fw-mock, .fw-cta { display: none; }
    .fw-home * { box-shadow: none !important; }
}
