hesabixWpTheme/assets/css/helo-page.css

1179 lines
25 KiB
CSS

/**
* صفحهٔ مهاجرت از هلو به حسابیکس آرک
*
* @package Hesabix2
*/
.hx-helo {
--hx-helo-ink: #0b1220;
--hx-helo-mist: #e0f2fe;
--hx-helo-sky: var(--brand-500, #0ea5e9);
--hx-helo-sky-deep: var(--brand-600, #0284c7);
--hx-helo-accent: var(--accent-500, #f97316);
--hx-helo-old: #78716c;
--hx-helo-ease: cubic-bezier(0.22, 1, 0.36, 1);
--hx-helo-delay: 0s;
overflow-x: clip;
color: #0f172a;
}
/* ——— Hero ——— */
.hx-helo-hero {
position: relative;
color: #f8fafc;
background:
radial-gradient(110% 80% at 100% 0%, rgba(14, 165, 233, 0.32) 0%, transparent 55%),
radial-gradient(80% 60% at 0% 90%, rgba(249, 115, 22, 0.2) 0%, transparent 48%),
linear-gradient(165deg, #020617 0%, #0c1526 45%, #1a1208 100%);
padding: 2.5rem 0 3.5rem;
overflow: hidden;
}
.hx-helo-hero__aurora {
position: absolute;
inset: -25% -10% auto;
height: 75%;
background: conic-gradient(from 200deg at 50% 40%, rgba(14, 165, 233, 0.22), transparent 35%, rgba(249, 115, 22, 0.14), transparent 70%);
filter: blur(48px);
animation: hx-helo-aurora 16s ease-in-out infinite alternate;
pointer-events: none;
}
.hx-helo-hero__grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
background-size: 44px 44px;
mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 15%, transparent 72%);
pointer-events: none;
opacity: 0.5;
}
.hx-helo-hero__inner {
position: relative;
z-index: 1;
}
.hx-helo-hero__crumb {
margin-bottom: 1.25rem;
}
.hx-helo-hero__grid-layout {
display: grid;
gap: 2.75rem;
align-items: center;
}
@media (min-width: 1024px) {
.hx-helo-hero {
padding: 3.25rem 0 4.5rem;
min-height: min(90vh, 54rem);
display: flex;
align-items: center;
}
.hx-helo-hero__grid-layout {
grid-template-columns: 1.05fr 0.95fr;
gap: 2.75rem;
}
}
.hx-helo-hero__copy {
text-align: center;
}
@media (min-width: 1024px) {
.hx-helo-hero__copy {
text-align: right;
}
}
.hx-helo-hero__badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
margin: 0 0 0.85rem;
padding: 0.35rem 0.85rem;
font-size: 0.8125rem;
font-weight: 600;
color: #ffedd5;
background: rgba(249, 115, 22, 0.16);
border: 1px solid rgba(253, 186, 116, 0.35);
border-radius: 999px;
}
.hx-helo-hero__badge-dot {
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background: #fb923c;
box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.25);
animation: hx-helo-pulse 2s ease-in-out infinite;
}
.hx-helo-hero__brand {
margin: 0 0 0.35rem;
font-size: clamp(1.35rem, 3vw, 1.85rem);
font-weight: 800;
letter-spacing: -0.02em;
color: #7dd3fc;
line-height: 1.25;
}
.hx-helo-hero__title {
margin: 0 0 1rem;
font-size: clamp(2rem, 5vw, 3.45rem);
font-weight: 800;
line-height: 1.15;
letter-spacing: -0.03em;
background: linear-gradient(115deg, #fff 10%, #fed7aa 55%, #fb923c 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hx-helo-hero__lead {
margin: 0 auto 1.5rem;
max-width: 36rem;
font-size: 1.0625rem;
line-height: 1.85;
color: rgba(226, 232, 240, 0.9);
}
@media (min-width: 1024px) {
.hx-helo-hero__lead {
margin-right: 0;
margin-left: auto;
font-size: 1.125rem;
}
}
.hx-helo-hero__meta {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
.hx-helo-hero__meta {
justify-content: flex-start;
}
}
.hx-helo-pill {
display: inline-flex;
align-items: center;
padding: 0.3rem 0.7rem;
font-size: 0.75rem;
font-weight: 600;
color: #e2e8f0;
background: rgba(15, 23, 42, 0.45);
border: 1px solid rgba(148, 163, 184, 0.28);
border-radius: 999px;
}
.hx-helo-pill--accent {
color: #ffedd5;
background: rgba(249, 115, 22, 0.22);
border-color: rgba(253, 186, 116, 0.4);
}
.hx-helo-pill--dark {
color: #334155;
background: #f8fafc;
border-color: #e2e8f0;
}
.hx-helo-hero__actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
justify-content: center;
margin-bottom: 1rem;
}
@media (min-width: 1024px) {
.hx-helo-hero__actions {
justify-content: flex-start;
}
}
.hx-helo-cta {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 3rem;
padding: 0.7rem 1.35rem;
font-size: 0.9375rem;
font-weight: 700;
color: #0f172a;
background: linear-gradient(135deg, #fb923c, #f97316 55%, #ea580c);
border: none;
border-radius: 0.9rem;
box-shadow: 0 10px 28px rgba(249, 115, 22, 0.35);
text-decoration: none;
transition: transform 0.25s var(--hx-helo-ease), box-shadow 0.25s var(--hx-helo-ease), filter 0.25s;
}
.hx-helo-cta:hover {
transform: translateY(-2px);
filter: brightness(1.05);
box-shadow: 0 14px 32px rgba(249, 115, 22, 0.42);
color: #0f172a;
text-decoration: none;
}
.hx-helo-cta--ghost {
color: #e0f2fe;
background: transparent;
border: 1px solid rgba(125, 211, 252, 0.4);
box-shadow: none;
}
.hx-helo-cta--ghost:hover {
background: rgba(14, 165, 233, 0.12);
color: #fff;
box-shadow: none;
}
.hx-helo-cta--ghost-light {
color: #0f172a;
background: transparent;
border: 1px solid #cbd5e1;
box-shadow: none;
}
.hx-helo-cta--ghost-light:hover {
background: #f1f5f9;
color: #0f172a;
box-shadow: none;
}
.hx-helo-cta--on-dark {
color: #0f172a;
background: #fff;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.hx-helo-cta--on-dark:hover {
color: #0f172a;
background: #f8fafc;
}
.hx-helo-cta--disabled {
opacity: 0.55;
cursor: not-allowed;
pointer-events: none;
box-shadow: none;
background: #94a3b8;
color: #fff;
}
.hx-helo-cta__icon {
width: 1.15rem;
height: 1.15rem;
flex-shrink: 0;
}
.hx-helo-hero__note {
margin: 0;
font-size: 0.8125rem;
color: rgba(148, 163, 184, 0.95);
line-height: 1.7;
}
@media (min-width: 1024px) {
.hx-helo-hero__note {
max-width: 32rem;
}
}
/* Duel visual */
.hx-helo-duel {
display: grid;
gap: 1rem;
align-items: center;
}
@media (min-width: 640px) {
.hx-helo-duel {
grid-template-columns: 1fr auto 1fr;
gap: 0.75rem;
}
}
.hx-helo-duel__side {
margin: 0;
position: relative;
}
.hx-helo-duel__tag {
position: absolute;
top: -0.55rem;
inset-inline-start: 0.85rem;
z-index: 2;
padding: 0.2rem 0.55rem;
font-size: 0.6875rem;
font-weight: 800;
letter-spacing: 0.02em;
color: #fafaf9;
background: #57534e;
border-radius: 0.4rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.hx-helo-duel__tag--live {
background: linear-gradient(135deg, #0ea5e9, #0284c7);
}
.hx-helo-duel__arrow {
display: none;
color: #fb923c;
width: 2.5rem;
justify-self: center;
}
@media (min-width: 640px) {
.hx-helo-duel__arrow {
display: flex;
animation: hx-helo-nudge 2.2s var(--hx-helo-ease) infinite;
}
.hx-helo-duel__arrow svg {
width: 2.5rem;
height: 2.5rem;
transform: scaleX(-1);
}
}
.hx-helo-relic {
border-radius: 0.85rem;
overflow: hidden;
border: 1px solid rgba(168, 162, 158, 0.45);
background: #292524;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
filter: saturate(0.55) contrast(0.95);
will-change: transform;
}
.hx-helo-duel__side--old:hover .hx-helo-relic {
filter: saturate(0.35) brightness(0.9);
}
.hx-helo-relic__titlebar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
padding: 0.45rem 0.65rem;
background: linear-gradient(180deg, #57534e, #44403c);
color: #d6d3d1;
font-size: 0.7rem;
}
.hx-helo-relic__logo {
height: 1.35rem;
width: auto;
object-fit: contain;
opacity: 0.9;
}
.hx-helo-relic__body {
position: relative;
aspect-ratio: 4 / 3;
background: #000;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.hx-helo-relic__shot {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
opacity: 0.72;
filter: grayscale(0.65) sepia(0.25);
}
.hx-helo-relic__shot--logo {
width: 72%;
max-width: 11.5rem;
height: auto;
max-height: 42%;
object-fit: contain;
opacity: 0.92;
filter: none;
margin-bottom: 1.25rem;
}
.hx-helo-relic__overlay {
position: absolute;
inset: auto 0 0;
padding: 0.85rem;
background: linear-gradient(transparent, rgba(28, 25, 23, 0.92));
text-align: center;
}
.hx-helo-relic__overlay p {
margin: 0;
font-size: 0.75rem;
font-weight: 700;
color: #d6d3d1;
}
.hx-helo-arc-panel {
border-radius: 1rem;
overflow: hidden;
border: 1px solid rgba(56, 189, 248, 0.35);
background: linear-gradient(160deg, #0c4a6e, #082f49 60%, #0f172a);
box-shadow:
0 20px 48px rgba(14, 165, 233, 0.28),
inset 0 1px 0 rgba(255, 255, 255, 0.08);
will-change: transform;
}
.hx-helo-duel__side--new:hover .hx-helo-arc-panel {
filter: brightness(1.05);
}
.hx-helo-arc-panel__bar {
display: flex;
align-items: center;
gap: 0.35rem;
padding: 0.55rem 0.75rem;
background: rgba(2, 132, 199, 0.35);
border-bottom: 1px solid rgba(125, 211, 252, 0.2);
}
.hx-helo-arc-panel__bar span {
width: 0.55rem;
height: 0.55rem;
border-radius: 50%;
background: #38bdf8;
}
.hx-helo-arc-panel__bar span:nth-child(2) { background: #7dd3fc; opacity: 0.7; }
.hx-helo-arc-panel__bar span:nth-child(3) { background: #bae6fd; opacity: 0.45; }
.hx-helo-arc-panel__bar em {
margin-inline-start: auto;
font-style: normal;
font-size: 0.7rem;
font-weight: 700;
color: #e0f2fe;
}
.hx-helo-arc-panel__grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.65rem;
padding: 0.85rem;
min-height: 11.5rem;
}
.hx-helo-arc-panel__card {
padding: 0.75rem;
border-radius: 0.75rem;
background: rgba(15, 23, 42, 0.45);
border: 1px solid rgba(125, 211, 252, 0.18);
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.hx-helo-arc-panel__card span {
font-size: 0.6875rem;
color: #94a3b8;
}
.hx-helo-arc-panel__card strong {
font-size: 1.15rem;
color: #f8fafc;
font-weight: 800;
}
.hx-helo-arc-panel__card--accent {
background: rgba(249, 115, 22, 0.18);
border-color: rgba(253, 186, 116, 0.35);
}
.hx-helo-arc-panel__card--wide {
grid-column: 1 / -1;
}
/* Quotes rotator (one line at a time — no duplicate marquee) */
.hx-helo-quotes {
position: relative;
padding: 1.75rem 0;
background:
linear-gradient(90deg, rgba(28, 25, 23, 0.97), rgba(15, 23, 42, 0.98)),
#1c1917;
border-block: 1px solid rgba(120, 113, 108, 0.45);
overflow: hidden;
}
.hx-helo-quotes::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(60% 120% at 50% 50%, rgba(249, 115, 22, 0.12), transparent 70%);
pointer-events: none;
}
.hx-helo-quotes__inner {
position: relative;
z-index: 1;
text-align: center;
max-width: 46rem;
margin-inline: auto;
}
.hx-helo-quotes__mark {
display: block;
font-size: 2.5rem;
line-height: 1;
color: #f97316;
opacity: 0.55;
font-family: Georgia, "Times New Roman", serif;
margin-bottom: 0.25rem;
}
.hx-helo-quotes__stage {
position: relative;
min-height: 4.5rem;
display: grid;
place-items: center;
}
.hx-helo-quotes__line {
margin: 0;
grid-area: 1 / 1;
font-size: clamp(0.95rem, 2.2vw, 1.15rem);
font-weight: 600;
line-height: 1.85;
color: #e7e5e4;
opacity: 0;
transform: translateY(0.6rem);
transition:
opacity 0.55s var(--hx-helo-ease),
transform 0.55s var(--hx-helo-ease);
pointer-events: none;
visibility: hidden;
}
.hx-helo-quotes__line.is-active {
opacity: 1;
transform: none;
pointer-events: auto;
visibility: visible;
}
.hx-helo-quotes__dots {
display: flex;
justify-content: center;
gap: 0.45rem;
margin-top: 1rem;
}
.hx-helo-quotes__dot {
width: 0.45rem;
height: 0.45rem;
padding: 0;
border: 0;
border-radius: 999px;
background: rgba(214, 211, 209, 0.35);
cursor: pointer;
transition: width 0.3s var(--hx-helo-ease), background 0.3s;
}
.hx-helo-quotes__dot.is-active {
width: 1.35rem;
background: #f97316;
}
.hx-helo-quotes__dot:focus-visible {
outline: 2px solid #fb923c;
outline-offset: 2px;
}
/* Sections shared */
.hx-helo-section-head {
text-align: center;
margin-bottom: 2rem;
}
@media (min-width: 1024px) {
.hx-helo-section-head {
text-align: right;
max-width: 42rem;
margin-right: 0;
margin-left: auto;
}
}
.hx-helo-section-head h2 {
margin: 0 0 0.65rem;
font-size: clamp(1.45rem, 3vw, 2rem);
font-weight: 800;
color: #0f172a;
letter-spacing: -0.02em;
}
.hx-helo-section-head p {
margin: 0;
color: #64748b;
line-height: 1.8;
font-size: 0.9875rem;
}
.hx-helo-section-head--light h2 {
color: #f8fafc;
}
.hx-helo-section-head--light p {
color: rgba(226, 232, 240, 0.82);
}
.hx-helo-kicker {
display: inline-block;
margin: 0 0 0.5rem !important;
font-size: 0.75rem !important;
font-weight: 800 !important;
letter-spacing: 0.04em;
color: var(--hx-helo-accent) !important;
text-transform: none;
}
.hx-helo-section-head--light .hx-helo-kicker {
color: #fdba74 !important;
}
/* Why */
.hx-helo-why {
padding: 3.5rem 0;
background:
radial-gradient(80% 60% at 100% 0%, rgba(14, 165, 233, 0.08), transparent 50%),
#fff;
}
.hx-helo-why__grid {
display: grid;
gap: 1rem;
}
@media (min-width: 768px) {
.hx-helo-why__grid {
grid-template-columns: 1fr 1fr;
}
}
.hx-helo-why__card {
padding: 1.35rem 1.4rem;
border-radius: 1.15rem;
border: 1px solid #e2e8f0;
background: linear-gradient(160deg, #fff, #f8fafc);
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
transition: border-color 0.3s, transform 0.3s var(--hx-helo-ease);
}
.hx-helo-why__card:hover {
border-color: rgba(249, 115, 22, 0.45);
transform: translateY(-3px);
}
.hx-helo-why__icon {
display: inline-flex;
width: 2.5rem;
height: 2.5rem;
align-items: center;
justify-content: center;
border-radius: 0.75rem;
background: rgba(249, 115, 22, 0.12);
color: #ea580c;
margin-bottom: 0.85rem;
}
.hx-helo-why__icon svg {
width: 1.25rem;
height: 1.25rem;
}
.hx-helo-why__jab {
margin: 0 0 0.45rem;
font-size: 0.8125rem;
font-weight: 700;
color: #c2410c;
line-height: 1.6;
}
.hx-helo-why__card h3 {
margin: 0 0 0.45rem;
font-size: 1.0625rem;
font-weight: 800;
color: #0f172a;
}
.hx-helo-why__desc {
margin: 0;
font-size: 0.9rem;
color: #64748b;
line-height: 1.75;
}
/* Compare */
.hx-helo-compare {
padding: 3.5rem 0;
background: #f8fafc;
border-block: 1px solid #e2e8f0;
}
.hx-helo-compare__wrap {
border-radius: 1.15rem;
border: 1px solid #e2e8f0;
background: #fff;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.hx-helo-compare__table {
width: 100%;
min-width: 36rem;
border-collapse: collapse;
text-align: right;
font-size: 0.875rem;
}
.hx-helo-compare__table th,
.hx-helo-compare__table td {
padding: 1rem 1.1rem;
vertical-align: top;
border-bottom: 1px solid #f1f5f9;
line-height: 1.7;
}
.hx-helo-compare__table thead th {
background: #f1f5f9;
font-weight: 800;
color: #475569;
}
.hx-helo-compare__col--old {
color: #78716c;
width: 38%;
}
.hx-helo-compare__col--new {
color: #0369a1;
font-weight: 600;
width: 38%;
background: rgba(14, 165, 233, 0.04);
}
.hx-helo-compare__table tbody th {
font-weight: 700;
color: #0f172a;
background: #fafafa;
width: 24%;
}
.hx-helo-compare__table tbody tr:last-child th,
.hx-helo-compare__table tbody tr:last-child td {
border-bottom: 0;
}
.hx-helo-compare__table thead .hx-helo-compare__col--old {
color: #57534e;
background: #f5f5f4;
}
.hx-helo-compare__table thead .hx-helo-compare__col--new {
color: #0284c7;
background: rgba(14, 165, 233, 0.1);
}
/* Migrate */
.hx-helo-migrate {
padding: 3.75rem 0;
background:
radial-gradient(90% 70% at 0% 0%, rgba(14, 165, 233, 0.22), transparent 50%),
radial-gradient(70% 50% at 100% 100%, rgba(249, 115, 22, 0.18), transparent 45%),
linear-gradient(165deg, #0f172a, #082f49 55%, #1c1917);
color: #e2e8f0;
}
.hx-helo-steps {
list-style: none;
margin: 0 0 2rem;
padding: 0;
display: grid;
gap: 0.85rem;
}
@media (min-width: 768px) {
.hx-helo-steps {
grid-template-columns: 1fr 1fr;
}
}
.hx-helo-steps__item {
display: flex;
gap: 0.9rem;
align-items: flex-start;
padding: 1.15rem 1.2rem;
border-radius: 1rem;
background: rgba(15, 23, 42, 0.45);
border: 1px solid rgba(148, 163, 184, 0.2);
}
.hx-helo-steps__num {
flex-shrink: 0;
width: 2rem;
height: 2rem;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.6rem;
font-weight: 800;
font-size: 0.875rem;
color: #0f172a;
background: linear-gradient(135deg, #fb923c, #f97316);
}
.hx-helo-steps__item h3 {
margin: 0 0 0.35rem;
font-size: 1rem;
font-weight: 800;
color: #f8fafc;
}
.hx-helo-steps__item p {
margin: 0;
font-size: 0.875rem;
line-height: 1.75;
color: rgba(203, 213, 225, 0.9);
}
.hx-helo-download {
display: grid;
gap: 1.5rem;
padding: 1.5rem;
border-radius: 1.25rem;
background: rgba(255, 255, 255, 0.96);
color: #0f172a;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) {
.hx-helo-download {
grid-template-columns: 1.35fr 0.9fr;
align-items: center;
padding: 1.75rem 1.85rem;
}
}
.hx-helo-download__copy h3 {
margin: 0 0 0.5rem;
font-size: 1.2rem;
font-weight: 800;
}
.hx-helo-download__copy p {
margin: 0 0 1rem;
color: #64748b;
line-height: 1.75;
font-size: 0.9375rem;
}
.hx-helo-download__action {
display: flex;
flex-direction: column;
gap: 0.65rem;
align-items: stretch;
}
.hx-helo-download__soon {
margin: 0;
font-size: 0.75rem;
color: #94a3b8;
text-align: center;
}
/* FAQ */
.hx-helo-faq {
padding: 3.5rem 0;
background: #fff;
}
.hx-helo-faq__list {
max-width: 48rem;
margin: 0 auto;
display: grid;
gap: 0.65rem;
}
@media (min-width: 1024px) {
.hx-helo-faq__list {
margin: 0;
margin-inline-start: 0;
}
}
.hx-helo-faq__item {
border: 1px solid #e2e8f0;
border-radius: 0.95rem;
background: #f8fafc;
overflow: hidden;
}
.hx-helo-faq__q {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.15rem;
background: transparent;
border: 0;
cursor: pointer;
text-align: right;
font-family: inherit;
font-size: 0.95rem;
font-weight: 700;
color: #0f172a;
}
.hx-helo-faq__chev {
width: 1.15rem;
height: 1.15rem;
flex-shrink: 0;
color: #64748b;
transition: transform 0.25s var(--hx-helo-ease);
}
.hx-helo-faq__q[aria-expanded="true"] .hx-helo-faq__chev {
transform: rotate(180deg);
color: #ea580c;
}
.hx-helo-faq__a {
padding: 0 1.15rem 1.1rem;
}
.hx-helo-faq__a p {
margin: 0;
font-size: 0.9rem;
line-height: 1.8;
color: #64748b;
}
/* Final */
.hx-helo-final {
padding: 3.75rem 0 4.5rem;
background:
linear-gradient(120deg, rgba(2, 132, 199, 0.92), rgba(234, 88, 12, 0.88)),
#0284c7;
color: #fff;
text-align: center;
}
.hx-helo-final__inner {
max-width: 40rem;
}
.hx-helo-final__eyebrow {
margin: 0 0 0.5rem;
font-size: 1.15rem;
font-weight: 800;
letter-spacing: -0.02em;
color: rgba(255, 255, 255, 0.92);
}
.hx-helo-final h2 {
margin: 0 0 0.75rem;
font-size: clamp(1.6rem, 3.5vw, 2.35rem);
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.25;
}
.hx-helo-final__desc {
margin: 0 auto 1.5rem;
font-size: 1rem;
line-height: 1.8;
color: rgba(255, 255, 255, 0.9);
max-width: 32rem;
}
.hx-helo-final__actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
justify-content: center;
}
/* Reveal */
.hx-helo-reveal {
opacity: 0;
transform: translateY(1.1rem);
transition:
opacity 0.7s var(--hx-helo-ease) var(--hx-helo-delay),
transform 0.7s var(--hx-helo-ease) var(--hx-helo-delay);
}
.hx-helo-reveal.is-visible {
opacity: 1;
transform: none;
}
@keyframes hx-helo-aurora {
from { transform: translate3d(0, 0, 0) rotate(0deg); }
to { transform: translate3d(-4%, 3%, 0) rotate(8deg); }
}
@keyframes hx-helo-pulse {
0%, 100% { box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2); }
50% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.08); }
}
@keyframes hx-helo-nudge {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(-6px); }
}
@keyframes hx-helo-float-old {
0%, 100% { transform: rotate(-1.5deg) translateY(0); }
50% { transform: rotate(-2deg) translateY(-6px); }
}
@keyframes hx-helo-float-new {
0%, 100% { transform: rotate(1.25deg) translateY(0); }
50% { transform: rotate(0.6deg) translateY(-8px); }
}
@keyframes hx-helo-rise {
from {
opacity: 0;
transform: translateY(1.25rem);
}
to {
opacity: 1;
transform: none;
}
}
@keyframes hx-helo-rise-scale {
from {
opacity: 0;
transform: translateY(1.5rem) scale(0.97);
}
to {
opacity: 1;
transform: none;
}
}
@keyframes hx-helo-pop {
0% { transform: scale(0.6); }
70% { transform: scale(1.08); }
100% { transform: scale(1); }
}
/*
* Hero entrance: opacity فقط داخل keyframes.
* اگر opacity:0 روی خودِ rule باشد و animation قطع شود (مثلاً reduce motion)،
* محتوا برای همیشه نامرئی می‌ماند.
*/
@media (prefers-reduced-motion: no-preference) {
.hx-helo-enter > * {
animation: hx-helo-rise 0.85s var(--hx-helo-ease) both;
animation-delay: calc(0.08s + (var(--hx-helo-i, 0) * 0.09s));
}
.hx-helo-enter--visual {
animation: hx-helo-rise-scale 1s var(--hx-helo-ease) both;
animation-delay: calc(0.12s + (var(--hx-helo-i, 0) * 0.09s));
}
/* جلوگیری از دوباره‌مخفی‌شدن فرزندِ visual */
.hx-helo-enter--visual.hx-helo-enter > * {
animation: none;
}
.hx-helo-duel__side--old .hx-helo-relic {
animation: hx-helo-float-old 7s ease-in-out infinite;
}
.hx-helo-duel__side--new .hx-helo-arc-panel {
animation: hx-helo-float-new 6.5s ease-in-out infinite;
}
.hx-helo-duel__side--old:hover .hx-helo-relic,
.hx-helo-duel__side--new:hover .hx-helo-arc-panel {
animation-play-state: paused;
}
.hx-helo-steps__item.is-visible .hx-helo-steps__num {
animation: hx-helo-pop 0.55s var(--hx-helo-ease) both;
}
}
.hx-helo-compare__table tbody tr {
transition: background 0.25s;
}
.hx-helo-compare__table tbody tr:hover td,
.hx-helo-compare__table tbody tr:hover th {
background: rgba(14, 165, 233, 0.06);
}
.hx-helo-cta {
position: relative;
overflow: hidden;
}
.hx-helo-cta::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
transform: translateX(-120%);
transition: transform 0.7s var(--hx-helo-ease);
pointer-events: none;
}
.hx-helo-cta:hover::after {
transform: translateX(120%);
}
@media (prefers-reduced-motion: reduce) {
.hx-helo-reveal {
opacity: 1;
transform: none;
transition: none;
}
.hx-helo-hero__aurora,
.hx-helo-hero__badge-dot,
.hx-helo-duel__arrow {
animation: none !important;
}
.hx-helo-duel__side--old .hx-helo-relic {
transform: rotate(-1.5deg);
animation: none !important;
}
.hx-helo-duel__side--new .hx-helo-arc-panel {
transform: rotate(1.25deg);
animation: none !important;
}
.hx-helo-cta::after {
display: none;
}
}