/* =====================================================================
   HireArtist — Homepage (light, creative, explainer-first redesign)
   Scoped under .ha-home. Uses the site's localized font (--app-font-family:
   Inter for EN, Vazir for FA). RTL-aware via logical properties.
   ===================================================================== */

.ha-home {
    --ha-bg: #ffffff;
    --ha-bg-soft: #f5f6fc;
    --ha-panel: #ffffff;
    --ha-border: #e7e9f3;
    --ha-border-strong: #d4d8e8;
    --ha-text: #2a3040;
    --ha-heading: #0f1424;
    --ha-muted: #5a6377;
    --ha-faint: #8b93a7;
    --ha-indigo: #5b5bf0;
    --ha-violet: #8b5cf6;
    --ha-cyan: #0891b2;
    --ha-amber: #f59e0b;
    --ha-mint: #059669;
    --ha-pink: #db2777;
    --ha-grad: linear-gradient(105deg, #5b5bf0 0%, #8b5cf6 45%, #06b6d4 100%);
    --ha-grad-soft: linear-gradient(135deg, #6366f1, #8b5cf6);

    position: relative;
    background: var(--ha-bg);
    color: var(--ha-text);
    overflow: hidden;
    font-family: var(--app-font-family, 'Inter', system-ui, sans-serif);
}

.ha-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(55rem 40rem at 82% -8%, rgba(99, 102, 241, 0.10), transparent 60%),
        radial-gradient(45rem 34rem at 6% 8%, rgba(139, 92, 246, 0.08), transparent 60%),
        radial-gradient(46rem 34rem at 50% 102%, rgba(6, 182, 212, 0.07), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.ha-home>* {
    position: relative;
    z-index: 1;
}

/* ---------- Shared primitives ---------- */
.ha-section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.ha-soft {
    background: var(--ha-bg-soft);
}

.ha-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ha-indigo);
    margin-bottom: 1rem;
}

.ha-eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ha-indigo), transparent);
}

[dir="rtl"] .ha-eyebrow::before {
    background: linear-gradient(270deg, var(--ha-indigo), transparent);
}

.ha-title {
    font-size: clamp(1.75rem, 4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: var(--ha-heading);
    margin: 0;
}

.ha-subtitle {
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 800;
    color: var(--ha-heading);
    margin: 0;
}

.ha-grad-text {
    background: var(--ha-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ha-lead {
    color: var(--ha-muted);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.85;
    max-width: 46ch;
}

.ha-section__head {
    max-width: 660px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ha-section__head--center {
    margin-inline: auto;
    text-align: center;
}

.ha-section__head--center .ha-lead {
    margin-inline: auto;
}

.ha-section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: none;
    margin-bottom: 1.75rem;
}

/* Buttons */
.ha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.7rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.ha-btn--primary {
    background: var(--ha-grad-soft);
    color: #fff;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.32);
}

.ha-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(124, 58, 237, 0.45);
    color: #fff;
}

.ha-btn--ghost {
    background: #fff;
    border-color: var(--ha-border-strong);
    color: var(--ha-heading);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.ha-btn--ghost:hover {
    background: var(--ha-bg-soft);
    border-color: var(--ha-indigo);
    color: var(--ha-indigo);
    transform: translateY(-3px);
}

.ha-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ha-indigo);
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.ha-link:hover {
    gap: 0.85rem;
    color: var(--ha-violet);
}

[dir="rtl"] .ha-link i {
    transform: scaleX(-1);
}

/* ===================== HERO ===================== */
.ha-hero {
    position: relative;
    padding: clamp(0.75rem, 6vw, 1rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.ha-hero__aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ha-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    animation: haFloat 14s ease-in-out infinite;
}

.ha-blob--1 {
    width: 26rem;
    height: 26rem;
    background: rgba(99, 102, 241, 0.45);
    top: -8rem;
    inset-inline-end: -5rem;
}

.ha-blob--2 {
    width: 20rem;
    height: 20rem;
    background: rgba(139, 92, 246, 0.40);
    bottom: -6rem;
    inset-inline-start: -4rem;
    animation-delay: -4s;
}

.ha-blob--3 {
    width: 16rem;
    height: 16rem;
    background: rgba(6, 182, 212, 0.35);
    top: 30%;
    inset-inline-start: 45%;
    animation-delay: -8s;
}

@keyframes haFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(0, -24px) scale(1.06);
    }
}

.ha-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 70%);
}

