/* Oktomate landing v2 — ساختار و حرکت الهام‌گرفته از سایت‌های «pinned storytelling» (GSAP ScrollTrigger).
   روی site.css لایه می‌شود؛ همه‌ی قواعد صفحه‌ی اصلی زیر body.hit scope شده‌اند. */

:root {
  --hit-light: #f7f0e6;
  --hit-ink: #1a0e02;
  --hit-gold: #f0d9a0;
  --hit-teal: #ff5a2c;
  --hit-amber: #f59e0b;
}

html[lang="fa"] body, html[lang="fa"] .btn { font-family: "Vazirmatn", "Geist", system-ui, sans-serif; }
html[lang="ar"] body, html[lang="ar"] .btn { font-family: "IBM Plex Sans Arabic", "Geist", system-ui, sans-serif; }
html[lang="zh"] body, html[lang="zh"] .btn { font-family: "Noto Sans SC", "Geist", system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body.is-loading { overflow: hidden; }

/* ───────── Loader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-in { text-align: center; display: grid; gap: 18px; justify-items: center; }
.loader-in svg { width: 56px; height: 56px; animation: loader-spin 2.4s var(--ease) infinite; }
.loader-in p { color: var(--text-2); font-size: 1.05rem; margin: 0; letter-spacing: .01em; }
@keyframes loader-spin { 0% { transform: rotate(0); } 60%, 100% { transform: rotate(360deg); } }
html:not(.js) .loader { display: none; }

/* ───────── Header (home) ───────── */
body.hit .hit-header {
  position: absolute; inset-inline: 0; top: 0; z-index: 50;
  background: transparent; border-bottom: 0; backdrop-filter: none;
}
body.hit .hit-header .nav { height: 88px; }
body.hit .nav-login { padding: .5rem 1.15rem; font-size: .95rem; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
body.hit .nav-login:hover { background: #ffa346; }
@media (max-width: 760px) { body.hit .nav-login { display: none; } }

/* ───────── Floating bottom pill ───────── */
.float-nav {
  position: fixed; z-index: 60; inset-inline: 0; margin-inline: auto; bottom: 22px; width: max-content; max-width: calc(100vw - 24px);
  display: flex; align-items: center; gap: 4px; padding: 7px 8px;
  background: rgba(17, 20, 19, .78); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .65);
  transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.float-nav.is-on { transform: none; opacity: 1; }
.float-nav a, .fn-up { color: var(--text-2); font-size: .95rem; padding: .55rem 1rem; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.float-nav a:hover, .fn-up:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.fn-up { border: 0; background: rgba(255, 255, 255, .08); cursor: pointer; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; color: var(--text); font-size: 1.1rem; }
.float-nav .fn-cta { background: var(--accent); color: var(--accent-ink); font-weight: 600; margin-inline-start: 4px; }
.float-nav .fn-cta:hover { background: #ffa346; color: var(--accent-ink); }
@media (max-width: 760px) { .float-nav a:not(.fn-cta) { display: none; } .float-nav { bottom: 14px; } }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 120px 0 90px; isolation: isolate; }
.hero .orbs { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.o1 { width: 52vw; height: 52vw; background: radial-gradient(circle, #ff8a1f 0%, transparent 68%); inset-inline-start: -12vw; top: -14vw; animation: drift1 22s ease-in-out infinite alternate; opacity: .38; }
.o2 { width: 46vw; height: 46vw; background: radial-gradient(circle, var(--hit-teal) 0%, transparent 66%); inset-inline-end: -10vw; top: 6vw; animation: drift2 26s ease-in-out infinite alternate; opacity: .26; }
.o3 { width: 40vw; height: 40vw; background: radial-gradient(circle, var(--hit-amber) 0%, transparent 66%); inset-inline-start: 26vw; bottom: -20vw; animation: drift3 30s ease-in-out infinite alternate; opacity: .24; }
@keyframes drift1 { to { transform: translate(12vw, 10vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 12vw) scale(.9); } }
@keyframes drift3 { to { transform: translate(-14vw, -8vw) scale(1.2); } }
.grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-in { width: min(1080px, 92vw); display: grid; justify-items: center; gap: 36px; }
.hero h1 { font-size: clamp(1.7rem, 3.7vw, 3.3rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 600; margin: 0; text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #cfcfcf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="fa"] .hero h1, html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
html[lang="zh"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 44px); flex-wrap: wrap; }
.hs { display: flex; align-items: center; gap: 12px; text-align: start; }
.hs b { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; color: var(--hit-gold); letter-spacing: -.02em; line-height: 1; }
.hs span { color: var(--text-2); font-size: .95rem; max-width: 11ch; line-height: 1.3; }
.hs-sep { width: 1px; height: 38px; background: rgba(255, 255, 255, .18); }
@media (max-width: 640px) { .hs-sep { display: none; } .hs { flex-direction: column; text-align: center; gap: 4px; } .hs span { max-width: 14ch; } }
.hero-lead { max-width: 60ch; color: var(--text-2); font-size: clamp(1.12rem, 1.6vw, 1.42rem); margin: 0; line-height: 1.65; }
.scroll-cue { color: var(--text-3); font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.scroll-cue i { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ───────── About (pinned, image shrinks) ───────── */
.home-about { position: relative; background: var(--bg); }
.ha-inner { position: relative; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.image-wrapper { position: relative; width: 100%; height: 100%; overflow: hidden; flex: none; z-index: 1; }
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transform-origin: center; }
.ha-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 12, .55), rgba(11, 13, 12, .1) 40%, rgba(11, 13, 12, .6)); }
.ha-text { position: absolute; inset-block: 0; inset-inline-end: 0; width: 50%; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 0 clamp(24px, 5vw, 80px); color: var(--hit-ink); opacity: 0; }
.ha-text h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em; margin: 0; font-weight: 600; color: var(--hit-ink); }
.ha-text p { margin: 0; line-height: 1.7; color: #4a3b2e; font-size: 1.05rem; max-width: 52ch; }
.ha-text .eyebrow { color: #b45309; }
.btn-dark { background: var(--hit-ink); color: #fff; border-color: var(--hit-ink); align-self: flex-start; }
.btn-dark:hover { background: #3a2410; }
@media (max-width: 800px) {
  .ha-inner { height: auto; flex-direction: column; }
  .image-wrapper { height: 52svh; }
  .ha-text { position: static; width: auto; opacity: 1; background: var(--hit-light); padding: 48px 24px 56px; }
}

/* ───────── Statement (word reveal) ───────── */
.statement { background: var(--hit-light); color: #fff; padding: clamp(90px, 14vw, 200px) 0; }
.statement-text { font-size: clamp(1.7rem, 3.8vw, 3.4rem); line-height: 1.3; letter-spacing: -.025em; font-weight: 500; max-width: 24ch; margin-inline: auto; text-align: center; color: #fff; text-wrap: balance; }
html[lang="fa"] .statement-text, html[lang="ar"] .statement-text, html[lang="zh"] .statement-text { letter-spacing: 0; max-width: 28ch; line-height: 1.5; }
.statement-text .w { display: inline-block; }

/* ───────── Solutions (pinned, stacking cards) ───────── */
.solutions { position: relative; background: var(--bg); }
.sol-pin { min-height: 100svh; padding: 8px 0 96px; display: flex; flex-direction: column; align-items: center; width: 100%; }
.heading-wrapper { text-align: center; padding: 0 20px; }
.heading-inner { display: grid; gap: 10px; justify-items: center; }
.heading-inner h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; margin: 0; max-width: none; white-space: nowrap; padding-bottom: .12em;
  background: linear-gradient(180deg, #fff, #b9b9b9); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="fa"] .heading-inner h2, html[lang="ar"] .heading-inner h2, html[lang="zh"] .heading-inner h2 { letter-spacing: 0; line-height: 1.3; }
.tabs-wrapper { display: flex; gap: 6px; padding: 6px; margin-top: 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(17, 20, 19, .6); flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 32px); }
.tab { border: 0; background: transparent; color: var(--text-3); font: inherit; font-size: .95rem; padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer; transition: color .25s, background .25s; }
.tab.is-active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.solutions-wrapper { position: relative; width: min(1120px, 92vw); margin-top: 16px; flex: 1; min-height: min(470px, 56svh); }
.solution {
  position: absolute; inset-inline: 0; top: 0; height: min(470px, 56svh);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 52px); border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255, 138, 31, .28);
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 138, 31, .26), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(255, 90, 44, .12), transparent 60%), #141414;
  box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, .8);
}
.solution:nth-child(2) { background: radial-gradient(120% 140% at 100% 0%, rgba(245, 158, 11, .16), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(255, 138, 31, .1), transparent 60%), #151515; }
.solution:nth-child(3) { background: radial-gradient(120% 140% at 0% 100%, rgba(255, 90, 44, .18), transparent 55%), radial-gradient(90% 120% at 100% 0%, rgba(255, 138, 31, .1), transparent 60%), #141414; }
.solution:nth-child(4) { background: radial-gradient(120% 140% at 100% 100%, rgba(255, 138, 31, .18), transparent 55%), radial-gradient(90% 120% at 0% 0%, rgba(245, 158, 11, .1), transparent 60%), #151515; }
.sol-text { display: grid; gap: 14px; align-content: center; }
.tag { justify-self: start; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 138, 31, .14); color: var(--accent); letter-spacing: .04em; }
.solution h3 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 600; }
.sol-sub { margin: 0; color: var(--hit-gold); font-size: 1.05rem; line-height: 1.5; }
.sol-body { margin: 0; color: var(--text-2); line-height: 1.7; font-size: 1rem; }
.sol-visual { display: grid; place-items: center; min-width: 0; }
@media (max-width: 800px) {
  .sol-pin { padding: 90px 0 50px; }
  .tabs-wrapper { display: none; }
  .solutions-wrapper { display: grid; gap: 18px; min-height: 0; margin-top: 30px; }
  .solution { position: static; height: auto; grid-template-columns: 1fr; }
}

/* mockups */
.mk { width: 100%; max-width: 420px; font-size: .95rem; direction: ltr; }
html[dir="rtl"] .mk { direction: rtl; }
.mk-chat { display: grid; gap: 12px; }
.bub { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 18px; line-height: 1.5; max-width: 90%; }
.bub-in { background: #262626; color: var(--text); border-end-start-radius: 4px; justify-self: start; }
.bub-out { background: linear-gradient(135deg, #ff8a1f, #e8730a); color: var(--accent-ink); border-end-end-radius: 4px; justify-self: end; flex-direction: column; font-weight: 500; }
.chip { font-style: normal; display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: rgba(18, 24, 10, .9); color: var(--accent); font-size: .85rem; font-weight: 600; }
.mk-meta { color: var(--text-3); font-size: .8rem; display: flex; align-items: center; gap: 6px; justify-self: end; }
.mk-meta i { color: var(--accent); }
.mk-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; row-gap: 14px; }
.fnode { display: grid; justify-items: center; gap: 6px; padding: 14px 12px; min-width: 84px; background: #222; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; font-size: .85rem; text-align: center; }
.fnode i { font-size: 1.4rem; color: var(--accent); }
.fnode-1 i { color: var(--hit-amber); } .fnode-2 i { color: var(--hit-teal); }
.fline { width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px); flex: none; }
.mk-form { display: grid; gap: 10px; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 18px; }
.frow { display: grid; gap: 4px; }
.frow label { color: var(--text-3); font-size: .78rem; }
.fv { background: #101010; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .8rem; color: var(--text); }
.ford { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px; border-radius: 14px; background: rgba(255, 138, 31, .1); border: 1px dashed rgba(255, 138, 31, .4); }
.ford i { font-size: 1.5rem; color: var(--accent); }
.ford b { display: block; } .ford small { color: var(--text-2); }
.mk-chan { display: grid; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips .chip { background: #222; color: var(--text); border: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; padding: .55rem 1.1rem; }
.chips .c0 { border-color: rgba(255, 138, 31, .6); color: var(--accent); }
.bars { display: grid; gap: 12px; background: #1b1b1b; border-radius: 18px; padding: 18px; border: 1px solid rgba(255, 255, 255, .08); }
.bars small { color: var(--text-2); display: block; margin-bottom: 6px; }
.bars i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #d96a00); width: var(--w); }

/* ───────── Community (pinned, horizontal cards) ───────── */
.community { background: var(--bg); position: relative; overflow: hidden; }
.com-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 90px 0; }
.com-head { width: min(1240px, 92vw); margin-inline: auto; display: grid; gap: 14px; }
.com-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.1; letter-spacing: -.03em; margin: 0; max-width: 16ch; font-weight: 600; color: var(--hit-gold); text-wrap: balance; }
html[lang="fa"] .com-head h2, html[lang="ar"] .com-head h2, html[lang="zh"] .com-head h2 { letter-spacing: 0; line-height: 1.3; }
.com-head p:not(.eyebrow) { margin: 0; color: var(--text-2); max-width: 54ch; line-height: 1.6; }
.com-track { display: flex; gap: 22px; width: max-content; padding-inline: max(4vw, calc((100vw - 1240px) / 2)); will-change: transform; }
.stat-card { width: clamp(250px, 24vw, 330px); min-height: 300px; padding: 28px; border-radius: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; flex: none;
  border: 1px solid rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; width: 140%; height: 140%; inset: auto auto -60% -20%; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: 0; }
.stat-card > * { position: relative; z-index: 1; }
.sc-0 { background: #181614; } .sc-0::before { background: #ff8a1f; opacity: .35; }
.sc-1 { background: #171616; } .sc-1::before { background: var(--hit-amber); opacity: .3; }
.sc-2 { background: #151515; } .sc-2::before { background: var(--hit-teal); opacity: .3; }
.sc-3 { background: #181716; } .sc-3::before { background: #e8d28a; opacity: .28; }
.sc-4 { background: #161616; } .sc-4::before { background: #7aa7ff; opacity: .26; }
.stat-card b { font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -.03em; line-height: 1; font-weight: 600; }
.stat-card h4 { margin: 8px 0 0; font-size: 1.15rem; font-weight: 600; }
.stat-card p { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.55; }
@media (max-width: 800px) {
  .com-pin { min-height: 0; padding: 80px 0; }
  .com-track { width: auto; display: grid; grid-template-columns: 1fr 1fr; padding-inline: 4vw; }
  .stat-card { width: auto; min-height: 220px; padding: 20px; }
}
@media (max-width: 520px) { .com-track { grid-template-columns: 1fr; } }

/* ───────── Strength grid ───────── */
.strength { padding: clamp(80px, 11vw, 160px) 0; background: var(--bg-2); }
.str-head { display: grid; gap: 12px; margin-bottom: 48px; }
.str-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.03em; line-height: 1.12; margin: 0; max-width: 18ch; font-weight: 600; }
html[lang="fa"] .str-head h2, html[lang="ar"] .str-head h2, html[lang="zh"] .str-head h2 { letter-spacing: 0; line-height: 1.3; }
.str-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.str-card { padding: 28px 24px 30px; border-radius: 24px; background: #151515; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-height: 260px; transition: transform .5s var(--ease), border-color .3s, background .3s; }
.str-card:hover { transform: translateY(-6px); border-color: rgba(255, 138, 31, .45); background: #1a1816; }
.str-n { font-family: "Geist Mono", ui-monospace, monospace; color: var(--accent); font-size: .85rem; }
.str-card h3 { margin: 12px 0 0; font-size: 1.3rem; font-weight: 600; }
.str-card p { margin: 0; color: var(--text-2); line-height: 1.65; font-size: .98rem; }
@media (max-width: 1000px) { .str-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .str-grid { grid-template-columns: 1fr; } .str-card { min-height: 0; } }

/* ───────── Trust (framed image grows to full-bleed) ───────── */
.trust { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--bg); isolation: isolate; }
.trust-frame { position: absolute; inset: 0; z-index: -1; overflow: hidden; clip-path: inset(8% 6% round 32px); }
.trust-img { width: 100%; height: 120%; object-fit: cover; display: block; will-change: transform; }
.trust-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 12, .25), rgba(11, 13, 12, .85)); }
.trust-text { display: grid; gap: 18px; padding-block: 0 clamp(60px, 9vw, 120px); max-width: 880px; margin-inline: 0 auto; width: min(1240px, 92vw); }
html[dir="rtl"] .trust-text { margin-inline: auto 0; }
.trust-text h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; font-weight: 600; max-width: 14ch; }
html[lang="fa"] .trust-text h2, html[lang="ar"] .trust-text h2, html[lang="zh"] .trust-text h2 { letter-spacing: 0; line-height: 1.3; }
.trust-text p:not(.eyebrow) { margin: 0; color: #d8d8d8; max-width: 56ch; line-height: 1.7; font-size: 1.05rem; }
.btn-light { background: #fff; color: var(--hit-ink); border-color: #fff; justify-self: start; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); }

/* ───────── Pricing / FAQ / CTA ───────── */
.pricing { padding: clamp(80px, 11vw, 150px) 0; }
.pr-head { text-align: center; display: grid; gap: 12px; justify-items: center; }
.pr-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.03em; line-height: 1.12; margin: 0; max-width: 18ch; font-weight: 600; }
html[lang="fa"] .pr-head h2, html[lang="ar"] .pr-head h2, html[lang="zh"] .pr-head h2 { letter-spacing: 0; line-height: 1.3; }
.pr-note { margin: 0; color: var(--text-3); }
body.hit .pricing-toggle { display: flex; justify-content: center; margin: 34px 0 40px; }
body.hit .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; max-width: 1100px; margin-inline: auto; }
body.hit .plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-radius: 26px; background: #141817; border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
body.hit .plan:hover { transform: translateY(-6px); }
body.hit .plan-featured { background: radial-gradient(120% 90% at 50% 0%, rgba(255, 138, 31, .16), transparent 60%), #181614; border-color: rgba(255, 138, 31, .5); }
.plan-tag { position: absolute; top: 18px; inset-inline-end: 18px; font-size: .75rem; padding: .25rem .7rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
body.hit .plan h3 { font-size: 1.3rem; margin: 0; }
.plan-sub { margin: 0; color: var(--text-3); font-size: .95rem; min-height: 2.9em; }
body.hit .plan .price { margin: 10px 0 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
body.hit .plan .price b { font-size: clamp(2rem, 3vw, 2.7rem); letter-spacing: -.03em; font-weight: 600; }
body.hit .plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--text-2); }
@media (max-width: 900px) { body.hit .plans { grid-template-columns: 1fr; max-width: 480px; } }

.faq-section { padding: 0 0 clamp(80px, 10vw, 140px); }
.faq-section h2 { text-align: center; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.03em; margin: 0; font-weight: 600; }
html[lang="fa"] .faq-section h2, html[lang="ar"] .faq-section h2, html[lang="zh"] .faq-section h2 { letter-spacing: 0; }
body.hit .faq-a { display: none; }
body.hit .faq-item.is-open .faq-a { display: block; }

.cta-final { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 12vw, 170px); }
.cta-in { text-align: center; display: grid; gap: 22px; justify-items: center; padding: clamp(48px, 7vw, 96px) 24px; border-radius: 36px; position: relative; overflow: hidden;
  background: radial-gradient(70% 120% at 50% 0%, rgba(255, 138, 31, .25), transparent 65%), radial-gradient(60% 90% at 100% 100%, rgba(255, 90, 44, .16), transparent 60%), #141414; border: 1px solid rgba(255, 255, 255, .1); }
.cta-in h2 { font-size: clamp(2rem, 4.6vw, 4rem); letter-spacing: -.035em; line-height: 1.1; margin: 0; max-width: 18ch; font-weight: 600; text-wrap: balance; }
html[lang="fa"] .cta-in h2, html[lang="ar"] .cta-in h2, html[lang="zh"] .cta-in h2 { letter-spacing: 0; line-height: 1.3; }
.cta-in p { margin: 0; color: var(--text-2); max-width: 52ch; line-height: 1.6; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ───────── Footer: giant wordmark ───────── */
body.hit .site-footer { position: relative; overflow: hidden; background: #060606; border-top: 1px solid var(--line-soft); }
body.hit .foot-mark { margin-top: 40px; padding: 0 2vw; direction: ltr; user-select: none; pointer-events: none; }
body.hit .foot-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
body.hit .foot-mark text { font-family: inherit; font-weight: 700; font-size: 200px; letter-spacing: -6px; fill: transparent; stroke: rgba(255, 138, 31, .85); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 0; }
.js body.hit .foot-mark text { stroke-dashoffset: 900; }

/* ───────── Reveal helpers & motion safety ───────── */
.js [data-rv] { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) {
  .orb, .loader-in svg, .scroll-cue i { animation: none; }
  .js [data-rv] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ───────── Subpages: keep header consistent ───────── */
body:not(.home) .nav-login { padding: .5rem 1.15rem; font-size: .95rem; white-space: nowrap; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* RTL: منوی زبان به سمت داخل صفحه باز شود (دکمه‌ی زبان در RTL سمت چپ است) */
html[dir="rtl"] body.hit .lang-switch-menu { inset-inline-start: auto; inset-inline-end: auto; left: 0; right: auto; }

/* ───────── برند (آیکون اختاپوس) ───────── */
.brand-mark { width: 34px; height: 34px; object-fit: contain; display: block; flex: none; }
.brand { gap: 10px; }
.loader-in .brand-mark, .loader-in img { width: 84px; height: 84px; animation: loader-spin 2.4s var(--ease) infinite; }
.ha-logo { width: min(260px, 60%); height: auto; margin-bottom: 4px; }
@media (max-width: 640px) { .heading-inner h2 { white-space: normal; } }

/* ───────── فونت: همه‌ی متن‌ها در fa/ar/zh از فونت همان زبان (Geist Mono و Geist جایگزین نشوند) ───────── */
html[lang="fa"] :is(h1,h2,h3,h4,h5,p,a,span,b,strong,small,em,label,li,button,div,blockquote,td,th,input,textarea,select,code) { font-family: "Vazirmatn", system-ui, sans-serif; }
html[lang="ar"] :is(h1,h2,h3,h4,h5,p,a,span,b,strong,small,em,label,li,button,div,blockquote,td,th,input,textarea,select,code) { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; }
html[lang="zh"] :is(h1,h2,h3,h4,h5,p,a,span,b,strong,small,em,label,li,button,div,blockquote,td,th,input,textarea,select,code) { font-family: "Noto Sans SC", system-ui, sans-serif; }
html:is([lang="fa"],[lang="ar"],[lang="zh"]) .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
html:is([lang="fa"],[lang="ar"]) .mk, html:is([lang="fa"],[lang="ar"]) .fv { font-size: .9rem; }

/* ───────── منوی زبان در نوار شناور ───────── */
.fn-lang { position: relative; }
.fn-lang-btn { border: 0; background: transparent; color: var(--text-2); width: 40px; height: 40px; border-radius: 999px; cursor: pointer; font-size: 1.15rem; display: grid; place-items: center; transition: color .2s, background .2s; }
.fn-lang-btn:hover, .fn-lang.is-open .fn-lang-btn { color: var(--text); background: rgba(255, 255, 255, .08); }
.fn-lang-menu { position: absolute; bottom: calc(100% + 14px); inset-inline-start: 50%; transform: translateX(-50%) translateY(8px); display: grid; gap: 2px; min-width: 150px; padding: 8px;
  background: rgba(17, 17, 17, .96); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
html[dir="rtl"] .fn-lang-menu { transform: translateX(50%) translateY(8px); }
.fn-lang.is-open .fn-lang-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
html[dir="rtl"] .fn-lang.is-open .fn-lang-menu { transform: translateX(50%) translateY(0); }
.fn-lang-menu a { padding: .55rem .9rem; border-radius: 10px; color: var(--text-2); font-size: .95rem; white-space: nowrap; }
.fn-lang-menu a:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.fn-lang-menu a.is-active { color: var(--accent); font-weight: 600; }

/* کارت‌های بخش امکانات: پس‌زمینه‌ی روشن‌تر از صفحه تا روی مشکی گم نشوند */
.solution { background-color: #1c1815; }
.solution:nth-child(2) { background-color: #1b1714; } .solution:nth-child(3) { background-color: #1a1816; } .solution:nth-child(4) { background-color: #1c1713; }

/* ───────── تیتر دو خطه‌ی hero: خط اول ثابت (سفید)، خط دوم نارنجی با جلوه‌ی اسلاید عمودی ───────── */
.hero h1 { display: grid; gap: .08em; justify-items: center; }
.h1-fixed { display: block; }
.h1-rot { display: grid; justify-items: center; overflow: hidden; padding-block: .06em; -webkit-text-fill-color: var(--accent); background: none; }
.h1-word { grid-area: 1 / 1; text-align: center; opacity: 0; transform: translateY(105%); transition: transform .65s var(--ease), opacity .45s ease; will-change: transform; }
.h1-word.is-active { opacity: 1; transform: none; }
.h1-word.is-out { opacity: 0; transform: translateY(-105%); }
.h1-word.no-anim { transition: none; }
.h1-rot .tcur { display: inline-block; width: .08em; height: .9em; margin-inline-start: .05em; background: var(--accent); vertical-align: -.08em; animation: blink 1s steps(1) infinite; -webkit-text-fill-color: initial; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .h1-word { transition: none; } }

/* ───────── بخش About: پاراگراف پایانی ───────── */
.ha-closing { font-weight: 600; color: var(--hit-ink) !important; }

/* ───────── hero: پیام‌ها می‌آیند، اُکتومیت جواب می‌دهد و می‌رود ───────── */
.hero-chat { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hc-b { position: absolute; max-width: min(300px, 34vw); padding: .7rem 1rem; border-radius: 18px; font-size: .98rem; line-height: 1.45; opacity: 0; transform: translateY(26px) scale(.92);
  transition: opacity .55s var(--ease), transform .7s var(--ease); backdrop-filter: blur(6px); will-change: transform, opacity; }
.hc-b.in { inset-inline-start: 5vw; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); color: #d9d9d9; border-end-start-radius: 5px; }
.hc-b.out { inset-inline-end: 5vw; background: linear-gradient(135deg, rgba(255, 138, 31, .9), rgba(232, 115, 10, .88)); color: #1a0e02; font-weight: 500; border-end-end-radius: 5px; box-shadow: 0 14px 40px -14px rgba(255, 138, 31, .6); }
.hc-b.show { opacity: .9; transform: none; }
.hc-b.gone { opacity: 0; transform: translateY(-46px) scale(.96); transition-duration: .6s; }
.hc-typing { display: inline-flex; gap: 4px; align-items: center; height: 1em; }
.hc-typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: hc-dot 1s infinite; }
.hc-typing i:nth-child(2) { animation-delay: .15s; } .hc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hc-dot { 40% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 900px) { .hc-b { max-width: 42vw; font-size: .82rem; padding: .5rem .75rem; } .hc-b.in { inset-inline-start: 3vw; } .hc-b.out { inset-inline-end: 3vw; } }
@media (prefers-reduced-motion: reduce) { .hero-chat { display: none; } }
/* About: متن بلندتر شد؛ فشرده‌تر تا در یک صفحه جا شود */
.ha-logo { width: min(180px, 46%); }
.ha-text { gap: 13px; }
.ha-text p { font-size: 1rem; line-height: 1.65; }
.ha-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.9rem); }
/* آمار: کارت‌ها بالاتر بیایند تا نوار شناور پایین روی‌شان نیفتد */
.com-pin { justify-content: flex-start; gap: 22px; padding: 44px 0 130px; }
.com-head h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.stat-card { min-height: 250px; padding: 24px; }
.stat-card b { font-size: clamp(2.1rem, 3.4vw, 3rem); }
@media (max-width: 800px) { .com-pin { padding: 70px 0 100px; } }
/* کارت‌های آمار: افکت هاور (بالا آمدن، درخشش نارنجی، نور دنبال‌کننده‌ی ماوس) */
.stat-card { transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.stat-card::before { transition: transform .8s var(--ease), opacity .5s; }
.stat-card::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .11), transparent 62%); }
.stat-card b, .stat-card h4 { transition: color .3s, transform .5s var(--ease); }
@media (hover: hover) {
  .stat-card:hover { transform: translateY(-12px) scale(1.035); border-color: rgba(255, 138, 31, .6); box-shadow: 0 34px 64px -26px rgba(255, 138, 31, .5); }
  .stat-card:hover::before { transform: scale(1.3) translate(6%, -8%); opacity: .6; }
  .stat-card:hover::after { opacity: 1; }
  .stat-card:hover b { color: var(--accent); transform: translateY(-3px); }
}
/* «چرا می‌مانند»: فشرده‌تر و بالاتر تا کارت‌ها زیر نوار شناور پایین نروند */
.strength { padding: clamp(56px, 6vw, 84px) 0 clamp(110px, 10vw, 150px); }
.str-head { margin-bottom: 26px; }
.str-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.str-card { min-height: 190px; padding: 22px 22px 24px; gap: 10px; }
.str-card h3 { margin-top: 6px; }

/* پاراگراف زیر عنوان امکانات + برچسب «به‌زودی» کانال‌ها */
.sol-intro { max-width: 62ch; margin: .8rem auto 0; color: var(--text-2); font-size: clamp(.9rem, 1.1vw, 1.02rem); line-height: 1.7; text-align: center; }
.chip .soon { font-size: .68em; font-weight: 500; opacity: .6; margin-inline-start: .25em; }
.chip.is-soon { opacity: .75; }

/* ───────── FAQ: لیست سؤال‌ها در یک سمت، جواب در پنل سمت دیگر ───────── */
body.hit .faq.faq-split { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
body.hit .faq-list { counter-reset: fq; }
body.hit .faq-split .faq-item { counter-increment: fq; position: relative; }
body.hit .faq-split .faq-q { padding-block: 20px; padding-inline: 44px 40px; font-size: 1rem; line-height: 1.6; transition: color .25s, padding .35s var(--ease); }
body.hit .faq-split .faq-q::before { content: counter(fq, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); font-size: .78rem; letter-spacing: .08em; color: var(--text-3); transition: color .25s; }
html[lang="fa"] body.hit .faq-split .faq-q::before { content: counter(fq, persian); }
html[lang="ar"] body.hit .faq-split .faq-q::before { content: counter(fq, arabic-indic); }
body.hit .faq-split .faq-q:hover { color: #fff; }
body.hit .faq-split .faq-item.is-open .faq-q { color: var(--accent); padding-inline-start: 56px; }
body.hit .faq-split .faq-item.is-open .faq-q::before { color: var(--accent); }
body.hit .faq-split .faq-item::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
body.hit .faq-split .faq-item.is-open::after { width: 100%; }
body.hit .faq-split .faq-q::after { display: none; }
body.hit .faq-panel { position: sticky; top: 110px; min-height: 300px; padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: #141210; border: 1px solid rgba(255, 138, 31, .22); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(255, 138, 31, .45); }
body.hit .faq-panel::before { content: ""; position: absolute; width: 90%; height: 90%; inset: auto auto -45% -25%; border-radius: 50%; background: #ff8a1f; filter: blur(70px); opacity: .22; pointer-events: none; }
body.hit .faq-panel-in { position: relative; z-index: 1; }
body.hit .faq-panel h3 { margin: 0 0 16px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; font-weight: 600; color: var(--accent); }
body.hit .faq-panel p { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.95; }
body.hit .faq-panel-in.swap { animation: faqIn .55s var(--ease) both; }
body.hit .faq-panel.swap-line::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, #ff8a1f, transparent); animation: faqLine .7s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateX(var(--fx, 28px)); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes faqLine { from { transform: scaleX(0); opacity: 1; } to { transform: scaleX(1); opacity: 0; } }
html[dir="rtl"] body.hit .faq-panel-in { --fx: 28px; }
html[dir="ltr"] body.hit .faq-panel-in { --fx: -28px; }
@media (min-width: 901px) { body.hit .faq-split .faq-item.is-open .faq-a { display: none; } }
@media (max-width: 900px) {
  body.hit .faq.faq-split { grid-template-columns: 1fr; }
  body.hit .faq-panel { display: none; }
  body.hit .faq-split .faq-a { padding: 0 0 22px; }
}
@media (prefers-reduced-motion: reduce) { body.hit .faq-panel-in.swap, body.hit .faq-panel.swap-line::after { animation: none; } }

/* ───────── «چرا ما؟»: کارت‌ها با اسپات‌لایت ماوس، تیلت سه‌بعدی و عدد بزرگ ───────── */
.str-intro { margin: 6px 0 0; max-width: 62ch; color: var(--text-2); font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.8; }
.str-grid { perspective: 1100px; }
.str-card { position: relative; overflow: hidden; isolation: isolate; transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .45s var(--ease), border-color .35s, background .35s, box-shadow .5s var(--ease); will-change: transform; }
.str-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 31, .22), transparent 62%); }
.str-card::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, #ff8a1f, #ffc27a, transparent);
  transform: scaleX(0); transition: transform .6s var(--ease); pointer-events: none; }
.str-n { position: absolute; inset-block-start: 10px; inset-inline-end: 16px; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; font-weight: 700; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 138, 31, .38); transition: color .45s, -webkit-text-stroke-color .45s, transform .6s var(--ease); z-index: 0; user-select: none; }
.str-card h3, .str-card p { position: relative; z-index: 1; transition: transform .5s var(--ease), color .3s; }
.str-card h3 { margin-top: 54px; }
@media (hover: hover) {
  .str-card:hover { --ty: -10px; border-color: rgba(255, 138, 31, .6); background: #191613; box-shadow: 0 34px 60px -28px rgba(255, 138, 31, .5); }
  .str-card:hover::before { opacity: 1; }
  .str-card:hover::after { transform: scaleX(1); }
  .str-card:hover .str-n { color: rgba(255, 138, 31, .16); -webkit-text-stroke-color: #ff8a1f; transform: translate(-6px, 4px) scale(1.12); }
  .str-card:hover h3 { transform: translateZ(26px); color: #ffb066; }
  .str-card:hover p { transform: translateZ(14px); color: var(--text); }
}
.js .str-card.rv-pre { opacity: 0; transform: translateY(46px); }
@media (prefers-reduced-motion: reduce) { .str-card, .str-card * { transition: none !important; } }

/* عنوان بلندتر بخش امنیت (فارسی) */
html[lang="fa"] .trust-text h2 { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3.7rem); }

.cta-in .eyebrow { margin: 0; }

/* رفع روح سفید پشت کلمات چرخان: gradient-clip روی کل h1 همه‌ی کلمات (حتی شفاف) را می‌پوشاند؛ فقط خط ثابت گرادیان دارد */
.hero h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.hero h1 .h1-fixed { background: linear-gradient(180deg, #fff 30%, #cfcfcf 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.h1-word { visibility: hidden; }
.h1-word.is-active, .h1-word.is-out { visibility: visible; }

/* ───────── امکانات: تب‌ها عمودی و کنار کارت‌ها (کارت‌ها کمی بالاتر می‌آیند و زیر منو نمی‌روند) ───────── */
@media (min-width: 801px) {
  .sol-pin { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(14px, 2vw, 28px); align-content: start; align-items: start; justify-content: center; width: min(1320px, 94vw); margin-inline: auto; }
  .sol-pin > .heading-wrapper { grid-column: 1 / -1; justify-self: center; }
  .tabs-wrapper { flex-direction: column; flex-wrap: nowrap; gap: 8px; padding: 8px; margin-top: 16px; border-radius: 26px; width: max-content; max-width: none; justify-content: flex-start; }
  .tab { text-align: start; white-space: nowrap; padding: .85rem 1.35rem; }
  .solutions-wrapper { width: 100%; min-width: 0; }
}

/* نام برند داخل دکمه‌ها/تب‌های نارنجی همرنگ خود دکمه بماند */
.btn .bn, .tab .bn, .fn-cta .bn, .bub-out .bn, .plan-tag .bn, .chip .bn, .nav-login .bn { color: inherit; }

/* دکمه‌ی خرید پایین هر کارت قیمت */
.plan { display: flex; flex-direction: column; }
.plan ul { flex: 1; }
.plan-buy { margin-top: 22px; justify-content: center; width: 100%; text-align: center; }

/* ───────── بخش «چرا اُکتومیت»: تیره مثل بقیه‌ی بخش‌ها + لوگوی سه‌بعدی + تیتر تک‌خطی ───────── */
.home-about, .ha-inner { background: var(--bg); }
.ha-text { background: radial-gradient(120% 90% at 85% 10%, rgba(255, 122, 26, .16), transparent 60%), var(--bg); }
.ha-text h2 { color: #fff; font-size: clamp(1.3rem, 2.05vw, 2rem); letter-spacing: -.02em; }
html[lang="fa"] .ha-text h2 { white-space: nowrap; }
.ha-text p { color: rgba(255, 255, 255, .74); }
.ha-text .ha-closing { color: #fff !important; }
.ha-text .eyebrow { color: var(--hit-amber); }
.ha-text .btn-dark { background: #ff7a1a; border-color: #ff7a1a; color: #1a0e02; }
.ha-text .btn-dark:hover { background: #ff9140; }
.ha-logo { width: min(340px, 72%); filter: drop-shadow(0 14px 30px rgba(255, 122, 26, .25)); }
@media (max-width: 800px) {
  .ha-text { background: var(--bg); }
  .ha-text h2 { white-space: normal; font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .ha-logo { width: min(260px, 70%); }
}
