/* درگاه بالند — همان زبان بصری سایت balandco.ir: زمینه‌ی تیره‌ی آبی‌مشکی، تأکید طلایی، فونت بی‌یکان */
@font-face {
  font-family: 'Yekan Site';
  font-style: normal; font-weight: 400; font-display: swap;
  src: local('B Yekan'), local('BYekan'), url(/assets/fonts/byekan.woff) format('woff');
}
:root {
  --bg: #090C11; --bg-2: #0D1118; --surface: #121821; --surface-2: #18202B;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #E9EDF2; --text-2: #A3ADBB; --text-3: #6E7988;
  --gold: #CDA968; --gold-2: #E2C48C; --gold-soft: rgba(205,169,104,.12);
  --cool: #3D6BFF; --ok: #3FCB92; --bad: #E5806A;
  --font: 'Yekan Site', 'B Yekan', BYekan, 'Vazirmatn', Tahoma, sans-serif;
  --ease: cubic-bezier(.23,1,.32,1);
  --gutter: clamp(20px, 5vw, 64px); --max: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, p, ol { margin: 0; }

/* ——— پس‌زمینه ——— */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow--gold { width: 560px; height: 560px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(205,169,104,.34), transparent 70%); }
.glow--cool { width: 520px; height: 520px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(61,107,255,.22), transparent 70%); }
.grid {
  position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 78%);
}

/* ——— نوار بالا و پایین ——— */
.topbar, .foot, .stage { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.brand img { display: block; height: 43px; width: auto; }
.toplink { font-size: 14px; color: var(--text-2); display: inline-flex; gap: 6px; align-items: center; transition: color .2s; }
.toplink:hover { color: var(--gold-2); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 22px 26px; color: var(--text-3); font-size: 13px; border-top: 1px solid var(--line); margin-top: 16px; }
.foot a { color: var(--text-2); direction: ltr; }
.foot a:hover { color: var(--gold-2); }

/* ——— صحنه ——— */
.stage { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(12px, 4vw, 40px); }
.story { display: flex; flex-direction: column; gap: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.story h1 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.45; font-weight: 800; text-wrap: balance; }
.story h1 em { font-style: normal; color: var(--gold); }
.lead { color: var(--text-2); font-size: 17px; max-width: 46ch; }
.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 4px; }
.steps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); color: var(--text-2); font-size: 14px; }
.steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); font-size: 13px; }
.bars { width: min(100%, 360px); margin-top: 14px; overflow: visible; }
.bars .bar { fill: var(--gold); transform-box: fill-box; transform-origin: bottom; animation: rise .9s var(--ease) both; }
.bars .b1 { fill: #9E7B3C; animation-delay: .15s; } .bars .b2 { fill: #BF9650; animation-delay: .28s; }
.bars .b3 { fill: var(--gold); animation-delay: .41s; } .bars .b4 { fill: var(--gold-2); animation-delay: .54s; }
.bars .trend { fill: none; stroke: var(--text-3); stroke-width: 2; stroke-dasharray: 5 6; opacity: .7; }
.bars .trend-dot { fill: var(--gold-2); animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rise { from { transform: scaleY(.05); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.5); } }

/* ——— پنل ——— */
.panel {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-radius: 22px;
  padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(205,169,104,.04) inset; min-height: 380px;
}
.panel::before { content: ""; position: absolute; inset-inline: 28px; top: 0; height: 2px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.view { display: none; animation: viewIn .45s var(--ease) both; }
.view.is-active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel h2 { font-size: 24px; font-weight: 800; line-height: 1.5; }
.muted { color: var(--text-2); } .small { font-size: 13px; }
.view > .muted { margin-top: 4px; }

/* ——— فرم ——— */
form { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 14px; color: var(--text-2); }
.field-box { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 56px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.field-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.field-box svg { width: 22px; height: 22px; flex: none; stroke: var(--text-3); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.field-box:focus-within svg { stroke: var(--gold); }
.field-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 19px; letter-spacing: .04em; text-align: left; }
.field-box input::placeholder { color: var(--text-3); letter-spacing: .02em; }
.error { color: var(--bad); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.error[hidden] { display: none; }
.shake { animation: shake .4s var(--ease); }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 24px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), background-color .2s, border-color .2s, opacity .2s; touch-action: manipulation; }
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--gold); color: #17120A; }
.btn--gold:hover { background: var(--gold-2); }
.btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%); transform: translateX(130%); transition: transform .7s var(--ease); pointer-events: none; }
.btn--gold:hover::after { transform: translateX(-130%); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .arr { font-size: 18px; line-height: 1; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arr { transform: translateX(-4px); } }
.btn:focus-visible, .link-btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }

.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; line-height: 1.9; }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 4px; stroke: var(--ok); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ——— سامانه‌ها ——— */
.company-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.link-btn { background: none; border: 0; color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; padding: 6px 2px; border-bottom: 1px dashed var(--line-2); }
.link-btn:hover { color: var(--gold-2); border-color: var(--gold); }
.systems { display: grid; gap: 14px; margin-top: 22px; }
.sys { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .2s, background .2s; animation: viewIn .5s var(--ease) both; }
@media (hover: hover) and (pointer: fine) { .sys:hover { transform: translateY(-3px); border-color: rgba(205,169,104,.5); background: rgba(205,169,104,.05); } }
.sys-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); border: 1px solid rgba(205,169,104,.25); }
.sys-ic svg { width: 26px; height: 26px; stroke: var(--gold-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sys-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sys-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.sys h3 { margin: 0; font-size: 18px; font-weight: 800; }
.chip { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 12px; background: var(--gold-soft); color: var(--gold-2); border: 1px solid rgba(205,169,104,.22); }
.sys p { color: var(--text-2); font-size: 14px; line-height: 1.85; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; }
.roles span { font-size: 12px; padding: 0 10px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--text-2); }
.sys .btn { align-self: flex-start; min-height: 44px; padding: 8px 20px; font-size: 15px; margin-top: 4px; }

@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; align-items: start; }
  .story { order: 0; } .bars { display: none; }
  .lead { font-size: 16px; }
}
@media (max-width: 520px) {
  .sys { grid-template-columns: 1fr; } .sys-ic { width: 46px; height: 46px; }
  .steps li { font-size: 13px; }
  .topbar { padding-block: 16px; } .brand img { height: 36px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