.ha-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.ha-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ha-border);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ha-text);
    margin-bottom: 1.5rem;
}

.ha-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ha-mint);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5);
    animation: haPulse 2.2s infinite;
}

@keyframes haPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(5, 150, 105, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

.ha-hero__title {
    font-size: clamp(2.3rem, 5.4vw, 4.05rem);
    font-weight: 800;
    /* line-height: 1.04;
    letter-spacing: -0.03em; */
    color: var(--ha-heading);
    margin-bottom: 1.25rem;
}

.ha-hero__title span {
    display: block;
}

.ha-hero__lead {
    color: var(--ha-muted);
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
    line-height: 1.8;
    max-width: 50ch;
    margin-bottom: 1.75rem;
}

.ha-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.ha-hero__social {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ha-border);
}

.ha-hero__avatars {
    display: flex;
}

.ha-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-inline-start: -12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    background: #eef;
}

.ha-avatar:first-child {
    margin-inline-start: 0;
}

.ha-hero__social-text {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ha-muted);
    line-height: 1.5;
}

.ha-hero__social-text strong {
    color: var(--ha-heading);
    font-weight: 800;
}

/* Hero media + floating chips */
.ha-hero__media {
    position: relative;
}

.ha-hero__media .home-cinema {
    max-width: 100%;
}

.ha-float-chip {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.95rem;
    background: #fff;
    border: 1px solid var(--ha-border);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    animation: haFloatChip 6s ease-in-out infinite;
}

.ha-float-chip i {
    font-size: 0.95rem;
}

.ha-float-chip span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ha-float-chip b {
    font-size: 0.92rem;
    color: var(--ha-heading);
}

.ha-float-chip span span,
.ha-float-chip>span {
    font-size: 0.72rem;
    color: var(--ha-muted);
}

.ha-float-chip b+* {
    font-size: 0.72rem;
    color: var(--ha-muted);
}

.ha-float-chip--escrow {
    top: -1.1rem;
    inset-inline-start: -1rem;
}

.ha-float-chip--escrow i {
    color: var(--ha-mint);
}

.ha-float-chip--rating {
    bottom: 2.5rem;
    inset-inline-end: -1.1rem;
    animation-delay: -3s;
}

.ha-float-chip--rating i {
    color: var(--ha-amber);
}

@keyframes haFloatChip {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===================== MARQUEE STRIP ===================== */
.ha-strip {
    border-block: 1px solid var(--ha-border);
    background: var(--ha-bg-soft);
    overflow: hidden;
    padding: 1rem 0;
}

.ha-strip__track {
    display: flex;
    width: max-content;
    gap: 3rem;
    animation: haMarquee 38s linear infinite;
}

.ha-strip__track:hover {
    animation-play-state: paused;
}

[dir="rtl"] .ha-strip__track {
    animation-name: haMarqueeRtl;
}

@keyframes haMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes haMarqueeRtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}

.ha-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ha-muted);
}

.ha-strip__item i {
    color: var(--ha-indigo);
}

/* ===================== CATEGORY CLOUD ===================== */
.ha-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 880px;
    margin-inline: auto;
}

.ha-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ha-border);
    color: var(--ha-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.ha-cat:hover {
    transform: translateY(-3px);
    border-color: transparent;
    color: #fff;
    background: var(--cat-accent, var(--ha-grad-soft));
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.28);
}

.ha-cat:hover .ha-cat__count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.ha-cat__count {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--ha-bg-soft);
    color: var(--ha-muted);
    transition: inherit;
}

