:root {
  --bg: #020d25;
  --bg-deep: #010817;
  --surface: rgba(8, 26, 64, .72);
  --surface-strong: rgba(9, 31, 76, .9);
  --line: rgba(103, 145, 211, .34);
  --line-bright: rgba(80, 183, 255, .68);
  --text: #f5f8ff;
  --muted: #b8c4dd;
  --muted-2: #8191b3;
  --cyan: #1ce5ff;
  --blue: #1688ff;
  --purple: #9b5cff;
  --pink: #e55ad9;
  --orange: #ff9a37;
  --teal: #31e0ce;
  --radius: 16px;
  --shadow: 0 24px 80px rgba(0, 4, 18, .5);
  --font: "Vazirmatn", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 0%, rgba(20, 95, 255, .12), transparent 29%),
    radial-gradient(circle at 4% 22%, rgba(141, 62, 255, .08), transparent 22%),
    linear-gradient(180deg, #03112d 0%, #020c23 50%, #01081a 100%);
  font-family: var(--font);
  line-height: 1.8;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("../assets/img/grid.svg");
  opacity: .28;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  z-index: -1;
}
::selection { background: rgba(28,229,255,.3); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container-shell { width: min(100% - 48px, 1240px); margin-inline: auto; }
.section-block { position: relative; padding: 14px 0 18px; }
.skip-link { position: fixed; top: 12px; right: 12px; z-index: 9999; transform: translateY(-150%); padding: 10px 16px; color: #fff; background: #000; border-radius: 8px; transition: .2s; }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(2,13,37,.96), rgba(2,13,37,.78));
  backdrop-filter: blur(16px);
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: rgba(88,146,255,.18); box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.navbar { padding: 12px 0; }
.header-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 290px; }
.brand img { width: 50px; filter: drop-shadow(0 0 14px rgba(42,189,255,.35)); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.brand-copy small { font-size: .72rem; color: #c8d3e9; margin-bottom: 3px; }
.brand-copy strong { font-size: 1.05rem; font-weight: 700; }
.nav-list { gap: 21px; align-items: center; }
.nav-list .nav-link { position: relative; color: #dbe3f2; font-size: .91rem; font-weight: 600; padding: 10px 2px !important; }
.nav-list .nav-link::after { content: ""; position: absolute; right: 50%; left: 50%; bottom: 1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--purple)); box-shadow: 0 0 11px var(--cyan); transition: .22s; }
.nav-list .nav-link:hover, .nav-list .nav-link.active { color: #fff; }
.nav-list .nav-link:hover::after, .nav-list .nav-link.active::after { right: 6%; left: 6%; }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; padding: 9px 20px; font-size: .88rem; font-weight: 700; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-gradient { color: #fff !important; background: linear-gradient(100deg, #ff9e3d 0%, #ff7558 30%, #cf5cdd 69%, #7259ff 100%); box-shadow: 0 10px 28px rgba(180,70,217,.24), 0 0 18px rgba(255,137,66,.12) inset; }
.btn-gradient:hover { box-shadow: 0 14px 34px rgba(180,70,217,.37), 0 0 18px rgba(255,255,255,.12) inset; }
.btn-outline-neon { color: #fff; border-color: rgba(143,169,222,.52); background: rgba(3,15,42,.55); box-shadow: inset 0 0 18px rgba(49,111,194,.08); }
.btn-outline-neon:hover { border-color: var(--cyan); color: #fff; box-shadow: 0 0 20px rgba(28,229,255,.18); }
.btn-header { margin-inline-start: auto; padding-inline: 18px; white-space: nowrap; }
.nav-toggle { width: 43px; height: 41px; padding: 0; color: #fff; border: 1px solid var(--line); border-radius: 9px; }
.nav-toggle svg { width: 24px; height: 24px; }

.hero-section { position: relative; isolation: isolate; padding: 18px 0 8px; min-height: 390px; overflow: hidden; }
.hero-section::before { content: ""; position: absolute; inset: -20% -10% auto 42%; height: 440px; background: radial-gradient(circle, rgba(36,101,255,.18), transparent 67%); filter: blur(10px); z-index: -2; }
.hero-nodes { position: absolute; inset: 10px 0 auto auto; width: 43%; height: 280px; opacity: .48; background: url("../assets/img/data-nodes.svg") center/contain no-repeat; z-index: -1; }
.hero-grid { min-height: 350px; display: grid; grid-template-columns: 41% 59%; align-items: center; direction: ltr; }
.hero-copy { direction: rtl; text-align: right; padding-inline: 20px 4px; position: relative; z-index: 3; }
.eyebrow { color: var(--orange); display: flex; align-items: center; justify-content: flex-start; gap: 10px; font-size: .82rem; margin-bottom: 6px; }
.eyebrow span { display: inline-block; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--orange)); }
.eyebrow span:last-child { transform: scaleX(-1); }
.hero-copy h1 { margin: 0; font-size: clamp(2.8rem, 5vw, 4.75rem); line-height: 1.12; font-weight: 900; letter-spacing: -.055em; text-shadow: 0 7px 24px rgba(0,0,0,.38); }
.hero-copy h1 span { color: #f4f2ff; }
.hero-lead { margin: 14px 0 6px; color: #c9d3e8; font-size: 1.03rem; line-height: 2; }
.domain-link { display: inline-flex; align-items: center; gap: 9px; color: var(--cyan); font-weight: 700; font-size: 1rem; margin-bottom: 13px; }
.domain-link svg { width: 18px; height: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 160px; }
.hero-visual { position: relative; direction: ltr; margin: 0; padding: 0; min-height: 330px; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; max-width: 650px; border-radius: 18px; object-fit: cover; mix-blend-mode: screen; filter: saturate(1.08) contrast(1.04) drop-shadow(0 20px 48px rgba(12,45,150,.36)); -webkit-mask-image: radial-gradient(ellipse 88% 90% at 52% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 88% 90% at 52% 50%, #000 70%, transparent 100%); }
.hero-orbit { position: absolute; width: 78%; aspect-ratio: 2.45; bottom: 28px; border: 1px solid rgba(64,146,255,.38); border-radius: 50%; box-shadow: 0 0 25px rgba(32,112,255,.3), inset 0 0 18px rgba(158,69,255,.25); transform: rotate(-2deg); }

.section-heading { text-align: center; margin-bottom: 14px; }
.section-heading.compact { margin-bottom: 11px; }
.section-heading h2 { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 0 0 5px; font-size: clamp(1.65rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.025em; }
.section-heading h2 span { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--orange)); position: relative; }
.section-heading h2 span:first-child::after, .section-heading h2 span:last-child::before { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); top: -2.5px; }
.section-heading h2 span:first-child::after { left: -2px; }
.section-heading h2 span:last-child::before { right: -2px; }
.section-heading p { margin: 0 auto; color: var(--muted); max-width: 930px; font-size: .88rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card { min-height: 92px; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(135deg, rgba(10,34,77,.92), rgba(5,19,47,.86)); box-shadow: inset 0 0 20px rgba(67,123,215,.05); }
.feature-icon { width: 55px; height: 55px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon.teal { color: #6effe5; background: radial-gradient(circle at 35% 25%, rgba(104,255,229,.42), rgba(16,118,120,.25)); border: 1px solid rgba(104,255,229,.42); box-shadow: 0 0 20px rgba(64,255,228,.14); }
.feature-icon.purple { color: #c08cff; background: radial-gradient(circle at 35% 25%, rgba(192,140,255,.42), rgba(87,42,151,.25)); border: 1px solid rgba(192,140,255,.44); }
.feature-icon.blue { color: #57b8ff; background: radial-gradient(circle at 35% 25%, rgba(87,184,255,.42), rgba(22,76,153,.25)); border: 1px solid rgba(87,184,255,.44); }
.feature-icon.orange { color: #ffbd5e; background: radial-gradient(circle at 35% 25%, rgba(255,189,94,.42), rgba(150,78,10,.25)); border: 1px solid rgba(255,189,94,.44); }
.feature-card h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 750; }
.feature-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.75; }
.feature-card:nth-child(1) h3 { color: #d7fff8; }
.feature-card:nth-child(2) h3 { color: #d7a8ff; }
.feature-card:nth-child(3) h3 { color: #6fcbff; }
.feature-card:nth-child(4) h3 { color: #ffaf41; }

.department-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; direction: ltr; }
.department-card { direction: rtl; min-height: 214px; position: relative; overflow: hidden; border-radius: 14px; display: grid; grid-template-columns: minmax(0, 58%) minmax(130px, 42%); align-items: stretch; background: linear-gradient(140deg, rgba(8,32,77,.96), rgba(3,17,45,.96)); border: 1px solid var(--line-bright); box-shadow: 0 18px 40px rgba(0,5,20,.28), inset 0 0 36px rgba(65,95,205,.06); }
.department-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 88% 10%, rgba(34,121,255,.15), transparent 45%); }
.department-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; align-self: stretch; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%); }
.department-copy { position: relative; z-index: 2; padding: 22px 17px 16px; display: flex; flex-direction: column; }
.department-copy h3 { margin: 0 0 11px; font-size: 1.45rem; line-height: 1.45; font-weight: 850; }
.department-copy p { margin: 0; color: #c6d1e7; font-size: .78rem; line-height: 1.9; }
.department-copy a { margin-top: auto; display: inline-flex; gap: 7px; align-items: center; font-size: .77rem; font-weight: 700; }
.department-copy a svg { width: 16px; height: 16px; }
.dept-ai { border-color: rgba(45,232,235,.72); box-shadow: 0 16px 40px rgba(0,120,160,.12), inset 0 0 36px rgba(19,197,255,.07); }
.dept-ai h3, .dept-ai a { color: #57edff; }
.dept-web { border-color: rgba(88,126,255,.72); }
.dept-web h3 { color: #f4f6ff; }
.dept-web a { color: #b5c8ff; }
.dept-academy { border-color: rgba(214,91,255,.72); box-shadow: 0 16px 40px rgba(142,51,202,.12), inset 0 0 36px rgba(192,70,255,.07); }
.dept-academy h3 { color: #fff; }
.dept-academy a { color: #d998ff; }

.collaboration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; direction: ltr; }
.glass-panel { direction: rtl; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(8,28,68,.91), rgba(4,17,44,.93)); box-shadow: var(--shadow), inset 0 0 30px rgba(65,111,210,.05); }
.resume-panel, .partner-panel { min-height: 235px; padding: 14px 15px; }
.panel-title { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.panel-title > svg { width: 24px; height: 24px; color: #c4d0e6; padding: 4px; border: 1px solid rgba(130,160,220,.42); border-radius: 5px; }
.panel-title h3 { margin: 0; font-size: 1rem; font-weight: 750; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 9px; }
.field { display: block; margin: 0; }
.field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.field > div { position: relative; }
.field input, .field textarea { width: 100%; min-height: 34px; padding: 7px 35px 7px 10px; color: #eaf1ff; background: rgba(9,31,73,.78); border: 1px solid rgba(107,143,201,.3); border-radius: 6px; outline: 0; font: inherit; font-size: .72rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 50px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8391ad; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(28,229,255,.1); }
.field div > svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #7e91b7; pointer-events: none; }
.field-wide { grid-column: 1 / -1; }
.field-wide div > svg { top: 15px; transform: none; }
.form-footer { margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.form-footer .btn { min-height: 34px; padding: 6px 16px; font-size: .75rem; }
.form-footer small { color: #7585a6; font-size: .62rem; line-height: 1.6; }
.partner-panel { padding: 16px 18px; }
.partner-panel .panel-title > svg { color: #bd89ff; border: 0; width: 34px; height: 28px; padding: 0; }
.partner-panel p { position: relative; z-index: 2; max-width: 58%; color: #c9d3e8; font-size: .82rem; line-height: 1.9; margin: 4px 0 10px; }
.world-network { position: absolute; width: 62%; height: auto; left: -8%; bottom: -22%; opacity: .82; }
.partner-chips { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 6px 0 10px; }
.partner-chips span { min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 4px; color: #d4dcf0; border: 1px solid rgba(105,137,199,.35); border-radius: 7px; background: rgba(9,28,68,.5); font-size: .66rem; text-align: center; }
.partner-chips svg { width: 20px; height: 20px; color: #bd83ff; }
.partner-cta { position: relative; z-index: 2; min-height: 34px; padding: 6px 16px; font-size: .75rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.team-card { min-height: 128px; display: grid; grid-template-columns: 102px 1fr; gap: 11px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(8,27,65,.92), rgba(4,16,41,.9)); }
.team-card img { width: 92px; border-radius: 50%; border: 3px solid #739eff; box-shadow: 0 0 18px rgba(88,143,255,.35); }
.team-card h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.45; font-weight: 800; }
.team-card p { margin: 0 0 7px; color: #c0cbe0; font-size: .72rem; }
.team-links { display: flex; gap: 7px; }
.team-links a { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(136,160,210,.42); border-radius: 50%; color: #d5e0f5; }
.team-links svg { width: 15px; height: 15px; }
.role-orange h3 { color: var(--orange); }
.role-orange img { border-color: var(--orange); }
.role-cyan h3 { color: var(--cyan); }
.role-cyan img { border-color: var(--cyan); }
.role-purple h3 { color: #c77dff; }
.role-purple img { border-color: #c77dff; }
.role-teal h3 { color: var(--teal); }
.role-teal img { border-color: var(--teal); }

.contact-section { padding-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; direction: ltr; }
.contact-panel, .social-panel { direction: rtl; min-height: 190px; }
.contact-panel { display: grid; grid-template-columns: 41% 59%; align-items: stretch; }
.building-image { width: 100%; height: 100%; object-fit: cover; align-self: stretch; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, #000 82%, transparent 100%); }
.contact-copy { padding: 14px 16px; }
.contact-copy h2, .social-panel h2 { margin: 0 0 9px; display: flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 800; }
.contact-copy h2 svg, .social-panel h2 svg { width: 25px; height: 25px; color: #fff; }
.contact-copy address { margin: 0; font-style: normal; }
.contact-copy address p { margin: 0 0 6px; display: flex; align-items: flex-start; gap: 8px; color: #cbd4e6; font-size: .75rem; line-height: 1.7; }
.contact-copy address svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; color: #e9f2ff; }
.contact-copy address a:hover { color: var(--cyan); }
.social-panel { padding: 14px 16px; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.social-card { min-height: 125px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid rgba(79,134,220,.38); border-radius: 13px; background: linear-gradient(145deg, rgba(13,47,103,.86), rgba(5,22,56,.9)); transition: transform .2s, border-color .2s, box-shadow .2s; }
.social-card:hover { transform: translateY(-3px); border-color: rgba(103,197,255,.65); box-shadow: 0 14px 28px rgba(0,0,0,.26); }
.social-card svg { width: 50px; height: 50px; stroke-width: 1.65; }
.social-card span { direction: ltr; font-size: .88rem; font-weight: 600; }
.social-card.linkedin svg { color: #4db0ff; }
.social-card.instagram { background: linear-gradient(145deg, rgba(83,39,126,.88), rgba(24,23,79,.92)); }
.social-card.instagram svg { color: #ef5bbb; }
.social-card.telegram svg { color: #42c9ff; }

.site-footer { border-top: 1px solid rgba(86,128,193,.22); padding: 17px 0 20px; background: rgba(1,8,24,.56); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr .7fr; gap: 22px; align-items: center; direction: rtl; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { width: 60px; }
.footer-brand span { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 1rem; }
.footer-brand small { color: #9fadca; font-size: .66rem; }
.footer-grid p { margin: 0; text-align: center; color: #9eabc3; font-size: .67rem; }
.footer-domain { direction: ltr; display: inline-flex; justify-self: end; align-items: center; gap: 7px; color: #a9b6cf; font-size: .72rem; }
.footer-domain svg { width: 16px; height: 16px; }

.toast-shell { position: fixed; left: 20px; bottom: 20px; z-index: 2000; max-width: 370px; padding: 14px 16px; border: 1px solid rgba(43,225,255,.48); border-radius: 12px; color: #fff; background: rgba(3,22,54,.96); box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 24px rgba(28,229,255,.12); transform: translateY(150%); opacity: 0; transition: .3s; }
.toast-shell.show { transform: none; opacity: 1; }
.toast-shell strong, .toast-shell span { display: block; }
.toast-shell strong { color: var(--cyan); margin-bottom: 4px; }
.toast-shell span { color: #c6d0e3; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(15px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1199.98px) {
  .container-shell { width: min(100% - 36px, 1120px); }
  .brand { min-width: 255px; }
  .nav-list { gap: 13px; }
  .nav-list .nav-link { font-size: .82rem; }
  .hero-copy h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
  .feature-card { align-items: flex-start; }
  .feature-icon { width: 47px; height: 47px; }
  .department-card { grid-template-columns: 59% 41%; }
  .team-card { grid-template-columns: 86px 1fr; }
  .team-card img { width: 78px; }
}

@media (max-width: 991.98px) {
  main :is(button, .btn, input:not([type='checkbox']):not([type='radio']), select) { min-height: 44px; }
  .navbar { padding: 9px 0; }
  .header-inner { flex-wrap: wrap; }
  .brand { min-width: 0; }
  .navbar-collapse { width: 100%; padding: 14px; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(3,17,43,.98); }
  .nav-list { align-items: stretch; gap: 2px; }
  .nav-list .nav-link { padding: 9px 6px !important; }
  .nav-list .nav-link::after { display: none; }
  .btn-header { margin: 10px 0 0; width: 100%; }
  .hero-grid { grid-template-columns: 1fr; direction: rtl; }
  .hero-copy { text-align: center; padding: 18px 0 0; order: 1; }
  .eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 2; min-height: 280px; }
  .hero-visual img { max-width: 720px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .department-grid { grid-template-columns: 1fr; }
  .department-card { min-height: 225px; }
  .collaboration-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-domain { justify-self: center; }
}

@media (max-width: 575.98px) {
  .container-shell { width: min(100% - 24px, 520px); }
  .brand img { width: 43px; }
  .brand-copy strong { font-size: .82rem; }
  .brand-copy small { font-size: .61rem; }
  .hero-section { padding-top: 6px; }
  .hero-copy h1 { font-size: 2.35rem; }
  .hero-lead { font-size: .84rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions .btn { min-width: 0; padding-inline: 9px; font-size: .72rem; }
  .hero-visual { min-height: 220px; }
  .section-heading h2 { font-size: 1.45rem; gap: 7px; }
  .section-heading h2 span { width: 28px; }
  .section-heading p { font-size: .75rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .department-card { grid-template-columns: 59% 41%; min-height: 205px; }
  .department-copy { padding: 17px 13px 13px; }
  .department-copy h3 { font-size: 1.18rem; }
  .department-copy p { font-size: .69rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .partner-panel p { max-width: 100%; }
  .world-network { width: 95%; left: -25%; opacity: .48; }
  .partner-chips { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 90px 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .building-image { height: 180px; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .social-grid { gap: 8px; }
  .social-card { min-height: 100px; }
  .social-card svg { width: 36px; height: 36px; }
  .social-card span { font-size: .68rem; }
  .toast-shell { right: 12px; left: 12px; bottom: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Fidelity refinements based on the approved poster */
.hero-grid { grid-template-columns: 42% 58%; }
.hero-copy h1 { font-size: clamp(2.8rem, 4.8vw, 4.3rem); }
.hero-copy h1 span { white-space: nowrap; }
.hero-actions { direction: ltr; }
.hero-actions .btn { direction: rtl; }
.feature-grid { direction: ltr; }
.feature-card { direction: ltr; }
.feature-card > div:last-child { direction: rtl; text-align: right; }
.department-card { direction: ltr; }
.department-copy { direction: rtl; text-align: right; }
.team-card { direction: ltr; }
.team-card > div { direction: rtl; text-align: right; }
.social-grid { direction: ltr; }
.social-card { direction: ltr; }

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 span { white-space: normal; }
}

.team-card img { background: #d8e1f1; }
@media (max-width: 575.98px) {
  .building-image { mix-blend-mode: normal; opacity: .96; }
  .team-card img { width: 78px; }
}

/* =========================================================
   Premium visual-quality pass — sharper icons, Retina media,
   layered glass cards and refined interaction states
   ========================================================= */

:root {
  --surface-edge: rgba(151, 188, 255, .36);
  --surface-highlight: rgba(255, 255, 255, .09);
  --surface-shadow: 0 22px 60px rgba(0, 4, 20, .38), 0 3px 10px rgba(0, 0, 0, .24);
  --focus-ring: 0 0 0 3px rgba(28, 229, 255, .18), 0 0 0 1px rgba(28, 229, 255, .85);
}

img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

svg,
svg * {
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
}

:where(a, button, input, textarea):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring) !important;
}

/* Shared premium card treatment */
.feature-card,
.department-card,
.glass-panel,
.team-card,
.social-card {
  isolation: isolate;
  border-color: rgba(115, 157, 224, .34);
  box-shadow: var(--surface-shadow), inset 0 1px 0 var(--surface-highlight), inset 0 -1px 0 rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
}

.feature-card::before,
.department-card::after,
.glass-panel::after,
.team-card::before,
.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.17), rgba(61,181,255,.16) 35%, rgba(163,92,255,.12) 68%, rgba(255,151,55,.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .72;
}

.feature-card::after,
.glass-panel::before,
.team-card::after,
.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 15% 0%, rgba(93, 196, 255, .10), transparent 31%),
    radial-gradient(circle at 92% 100%, rgba(152, 77, 255, .08), transparent 36%);
}

/* Header and buttons */
.site-header {
  border-bottom-color: rgba(101, 148, 222, .08);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.025);
}

.btn {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.btn::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 28%;
  height: 340%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  transform: rotate(18deg);
  transition: left .55s ease;
}

.btn:hover::after { left: 118%; }

.btn-gradient {
  border-color: rgba(255, 198, 125, .26);
  box-shadow: 0 12px 28px rgba(148, 75, 224, .28), 0 4px 14px rgba(255, 124, 71, .17), inset 0 1px 0 rgba(255,255,255,.24);
}

/* Hero illustration: crisper source, deeper glow, no low-resolution softness */
.hero-visual img {
  max-width: 660px;
  filter: saturate(1.12) contrast(1.07) brightness(1.025) drop-shadow(0 24px 54px rgba(16, 63, 193, .42));
  transform: translateZ(0);
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 5%;
  left: 8%;
  height: 22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(48, 132, 255, .28), rgba(152, 67, 255, .11) 46%, transparent 72%);
  filter: blur(18px);
}

/* Feature cards and icon medallions */
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(11, 37, 83, .92), rgba(4, 17, 45, .92));
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
  position: relative;
  border-width: 1px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -8px 18px rgba(0,0,0,.16);
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.13);
}

.feature-icon svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.65;
  filter: drop-shadow(0 0 6px currentColor);
}

/* Department cards */
.department-card {
  border-radius: 15px;
  border-color: rgba(92, 163, 245, .48);
  background:
    linear-gradient(145deg, rgba(9, 36, 83, .98), rgba(3, 15, 42, .97)),
    radial-gradient(circle at 100% 0%, rgba(55, 139, 255, .18), transparent 45%);
  transition: transform .32s cubic-bezier(.2,.7,.2,1), border-color .28s ease, box-shadow .28s ease;
}

.department-card::before {
  background:
    radial-gradient(circle at 88% 7%, rgba(39, 142, 255, .19), transparent 43%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 38%);
}

.department-card::after { z-index: 3; }

.department-card img {
  position: relative;
  z-index: 1;
  filter: saturate(1.1) contrast(1.06) brightness(1.03) drop-shadow(0 8px 20px rgba(0,0,0,.22));
  transform: translateZ(0) scale(1.002);
}

.department-copy { position: relative; z-index: 4; }
.department-copy h3 { text-shadow: 0 4px 16px rgba(0,0,0,.34); }
.department-copy a svg { filter: drop-shadow(0 0 5px currentColor); }

.dept-ai { border-color: rgba(49, 224, 206, .65); box-shadow: var(--surface-shadow), inset 0 1px 0 rgba(92,255,240,.13), 0 0 24px rgba(32,204,220,.06); }
.dept-web { border-color: rgba(87, 123, 255, .66); box-shadow: var(--surface-shadow), inset 0 1px 0 rgba(115,151,255,.14), 0 0 24px rgba(78,84,255,.07); }
.dept-academy { border-color: rgba(197, 91, 231, .66); box-shadow: var(--surface-shadow), inset 0 1px 0 rgba(227,122,255,.14), 0 0 24px rgba(194,67,224,.07); }

/* Collaboration, form and chips */
.glass-panel {
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(9, 31, 73, .94), rgba(3, 15, 41, .95));
}

.panel-title > svg {
  border-color: rgba(109, 164, 242, .44);
  background: linear-gradient(145deg, rgba(30, 78, 145, .58), rgba(9, 33, 78, .62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 7px 18px rgba(0,0,0,.18), 0 0 14px rgba(45, 151, 255, .10);
}

.field div {
  border-color: rgba(104, 142, 201, .38);
  background: linear-gradient(180deg, rgba(8, 28, 67, .94), rgba(5, 21, 52, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), inset 0 8px 20px rgba(0,0,0,.08);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.field div:focus-within {
  border-color: rgba(50, 211, 255, .72);
  background: linear-gradient(180deg, rgba(9, 39, 83, .98), rgba(5, 24, 58, .98));
  box-shadow: 0 0 0 3px rgba(31, 213, 255, .08), inset 0 1px 0 rgba(255,255,255,.06), 0 0 18px rgba(30, 181, 255, .08);
}

.field div > svg,
.partner-chips svg,
.panel-title > svg,
.contact-copy address svg,
.team-links svg {
  stroke-width: 1.65;
  filter: drop-shadow(0 0 4px currentColor);
}

.partner-chips span {
  position: relative;
  overflow: hidden;
  border-color: rgba(110, 151, 216, .42);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(13, 39, 84, .76), rgba(5, 23, 58, .72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}

/* Team cards */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(10, 34, 77, .95), rgba(4, 16, 42, .94));
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.team-card img {
  padding: 4px;
  background: linear-gradient(145deg, #e8eef9, #b7c4d9);
  box-shadow: 0 10px 26px rgba(0,0,0,.22), 0 0 20px rgba(88,143,255,.24), inset 0 0 0 1px rgba(255,255,255,.75);
}

.team-links a {
  background: linear-gradient(145deg, rgba(20, 50, 103, .76), rgba(5, 22, 55, .72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.team-links a:hover {
  transform: translateY(-2px);
  color: var(--cyan);
  border-color: rgba(28,229,255,.65);
  box-shadow: 0 7px 15px rgba(0,0,0,.2), 0 0 12px rgba(28,229,255,.1);
}

/* Contact and social cards */
.building-image {
  filter: saturate(1.12) contrast(1.08) brightness(1.02);
  transform: translateZ(0);
}

.contact-copy address p {
  padding: 2px 0;
}

.social-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(12, 47, 104, .91), rgba(4, 20, 52, .94));
}

.social-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 9px 18px rgba(0,0,0,.26));
  transition: transform .28s ease, filter .28s ease;
}

.social-card span { letter-spacing: .01em; text-shadow: 0 3px 10px rgba(0,0,0,.42); }
.social-card.instagram { background: linear-gradient(145deg, rgba(71, 33, 111, .94), rgba(19, 19, 67, .95)); }

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover,
  .department-card:hover,
  .team-card:hover,
  .social-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 202, 255, .68);
    box-shadow: 0 28px 65px rgba(0, 4, 20, .46), 0 10px 24px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.13), 0 0 28px rgba(42, 150, 255, .08);
  }

  .dept-ai:hover { border-color: rgba(75, 245, 225, .88); }
  .dept-web:hover { border-color: rgba(113, 142, 255, .9); }
  .dept-academy:hover { border-color: rgba(225, 115, 249, .9); }
  .department-card:hover img { transform: scale(1.025); }
  .partner-chips span:hover { transform: translateY(-2px); border-color: rgba(190, 128, 255, .65); background: linear-gradient(145deg, rgba(30, 50, 105, .82), rgba(9, 25, 64, .8)); }
  .social-card:hover img { transform: scale(1.065); filter: drop-shadow(0 12px 23px rgba(0,0,0,.32)) saturate(1.08); }
}

@media (max-width: 575.98px) {
  .feature-card,
  .department-card,
  .glass-panel,
  .team-card,
  .social-card { box-shadow: 0 15px 38px rgba(0, 4, 20, .32), inset 0 1px 0 rgba(255,255,255,.07); }
  .social-card img { width: 46px; height: 46px; }
}

/* Layer-order correction for the decorative card surfaces */
.feature-card > *,
.department-card > *,
.glass-panel > *,
.team-card > *,
.social-card > * { position: relative; z-index: 2; }

.feature-card::before,
.glass-panel::after,
.team-card::before,
.social-card::before { z-index: 1; }

.feature-card::after,
.glass-panel::before,
.team-card::after,
.social-card::after { z-index: 0; }

/* =========================================================
   V3 — guided starting path, PDF resume upload and premium footer
   ========================================================= */

/* Guided starting path */
.start-section {
  isolation: isolate;
  padding-top: 24px;
  padding-bottom: 26px;
}

.start-section::before {
  content: "";
  position: absolute;
  inset: 3% 0 auto;
  height: 94%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 38%, rgba(22, 136, 255, .11), transparent 31%),
    radial-gradient(circle at 17% 58%, rgba(155, 92, 255, .10), transparent 29%);
}

.start-aura {
  position: absolute;
  inset: 13% 7% 8%;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(21, 111, 255, .08), transparent 68%);
  filter: blur(34px);
}

.start-heading { margin-bottom: 18px; }
.start-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 700;
}
.start-kicker::before,
.start-kicker::after {
  content: "";
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.start-kicker::after { transform: scaleX(-1); }
.start-heading p { line-height: 1.9; }
.start-heading p strong { color: #edf5ff; font-size: .98rem; font-weight: 650; }

.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(330px, .82fr);
  gap: 14px;
  align-items: stretch;
  direction: ltr;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  direction: rtl;
}

.problem-card {
  --problem-color: 70, 170, 255;
  position: relative;
  isolation: isolate;
  min-height: 126px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  padding: 18px 16px;
  color: var(--text);
  border: 1px solid rgba(var(--problem-color), .38);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--problem-color), .13), transparent 45%),
    linear-gradient(145deg, rgba(10, 35, 80, .94), rgba(4, 17, 44, .95));
  box-shadow:
    0 20px 48px rgba(0, 4, 20, .32),
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 -1px 0 rgba(0,0,0,.26);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(var(--problem-color), .18), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.problem-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -84px;
  bottom: -90px;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(var(--problem-color), .16);
  box-shadow: 0 0 35px rgba(var(--problem-color), .09), inset 0 0 26px rgba(var(--problem-color), .05);
}

.problem-web { --problem-color: 38, 208, 255; }
.problem-ai { --problem-color: 173, 94, 255; }
.problem-custom { --problem-color: 74, 123, 255; }
.problem-learn { --problem-color: 255, 156, 61; }

.problem-number {
  position: absolute;
  top: 10px;
  left: 12px;
  color: rgba(198, 218, 255, .14);
  font-size: 1.5rem;
  font-weight: 900;
  direction: ltr;
  line-height: 1;
}

.problem-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--problem-color), .44);
  border-radius: 15px;
  color: rgb(var(--problem-color));
  background:
    radial-gradient(circle at 35% 25%, rgba(var(--problem-color), .28), transparent 52%),
    linear-gradient(145deg, rgba(18, 52, 108, .82), rgba(5, 22, 56, .88));
  box-shadow: 0 12px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12), 0 0 20px rgba(var(--problem-color), .09);
}
.problem-icon svg { width: 28px; height: 28px; stroke-width: 1.6; filter: drop-shadow(0 0 7px currentColor); }

.problem-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  direction: rtl;
  text-align: right;
}
.problem-copy strong { margin-bottom: 5px; font-size: .98rem; font-weight: 800; line-height: 1.55; }
.problem-copy small { color: #aebbd3; font-size: .73rem; line-height: 1.75; }

.problem-arrow {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: rgba(218, 232, 255, .78);
  border: 1px solid rgba(var(--problem-color), .32);
  border-radius: 50%;
  background: rgba(9, 30, 69, .68);
  transform: rotate(180deg);
  transition: transform .24s ease, color .24s ease, border-color .24s ease;
}
.problem-arrow svg { width: 15px; height: 15px; }

.problem-card.is-recommended {
  border-color: rgba(190, 116, 255, .78);
  box-shadow:
    0 24px 58px rgba(0, 4, 20, .39),
    0 0 30px rgba(156, 72, 255, .10),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 35px rgba(149, 73, 255, .06);
}
.recommended-label {
  position: absolute;
  top: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  color: #e8d7ff;
  border: 1px solid rgba(191, 124, 255, .42);
  border-radius: 999px;
  background: rgba(95, 40, 150, .36);
  font-size: .58rem;
  font-weight: 700;
}
.recommended-label svg { width: 12px; height: 12px; }
.problem-ai .problem-copy { padding-top: 15px; }

.path-recommendation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 22px 21px;
  direction: rtl;
  text-align: right;
  border: 1px solid rgba(178, 97, 255, .62);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 90%, rgba(39, 193, 255, .14), transparent 35%),
    radial-gradient(circle at 95% 5%, rgba(184, 86, 255, .20), transparent 39%),
    linear-gradient(145deg, rgba(17, 37, 85, .97), rgba(5, 17, 46, .97));
  box-shadow: 0 28px 70px rgba(0, 4, 20, .45), 0 0 30px rgba(147, 65, 255, .10), inset 0 1px 0 rgba(255,255,255,.10);
}
.path-recommendation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(173, 92, 255, .22) 42%, rgba(23, 216, 255, .15) 76%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.path-grid-art {
  position: absolute;
  inset: auto -24% -35% auto;
  width: 92%;
  aspect-ratio: 1;
  z-index: -1;
  opacity: .30;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(116, 91, 255, .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 91, 255, .24) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: perspective(460px) rotateX(58deg) rotateZ(-12deg);
  mask-image: radial-gradient(circle, #000, transparent 68%);
}
.path-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 17px;
  color: #d9c7ff;
  font-size: .66rem;
  font-weight: 700;
}
.path-badge span { width: 23px; height: 1px; background: linear-gradient(90deg, #bd7cff, transparent); }
.path-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.path-icon {
  width: 59px;
  height: 59px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #d9a6ff;
  border: 1px solid rgba(201, 123, 255, .55);
  border-radius: 17px;
  background: radial-gradient(circle at 35% 25%, rgba(205, 123, 255, .34), rgba(67, 31, 121, .22));
  box-shadow: 0 0 24px rgba(179, 83, 255, .13), inset 0 1px 0 rgba(255,255,255,.14);
}
.path-icon svg { width: 31px; height: 31px; filter: drop-shadow(0 0 7px currentColor); }
.path-head small { color: #93a6cb; font-size: .65rem; }
.path-head h3 { margin: 1px 0 0; color: #fff; font-size: 1.55rem; font-weight: 900; letter-spacing: -.03em; direction: ltr; text-align: right; }
.path-recommendation > p { margin: 0 0 15px; color: #c9d3e7; font-size: .79rem; line-height: 2; }
.path-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.path-tags span { padding: 5px 9px; color: #c8d9f7; border: 1px solid rgba(111, 149, 218, .36); border-radius: 999px; background: rgba(8, 29, 70, .55); font-size: .61rem; }
.path-cta { width: 100%; min-height: 43px; }
.path-cta bdi { direction: ltr; }
.path-cta svg { transform: rotate(180deg); }

@media (hover: hover) and (pointer: fine) {
  .problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--problem-color), .75);
    box-shadow: 0 28px 64px rgba(0, 4, 20, .43), 0 0 27px rgba(var(--problem-color), .08), inset 0 1px 0 rgba(255,255,255,.1);
  }
  .problem-card:hover .problem-arrow { transform: rotate(180deg) translateX(-3px); color: rgb(var(--problem-color)); border-color: rgba(var(--problem-color), .62); }
}

/* PDF-only resume upload */
.file-field { padding-top: 1px; }
.file-field > .file-visible-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  display: block;
  margin-bottom: 5px;
  color: #aebbd2;
  font-size: .66rem;
}
.field .file-control {
  position: relative;
  min-height: 59px;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px dashed rgba(96, 181, 245, .46);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(43, 184, 255, .10), transparent 42%),
    linear-gradient(145deg, rgba(9, 34, 78, .86), rgba(4, 20, 51, .88));
}
.field .file-control:hover { border-color: rgba(53, 215, 255, .74); }
.field .file-control:focus-within { border-color: rgba(53, 215, 255, .82); box-shadow: var(--focus-ring); }
.field .file-control input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  border: 0;
}
.file-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(28, 229, 255, .38);
  border-radius: 10px;
  background: rgba(19, 88, 137, .24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 15px rgba(28,229,255,.07);
}
.file-icon svg { width: 21px; height: 21px; filter: drop-shadow(0 0 5px currentColor); }
.file-copy { min-width: 0; display: flex; flex-direction: column; }
.file-copy strong { color: #e8f2ff; font-size: .72rem; font-weight: 750; }
.file-copy small { color: #8192b2; font-size: .59rem; }
.file-button {
  padding: 6px 10px;
  color: #dfeaff;
  border: 1px solid rgba(119, 158, 221, .42);
  border-radius: 7px;
  background: rgba(17, 52, 105, .72);
  font-size: .63rem;
  font-weight: 700;
  white-space: nowrap;
}
.file-name {
  display: block;
  margin-top: 4px;
  color: #8292af;
  font-size: .59rem;
  min-height: 18px;
}
.file-field.has-file .file-control { border-style: solid; border-color: rgba(49, 224, 206, .58); }
.file-field.has-file .file-icon { color: var(--teal); border-color: rgba(49, 224, 206, .48); }
.file-field.has-error .file-control { border-color: rgba(255, 107, 107, .82); box-shadow: 0 0 0 3px rgba(255, 78, 78, .08); }
.file-field.has-error .file-name { color: #ff9b9b; }

/* Contact panel without the former social block */
.contact-grid { display: block; }
.contact-panel {
  width: 100%;
  min-height: 245px;
  grid-template-columns: minmax(320px, 42%) minmax(0, 58%);
  border-radius: 18px;
}
.building-image { min-height: 245px; }
.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 29px;
}
.contact-kicker { margin-bottom: 2px; color: var(--orange); font-size: .67rem; font-weight: 700; }
.contact-copy h2 { font-size: 1.65rem; }
.contact-copy address p { font-size: .79rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.contact-actions .btn { min-height: 37px; padding: 7px 15px; font-size: .72rem; }

/* Professional multi-column footer with integrated social media */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border-top: 1px solid rgba(95, 150, 231, .25);
  background:
    radial-gradient(circle at 88% 15%, rgba(31, 132, 255, .13), transparent 28%),
    radial-gradient(circle at 10% 38%, rgba(154, 65, 255, .10), transparent 25%),
    linear-gradient(180deg, rgba(3, 15, 42, .98), rgba(1, 7, 21, 1));
}
.footer-network {
  position: absolute;
  inset: 0 0 auto auto;
  width: 52%;
  height: 82%;
  z-index: -1;
  opacity: .15;
  background: url("../assets/img/data-nodes.svg") center/cover no-repeat;
  -webkit-mask-image: linear-gradient(270deg, #000, transparent 90%);
  mask-image: linear-gradient(270deg, #000, transparent 90%);
}
.footer-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  padding: 24px 27px;
  border: 1px solid rgba(105, 162, 236, .40);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 100%, rgba(26, 215, 255, .12), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(189, 85, 255, .18), transparent 37%),
    linear-gradient(135deg, rgba(12, 43, 93, .92), rgba(5, 19, 48, .94));
  box-shadow: 0 24px 64px rgba(0, 4, 20, .39), inset 0 1px 0 rgba(255,255,255,.09);
}
.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.2), rgba(39,210,255,.16), rgba(186,83,255,.18), rgba(255,153,55,.11));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.footer-kicker { color: var(--orange); font-size: .68rem; font-weight: 700; }
.footer-cta h2 { margin: 3px 0 4px; font-size: clamp(1.35rem, 2.25vw, 1.85rem); font-weight: 900; letter-spacing: -.035em; }
.footer-cta p { margin: 0; color: #aebbd2; font-size: .77rem; }
.footer-cta-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.footer-cta-actions .btn { min-width: 132px; }

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr .72fr .88fr 1.12fr;
  gap: 34px;
  padding: 35px 0 28px;
}
.footer-about { max-width: 390px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { width: 68px; filter: drop-shadow(0 0 16px rgba(42,189,255,.28)); }
.footer-brand span { display: flex; flex-direction: column; line-height: 1.4; }
.footer-brand small { color: #aebbd4; font-size: .62rem; }
.footer-brand strong { color: #f4f7ff; font-size: 1.02rem; font-weight: 800; }
.footer-about > p { margin: 0 0 16px; color: #98a7c3; font-size: .72rem; line-height: 1.9; }

.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-socials a {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  overflow: hidden;
  color: #d6e1f4;
  border: 1px solid rgba(100, 143, 208, .34);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(13, 43, 90, .72), rgba(4, 19, 48, .74));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.footer-socials img { width: 28px; height: 28px; object-fit: contain; }
.footer-socials span { direction: ltr; max-width: 0; opacity: 0; white-space: nowrap; font-size: .62rem; transition: max-width .26s ease, opacity .2s ease; }

.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h3 {
  position: relative;
  margin: 3px 0 8px;
  padding-bottom: 8px;
  color: #edf4ff;
  font-size: .86rem;
  font-weight: 800;
}
.footer-column h3::after { content: ""; position: absolute; right: 0; bottom: 0; width: 31px; height: 2px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--purple)); box-shadow: 0 0 9px rgba(28,229,255,.35); }
.footer-column > a { position: relative; color: #99a9c5; font-size: .69rem; transition: color .2s ease, transform .2s ease; }
.footer-column > a:not(.footer-domain)::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 7px; border-radius: 50%; background: rgba(69, 194, 255, .58); box-shadow: 0 0 6px rgba(69,194,255,.32); vertical-align: middle; }
.footer-contact > a { display: inline-flex; align-items: center; gap: 7px; direction: ltr; }
.footer-contact > a::before { display: none !important; }
.footer-contact svg { width: 15px; height: 15px; color: #67d8ff; }
.footer-contact > p { display: flex; gap: 7px; margin: 2px 0 0; color: #8999b6; font-size: .66rem; line-height: 1.85; }
.footer-contact > p svg { flex: 0 0 auto; margin-top: 4px; }

.footer-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 62px;
  padding: 14px 0;
  border-top: 1px solid rgba(86, 128, 193, .20);
}
.footer-bottom p { margin: 0; color: #74839e; font-size: .62rem; }
.footer-tagline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #92a2be; font-size: .64rem; }
.footer-tagline i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.footer-domain { direction: ltr; display: inline-flex; align-items: center; gap: 7px; color: #9fafca; font-size: .69rem; }
.footer-domain svg { width: 15px; height: 15px; }

@media (hover: hover) and (pointer: fine) {
  .footer-socials a:hover { transform: translateY(-3px); border-color: rgba(84, 202, 255, .68); box-shadow: 0 10px 24px rgba(0,0,0,.24), 0 0 18px rgba(47,177,255,.07); }
  .footer-socials a:hover span { max-width: 70px; opacity: 1; }
  .footer-column > a:hover { color: #e3f5ff; transform: translateX(-3px); }
}

@media (max-width: 1199.98px) {
  .start-layout { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .82fr); }
  .problem-card { grid-template-columns: 50px minmax(0, 1fr) 28px; padding-inline: 13px; }
  .problem-icon { width: 50px; height: 50px; }
  .footer-main { grid-template-columns: 1.35fr .72fr .86fr 1.05fr; gap: 24px; }
}

@media (max-width: 991.98px) {
  .start-layout { grid-template-columns: 1fr; direction: rtl; }
  .path-recommendation { order: 2; }
  .problem-grid { order: 1; }
  .contact-panel { grid-template-columns: minmax(280px, 42%) minmax(0, 58%); }
  .footer-cta { grid-template-columns: 1fr; text-align: center; }
  .footer-cta-actions { justify-content: center; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-about { max-width: none; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-domain { justify-self: center; }
}

@media (max-width: 575.98px) {
  .start-section { padding-top: 18px; }
  .start-heading p strong { font-size: .82rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 110px; grid-template-columns: 48px minmax(0, 1fr) 27px; gap: 10px; padding: 15px 12px; }
  .problem-icon { width: 47px; height: 47px; border-radius: 13px; }
  .problem-icon svg { width: 24px; height: 24px; }
  .problem-copy strong { font-size: .85rem; }
  .problem-copy small { font-size: .66rem; }
  .recommended-label { top: 7px; right: 8px; }
  .path-recommendation { padding: 20px 16px 17px; }
  .path-head h3 { font-size: 1.35rem; }
  .path-recommendation > p { font-size: .72rem; }
  .field .file-control { grid-template-columns: 36px minmax(0, 1fr); }
  .file-button { grid-column: 1 / -1; width: 100%; text-align: center; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-copy { padding: 18px 16px 20px; }
  .contact-copy h2 { font-size: 1.35rem; }
  .contact-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-actions .btn { padding-inline: 8px; }
  .footer-cta { margin-top: 14px; padding: 20px 15px; }
  .footer-cta h2 { font-size: 1.24rem; }
  .footer-cta p { font-size: .68rem; }
  .footer-cta-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .footer-cta-actions .btn { min-width: 0; padding-inline: 8px; font-size: .7rem; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 22px; }
  .footer-about { text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-socials { justify-content: center; }
  .footer-socials a span { max-width: 70px; opacity: 1; }
  .footer-column { align-items: center; }
  .footer-column h3::after { right: 50%; transform: translateX(50%); }
  .footer-column > a:not(.footer-domain)::before { display: none; }
  .footer-contact > p { max-width: 310px; text-align: center; }
  .footer-bottom { gap: 8px; }
}

.toast-shell[data-tone="error"] { border-color: rgba(255, 104, 122, .65); }
.toast-shell[data-tone="error"] strong { color: #ff8c9c; }
.toast-shell[data-tone="info"] { border-color: rgba(164, 105, 255, .58); }
.toast-shell[data-tone="info"] strong { color: #c69cff; }

/* Bilingual language switch — intentionally compact to preserve the approved header design. */
.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-inline-start: auto;
  flex: 0 0 auto;
}
.header-tools .btn-header { margin-inline-start: 0; }
.language-switch {
  width: 43px;
  min-width: 43px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(86, 202, 255, .34);
  border-radius: 9px;
  color: #f5fbff;
  background:
    linear-gradient(145deg, rgba(15, 45, 92, .92), rgba(32, 18, 72, .9)) padding-box,
    linear-gradient(135deg, rgba(31, 226, 255, .72), rgba(158, 84, 255, .72)) border-box;
  box-shadow: inset 0 0 16px rgba(72, 142, 255, .12), 0 8px 22px rgba(0, 0, 0, .2);
  font-family: Inter, Vazirmatn, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.language-switch:hover,
.language-switch:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(38, 226, 255, .82);
  box-shadow: 0 0 22px rgba(32, 211, 255, .22), 0 10px 28px rgba(82, 49, 196, .28);
}
.language-switch:focus-visible {
  outline: 2px solid #6ee8ff;
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .header-tools {
    width: 100%;
    margin: 10px 0 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 9px;
  }
  .header-tools .btn-header {
    width: 100%;
    margin: 0;
  }
  .language-switch {
    width: 52px;
    min-width: 52px;
  }
}