.ha-cat--1 {
    --cat-accent: linear-gradient(135deg, #6366f1, #818cf8);
}

.ha-cat--2 {
    --cat-accent: linear-gradient(135deg, #0891b2, #06b6d4);
}

.ha-cat--3 {
    --cat-accent: linear-gradient(135deg, #7c3aed, #a855f7);
}

.ha-cat--4 {
    --cat-accent: linear-gradient(135deg, #db2777, #f472b6);
}

.ha-cat--5 {
    --cat-accent: linear-gradient(135deg, #059669, #10b981);
}

.ha-cat--all {
    background: var(--ha-grad-soft);
    color: #fff;
    border-color: transparent;
}

.ha-cat--all:hover {
    background: var(--ha-grad-soft);
}

/* ===================== BENTO PILLARS ===================== */
.ha-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ha-bento__card {
    position: relative;
    padding: 1.95rem 1.7rem;
    border-radius: 22px;
    background: var(--ha-panel);
    border: 1px solid var(--ha-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ha-bento__card::after {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 4px;
    background: var(--pillar-accent, var(--ha-grad));
}

.ha-bento__card:hover {
    transform: translateY(-6px);
    border-color: var(--ha-border-strong);
    box-shadow: 0 24px 46px rgba(99, 102, 241, 0.15);
}

.ha-bento__card--feature {
    grid-row: span 2;
    background: linear-gradient(160deg, #fbfbff 0%, #f4f2ff 100%);
}

.ha-bento__card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--ha-heading);
    margin-bottom: 0.6rem;
}

.ha-bento__card p {
    margin: 0 0 0.9rem;
    color: var(--ha-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.ha-pillar__icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: var(--pillar-accent, var(--ha-grad-soft));
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
}

.ha-pillar--1 {
    --pillar-accent: linear-gradient(135deg, #6366f1, #818cf8);
}

.ha-pillar--2 {
    --pillar-accent: linear-gradient(135deg, #0891b2, #06b6d4);
}

.ha-pillar--3 {
    --pillar-accent: linear-gradient(135deg, #7c3aed, #a855f7);
}

.ha-pillar--4 {
    --pillar-accent: linear-gradient(135deg, #db2777, #f472b6);
}

/* ===================== AUDIENCE TABS ===================== */
.ha-tabs {
    display: inline-flex;
    padding: 0.35rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ha-border);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    margin-bottom: 2.5rem;
}

.ha-tab {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--ha-muted);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease;
}

.ha-tab.is-active {
    color: #fff;
    background: var(--ha-grad-soft);
    box-shadow: 0 10px 22px rgba(99, 102, 241, 0.32);
}

.ha-panel-tab {
    display: none;
    animation: haFade 0.4s ease;
}

.ha-panel-tab.is-active {
    display: block;
}

@keyframes haFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ha-audience__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.ha-audience__heading {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--ha-heading);
    line-height: 1.2;
    margin: 0;
}

.ha-audience__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.ha-audience__step {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ha-border);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ha-audience__step:hover {
    transform: translateX(0) translateY(-3px);
    box-shadow: 0 16px 30px rgba(99, 102, 241, 0.12);
}

.ha-audience__step-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    background: var(--ha-grad-soft);
}

.ha-audience__step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ha-heading);
    margin: 0 0 0.25rem;
}

.ha-audience__step p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ha-muted);
    line-height: 1.6;
}

/* ===================== HOW IT WORKS TIMELINE ===================== */
.ha-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    position: relative;
}

.ha-timeline::before {
    content: "";
    position: absolute;
    top: 27px;
    inset-inline: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--ha-indigo), var(--ha-violet), var(--ha-cyan));
    opacity: 0.35;
    z-index: 0;
}

.ha-tl-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem;
}

.ha-tl-step__dot {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    background: var(--ha-grad-soft);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.35);
    border: 4px solid var(--ha-bg);
}

.ha-tl-step__num {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--ha-indigo);
    margin-bottom: 0.5rem;
}

.ha-tl-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ha-heading);
    margin-bottom: 0.55rem;
}

.ha-tl-step p {
    margin: 0 auto;
    max-width: 30ch;
    color: var(--ha-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===================== FEATURE SPOTLIGHTS ===================== */
.ha-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.ha-feature+.ha-feature {
    border-top: 1px solid var(--ha-border);
}

.ha-feature--flip .ha-feature__visual {
    order: -1;
}

.ha-feature__tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ha-cyan);
    margin-bottom: 0.85rem;
}

.ha-feature h3 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--ha-heading);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.ha-feature p {
    color: var(--ha-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.ha-feature__list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.ha-feature__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--ha-text);
    font-size: 0.95rem;
}

.ha-feature__list i {
    color: var(--ha-mint);
    margin-top: 0.25rem;
}

.ha-feature__visual {
    position: relative;
    border-radius: 24px;
    padding: 2rem;
    background: linear-gradient(150deg, #eef1ff 0%, #f7f4ff 60%, #ecfeff 100%);
    border: 1px solid var(--ha-border);
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ha-feature__glow {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    background: var(--ha-violet);
    top: -4rem;
    inset-inline-end: -4rem;
    pointer-events: none;
}

.ha-mock {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #fff;
    border: 1px solid var(--ha-border);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.ha-mock__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--ha-border);
}

.ha-mock__row:last-child {
    border-bottom: none;
}

.ha-mock__row span {
    color: var(--ha-muted);
    font-size: 0.85rem;
}

.ha-mock__row b {
    color: var(--ha-heading);
    font-size: 0.95rem;
}

.ha-mock__bar {
    height: 10px;
    border-radius: 6px;
    background: var(--ha-grad-soft);
    width: 60%;
}

.ha-mock__pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.12);
    color: var(--ha-mint);
    border: 1px solid rgba(5, 150, 105, 0.25);
}

/* ===================== SHOWCASE ===================== */
.ha-showcase__block+.ha-showcase__block {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ===================== STAT BAND ===================== */
.ha-statband {
    position: relative;
    padding: clamp(2.75rem, 6vw, 4.5rem) 0;
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 50%, #0891b2 100%);
    overflow: hidden;
}

.ha-statband__aurora {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(30rem 20rem at 15% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
        radial-gradient(28rem 20rem at 85% 100%, rgba(255, 255, 255, 0.12), transparent 60%);
    pointer-events: none;
}

.ha-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}

.ha-stat {
    text-align: center;
    padding: 1.25rem 1rem;
}

.ha-stat__value {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.ha-stat__label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* ===================== FAQ ===================== */
.ha-faq {
    max-width: 760px;
    margin-inline: auto;
    display: grid;
    gap: 0.85rem;
}

.ha-faq__item {
    border-radius: 16px;
    background: var(--ha-panel);
    border: 1px solid var(--ha-border);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ha-faq__item[open] {
    border-color: var(--ha-border-strong);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.1);
}

.ha-faq__q {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 700;
    color: var(--ha-heading);
    font-size: 1rem;
}

.ha-faq__q::-webkit-details-marker {
    display: none;
}

.ha-faq__q i {
    color: var(--ha-indigo);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.ha-faq__item[open] .ha-faq__q i {
    transform: rotate(45deg);
}

.ha-faq__a {
    padding: 0 1.35rem 1.25rem;
    color: var(--ha-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ===================== FINAL CTA ===================== */
.ha-cta {
    position: relative;
    overflow: hidden;
}

.ha-cta__box {
    position: relative;
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: 28px;
    background: linear-gradient(135deg, #eef1ff 0%, #f6f1ff 50%, #ecfeff 100%);
    border: 1px solid var(--ha-border);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.12);
    overflow: hidden;
}

.ha-cta__box::before {
    content: "";
    position: absolute;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 70%);
    top: -13rem;
    inset-inline-end: -9rem;
    pointer-events: none;
}

.ha-cta__box h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--ha-heading);
    margin-bottom: 1rem;
    position: relative;
}

.ha-cta__box p {
    color: var(--ha-muted);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 52ch;
    margin: 0 auto 2rem;
    position: relative;
}

.ha-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    position: relative;
}

.ha-cta__note {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--ha-muted);
    position: relative;
}

/* ===================== Scroll reveal ===================== */
.ha-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.ha-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ha-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ha-strip__track,
    .ha-blob,
    .ha-float-chip,
    .ha-dot {
        animation: none;
    }
}

/* ===================== Responsive ===================== */
@media (max-width: 991px) {
    .ha-hero__grid {
        grid-template-columns: 1fr;
    }

    .ha-hero__media {
        order: -1;
        margin-bottom: 1rem;
    }

    .ha-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .ha-bento__card--feature {
        grid-row: span 1;
    }

    .ha-audience__grid {
        grid-template-columns: 1fr;
    }

    .ha-feature {
        grid-template-columns: 1fr;
    }

    .ha-feature--flip .ha-feature__visual {
        order: 0;
    }

    .ha-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ha-timeline::before {
        display: none;
    }

    .ha-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
}

@media (max-width: 575px) {
    .ha-bento {
        grid-template-columns: 1fr;
    }

    .ha-hero__actions .ha-btn {
        width: 100%;
    }

    .ha-tabs {
        width: 100%;
        display: flex;
    }

    .ha-tab {
        flex: 1;
        padding-inline: 0.5rem;
    }

    .ha-float-chip {
        display: none;
    }
}



/* ================================================
   HERO SEARCH BAR — RTL (customfa/home-redesign.css)
   Light theme · Indigo/Violet palette
   ================================================ */

.ha-hero__search {
    margin-bottom: 1.75rem;
    width: 100%;
    max-width: 540px;
    /* در RTL از سمت راست شروع می‌شه */
    margin-right: 0;
    margin-left: auto;
}

.ha-hero__search-group {
    display: flex;
    flex-direction: row-reverse;
    /* آیکون جستجو سمت راست */
    align-items: center;
    background: #ffffff;
    border: 2px solid #e0e7ff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.10);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ha-hero__search-group:focus-within {
    border-color: #6366f1;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.18);
}

.ha-hero__search-icon {
    padding: 0 1rem 0 0.875rem;
    /* padding معکوس برای RTL */
    color: #6366f1;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.ha-hero__search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.85rem 0.5rem;
    color: #1e1b4b;
    font-size: 0.95rem;
    min-width: 0;
    text-align: right;
    direction: rtl;
}

.ha-hero__search-input::placeholder {
    color: #a5b4fc;
    text-align: right;
}

.ha-hero__search-btn {
    background: #6366f1;
    border: none;
    color: #ffffff;
    padding: 0.85rem 1.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
    /* دکمه سمت چپ در RTL */
    border-radius: 0 0 0 12px;
}

.ha-hero__search-btn:hover {
    background: #4f46e5;
}

.ha-hero__search-btn:active {
    transform: scale(0.97);
}

/* ── Popular tags ── */
.ha-hero__tags {
    margin-bottom: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row-reverse;
    /* تگ‌ها از راست شروع می‌شن */
    gap: 0.4rem 0.5rem;
    justify-content: flex-end;
}

.ha-hero__tags-label {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 500;
    flex-shrink: 0;
    order: 99;
    /* لیبل "محبوب:" آخر از همه (سمت چپ) */
}

.ha-hero__tag {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4338ca;
    padding: 0.22rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    white-space: nowrap;
    direction: rtl;
}

.ha-hero__tag:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 575px) {
    .ha-hero__search {
        max-width: 100%;
    }

    .ha-hero__search-btn {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }

    .ha-hero__tags {
        justify-content: flex-end;
    }
}