/* BEGIN font.css */
/* Optional font-face rules can be added here after verifying redistribution rights. */

/* END font.css */
/* BEGIN base.css */
:root {
  color-scheme: dark;
  --bg: #070b17;
  --bg-deep: #040712;
  --surface: rgba(16, 23, 43, 0.72);
  --surface-strong: #10182c;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(162, 180, 229, 0.14);
  --line-strong: rgba(162, 180, 229, 0.24);
  --text: #f6f7fc;
  --muted: #a2abc1;
  --muted-2: #707b96;
  --primary: #8b5cf6;
  --primary-2: #4f7cff;
  --cyan: #1ed6ff;
  --green: #42e59d;
  --orange: #ffb35a;
  --yellow: #ffd34d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #f4f7ff;
  --bg-deep: #e9effb;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --surface-soft: rgba(29, 70, 150, 0.045);
  --line: rgba(52, 78, 137, 0.14);
  --line-strong: rgba(52, 78, 137, 0.24);
  --text: #111a2e;
  --muted: #59667f;
  --muted-2: #7a879f;
  --primary: #6d4ee8;
  --primary-2: #2563eb;
  --cyan: #0284c7;
  --green: #07895c;
  --orange: #d97706;
  --yellow: #b77900;
  --shadow: 0 24px 70px rgba(50, 75, 130, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 12%, rgba(49, 101, 244, 0.09), transparent 28%),
    radial-gradient(circle at 90% 45%, rgba(124, 58, 237, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: 'IRANSansWeb', sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[data-theme='light'] body {
  background:
    radial-gradient(circle at 10% 12%, rgba(37, 99, 235, 0.1), transparent 28%),
    radial-gradient(circle at 90% 45%, rgba(109, 78, 232, 0.09), transparent 24%),
    var(--bg);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: white;
  background: rgba(116, 80, 255, 0.72);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg-deep);
  border-radius: 999px;
  background: linear-gradient(180deg, #3b82f6, #0ea5e9);
  box-shadow: 0 0 12px rgba(14, 165, 233, .28);
}

button,
a,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section--muted {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.016)),
    rgba(3, 7, 18, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms),
    transform 0.75s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms);
}

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

.scroll-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.48);
}

.back-to-top {
  position: fixed;
  z-index: 70;
  left: 24px;
  bottom: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  opacity: 0;
  color: white;
  background: rgba(13, 20, 38, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(.94);
  pointer-events: none;
  cursor: pointer;
  transition: .25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: rgba(139, 92, 246, .65);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* END base.css */
/* BEGIN layout.css */
.navbar-wrap {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: 0;
  left: 0;
  transition: top .25s ease;
}

.navbar-wrap.is-scrolled {
  top: 10px;
}

.navbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(190, 201, 255, .14);
  border-radius: 18px;
  background: rgba(13, 19, 37, .62);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .2);
  backdrop-filter: blur(20px) saturate(135%);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.is-scrolled .navbar {
  border-color: rgba(190, 201, 255, .2);
  background: rgba(8, 13, 27, .84);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand__mark {
  color: var(--cyan);
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(30, 214, 255, .42);
}

.navbar__panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  margin-right: clamp(30px, 7vw, 90px);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__links a {
  display: block;
  padding: 10px 13px;
  border-radius: 10px;
  color: #c0c7da;
  font-size: 13px;
  transition: color .2s ease, background .2s ease;
}

.navbar__links a:hover {
  color: white;
  background: rgba(255, 255, 255, .055);
}

.navbar__toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 860px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 105px;
  background:
    linear-gradient(180deg, rgba(4, 8, 21, .32), rgba(7, 11, 23, .68) 74%, var(--bg)),
    radial-gradient(circle at 22% 20%, rgba(41, 92, 220, .25), transparent 28%),
    radial-gradient(circle at 67% 25%, rgba(101, 58, 202, .20), transparent 25%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  opacity: .32;
  background:
    linear-gradient(155deg, transparent 45%, rgba(12, 25, 66, .55) 45.2%, transparent 45.5%) 0 40% / 38% 100%,
    linear-gradient(205deg, transparent 46%, rgba(23, 36, 83, .55) 46.2%, transparent 46.6%) 100% 30% / 46% 100%;
  mask-image: linear-gradient(to bottom, transparent, black 40%);
}

.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -180px;
  width: 120%;
  height: 360px;
  border-radius: 50%;
  opacity: .22;
  background: radial-gradient(ellipse, rgba(68, 110, 255, .45), transparent 64%);
  filter: blur(20px);
}

.hero__stars {
  position: absolute;
  inset: 0;
  opacity: .48;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(94,168,255,.7) 0 1px, transparent 1.4px);
  background-position: 0 0, 43px 67px;
  background-size: 86px 86px, 137px 137px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: auroraFloat 10s ease-in-out infinite alternate;
}

.hero__aurora--one {
  top: 80px;
  right: 30%;
  width: 300px;
  height: 440px;
  opacity: .18;
  background: #6d43d9;
  transform: rotate(-32deg);
}

.hero__aurora--two {
  top: 40px;
  right: 58%;
  width: 210px;
  height: 420px;
  opacity: .13;
  background: #1796f4;
  animation-delay: -4s;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.hero__content {
  max-width: 660px;
}

.hero__hello {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(180, 193, 236, .13);
  border-radius: 999px;
  color: #d9def0;
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.3vw, 72px);
  font-weight: 900;
}

.hero h1 span {
  display: block;
  margin-top: 5px;
  color: transparent;
  background: linear-gradient(90deg, #a452f2 5%, #5f7cff 48%, #22c7f1 96%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__content > p {
  max-width: 620px;
  margin-bottom: 30px;
  color: #b4bdd2;
  font-size: 16px;
  line-height: 2;
}

.hero__actions,
.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero__trust strong,
.hero__trust small {
  display: block;
}

.hero__trust strong {
  margin-bottom: 2px;
  color: #e6e9f4;
  font-size: 13px;
}

.hero__trust small {
  color: var(--muted-2);
  font-size: 11px;
}

.hero__avatars {
  display: flex;
  direction: ltr;
}

.hero__avatars span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #0a0f20;
  border-radius: 50%;
  margin-left: -8px;
  color: white;
  background: linear-gradient(135deg, #5945bf, #1c6e9b);
  font-size: 11px;
}

.hero__avatars img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__avatars .hero__avatars-more {
  overflow: visible;
}

.hero__visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.code-card {
  position: relative;
  z-index: 3;
  width: min(100%, 450px);
  overflow: hidden;
  border: 1px solid rgba(142, 166, 255, .28);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(36, 61, 123, .58), rgba(11, 20, 43, .84));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, .45),
    inset 0 0 45px rgba(63, 100, 218, .13),
    0 0 50px rgba(58, 100, 255, .11);
  backdrop-filter: blur(20px);
  transform: rotateY(-7deg) rotateX(2deg);
  animation: codeFloat 6s ease-in-out infinite;
}

.code-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 37%, rgba(255,255,255,.07) 44%, transparent 50%);
  transform: translateX(-120%);
  animation: cardShine 7s ease-in-out infinite;
}

.code-card__top {
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #8d98b3;
  font-size: 11px;
}

.window-dots,
.about-window__header {
  display: flex;
  gap: 6px;
}

.window-dots span,
.about-window__header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6262;
}

.window-dots span:nth-child(2),
.about-window__header span:nth-child(2) { background: #ffc04f; }
.window-dots span:nth-child(3),
.about-window__header span:nth-child(3) { background: #4edb8c; }

.code-card__body {
  padding: 28px 30px 32px;
  font-family: 'IRANSansWeb', sans-serif;
  font-size: clamp(12px, 1.4vw, 15px);
  line-height: 2.1;
}

.code-card__body div {
  white-space: pre;
}

.code-card__body div span {
  display: inline-block;
  width: 30px;
  color: #5f6d8f;
  user-select: none;
}

.code-white { color: #dfe7ff; }
.code-cyan { color: #35d9ff; }
.code-violet { color: #c17aff; }
.code-green { color: #62e69b; }
.code-orange { color: #ffbd67; }

.tech-dock {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 25px;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(169, 187, 246, .19);
  border-radius: 18px;
  background: rgba(10, 15, 30, .64);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32);
  backdrop-filter: blur(18px);
  animation: dockFloat 5s ease-in-out infinite -1s;
}

.tech-chip {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: #0a0d15;
  font-family: 'IRANSansWeb', sans-serif;
  font-weight: 800;
}

.tech-chip--ts { background: #2f79c7; font-size: 13px; }
.tech-chip--css { color: #30d2ee; font-size: 31px; }

.floating-note {
  position: absolute;
  z-index: 4;
  padding: 9px 12px;
  border: 1px solid rgba(160, 178, 235, .14);
  border-radius: 12px;
  color: #b7c0d6;
  background: rgba(12, 18, 35, .68);
  box-shadow: 0 14px 35px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
  font-size: 11px;
}

.floating-note span {
  margin-left: 4px;
  color: white;
  font-weight: 800;
}

.floating-note--top {
  top: 35px;
  left: -8px;
  animation: dockFloat 5.8s ease-in-out infinite -2.2s;
}

.floating-note--bottom {
  right: -6px;
  bottom: 112px;
  animation: dockFloat 6.2s ease-in-out infinite -4s;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(89, 125, 255, .13);
  border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
}

.orbit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.orbit--one { width: 470px; height: 470px; }
.orbit--two { width: 350px; height: 350px; animation-direction: reverse; animation-duration: 14s; }

.hero__scroll {
  position: absolute;
  z-index: 5;
  bottom: 26px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #717c96;
  font-size: 10px;
  transform: translateX(-50%);
}

.hero__scroll i {
  display: block;
  width: 20px;
  height: 33px;
  border: 1px solid rgba(173, 189, 238, .22);
  border-radius: 999px;
}

.hero__scroll i::after {
  content: '';
  display: block;
  width: 3px;
  height: 7px;
  margin: 6px auto 0;
  border-radius: 999px;
  background: var(--cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading--right {
  max-width: 100%;
  margin-inline-start: 0;
  text-align: start;
}

.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: #8a9fff;
  font-size: 12px;
  font-weight: 800;
}

.section-heading__eyebrow::before {
  display: none;
  content: none;
}

.section-heading h2,
.about-content h2,
.cta-card h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
}

.section-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.section-heading--right p {
  margin-inline-start: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: start;
  gap: clamp(50px, 9vw, 120px);
}

.process-intro {
  position: sticky;
  top: 130px;
}

.process-list {
  position: relative;
}

.process-list::before {
  content: '';
  position: absolute;
  top: 28px;
  inset-inline-start: 31px;
  inset-inline-end: auto;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(var(--primary), rgba(30, 214, 255, .2), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.about-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.about-content > p {
  margin-bottom: 14px;
  font-size: 14px;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  overflow: hidden;
  border: 1px solid rgba(162, 180, 229, .18);
  border-radius: 20px;
  background: linear-gradient(110deg, rgba(27, 43, 84, .72), rgba(58, 19, 93, .55));
  box-shadow: 0 20px 70px rgba(0,0,0,.28);
}

.testimonials-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faq-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.faq-intro {
  position: sticky;
  top: 130px;
}

.cta-section {
  padding: 30px 0 100px;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 55px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 25%),
    linear-gradient(105deg, #7422b8, #5532db 48%, #1887e7);
  box-shadow: 0 30px 90px rgba(34, 68, 212, .24);
}

.cta-card::before,
.cta-card::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}

.cta-card::before { width: 260px; height: 260px; left: -60px; bottom: -160px; }
.cta-card::after { width: 180px; height: 180px; left: 40px; bottom: -130px; }

.cta-card > * {
  position: relative;
  z-index: 2;
}

.cta-card > div:first-child {
  max-width: 720px;
}

.cta-card > div > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
}

.cta-card h2 {
  margin-bottom: 8px;
}

.cta-card p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 13px;
}

.footer {
  padding: 70px 0 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #050914;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 50px;
}

.footer h3 {
  margin-bottom: 18px;
  color: #e5e9f4;
  font-size: 14px;
}

.footer li {
  margin-bottom: 9px;
  color: #8691aa;
  font-size: 12px;
}

.footer li a {
  transition: color .2s ease;
}

.footer li a:hover {
  color: var(--cyan);
}

.footer__about p {
  max-width: 290px;
  margin: 17px 0 20px;
  font-size: 12px;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer__contact svg {
  color: #7486b5;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #69748c;
  font-size: 11px;
  text-align: center;
}

@keyframes auroraFloat {
  to { transform: translate3d(45px, 24px, 0) rotate(-25deg) scale(1.1); }
}

@keyframes codeFloat {
  0%, 100% { transform: rotateY(-7deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(1deg) translateY(-12px); }
}

@keyframes dockFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes cardShine {
  0%, 55% { transform: translateX(-130%); }
  75%, 100% { transform: translateX(130%); }
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* END layout.css */
/* BEGIN components.css */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 12px;
}

.button--primary {
  color: white;
  background: linear-gradient(110deg, #7b41ef, #546bfa);
  box-shadow: 0 12px 30px rgba(96, 74, 240, .26);
}

.button--primary:hover {
  box-shadow: 0 18px 40px rgba(96, 74, 240, .36);
}

.button--ghost {
  border-color: rgba(171, 187, 240, .22);
  color: #dfe4f3;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  border-color: rgba(139, 92, 246, .54);
  background: rgba(139, 92, 246, .08);
}

.button--light {
  color: #4c35a2;
  background: white;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.button--glass {
  border-color: rgba(255,255,255,.24);
  color: white;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}

.service-card,
.project-card,
.testimonial-card,
.post-card,
.faq-item {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(18, 27, 50, .78), rgba(8, 14, 28, .78));
  box-shadow: inset 0 1px rgba(255,255,255,.018);
}

.service-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -110px;
  left: -100px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  opacity: 0;
  background: rgba(118, 72, 255, .2);
  filter: blur(40px);
  transition: opacity .3s ease;
}

.service-card:hover {
  border-color: rgba(126, 101, 242, .38);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  transform: translateY(-7px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 23px;
  border: 1px solid rgba(138, 112, 255, .28);
  border-radius: 13px;
  color: #be8cff;
  background: linear-gradient(135deg, rgba(119, 58, 245, .34), rgba(38, 116, 214, .2));
  box-shadow: 0 8px 26px rgba(80, 56, 215, .2), inset 0 0 18px rgba(255,255,255,.03);
}

.service-card:nth-child(2n) .service-card__icon {
  color: #4ddfff;
  border-color: rgba(40, 188, 238, .25);
  background: linear-gradient(135deg, rgba(34, 105, 221, .38), rgba(18, 178, 207, .18));
}

.service-card h3,
.project-card h3,
.testimonial-card h3,
.post-card h3,
.process-item h3 {
  margin-bottom: 11px;
  font-size: 17px;
}

.service-card p {
  min-height: 78px;
  margin-bottom: 18px;
  font-size: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span,
.skills-cloud span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(150, 169, 223, .13);
  border-radius: 999px;
  color: #9ca9c7;
  background: rgba(100, 122, 183, .06);
  font-size: 9px;
}

.tag-list span {
  padding: 4px 8px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: #6b8dff;
  font-size: 11px;
  font-weight: 700;
  transition: gap .2s ease, color .2s ease;
}

.text-link:hover {
  gap: 11px;
  color: var(--cyan);
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.project-card:hover {
  border-color: rgba(123, 102, 235, .4);
  box-shadow: 0 26px 70px rgba(0,0,0,.3);
  transform: translateY(-7px);
}

.project-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0a1121;
}

.project-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5,9,20,.62));
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-card__media img {
  transform: scale(1.045);
}

.project-card__media > span {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 13px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: white;
  background: rgba(7, 12, 25, .54);
  backdrop-filter: blur(10px);
  font-size: 9px;
}

.project-card__content {
  padding: 22px;
}

.project-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-card__title-row button {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #8ba1db;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: .2s ease;
}

.project-card__title-row button:hover {
  border-color: rgba(30,214,255,.42);
  color: var(--cyan);
}

.project-card__content p {
  min-height: 58px;
  margin-bottom: 17px;
  font-size: 11px;
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  min-height: 120px;
  padding-bottom: 28px;
}

.process-item:last-child {
  padding-bottom: 0;
}

.process-item__number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(138, 112, 255, .32);
  border-radius: 18px;
  color: #b896ff;
  background: linear-gradient(145deg, #171c38, #0d1428);
  box-shadow: 0 14px 35px rgba(0,0,0,.25), inset 0 0 20px rgba(113,76,255,.08);
  font-size: 14px;
  font-weight: 800;
}

.process-item h3 {
  margin-top: 3px;
  margin-bottom: 6px;
  font-size: 18px;
}

.process-item p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 12px;
}

.about-window {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  overflow: hidden;
  border: 1px solid rgba(154, 177, 245, .22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(22, 35, 69, .85), rgba(7, 13, 29, .92));
  box-shadow: 0 38px 90px rgba(0,0,0,.38), 0 0 70px rgba(84,75,245,.08);
  transform: rotate(-2deg);
}

.about-window__header {
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.about-window__body {
  padding: 32px;
  text-align: center;
}

.about-avatar {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px;
  color: white;
  background: linear-gradient(145deg, #6b3fe7, #1689c7);
  box-shadow: 0 20px 45px rgba(57, 77, 215, .3);
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 44px;
  font-weight: 900;
}

.about-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  margin-bottom: 17px;
  border: 1px solid rgba(69, 216, 151, .2);
  border-radius: 999px;
  color: #78dca9;
  background: rgba(47, 190, 124, .07);
  font-size: 9px;
}

.about-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #44da91;
  box-shadow: 0 0 10px #44da91;
}

.about-window h3 {
  margin-bottom: 4px;
  font-size: 21px;
}

.about-window p {
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 11px;
}

.about-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.about-mini-grid span {
  padding: 13px;
  color: #8c96af;
  font-size: 9px;
}

.about-mini-grid span + span {
  border-right: 1px solid var(--line);
}

.about-mini-grid strong {
  display: block;
  color: white;
  font-size: 17px;
}

.about-orbit-label {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: #c3cae1;
  background: rgba(12,18,35,.74);
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 10px;
  animation: dockFloat 5.5s ease-in-out infinite;
}

.about-orbit-label--one { top: 80px; right: -5px; }
.about-orbit-label--two { bottom: 65px; left: 4px; animation-delay: -2.5s; }

.about-checks {
  display: grid;
  gap: 9px;
  margin: 24px 0;
}

.about-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c3cbdd;
  font-size: 12px;
}

.about-checks svg {
  flex: 0 0 auto;
  color: var(--green);
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills-cloud span {
  padding: 6px 10px;
  color: #aab4cc;
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 10px;
}

.stat-item {
  position: relative;
  padding: 27px 18px;
  text-align: center;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: rgba(255,255,255,.10);
}

.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item strong {
  margin-bottom: 3px;
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 28px;
}

.stat-item span {
  color: #a7b0c9;
  font-size: 10px;
}

.testimonial-card {
  position: relative;
  min-height: 280px;
  padding: 27px;
  border-radius: var(--radius-md);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 13px;
  left: 20px;
  color: rgba(161, 176, 220, .15);
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 60px;
  line-height: 1;
}

.testimonial-card__stars {
  margin-bottom: 20px;
  color: var(--yellow);
  direction: ltr;
  font-size: 13px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  min-height: 112px;
  color: #bcc4d8;
  font-size: 12px;
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}

.testimonial-card__person > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: linear-gradient(145deg, #6452cd, #287ca2);
  font-size: 13px;
}

.testimonial-card__person strong,
.testimonial-card__person small {
  display: block;
}

.testimonial-card__person strong {
  font-size: 12px;
}

.testimonial-card__person small {
  color: #737e97;
  font-size: 9px;
}

.post-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease;
}

.post-card:hover {
  border-color: rgba(91, 119, 255, .38);
  transform: translateY(-6px);
}

.post-card__cover {
  position: relative;
  height: 185px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.post-card__cover::before,
.post-card__cover::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,.1);
  transform: rotate(25deg);
}

.post-card__cover::before { width: 130px; height: 130px; }
.post-card__cover::after { width: 190px; height: 190px; }
.post-one { background: radial-gradient(circle at 50% 50%, #4e2ca7, #101c50 65%, #0a1020); }
.post-two { background: radial-gradient(circle at 50% 40%, #236fe9, #142886 60%, #081122); }
.post-three { background: radial-gradient(circle at 65% 42%, #1aa8b6, #0c3e5d 55%, #071423); }

.post-card__cover > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.16);
  font-size: 8px;
}

.post-card__symbol {
  position: relative;
  z-index: 2;
  color: white;
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 42px;
  font-weight: 900;
  text-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.post-card__content {
  padding: 22px;
}

.post-card__content small {
  color: #6f7c9c;
  font-size: 9px;
}

.post-card__content h3 {
  margin: 9px 0 10px;
  font-size: 16px;
}

.post-card__content p {
  min-height: 66px;
  margin-bottom: 0;
  font-size: 11px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border-radius: 14px;
  transition: border-color .25s ease;
}

.faq-item.is-open {
  border-color: rgba(126, 104, 245, .4);
}

.faq-item > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 21px;
  border: 0;
  color: #e4e8f2;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}

.faq-item > button svg {
  flex: 0 0 auto;
  color: #7787b0;
  transform: rotate(90deg);
  transition: transform .25s ease, color .25s ease;
}

.faq-item.is-open > button svg {
  color: #a888ff;
  transform: rotate(-90deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.faq-item__answer > div {
  overflow: hidden;
}

.faq-item__answer p {
  margin: 0;
  padding: 0 21px 19px;
  font-size: 11px;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.socials {
  display: flex;
  gap: 9px;
}

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #8492b4;
  background: rgba(255,255,255,.025);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.socials a:hover {
  border-color: rgba(30,214,255,.4);
  color: var(--cyan);
  transform: translateY(-3px);
}

/* END components.css */
/* BEGIN responsive.css */
@media (max-width: 1050px) {
  .navbar__panel { margin-right: 24px; }
  .navbar__links { gap: 1px; }
  .navbar__links a { padding-inline: 9px; font-size: 11px; }
  .hero { min-height: 790px; }
  .hero__grid { gap: 42px; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.2fr repeat(3, .8fr); gap: 25px; }
}

@media (max-width: 960px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 88px 0; }
  .navbar-wrap { top: 10px; }
  .navbar { min-height: 62px; border-radius: 15px; }
  .navbar__toggle { display: grid; width: 42px; height: 42px; place-items: center; }
  .navbar__panel {
    position: fixed;
    top: 83px;
    right: 15px;
    left: 15px;
    display: block;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    padding: 16px;
    margin: 0;
    border: 1px solid rgba(183, 197, 240, .17);
    border-radius: 18px;
    opacity: 0;
    background: rgba(7, 12, 25, .96);
    box-shadow: 0 30px 80px rgba(0,0,0,.46);
    backdrop-filter: blur(20px);
    transform: translateY(-12px) scale(.98);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .navbar__panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .navbar__links { display: grid; margin-bottom: 14px; }
  .navbar__links a { padding: 12px; font-size: 13px; }
  .navbar__panel .button { width: 100%; }
  .hero { min-height: auto; padding: 130px 0 90px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 700px; text-align: center; margin-inline: auto; }
  .hero__hello { margin-inline: auto; }
  .hero__content > p { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { min-height: 470px; width: min(100%, 560px); margin-inline: auto; }
  .hero__scroll { display: none; }
  .process-layout, .about-grid, .faq-layout { grid-template-columns: 1fr; }
  .process-intro, .faq-intro { position: static; }
  .process-layout, .faq-layout { gap: 45px; }
  .about-grid { gap: 60px; }
  .about-visual { order: 2; }
  .about-content { order: 1; }
  .testimonials-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card:last-child, .post-card:last-child { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(35px, 10vw, 50px); }
  .hero__content > p { font-size: 14px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero__actions .button { width: 100%; }
  .hero__trust { align-items: flex-start; text-align: right; }
  .hero__visual { min-height: 400px; }
  .code-card { width: calc(100% - 22px); border-radius: 17px; transform: none; animation-name: dockFloat; }
  .code-card__body { padding: 22px 18px 25px; font-size: 11px; }
  .orbit--one { width: 340px; height: 340px; }
  .orbit--two { width: 270px; height: 270px; }
  .tech-dock { right: 50%; bottom: 5px; padding: 10px 12px; transform: translateX(50%); animation: none; }
  .tech-chip { width: 34px; height: 34px; }
  .floating-note--top { left: 0; top: 8px; }
  .floating-note--bottom { right: 0; bottom: 68px; }
  .section-heading { margin-bottom: 38px; }
  .services-grid, .projects-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .testimonial-card:last-child, .post-card:last-child { grid-column: auto; }
  .project-card__media { height: 205px; }
  .process-list::before { inset-inline-start: 24px; inset-inline-end: auto; }
  .process-item { grid-template-columns: 50px 1fr; gap: 16px; }
  .process-item__number { width: 50px; height: 50px; border-radius: 14px; font-size: 12px; }
  .about-visual { min-height: 420px; }
  .about-window { width: calc(100% - 28px); }
  .about-orbit-label--one { right: 0; }
  .about-orbit-label--two { left: 0; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); margin-top: 65px; }
  .stat-item:nth-child(3)::before { display: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .cta-card { display: block; }
  .cta-card__actions { display: grid; margin-top: 25px; }
  .cta-card__actions .button { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { display: grid; gap: 8px; text-align: center; }
  .back-to-top { left: 14px; bottom: 14px; }
}

@media (max-width: 390px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .hero__hello { font-size: 11px; }
  .hero h1 { font-size: 33px; }
  .hero__trust { display: block; }
  .hero__avatars { justify-content: center; margin-bottom: 10px; }
  .hero__trust > div:last-child { text-align: center; }
  .code-card__body { font-size: 10px; }
  .floating-note { display: none; }
  .service-card, .testimonial-card { padding: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__about, .footer__grid > div:last-child { grid-column: auto; }
}

/* END responsive.css */
/* BEGIN effects.css */
/* ---------- Local icon set ---------- */
.asset-icon {
  --icon-size: 24px;
  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  flex: 0 0 var(--icon-size);
  overflow: visible;
  color: inherit;
  background: none;
  vertical-align: middle;
}
.asset-icon path,
.asset-icon circle,
.asset-icon rect { vector-effect: non-scaling-stroke; }

/* ---------- Ambient motion ---------- */
.cursor-glow {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  opacity: .24;
  background: radial-gradient(circle, rgba(92, 101, 255, .22), rgba(73, 205, 255, .08) 38%, transparent 70%);
  filter: blur(10px);
  transform: translate3d(calc(var(--cursor-x, -500px) - 50%), calc(var(--cursor-y, -500px) - 50%), 0);
  pointer-events: none;
  will-change: transform;
}

main,
.footer,
.navbar-wrap { position: relative; z-index: 1; }

.hero__stars {
  animation: starDrift 22s linear infinite alternate;
}

.hero__aurora--one { animation: auroraOne 12s ease-in-out infinite alternate; }
.hero__aurora--two { animation: auroraTwo 15s ease-in-out infinite alternate; }

@keyframes starDrift {
  to { transform: translate3d(-18px, 14px, 0) scale(1.03); }
}
@keyframes auroraOne {
  to { transform: translate3d(70px, 36px, 0) scale(1.16) rotate(8deg); opacity: .62; }
}
@keyframes auroraTwo {
  to { transform: translate3d(-65px, -28px, 0) scale(1.12) rotate(-7deg); opacity: .52; }
}

.code-card__body > div {
  opacity: 0;
  transform: translateX(-16px);
  animation: codeLine .55s cubic-bezier(.2,.75,.25,1) forwards;
}
.code-card__body > div:nth-child(1) { animation-delay: .25s; }
.code-card__body > div:nth-child(2) { animation-delay: .37s; }
.code-card__body > div:nth-child(3) { animation-delay: .49s; }
.code-card__body > div:nth-child(4) { animation-delay: .61s; }
.code-card__body > div:nth-child(5) { animation-delay: .73s; }
.code-card__body > div:nth-child(6) { animation-delay: .85s; }
.code-card__body > div:nth-child(7) { animation-delay: .97s; }
@keyframes codeLine { to { opacity: 1; transform: translateX(0); } }

/* ---------- More expressive scroll reveals ---------- */
.reveal {
  --reveal-x: 0px;
  --reveal-y: 44px;
  --reveal-scale: .96;
  --reveal-rotate: 0deg;
  opacity: 0;
  filter: blur(9px);
  transform: translate3d(var(--reveal-x), calc(var(--reveal-y) + var(--parallax-y, 0px)), 0) scale(var(--reveal-scale)) rotate(var(--reveal-rotate));
  transition:
    opacity .82s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms),
    transform .9s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms),
    filter .72s ease var(--reveal-delay, 0ms);
}
.reveal[data-reveal='right'] { --reveal-x: 55px; --reveal-y: 10px; --reveal-rotate: 1.2deg; }
.reveal[data-reveal='left'] { --reveal-x: -55px; --reveal-y: 10px; --reveal-rotate: -1.2deg; }
.reveal[data-reveal='zoom'] { --reveal-y: 15px; --reveal-scale: .87; }
.reveal[data-reveal='flip'] { --reveal-y: 28px; --reveal-scale: .93; --reveal-rotate: 2deg; }
.reveal.is-visible {
  --reveal-x: 0px;
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rotate: 0deg;
  opacity: 1;
  filter: blur(0);
}

/* ---------- Magnetic and luminous cards ---------- */
.interactive-card {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform;
}

.interactive-card.reveal.is-visible,
.interactive-card:not(.reveal) {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0);
}

.interactive-card::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(270px circle at var(--spot-x) var(--spot-y), rgba(116, 225, 255, .22), transparent 44%),
    linear-gradient(125deg, rgba(148, 87, 255, .36), transparent 34%, rgba(35, 211, 255, .2));
  transition: opacity .28s ease;
  pointer-events: none;
}

.interactive-card:hover {
  --lift: -10px;
  border-color: rgba(117, 139, 255, .5) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.38), 0 0 0 1px rgba(122, 84, 255, .1), inset 0 1px rgba(255,255,255,.07) !important;
}
.interactive-card > * { position: relative; z-index: 1; }
.interactive-card:hover::after { opacity: 1; }

.service-card,
.project-card,
.testimonial-card,
.post-card,
.faq-item,
.about-window,
.code-card,
.cta-card {
  transition:
    transform .28s cubic-bezier(.2,.8,.2,1),
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.service-card:hover .service-card__icon,
.project-card:hover .project-card__title-row button,
.post-card:hover .post-card__symbol {
  transform: translateY(-3px) rotate(-5deg) scale(1.08);
  box-shadow: 0 14px 36px rgba(83, 78, 236, .36);
}

.service-card__icon,
.project-card__title-row button,
.post-card__symbol { transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease; }

.project-card:hover .project-card__media img { transform: scale(1.075) translateY(-4px); }
.project-card__media::before {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.13) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: opacity .2s ease;
  pointer-events: none;
}
.project-card:hover .project-card__media::before {
  opacity: 1;
  animation: mediaShine .9s ease forwards;
}
@keyframes mediaShine { to { transform: translateX(120%); } }

/* ---------- Trust strip ---------- */
.trust-section {
  position: relative;
  z-index: 4;
  margin-top: -32px;
  padding-bottom: 24px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(166, 186, 238, .16);
  border-radius: 22px;
  background: rgba(8, 14, 29, .72);
  box-shadow: 0 25px 75px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(20px);
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
}
.trust-card__icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid rgba(118, 148, 255, .25);
  border-radius: 13px;
  color: #82e7ff;
  background: linear-gradient(135deg, rgba(92, 76, 238, .25), rgba(38, 179, 229, .12));
}
.trust-card:nth-child(2n) .trust-card__icon { color: #c792ff; }
.trust-card strong,
.trust-card small { display: block; }
.trust-card strong { margin-bottom: 2px; font-size: 12px; }
.trust-card small { overflow: hidden; color: var(--muted-2); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- Supplied icons inside existing cards ---------- */
.service-card__icon .asset-icon { --icon-size: 25px; }
.text-link .asset-icon { --icon-size: 17px; transition: transform .22s ease; }
.text-link:hover .asset-icon { transform: translateX(-4px); }
.testimonial-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(141, 108, 246, .22);
  border-radius: 12px;
  color: #b99cff;
  background: rgba(111, 72, 209, .12);
}
.testimonial-card__badge .asset-icon { --icon-size: 19px; }


.about-content.is-visible .skills-cloud span {
  animation: skillPop .55s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(var(--skill-delay, 0ms) + 160ms);
}
@keyframes skillPop {
  from { opacity: 0; transform: translateY(10px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Contact dock ---------- */
.contact-dock {
  position: fixed;
  z-index: 55;
  right: 18px;
  top: 50%;
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(166, 186, 238, .16);
  border-radius: 17px;
  background: rgba(7, 12, 25, .74);
  box-shadow: 0 20px 55px rgba(0,0,0,.3);
  backdrop-filter: blur(17px);
  transform: translateY(-50%);
}
.contact-dock a {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  color: #bac5e3;
  background: rgba(255,255,255,.025);
  transition: transform .22s ease, color .22s ease, background .22s ease;
}
.contact-dock a:hover { color: white; background: linear-gradient(135deg, rgba(116,73,238,.5), rgba(35,174,226,.34)); transform: translateX(-4px) scale(1.04); }
.contact-dock .asset-icon { --icon-size: 20px; }

/* ---------- Active navigation ---------- */
.navbar__links a { position: relative; }
.navbar__links a::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transform: scaleX(.35);
  transition: .25s ease;
}
.navbar__links a.is-active { color: white; background: rgba(111, 79, 231, .1); }
.navbar__links a.is-active::after { opacity: 1; transform: scaleX(1); }

/* ---------- Buttons ---------- */
.button { overflow: hidden; position: relative; }
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.17), transparent 72%);
  transform: translateX(-120%);
  transition: opacity .2s ease;
}
.button:hover::before { opacity: 1; animation: buttonShine .75s ease forwards; }
@keyframes buttonShine { to { transform: translateX(120%); } }
.button > * { position: relative; z-index: 1; }

/* ---------- Responsive refinements ---------- */
@media (max-width: 1180px) {
  .contact-dock { right: 9px; }
  .trust-card { padding-inline: 12px; }
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-dock { top: auto; right: 50%; bottom: 13px; grid-auto-flow: column; transform: translateX(50%); }
  .back-to-top { bottom: 76px; }
  .hero__grid { align-items: center; }
  .section-heading h2 { max-width: 700px; margin-inline: auto; }
  .section-heading--right h2 { margin-inline: 0; }
}

@media (max-width: 620px) {
  .cursor-glow { display: none; }
  .trust-section { margin-top: -12px; }
  .trust-grid { gap: 8px; padding: 9px; border-radius: 18px; }
  .trust-card { gap: 10px; padding: 12px 10px; }
  .trust-card__icon { width: 38px; height: 38px; flex-basis: 38px; }
  .trust-card strong { font-size: 11px; }
  .trust-card small { font-size: 9px; }
  .interactive-card:hover { --lift: -4px; }
  .contact-dock { bottom: 9px; padding: 6px; border-radius: 15px; }
  .contact-dock a { width: 36px; height: 36px; }
  .back-to-top { bottom: 66px; }
  .section-heading h2 { font-size: clamp(27px, 8vw, 36px); }
  .service-card { min-height: auto; }
}

@media (max-width: 430px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card small { white-space: normal; }
  .contact-dock { width: calc(100% - 92px); justify-content: center; }
  .hero__visual { min-height: 370px; }
  .tech-dock { width: max-content; max-width: calc(100% - 24px); }
  .stats-panel { border-radius: 16px; }
}

@media (hover: none), (pointer: coarse) {
  .interactive-card { --rx: 0deg !important; --ry: 0deg !important; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__stars,
  .hero__aurora--one,
  .hero__aurora--two,
  .code-card__body > div { animation: none !important; opacity: 1; transform: none; }
  .reveal { filter: none; }
  .cursor-glow { display: none; }
}

/* Keep transformed reveal items from creating an RTL horizontal canvas. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

@media (max-width: 620px) {
  .reveal[data-reveal='right'] { --reveal-x: 20px; }
  .reveal[data-reveal='left'] { --reveal-x: -20px; }
}

@media (max-width: 900px) {
  body { padding-bottom: 68px; }
}

/* END effects.css */
/* BEGIN revisions.css */
/* Requested revisions: preserve the original visual system while applying only scoped changes. */

/* ---------- Language and brand ---------- */
.brand__logo {
  width: 35px;
  height: 34px;
  flex: 0 0 35px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(91, 182, 255, .24));
}

html[lang='en'] body {
  font-family: 'IRANSansWeb', sans-serif;
  line-height: 1.7;
}

html[lang='en'] .hero__content,
html[lang='en'] .section-heading,
html[lang='en'] .about-content,
html[lang='en'] .process-intro,
html[lang='en'] .faq-intro,
html[lang='en'] .footer {
  letter-spacing: normal;
}

.language-control {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 6px 7px 6px 10px;
  border: 1px solid rgba(181, 199, 255, .2);
  border-radius: 12px;
  color: #e8ecf8;
  background: linear-gradient(135deg, rgba(92, 73, 178, .18), rgba(54, 143, 199, .12));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.language-control:hover,
.language-control:focus-within,
.language-control.is-open {
  border-color: rgba(255, 255, 255, .38);
  box-shadow: 0 10px 28px rgba(46, 95, 193, .18), inset 0 1px rgba(255,255,255,.06);
  transform: translateY(-2px);
}

.language-control__icon {
  --icon-size: 20px;
  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  flex: 0 0 var(--icon-size);
  background-color: currentColor;
  -webkit-mask: url('../icons/global.svg') center / contain no-repeat;
  mask: url('../icons/global.svg') center / contain no-repeat;
  -webkit-mask-image: url('../icons/global.svg');
  mask-image: url('../icons/global.svg');
  opacity: .9;
}

.language-control__trigger {
  display: inline-flex;
  min-width: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 3px;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.language-control__chevron {
  flex: 0 0 auto;
  color: #aebce0;
  transition: transform .22s ease, color .22s ease;
}

.language-control.is-open .language-control__chevron {
  color: #fff;
  transform: rotate(180deg);
}

.language-control__menu {
  position: absolute;
  z-index: 180;
  top: calc(100% + 10px);
  right: 0;
  width: 148px;
  padding: 6px;
  border: 1px solid rgba(183, 201, 255, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(27, 39, 73, .98), rgba(13, 24, 49, .99));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .42), inset 0 1px rgba(255,255,255,.045);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.language-control__menu[hidden] { display: none; }

.language-control__menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #cbd5ef;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: start;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.language-control__menu button:hover,
.language-control__menu button:focus-visible {
  border-color: rgba(132, 157, 235, .18);
  color: #fff;
  background: linear-gradient(135deg, rgba(105, 76, 220, .24), rgba(37, 141, 196, .14));
  outline: 0;
  transform: translateX(-2px);
}

.language-control__menu button.is-selected {
  border-color: rgba(125, 151, 235, .22);
  color: #fff;
  background: linear-gradient(135deg, rgba(110, 77, 231, .3), rgba(43, 146, 202, .17));
}

.language-control__menu small {
  color: #8190b8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

html[dir='ltr'] .language-control__menu {
  right: auto;
  left: 0;
}


/* ---------- Navbar ---------- */
.navbar-wrap {
  position: fixed !important;
  z-index: 120 !important;
}

.navbar {
  position: relative;
  z-index: 122;
  background:
    linear-gradient(115deg, rgba(49, 63, 111, .48), rgba(35, 57, 99, .32)),
    rgba(58, 75, 126, .15);
  box-shadow: 0 16px 50px rgba(18, 31, 70, .22), inset 0 1px rgba(255,255,255,.035);
}

.is-scrolled .navbar {
  background:
    linear-gradient(115deg, rgba(40, 54, 98, .78), rgba(27, 55, 97, .66)),
    rgba(49, 66, 114, .24);
  box-shadow: 0 18px 60px rgba(9, 19, 48, .32), inset 0 1px rgba(255,255,255,.04);
}

.navbar__links a {
  background: transparent !important;
  transition: color .28s ease, text-shadow .28s ease, transform .28s ease;
}

.navbar__links a:hover,
.navbar__links a.is-active {
  color: #fff;
  background: transparent !important;
  text-shadow: 0 0 9px rgba(255,255,255,.42), 0 0 18px rgba(166, 204, 255, .2);
}

.navbar__links a:hover {
  transform: translateY(-1px);
}

.navbar__links a::after {
  right: 18px;
  bottom: 4px;
  left: 18px;
  height: 1px;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,.62), 0 0 11px rgba(255,255,255,.24);
  transform: scaleX(.2);
  transition: opacity .3s ease, transform .32s cubic-bezier(.16,1,.3,1);
}

.navbar__links a:hover::after,
.navbar__links a.is-active::after {
  opacity: .92;
  transform: scaleX(1);
}

html[dir='ltr'] .navbar__panel {
  margin-right: 0;
  margin-left: clamp(30px, 7vw, 90px);
}

/* ---------- Hero refinements ---------- */
.hero {
  min-height: 805px;
  padding: 116px 0 126px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
  gap: 30px;
}

.hero__content {
  max-width: none;
}

.hero h1 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(30px, 2.8vw, 36px);
  white-space: nowrap;
}

.hero h1 span,
.hero h1 .hero__title-main {
  display: inline;
  margin-top: 0;
}

.hero h1 .hero__title-main {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero__hello--animated {
  overflow: hidden;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(15px) scale(.96);
}

.hero__content.is-visible .hero__hello--animated {
  animation: helloArrival .92s cubic-bezier(.16,1,.3,1) .2s both;
}

.hero__hello-emoji {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: helloWave 2.6s ease-in-out 1.05s infinite;
}

@keyframes helloArrival {
  0% { opacity: 0; filter: blur(8px); transform: translateY(17px) scale(.95); clip-path: inset(0 0 100% 0 round 999px); }
  65% { opacity: 1; filter: blur(0); transform: translateY(-2px) scale(1.015); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); clip-path: inset(0 0 0 0 round 999px); }
}

@keyframes helloWave {
  0%, 72%, 100% { transform: rotate(0deg); }
  78% { transform: rotate(13deg); }
  84% { transform: rotate(-8deg); }
  90% { transform: rotate(8deg); }
  96% { transform: rotate(-3deg); }
}

.code-card {
  backdrop-filter: blur(12px) saturate(132%);
  -webkit-backdrop-filter: blur(12px) saturate(132%);
  animation-duration: 7s;
}

.code-card__spacer {
  width: 18px;
  height: 18px;
}

.tech-dock {
  align-items: center;
  animation-duration: 6.1s;
}

.tech-chip--image {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(6, 10, 20, .8);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.tech-chip--image img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.floating-note [data-i18n] {
  margin: 0;
  color: #b7c0d6;
  font-weight: 400;
}

.hero__aurora--one {
  animation: auroraMergeOne 20s cubic-bezier(.45,.05,.35,.95) infinite;
}

.hero__aurora--two {
  animation: auroraMergeTwo 20s cubic-bezier(.45,.05,.35,.95) infinite;
}

@keyframes auroraMergeOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-32deg) scale(1); opacity: .18; }
  25% { transform: translate3d(-12vw, 22px, 0) rotate(-18deg) scale(1.2); opacity: .3; }
  50% { transform: translate3d(-28vw, -10px, 0) rotate(-4deg) scale(1.04); opacity: .21; }
  75% { transform: translate3d(-12vw, 34px, 0) rotate(-20deg) scale(1.22); opacity: .3; }
}

@keyframes auroraMergeTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0) scale(1); opacity: .13; }
  25% { transform: translate3d(12vw, 28px, 0) rotate(9deg) scale(1.24); opacity: .26; }
  50% { transform: translate3d(28vw, 8px, 0) rotate(14deg) scale(1.05); opacity: .17; }
  75% { transform: translate3d(12vw, -22px, 0) rotate(7deg) scale(1.22); opacity: .26; }
}

.orbit--one { animation-duration: 21s; }
.orbit--two { animation-duration: 17s; }

.hero__scroll {
  bottom: 52px;
  gap: 9px;
}

.hero__scroll i {
  position: relative;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
}

.hero__scroll i::before,
.hero__scroll i::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: 0;
  border-right: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  border-radius: 1px;
  background: transparent;
  box-shadow: 3px 3px 8px rgba(30,214,255,.18);
  transform: translateX(-50%) rotate(45deg);
  animation: scrollArrow 2.05s ease-in-out infinite;
}

.hero__scroll i::after {
  top: 0;
  opacity: .35;
  animation-delay: .22s;
}

@keyframes scrollArrow {
  0% { opacity: 0; transform: translate(-50%, -3px) rotate(45deg); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 9px) rotate(45deg); }
}

/* ---------- Card glows matched to their icons ---------- */
.interactive-card {
  --card-glow-rgb: 116, 225, 255;
}

.interactive-card::after {
  background:
    radial-gradient(270px circle at var(--spot-x) var(--spot-y), rgba(var(--card-glow-rgb), .22), transparent 44%),
    linear-gradient(125deg, rgba(var(--card-glow-rgb), .31), transparent 35%, rgba(var(--card-glow-rgb), .12));
  transition-duration: .36s;
}

.service-card:nth-child(1) { --card-glow-rgb: 190, 140, 255; }
.service-card:nth-child(2) { --card-glow-rgb: 77, 223, 255; }
.service-card:nth-child(3) { --card-glow-rgb: 255, 179, 90; }
.service-card:nth-child(4) { --card-glow-rgb: 66, 229, 157; }
.service-card:nth-child(5) { --card-glow-rgb: 99, 139, 255; }
.service-card:nth-child(6) { --card-glow-rgb: 255, 113, 185; }

.service-card:nth-child(1) .service-card__icon { color: #be8cff; border-color: rgba(190,140,255,.3); background: linear-gradient(135deg, rgba(151,78,244,.34), rgba(101,68,190,.16)); }
.service-card:nth-child(2) .service-card__icon { color: #4ddfff; border-color: rgba(77,223,255,.28); background: linear-gradient(135deg, rgba(34,105,221,.38), rgba(18,178,207,.18)); }
.service-card:nth-child(3) .service-card__icon { color: #ffb35a; border-color: rgba(255,179,90,.28); background: linear-gradient(135deg, rgba(219,126,36,.3), rgba(182,78,27,.14)); }
.service-card:nth-child(4) .service-card__icon { color: #42e59d; border-color: rgba(66,229,157,.27); background: linear-gradient(135deg, rgba(35,168,114,.3), rgba(31,112,89,.14)); }
.service-card:nth-child(5) .service-card__icon { color: #638bff; border-color: rgba(99,139,255,.29); background: linear-gradient(135deg, rgba(64,92,224,.32), rgba(35,67,167,.14)); }
.service-card:nth-child(6) .service-card__icon { color: #ff71b9; border-color: rgba(255,113,185,.27); background: linear-gradient(135deg, rgba(202,64,139,.3), rgba(117,40,108,.14)); }

.service-card:hover .service-card__icon {
  box-shadow: 0 14px 36px rgba(var(--card-glow-rgb), .3);
}

.project-card { --card-glow-rgb: 102, 142, 255; }
.post-card:nth-child(1) { --card-glow-rgb: 133, 102, 255; }
.post-card:nth-child(2) { --card-glow-rgb: 46, 205, 255; }
.post-card:nth-child(3) { --card-glow-rgb: 255, 120, 179; }
.testimonial-card:nth-child(1) { --card-glow-rgb: 128, 191, 255; }
.testimonial-card:nth-child(2) { --card-glow-rgb: 255, 100, 164; }
.testimonial-card:nth-child(3) { --card-glow-rgb: 177, 138, 255; }
.about-window { --card-glow-rgb: 132, 103, 255; }
.figma-board { --card-glow-rgb: 162, 89, 255; }

/* ---------- Trust strip hover ---------- */
.trust-card:nth-child(1) { --card-glow-rgb: 255, 195, 84; }
.trust-card:nth-child(2) { --card-glow-rgb: 102, 216, 255; }
.trust-card:nth-child(3) { --card-glow-rgb: 178, 132, 255; }
.trust-card:nth-child(4) { --card-glow-rgb: 77, 228, 158; }

.trust-card:nth-child(1) .trust-card__icon { color: #ffc354; border-color: rgba(255,195,84,.27); background: linear-gradient(135deg, rgba(210,139,41,.28), rgba(116,80,25,.13)); }
.trust-card:nth-child(2) .trust-card__icon { color: #66d8ff; border-color: rgba(102,216,255,.27); background: linear-gradient(135deg, rgba(41,139,210,.28), rgba(28,91,130,.13)); }
.trust-card:nth-child(3) .trust-card__icon { color: #b284ff; border-color: rgba(178,132,255,.27); background: linear-gradient(135deg, rgba(126,76,220,.28), rgba(79,47,140,.13)); }
.trust-card:nth-child(4) .trust-card__icon { color: #4de49e; border-color: rgba(77,228,158,.27); background: linear-gradient(135deg, rgba(38,173,111,.28), rgba(27,101,75,.13)); }

.trust-card.interactive-card:not(.reveal) {
  transition: transform .46s cubic-bezier(.16,1,.3,1), border-color .4s ease, box-shadow .46s ease, background .4s ease;
}

.trust-card.interactive-card:not(.reveal):hover {
  --lift: -4px;
  transform: perspective(1000px) rotateX(calc(var(--rx) * .4)) rotateY(calc(var(--ry) * .4)) translate3d(0, -4px, 0) scale(1.015);
  border-color: rgba(var(--card-glow-rgb), .38) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.26), 0 0 30px rgba(var(--card-glow-rgb), .09) !important;
}

.trust-card__icon {
  transition: transform .48s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}

.trust-card:hover .trust-card__icon {
  transform: translateY(-2px) rotate(7deg) scale(1.07);
  box-shadow: 0 11px 26px rgba(var(--card-glow-rgb), .23);
}

/* ---------- About skills and portrait card ---------- */
.skills-cloud span {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(var(--skill-rgb), .16);
  transition: color .4s ease, border-color .4s ease, box-shadow .45s ease, transform .45s cubic-bezier(.16,1,.3,1), background .4s ease;
}

.skills-cloud span::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -28px;
  opacity: 0;
  background: radial-gradient(circle at 50% 100%, rgba(var(--skill-rgb), .34), rgba(var(--skill-rgb), .08) 44%, transparent 72%);
  filter: blur(7px);
  transform: translateY(16px) scale(.76);
  transition: opacity .42s ease, transform .55s cubic-bezier(.16,1,.3,1);
}

.skills-cloud span:hover {
  color: #f7f9ff;
  border-color: rgba(var(--skill-rgb), .48);
  background: rgba(var(--skill-rgb), .07);
  box-shadow: 0 10px 28px rgba(var(--skill-rgb), .13), inset 0 0 18px rgba(var(--skill-rgb), .06);
  transform: translateY(-3px);
}

.skills-cloud span:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-window.interactive-card:not(.reveal) {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(-2.6deg) translate3d(0, var(--lift), 0);
  transition: transform .46s cubic-bezier(.16,1,.3,1), border-color .4s ease, box-shadow .45s ease;
}

.about-window.interactive-card:not(.reveal):hover {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(1.1deg) translate3d(0, -8px, 0);
}

/* ---------- Redesigned stats, preserving reveal and count motion ---------- */
.stats-panel {
  gap: 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stats-panel .stat-item {
  min-height: 142px;
  display: grid;
  place-content: center;
  overflow: hidden;
  padding: 28px 20px;
  border: 1px solid rgba(157, 180, 239, .16);
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(27, 40, 75, .8), rgba(12, 18, 36, .82)),
    rgba(255,255,255,.02);
  box-shadow: 0 18px 48px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.035);
  transition: border-color .4s ease, box-shadow .45s ease, background .4s ease;
}

.stats-panel .stat-item::before {
  content: '';
  position: absolute;
  top: -58px;
  right: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: .45;
  background: radial-gradient(circle, rgba(128, 91, 255, .34), transparent 68%);
  filter: blur(8px);
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .45s ease;
}

.stats-panel .stat-item::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  height: 1px;
  opacity: .48;
  background: linear-gradient(90deg, transparent, rgba(111, 206, 255, .58), transparent);
  transform: scaleX(.45);
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s ease;
}

.stats-panel .stat-item:hover {
  border-color: rgba(124, 146, 255, .38);
  box-shadow: 0 24px 58px rgba(0,0,0,.28), 0 0 32px rgba(95, 85, 245, .08), inset 0 1px rgba(255,255,255,.05);
}

.stats-panel .stat-item:hover::before {
  opacity: .75;
  transform: translate(-18px, 14px) scale(1.16);
}

.stats-panel .stat-item:hover::after {
  opacity: .9;
  transform: scaleX(1);
}

.stats-panel .stat-item strong {
  font-size: 31px;
  text-shadow: 0 0 20px rgba(134, 116, 255, .22);
}

.stats-panel .stat-item span {
  font-size: 10px;
}

/* ---------- Testimonials icon placement ---------- */
.testimonial-card {
  padding-bottom: 62px;
}

.testimonial-card::before {
  top: 13px;
  right: 20px;
  left: auto;
}

.testimonial-card__badge {
  top: 20px;
  left: 20px;
}

.testimonial-card__stars {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 25px;
  margin: 0;
}

.testimonial-card > p {
  padding-top: 38px;
}

.testimonial-card__person {
  margin-top: 18px;
}

/* ---------- Contact dock ---------- */
.contact-dock a {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--dock-rgb), .22);
  color: rgb(var(--dock-rgb));
  background: linear-gradient(135deg, rgba(var(--dock-rgb), .15), rgba(var(--dock-rgb), .045));
  box-shadow: 0 8px 22px rgba(var(--dock-rgb), .14), 0 0 18px rgba(var(--dock-rgb), .09), inset 0 1px rgba(255,255,255,.055);
  transition: transform .4s cubic-bezier(.16,1,.3,1), color .35s ease, border-color .35s ease, background .35s ease, box-shadow .4s ease;
}

.contact-dock a::before {
  content: '';
  position: absolute;
  inset: -12px;
  opacity: 0;
  background: radial-gradient(circle at 50% 65%, rgba(var(--dock-rgb), .34), transparent 62%);
  transform: scale(.55) translateY(10px);
  transition: opacity .35s ease, transform .48s cubic-bezier(.16,1,.3,1);
}

.contact-dock a > * {
  position: relative;
  z-index: 1;
  transition: transform .42s cubic-bezier(.16,1,.3,1);
}

.contact-dock a:hover,
.contact-dock a:focus-visible {
  color: #fff;
  border-color: rgba(var(--dock-rgb), .72);
  outline: none;
  background: linear-gradient(135deg, rgba(var(--dock-rgb), .52), rgba(var(--dock-rgb), .2));
  box-shadow: 0 14px 32px rgba(var(--dock-rgb), .3), 0 0 34px rgba(var(--dock-rgb), .26), inset 0 1px rgba(255,255,255,.13);
  transform: translateX(-6px) rotate(-6deg) scale(1.12);
}

.contact-dock a:hover::before,
.contact-dock a:focus-visible::before {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.contact-dock a:hover > *,
.contact-dock a:focus-visible > * {
  transform: rotate(6deg) scale(1.05);
}

.contact-dock__item--call { --dock-rgb: 111, 139, 255; }
.contact-dock__item--telegram { --dock-rgb: 44, 165, 224; }
.contact-dock__item--whatsapp { --dock-rgb: 37, 211, 102; }
.contact-dock__item--instagram { --dock-rgb: 229, 71, 134; }

/* ---------- Figma design section ---------- */
.figma-section {
  overflow: hidden;
}

.figma-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(48px, 8vw, 105px);
}

.figma-content h2 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(29px, 3.6vw, 45px);
  font-weight: 900;
}

.figma-content > p {
  max-width: 620px;
  margin-bottom: 25px;
  font-size: 14px;
}

.figma-points {
  display: grid;
  gap: 10px;
  margin-bottom: 27px;
}

.figma-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7cee0;
  font-size: 12px;
}

.figma-points i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, #ff7262, #a259ff 46%, #1abcfe);
  box-shadow: 0 0 13px rgba(162,89,255,.34);
  transform: rotate(18deg);
}

.figma-points b {
  font-weight: 500;
}

.figma-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.figma-board {
  position: relative;
  width: min(100%, 550px);
  overflow: hidden;
  border: 1px solid rgba(169, 152, 255, .25);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(30, 35, 66, .92), rgba(10, 15, 31, .94));
  box-shadow: 0 38px 90px rgba(0,0,0,.38), 0 0 62px rgba(162,89,255,.08), inset 0 1px rgba(255,255,255,.035);
  transform: rotateY(6deg) rotateX(1deg);
}

.figma-board__toolbar {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #78839e;
}

.figma-board__toolbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7262;
}

.figma-board__toolbar > span:nth-child(2) { background: #f6c344; }
.figma-board__toolbar > span:nth-child(3) { background: #35d58b; }
.figma-board__toolbar small {
  margin-inline-start: auto;
  font-family: 'IRANSansWeb', sans-serif;
  font-size: 9px;
}

.figma-board__canvas {
  display: grid;
  grid-template-columns: 50px 1fr 82px;
  min-height: 340px;
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    #0b1020;
  background-size: 22px 22px;
}

.figma-sidebar,
.figma-properties {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 18px 13px;
  background: rgba(17, 24, 44, .84);
}

.figma-sidebar { border-left: 1px solid rgba(255,255,255,.055); }
.figma-properties { border-right: 1px solid rgba(255,255,255,.055); }

.figma-sidebar i {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(174,190,232,.16);
  border-radius: 6px;
  background: rgba(255,255,255,.025);
}

.figma-properties i {
  height: 7px;
  border-radius: 999px;
  background: rgba(151,167,210,.13);
}

.figma-properties i:nth-child(2),
.figma-properties i:nth-child(5) { width: 70%; }

.figma-frame {
  width: min(calc(100% - 42px), 310px);
  min-height: 260px;
  align-self: center;
  justify-self: center;
  padding: 17px;
  border: 1px solid rgba(113, 145, 255, .28);
  background: linear-gradient(160deg, #15203d, #0d1428);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.figma-frame__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}

.figma-frame__header span:first-child {
  width: 58px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a259ff, #4f7cff);
}

.figma-frame__header span:last-child {
  width: 46px;
  height: 6px;
  border-radius: 999px;
  background: rgba(180,193,231,.17);
}

.figma-frame__hero {
  display: grid;
  place-items: center;
  min-height: 112px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: radial-gradient(circle at 65% 25%, rgba(162,89,255,.34), transparent 45%), linear-gradient(135deg, #171c38, #102b45);
}

.figma-frame__hero b {
  width: 58%;
  height: 10px;
  border-radius: 999px;
  background: rgba(245,247,255,.8);
}

.figma-frame__hero i {
  width: 42%;
  height: 5px;
  margin-top: -22px;
  border-radius: 999px;
  background: rgba(183,196,232,.22);
}

.figma-frame__hero i:last-child {
  width: 24%;
  margin-top: -35px;
  background: linear-gradient(90deg, #ff7262, #a259ff, #1abcfe);
}

.figma-frame__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.figma-frame__cards span {
  height: 62px;
  border: 1px solid rgba(159,177,229,.11);
  border-radius: 9px;
  background: rgba(255,255,255,.027);
}

.figma-mark {
  position: absolute;
  z-index: 5;
  right: 26px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(8, 12, 26, .8);
  box-shadow: 0 14px 34px rgba(0,0,0,.32), 0 0 26px rgba(162,89,255,.16);
  animation: figmaMarkFloat 6.4s ease-in-out infinite;
}

@keyframes figmaMarkFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

/* ---------- Slightly slower global motion ---------- */
.reveal {
  transition-duration: .94s, 1.02s, .84s;
}

.service-card,
.project-card,
.testimonial-card,
.post-card,
.faq-item,
.about-window,
.code-card,
.cta-card,
.figma-board {
  transition-duration: .34s, .34s, .34s, .34s;
}

.button::before { transition-duration: .25s; }
.button:hover::before { animation-duration: .86s; }
.about-content.is-visible .skills-cloud span { animation-duration: .64s; }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) and (min-width: 961px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(365px, .72fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(27px, 2.8vw, 31px);
  }
}

@media (max-width: 960px) {
  .navbar-wrap { z-index: 140 !important; }
  .navbar { z-index: 142; }
  .navbar__toggle { position: relative; z-index: 145; }

  .navbar__panel {
    z-index: 141;
    border-color: rgba(188, 203, 249, .24);
    background:
      linear-gradient(145deg, rgba(31, 43, 79, .97), rgba(17, 30, 58, .98)),
      #17223e;
    box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(87, 122, 207, .08), inset 0 1px rgba(255,255,255,.04);
    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
  }

  .navbar__panel.is-open { z-index: 150; }

  .language-control {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .language-control__trigger {
    width: calc(100% - 27px);
  }

  .language-control__menu,
  html[dir='ltr'] .language-control__menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    transform: none;
  }

  html[dir='ltr'] .navbar__panel {
    margin-left: 0;
  }

  .hero {
    padding: 108px 0 92px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 48px);
    white-space: normal;
  }

  .hero h1 span,
  .hero h1 .hero__title-main {
    display: inline;
  }

  .figma-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .figma-content {
    text-align: center;
  }

  .figma-content h2,
  .figma-content > p {
    margin-inline: auto;
  }

  .figma-points {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: start;
  }

  .figma-visual {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 102px;
  }

  .hero h1 {
    font-size: clamp(31px, 9.2vw, 43px);
  }

  .tech-dock {
    gap: 10px;
  }

  .tech-chip--image {
    width: 36px;
    height: 36px;
  }

  .tech-chip--image img {
    width: 25px;
    height: 25px;
  }

  .stats-panel {
    gap: 10px;
  }

  .stats-panel .stat-item {
    min-height: 125px;
  }

  .contact-dock a:hover {
    transform: translateY(-5px) rotate(-5deg) scale(1.1);
  }

  .figma-visual {
    min-height: 370px;
  }

  .figma-board__canvas {
    grid-template-columns: 40px 1fr 62px;
    min-height: 300px;
  }

  .figma-sidebar,
  .figma-properties {
    padding-inline: 9px;
  }

  .figma-mark {
    right: 17px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 30px;
  }

  .figma-board__canvas {
    grid-template-columns: 34px 1fr 50px;
  }

  .figma-frame {
    width: calc(100% - 24px);
    padding: 13px;
  }

  .figma-properties,
  .figma-sidebar {
    padding: 13px 7px;
  }

  .figma-sidebar i {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__hello--animated {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero__hello-emoji,
  .figma-mark {
    animation: none !important;
  }
}

@media (min-width: 961px) {
  html[lang='en'] .hero h1 {
    font-size: clamp(27px, 2.45vw, 32px);
  }
}

/* ---------- Native system cursors ---------- */
html,
body {
  cursor: default;
}

a[href],
button:not(:disabled),
[role='button'],
summary,
label[for],
select,
input[type='button'],
input[type='submit'],
input[type='reset'],
input[type='checkbox'],
input[type='radio'],
input[type='file'] {
  cursor: pointer;
}

input:not([type]),
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='search'],
input[type='password'],
input[type='number'],
textarea,
[contenteditable='true'],
pre,
code {
  cursor: text;
}

input[type='range'] {
  cursor: ew-resize;
}

[draggable='true'] {
  cursor: grab;
}

[draggable='true']:active {
  cursor: grabbing;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[aria-disabled='true'] {
  cursor: not-allowed;
}



/* ---------- Cross-device interaction and responsive safeguards ---------- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 0;
}

main,
section,
header,
footer,
.container,
.hero__grid > *,
.services-grid > *,
.projects-grid > *,
.process-layout > *,
.about-grid > *,
.testimonials-grid > *,
.blog-grid > *,
.faq-layout > *,
.figma-layout > *,
.footer__grid > * {
  min-width: 0;
}

img,
video,
canvas,
iframe {
  max-width: 100%;
}

h1,
h2,
h3,
p,
li,
.button,
.text-link {
  overflow-wrap: break-word;
}

/* Decorative layers must never intercept mouse or touch interaction. */
.hero::before,
.hero::after,
.hero__stars,
.hero__aurora,
.orbit,
.code-card::after,
.interactive-card::after,
.project-card__media::before,
.button::before,
.cta-card::before,
.cta-card::after,
.cursor-glow {
  pointer-events: none;
}

@media (max-width: 1180px) {
  .reveal[data-reveal='right'] { --reveal-x: 22px; }
  .reveal[data-reveal='left'] { --reveal-x: -22px; }

  .navbar__panel {
    margin-right: clamp(16px, 3vw, 34px);
  }

  html[dir='ltr'] .navbar__panel {
    margin-right: 0;
    margin-left: clamp(16px, 3vw, 34px);
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding: 130px 0 100px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero__content {
    width: min(100%, 780px);
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
  }

  .hero__hello,
  .hero__content > p {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    width: min(100%, 650px);
    min-height: 490px;
    margin-inline: auto;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 960px) {
  html {
    scroll-padding-top: 86px;
  }

  .section,
  .section--muted,
  .cta-section,
  .footer {
    overflow-x: clip;
  }

  .navbar-wrap {
    top: max(10px, env(safe-area-inset-top));
  }

  .navbar__panel {
    overscroll-behavior: contain;
  }

  .process-intro,
  .faq-intro {
    position: static;
  }

  .code-card,
  .figma-board,
  .about-window {
    max-width: 100%;
  }

  .footer__grid {
    row-gap: 34px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .section-heading,
  .section-heading--right {
    text-align: center;
  }

  .section-heading--right p,
  .section-heading--right h2 {
    margin-inline: auto;
  }

  .hero {
    padding: 108px 0 78px;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero__visual {
    min-height: 410px;
  }

  .process-layout,
  .about-grid,
  .faq-layout,
  .figma-layout {
    gap: 38px;
  }

  .cta-card {
    gap: 26px;
  }

  .footer__grid {
    gap: 30px 22px;
  }
}

@media (max-width: 620px) {
  .reveal[data-reveal='right'] { --reveal-x: 10px; }
  .reveal[data-reveal='left'] { --reveal-x: -10px; }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(27px, 8.5vw, 36px);
    line-height: 1.5;
  }

  .hero h1 span,
  .hero h1 .hero__title-main {
    display: block;
  }

  .hero h1 span + span {
    margin-top: 3px;
  }

  .hero__content > p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.95;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .hero__trust > div:last-child {
    text-align: center;
  }

  .code-card {
    width: 100%;
  }

  .code-card__body {
    padding-inline: 16px;
    font-size: clamp(9px, 2.5vw, 11px);
  }

  .about-window {
    width: 100%;
    transform: none;
  }

  .about-orbit-label {
    max-width: 42%;
    white-space: normal;
    text-align: center;
  }

  .project-card__content p {
    min-height: 0;
  }

  .faq-item > button {
    min-height: 58px;
  }

  .cta-card {
    padding: 28px 22px;
    text-align: center;
  }

  .cta-card__actions {
    width: 100%;
  }

  .footer__about p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .navbar {
    min-height: 60px;
    padding-inline: 11px;
  }

  .brand {
    gap: 7px;
    font-size: 16px;
  }

  .brand__logo {
    width: 32px;
    height: 31px;
    flex-basis: 32px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero__hello {
    max-width: 100%;
    padding-inline: 11px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(25px, 7.8vw, 31px);
  }

  .hero__actions {
    gap: 9px;
  }

  .button {
    min-height: 46px;
    padding-inline: 15px;
  }

  .hero__visual {
    min-height: 365px;
  }

  .code-card__top {
    padding-inline: 13px;
  }

  .tech-dock {
    max-width: calc(100% - 14px);
    gap: 8px;
    padding-inline: 10px;
  }

  .service-card,
  .project-card__content,
  .testimonial-card,
  .post-card__content {
    padding-inline: 20px;
  }

  .process-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
  }

  .process-item__number {
    width: 46px;
    height: 46px;
  }

  .process-list::before {
    inset-inline-start: 22px;
    inset-inline-end: auto;
  }

  .about-visual {
    min-height: 390px;
  }

  .stats-panel {
    margin-top: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__about,
  .footer__grid > div:last-child {
    grid-column: auto;
  }

  .footer__bottom {
    margin-top: 38px;
    padding-inline: 8px;
  }

  .contact-dock {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(calc(100% - 76px), 270px);
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 18px), var(--container));
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero__content > p {
    font-size: 12px;
  }

  .hero__visual {
    min-height: 340px;
  }

  .floating-note {
    display: none;
  }

  .tech-chip--image,
  .tech-chip {
    width: 32px;
    height: 32px;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .stat-item:nth-child(n) {
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .stat-item:first-child {
    border-top: 0;
  }
}

/* ---------- Final requested pass: shared shell, theme and scoped refinements ---------- */
.section:not(.hero),
.trust-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.navbar {
  gap: 18px;
  border-color: rgba(187, 207, 255, .2);
  background:
    linear-gradient(115deg, rgba(52, 74, 132, .27), rgba(26, 54, 102, .18)),
    rgba(9, 16, 34, .34);
  box-shadow: 0 18px 55px rgba(3, 10, 28, .22), inset 0 1px rgba(255,255,255,.055);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
}

.is-scrolled .navbar {
  border-color: rgba(187, 207, 255, .25);
  background:
    linear-gradient(115deg, rgba(44, 67, 122, .42), rgba(22, 51, 95, .34)),
    rgba(7, 14, 30, .56);
  backdrop-filter: blur(10px) saturate(155%);
  -webkit-backdrop-filter: blur(10px) saturate(155%);
}

.navbar__panel {
  min-width: 0;
  gap: 18px;
  margin-inline-start: clamp(18px, 4vw, 54px);
  margin-inline-end: 0;
}

html[dir='ltr'] .navbar__panel {
  margin-inline-start: clamp(18px, 4vw, 54px);
  margin-inline-end: 0;
}

.navbar__links {
  min-width: 0;
  gap: 2px;
}

.navbar__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(181, 199, 255, .2);
  border-radius: 12px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(92, 73, 178, .15), rgba(54, 143, 199, .1));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.theme-toggle:hover {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}

.theme-toggle img {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}

.theme-toggle__sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.theme-toggle__moon {
  opacity: 0;
  transform: rotate(-35deg) scale(.55);
}

html[data-theme='light'] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(40deg) scale(.55);
}

html[data-theme='light'] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.language-control {
  min-height: 42px;
  gap: 6px;
  padding: 5px 7px;
}

.language-control__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.language-control__trigger {
  min-width: 76px;
  gap: 7px;
  padding: 4px 2px;
}

.language-control__menu,
html[dir='ltr'] .language-control__menu {
  top: calc(100% + 7px);
  right: auto;
  left: auto;
  inset-inline-end: 0;
  width: 100%;
  min-width: 150px;
  padding: 7px;
}

.language-control__menu button {
  gap: 10px;
  min-height: 38px;
  padding: 8px 9px;
}

.nav-more {
  position: relative;
}

.nav-more__trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #c0c7da;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}

.nav-more__trigger:hover,
.nav-more.is-open .nav-more__trigger {
  color: #fff;
  transform: translateY(-1px);
}

.nav-more__chevron {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
  transition: transform .25s ease;
}

.nav-more__chevron .asset-icon {
  width: 16px;
  height: 16px;
}

.nav-more__chevron--asset {
  background-color: currentColor;
  -webkit-mask: url('../icons/arrow-down.svg') center / contain no-repeat;
  mask: url('../icons/arrow-down.svg') center / contain no-repeat;
  -webkit-mask-image: url('../icons/arrow-down.svg');
  mask-image: url('../icons/arrow-down.svg');
}

.nav-more.is-open .nav-more__chevron {
  transform: rotate(180deg);
}

.nav-more__menu {
  position: absolute;
  z-index: 190;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  display: grid;
  width: 178px;
  gap: 3px;
  padding: 7px;
  border: 1px solid rgba(183, 201, 255, .2);
  border-radius: 14px;
  opacity: 0;
  background: rgba(14, 25, 50, .9);
  box-shadow: 0 22px 55px rgba(0,0,0,.36);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
  transform: translateY(-7px) scale(.98);
  transform-origin: top;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-more.is-open .nav-more__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-more__menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 11px;
}

.nav-more__menu a .asset-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #8a9fff;
}

.nav-more__menu a:hover {
  background: rgba(93, 126, 228, .14) !important;
}

/* Theme changes reveal the new palette from the control that was clicked. */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

html.is-theme-transitioning::view-transition-new(root) {
  z-index: 10000;
  clip-path: circle(0 at var(--theme-transition-x) var(--theme-transition-y));
  animation: themeCircleReveal 1.65s cubic-bezier(.22, 1, .36, 1) both;
}

html.is-theme-transitioning::view-transition-old(root) {
  z-index: 9999;
}

@keyframes themeCircleReveal {
  to {
    clip-path: circle(var(--theme-transition-radius) at var(--theme-transition-x) var(--theme-transition-y));
  }
}

.tech-chip--image {
  padding: 0;
  overflow: hidden;
}

.tech-chip--image img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.about-avatar {
  overflow: hidden;
  padding: 0;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes auroraMergeOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(calc(-32deg + var(--aurora-tilt, 0deg))) scale(1); opacity: .18; }
  25% { transform: translate3d(-14vw, 22px, 0) rotate(calc(-16deg + var(--aurora-spin, 0deg))) scale(1.2); opacity: .3; }
  50% { transform: translate3d(-31vw, -10px, 0) rotate(calc(8deg + var(--aurora-spin, 0deg))) scale(1.04); opacity: .22; }
  75% { transform: translate3d(-14vw, 34px, 0) rotate(calc(-20deg - var(--aurora-spin, 0deg))) scale(1.22); opacity: .3; }
}

@keyframes auroraMergeTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--aurora-tilt, 0deg)) scale(1); opacity: .13; }
  25% { transform: translate3d(14vw, 28px, 0) rotate(calc(10deg - var(--aurora-spin, 0deg))) scale(1.24); opacity: .26; }
  50% { transform: translate3d(31vw, 8px, 0) rotate(calc(-8deg - var(--aurora-spin, 0deg))) scale(1.05); opacity: .18; }
  75% { transform: translate3d(14vw, -22px, 0) rotate(calc(7deg + var(--aurora-spin, 0deg))) scale(1.22); opacity: .26; }
}

.web-design-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.web-design-content h2 {
  max-width: 650px;
  margin: 14px 0 19px;
  font-size: clamp(31px, 3.4vw, 49px);
}

.web-design-content > p {
  max-width: 650px;
  margin-bottom: 24px;
  line-height: 2;
}

.web-design-points {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
}

.web-design-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7d0e4;
  font-size: 12px;
}

.web-design-points i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px rgba(30,214,255,.58);
}

.web-design-visual {
  min-height: 450px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.browser-showcase {
  position: relative;
  width: min(100%, 500px);
  overflow: visible;
  border: 1px solid rgba(140, 173, 255, .24);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(28, 44, 86, .88), rgba(7, 15, 33, .95));
  box-shadow: 0 35px 90px rgba(0,0,0,.38), 0 0 70px rgba(52, 123, 255, .1);
  transform: rotateY(6deg) rotateX(2deg);
}

.browser-showcase__top {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.browser-showcase__top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6262;
}

.browser-showcase__top span:nth-child(2) { background: #ffc04f; }
.browser-showcase__top span:nth-child(3) { background: #4edb8c; }
.browser-showcase__top small { margin-inline-start: auto; color: #8290ae; font-size: 9px; direction: ltr; }

.browser-showcase__screen {
  display: grid;
  min-height: 330px;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  padding: 18px;
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(circle at 70% 20%, rgba(37,99,235,.22), transparent 38%),
    #081125;
}

.browser-showcase__nav {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 11px 8px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.browser-showcase__nav i {
  height: 8px;
  border-radius: 999px;
  background: rgba(118, 154, 236, .24);
}

.browser-showcase__hero {
  position: relative;
  min-height: 175px;
  grid-column: 2;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(115, 159, 255, .14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(38, 77, 159, .28), rgba(111, 72, 224, .13));
}

.browser-showcase__hero span,
.browser-showcase__hero b,
.browser-showcase__hero i {
  display: block;
  border-radius: 999px;
}

.browser-showcase__hero span { width: 44%; height: 12px; background: linear-gradient(90deg, #5f7cff, #22c7f1); }
.browser-showcase__hero b { width: 70%; height: 8px; margin-top: 15px; background: rgba(255,255,255,.14); }
.browser-showcase__hero i { width: 92px; height: 31px; margin-top: 25px; background: linear-gradient(90deg, #6755ef, #238cd9); }

.browser-showcase__cards {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.browser-showcase__cards span {
  min-height: 92px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}

.browser-showcase__badge {
  position: absolute;
  right: -21px;
  bottom: 34px;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(30,214,255,.3);
  border-radius: 22px;
  color: #dff9ff;
  background: rgba(11, 34, 65, .88);
  box-shadow: 0 18px 45px rgba(0,0,0,.32), 0 0 30px rgba(30,214,255,.15);
  font-family: 'IRANSansWeb', sans-serif;
  font-weight: 800;
  direction: ltr;
}

.interactive-card {
  touch-action: pan-y;
}

.interactive-card.is-touch-active {
  --lift: -5px;
}

.interactive-card.is-touch-active::after {
  opacity: 1;
}

.service-card.is-touch-active .service-card__icon,
.project-card.is-touch-active .project-card__title-row button,
.post-card.is-touch-active .post-card__cover img {
  transform: translateY(-3px) scale(1.045);
}

@media (min-width: 961px) {
  html[lang='en'] .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: clamp(46px, 6vw, 82px);
  }

  html[lang='en'] .hero__content {
    position: relative;
    z-index: 5;
    min-width: 0;
  }

  html[lang='en'] .hero h1 {
    max-width: 690px;
    font-size: clamp(35px, 3.6vw, 54px);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 960px) {
  .navbar {
    gap: 10px;
  }

  .navbar__toggle {
    order: -1;
    flex: 0 0 42px;
  }

  .navbar .brand {
    order: 0;
    margin-inline-start: auto;
  }

  .navbar__panel,
  html[dir='ltr'] .navbar__panel {
    margin: 0;
    border-color: rgba(188, 203, 249, .2);
    background: rgba(12, 24, 49, .91);
    backdrop-filter: blur(10px) saturate(145%);
    -webkit-backdrop-filter: blur(10px) saturate(145%);
  }

  .navbar__links {
    gap: 3px;
  }

  .nav-more__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
    font-size: 13px;
  }

  .nav-more__menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 7px;
    overflow: hidden;
    border: 0;
    opacity: 1;
    background: rgba(255,255,255,.025);
    box-shadow: none;
    transform: none;
    pointer-events: none;
    transition: max-height .25s ease, padding .25s ease;
  }

  .nav-more.is-open .nav-more__menu {
    max-height: 220px;
    padding: 7px;
    pointer-events: auto;
  }

  .navbar__actions {
    width: 100%;
    align-items: stretch;
    gap: 8px;
  }

  .language-control {
    flex: 1;
  }

  .language-control__trigger {
    width: auto;
    flex: 1;
  }

  .language-control__menu,
  html[dir='ltr'] .language-control__menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 5px;
  }

  .web-design-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .web-design-content {
    text-align: center;
  }

  .web-design-content h2,
  .web-design-content > p {
    margin-inline: auto;
  }

  .web-design-points {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: start;
  }

  .web-design-content .button {
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .hero__actions {
    display: flex;
    width: auto;
    justify-content: center;
  }

  .hero__actions .button {
    width: auto;
    min-width: min(100%, 148px);
    min-height: 43px;
    padding-inline: 14px;
    font-size: 10.5px;
  }

  .browser-showcase {
    width: calc(100% - 16px);
    transform: none;
  }

  .web-design-visual {
    min-height: 390px;
  }

  .browser-showcase__screen {
    min-height: 280px;
    grid-template-columns: 42px 1fr;
    gap: 11px;
    padding: 13px;
  }

  .browser-showcase__hero {
    min-height: 145px;
    padding: 19px;
  }

  .browser-showcase__cards span {
    min-height: 72px;
  }

  .browser-showcase__badge {
    right: -8px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 12px;
  }
}

/* Light theme keeps the dark layout intact and changes only the color system. */
html[data-theme='light'] .navbar {
  border-color: rgba(64, 94, 155, .2);
  background: rgba(255,255,255,.58);
  box-shadow: 0 16px 50px rgba(60, 83, 134, .12), inset 0 1px rgba(255,255,255,.8);
}

html[data-theme='light'] .is-scrolled .navbar {
  background: rgba(255,255,255,.78);
}

html[data-theme='light'] .navbar__links a,
html[data-theme='light'] .nav-more__trigger {
  color: #48566f;
}

html[data-theme='light'] .navbar__links a:hover,
html[data-theme='light'] .navbar__links a.is-active,
html[data-theme='light'] .nav-more__trigger:hover,
html[data-theme='light'] .nav-more.is-open .nav-more__trigger {
  color: #13213d;
  text-shadow: 0 0 12px rgba(37,99,235,.2);
}

html[data-theme='light'] .language-control,
html[data-theme='light'] .theme-toggle {
  border-color: rgba(55, 87, 154, .2);
  color: #1a2947;
  background: rgba(238, 244, 255, .82);
}

html[data-theme='light'] .language-control__menu,
html[data-theme='light'] .nav-more__menu,
html[data-theme='light'] .navbar__panel {
  border-color: rgba(55, 87, 154, .18);
  color: #1a2947;
  background: rgba(250,252,255,.96);
  box-shadow: 0 22px 55px rgba(64, 87, 136, .16);
}

html[data-theme='light'] .language-control__menu button,
html[data-theme='light'] .nav-more__menu a {
  color: #44536d;
}

html[data-theme='light'] .language-control__menu button:hover,
html[data-theme='light'] .language-control__menu button.is-selected {
  color: #102140;
  background: rgba(37,99,235,.08);
}

html[data-theme='light'] .hero {
  background:
    linear-gradient(180deg, rgba(243,247,255,.25), rgba(244,247,255,.76) 74%, var(--bg)),
    radial-gradient(circle at 22% 20%, rgba(41,92,220,.18), transparent 28%),
    radial-gradient(circle at 67% 25%, rgba(101,58,202,.14), transparent 25%);
}

html[data-theme='light'] .hero__content > p,
html[data-theme='light'] .web-design-content > p,
html[data-theme='light'] p {
  color: var(--muted);
}

html[data-theme='light'] .hero__hello {
  border-color: rgba(55,87,154,.16);
  color: #34425d;
  background: rgba(255,255,255,.58);
}

html[data-theme='light'] .hero__trust strong,
html[data-theme='light'] .web-design-points span,
html[data-theme='light'] .about-checks li {
  color: #263653;
}

html[data-theme='light'] .section--muted {
  border-color: rgba(55,87,154,.08);
  background: rgba(232,239,252,.48);
}

html[data-theme='light'] .service-card,
html[data-theme='light'] .project-card,
html[data-theme='light'] .testimonial-card,
html[data-theme='light'] .post-card,
html[data-theme='light'] .faq-item,
html[data-theme='light'] .about-window,
html[data-theme='light'] .figma-board,
html[data-theme='light'] .browser-showcase,
html[data-theme='light'] .stats-panel,
html[data-theme='light'] .trust-grid {
  border-color: rgba(55,87,154,.14);
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 65px rgba(60,83,134,.12);
}

html[data-theme='light'] .service-card h3,
html[data-theme='light'] .project-card h3,
html[data-theme='light'] .testimonial-card strong,
html[data-theme='light'] .post-card h3,
html[data-theme='light'] .faq-item button,
html[data-theme='light'] .about-window h3,
html[data-theme='light'] .stat-item strong,
html[data-theme='light'] .footer h3 {
  color: #15233f;
}

html[data-theme='light'] .code-card,
html[data-theme='light'] .browser-showcase__screen {
  border-color: rgba(55,87,154,.18);
  background: linear-gradient(145deg, rgba(223,234,255,.94), rgba(245,248,255,.98));
  box-shadow: 0 30px 80px rgba(60,83,134,.15);
}

html[data-theme='light'] .code-white { color: #24334e; }
html[data-theme='light'] .code-card__top { color: #65728a; }
html[data-theme='light'] .about-mini-grid strong { color: #172641; }
html[data-theme='light'] .about-orbit-label { color: #33425e; background: rgba(255,255,255,.84); }
html[data-theme='light'] .footer { border-color: rgba(55,87,154,.09); background: rgba(235,241,252,.7); }
html[data-theme='light'] .back-to-top { color: #182742; background: rgba(255,255,255,.88); }

@media (max-width: 960px) and (max-height: 620px) {
  .navbar__panel {
    top: 74px;
    max-height: calc(100dvh - 88px);
  }

  .hero {
    padding-top: 96px;
  }
}

@media (hover: none), (pointer: coarse) {
  .interactive-card:hover {
    --lift: 0px;
  }

  .service-card:hover .service-card__icon,
  .project-card:hover .project-card__title-row button,
  .post-card:hover .post-card__symbol,
  .contact-dock a:hover {
    transform: none;
  }
}


/* ---------- Requested mobile refinements ---------- */
.post-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.16,1,.3,1), filter .4s ease;
}

.post-card:hover .post-card__cover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.post-card__content h3 a {
  transition: color .25s ease;
}

.post-card__content h3 a:hover {
  color: var(--cyan);
}

@media (max-width: 620px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 9px;
  }

  .trust-card {
    gap: 9px;
    min-height: 72px;
    padding: 11px 9px;
  }

  .trust-card__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .trust-card strong {
    font-size: 10.5px;
    line-height: 1.55;
  }

  .trust-card small {
    overflow: visible;
    font-size: 8.5px;
    line-height: 1.55;
    white-space: normal;
    text-overflow: clip;
  }

  .service-card__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
  }

  .service-card__heading .service-card__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .service-card__heading h3 {
    margin: 0;
    line-height: 1.55;
  }

  .contact-dock {
    right: 50%;
    width: max-content;
    max-width: calc(100% - 24px);
    grid-template-columns: repeat(4, 36px);
    grid-auto-flow: initial;
    justify-content: initial;
    gap: 6px;
    padding: 6px 8px;
    transform: translateX(50%);
  }

  .contact-dock a {
    width: 36px;
    height: 36px;
  }

  .footer {
    padding-top: 52px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .footer__about,
  .footer__grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer h3 {
    margin-bottom: 12px;
  }

  .footer li {
    margin-bottom: 7px;
    line-height: 1.65;
  }

  .footer__about p {
    margin: 13px 0 15px;
  }

  .footer__bottom {
    margin-top: 34px;
  }
}

@media (max-width: 360px) {
  .trust-grid {
    gap: 7px;
    padding: 7px;
  }

  .trust-card {
    gap: 7px;
    padding: 9px 7px;
  }

  .trust-card__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .trust-card strong { font-size: 9.5px; }
  .trust-card small { font-size: 7.7px; }

  .footer__grid {
    gap: 24px 12px;
  }
}

/* ---------- Light-mode contrast, depth and decorative surface ---------- */
html[data-theme='light'] {
  --bg: #f7f9ff;
  --bg-deep: #e9effc;
  --surface: rgba(255, 255, 255, .82);
  --surface-strong: #ffffff;
  --surface-soft: rgba(35, 76, 170, .055);
  --line: rgba(42, 70, 135, .14);
  --line-strong: rgba(42, 70, 135, .24);
  --text: #101a32;
  --muted: #52617c;
  --muted-2: #73819b;
  --primary: #6647dc;
  --primary-2: #245bd7;
  --cyan: #047fae;
  --green: #087951;
  --orange: #b95d06;
  --yellow: #956400;
  --shadow: 0 24px 68px rgba(45, 67, 120, .14);
}

html[data-theme='light'] body {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(47, 83, 165, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 83, 165, .028) 1px, transparent 1px),
    radial-gradient(circle at 9% 10%, rgba(37, 99, 235, .13), transparent 24%),
    radial-gradient(circle at 91% 38%, rgba(112, 73, 220, .11), transparent 23%),
    radial-gradient(circle at 30% 78%, rgba(14, 165, 233, .08), transparent 22%),
    #f7f9ff;
  background-size: 44px 44px, 44px 44px, auto, auto, auto, auto;
}

html[data-theme='light'] body::before,
html[data-theme='light'] body::after {
  position: fixed;
  z-index: -1;
  width: clamp(230px, 31vw, 480px);
  aspect-ratio: 1;
  border-radius: 46% 54% 62% 38% / 42% 40% 60% 58%;
  content: '';
  opacity: .38;
  filter: blur(2px);
  pointer-events: none;
  animation: lightDecorDrift 16s ease-in-out infinite alternate;
}

html[data-theme='light'] body::before {
  top: 11vh;
  right: -12vw;
  border: 1px solid rgba(75, 105, 200, .12);
  background:
    radial-gradient(circle at 35% 35%, rgba(88, 120, 235, .2), transparent 55%),
    repeating-radial-gradient(circle, rgba(61, 91, 176, .08) 0 1px, transparent 1px 13px);
}

html[data-theme='light'] body::after {
  bottom: 4vh;
  left: -14vw;
  border: 1px solid rgba(97, 68, 194, .1);
  opacity: .26;
  background:
    radial-gradient(circle at 62% 42%, rgba(127, 84, 218, .18), transparent 55%),
    repeating-linear-gradient(35deg, rgba(63, 91, 177, .055) 0 1px, transparent 1px 12px);
  animation-delay: -7s;
}

@keyframes lightDecorDrift {
  from { transform: translate3d(0, -8px, 0) rotate(-4deg); }
  to { transform: translate3d(18px, 18px, 0) rotate(7deg); }
}

html[data-theme='light'] .trust-section {
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.58) 20%, rgba(255,255,255,.58) 80%, transparent),
    radial-gradient(circle at 50% 50%, rgba(37,99,235,.055), transparent 70%);
}

html[data-theme='light'] .section--muted {
  border-color: rgba(54, 82, 147, .09);
  background:
    linear-gradient(135deg, rgba(231, 238, 253, .72), rgba(246, 248, 255, .86)),
    repeating-linear-gradient(120deg, rgba(61, 91, 177, .03) 0 1px, transparent 1px 24px);
}

html[data-theme='light'] .web-design-section {
  background:
    radial-gradient(circle at 12% 52%, rgba(37,99,235,.075), transparent 25%),
    radial-gradient(circle at 88% 30%, rgba(109,78,232,.065), transparent 24%);
}

html[data-theme='light'] .section-heading h2,
html[data-theme='light'] .figma-content h2,
html[data-theme='light'] .web-design-content h2,
html[data-theme='light'] .process-intro h2,
html[data-theme='light'] .about-content h2,
html[data-theme='light'] .faq-intro h2,
html[data-theme='light'] .process-item h3,
html[data-theme='light'] .trust-card strong {
  color: #101d3a;
}

html[data-theme='light'] .section-heading__eyebrow {
  border-color: rgba(37, 99, 235, .16);
  color: #234ea9;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 8px 22px rgba(56, 82, 145, .07);
}

html[data-theme='light'] .service-card,
html[data-theme='light'] .project-card,
html[data-theme='light'] .testimonial-card,
html[data-theme='light'] .post-card,
html[data-theme='light'] .faq-item,
html[data-theme='light'] .about-window,
html[data-theme='light'] .figma-board,
html[data-theme='light'] .browser-showcase,
html[data-theme='light'] .stats-panel,
html[data-theme='light'] .trust-grid {
  border-color: rgba(43, 73, 143, .15);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(247,249,255,.8));
  box-shadow: 0 22px 60px rgba(49, 73, 129, .11), inset 0 1px rgba(255,255,255,.9);
}

html[data-theme='light'] .service-card:hover,
html[data-theme='light'] .project-card:hover,
html[data-theme='light'] .testimonial-card:hover,
html[data-theme='light'] .post-card:hover {
  border-color: rgba(37, 99, 235, .29);
  box-shadow: 0 28px 70px rgba(42, 70, 136, .15), 0 0 0 4px rgba(37, 99, 235, .035);
}

html[data-theme='light'] .service-card__icon,
html[data-theme='light'] .trust-card__icon {
  border-color: rgba(56, 89, 172, .13);
  background: linear-gradient(145deg, rgba(232, 239, 255, .96), rgba(255,255,255,.98));
  box-shadow: 0 10px 24px rgba(47, 75, 143, .09);
}

html[data-theme='light'] .tag-list span,
html[data-theme='light'] .skills-cloud span {
  border-color: rgba(45, 75, 144, .12);
  color: #324566;
  background: rgba(240, 244, 255, .82);
}

html[data-theme='light'] .text-link {
  color: #174db9;
}

html[data-theme='light'] .text-link:hover {
  color: #08368e;
}

html[data-theme='light'] .button--primary {
  color: #fff;
  box-shadow: 0 14px 34px rgba(69, 58, 203, .24);
}

html[data-theme='light'] .button--ghost {
  border-color: rgba(42, 69, 133, .2);
  color: #172746;
  background: rgba(255,255,255,.64);
}

html[data-theme='light'] .process-item__number {
  color: #fff;
  background: linear-gradient(145deg, #315fd8, #6847d9);
  box-shadow: 0 12px 25px rgba(53, 79, 174, .22);
}

html[data-theme='light'] .process-list::before {
  background: linear-gradient(180deg, rgba(37,99,235,.1), rgba(109,78,232,.38), rgba(37,99,235,.08));
}

html[data-theme='light'] .stat-item span,
html[data-theme='light'] .trust-card small,
html[data-theme='light'] .project-card p,
html[data-theme='light'] .service-card p,
html[data-theme='light'] .testimonial-card p,
html[data-theme='light'] .post-card p,
html[data-theme='light'] .faq-item p,
html[data-theme='light'] .process-item p {
  color: #53627d;
}

html[data-theme='light'] .project-card__media span,
html[data-theme='light'] .post-card__cover > span {
  color: #fff;
  background: rgba(13, 28, 61, .74);
  backdrop-filter: blur(8px);
}

html[data-theme='light'] .faq-item.is-open {
  border-color: rgba(77, 70, 214, .34);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(239,243,255,.93));
}

html[data-theme='light'] .cta-card,
html[data-theme='light'] .cta-card h2,
html[data-theme='light'] .cta-card p,
html[data-theme='light'] .cta-card > div > span {
  color: #fff;
}

html[data-theme='light'] .cta-card p {
  color: rgba(255,255,255,.76);
}

html[data-theme='light'] .cta-card {
  border-color: rgba(255,255,255,.22);
  background:
    radial-gradient(circle at 15% 20%, rgba(43, 198, 255, .3), transparent 32%),
    linear-gradient(120deg, #4931c7, #6f35df 46%, #167acb);
  box-shadow: 0 28px 70px rgba(65, 50, 180, .26);
}

html[data-theme='light'] .button--glass {
  color: #fff;
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.13);
}

html[data-theme='light'] .footer {
  border-color: rgba(45, 73, 137, .1);
  background:
    linear-gradient(180deg, rgba(239, 244, 255, .82), rgba(230, 237, 251, .95)),
    repeating-linear-gradient(90deg, rgba(54, 82, 147, .035) 0 1px, transparent 1px 36px);
}

html[data-theme='light'] .footer p,
html[data-theme='light'] .footer li,
html[data-theme='light'] .footer a {
  color: #58667e;
}

html[data-theme='light'] .footer a:hover {
  color: #173f9f;
}

html[data-theme='light'] .footer__bottom {
  border-color: rgba(45, 73, 137, .1);
  color: #72809a;
}

@media (min-width: 961px) {
  html[data-theme='light'] .navbar__panel {
    border: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 960px) {
  html[data-theme='light'] .navbar__panel,
  html[data-theme='light'][dir='ltr'] .navbar__panel {
    border-color: rgba(48, 77, 144, .16);
    background: rgba(250, 252, 255, .97);
    box-shadow: 0 28px 65px rgba(45, 68, 120, .18);
  }

  html[data-theme='light'] .nav-more__menu {
    background: rgba(233, 239, 252, .76);
  }
}

/* ---------- Footer social buttons: brand colors and interaction ---------- */
.socials a {
  --social-rgb: 78, 111, 190;
  position: relative;
  overflow: hidden;
  border-color: rgba(var(--social-rgb), .32);
  color: rgb(var(--social-rgb));
  background: linear-gradient(145deg, rgba(var(--social-rgb), .14), rgba(var(--social-rgb), .055));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 9px 22px rgba(var(--social-rgb), .1);
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
}

.socials a::before {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  content: '';
  opacity: 0;
  background: radial-gradient(circle at 30% 15%, rgba(255,255,255,.42), transparent 38%);
  transition: opacity .25s ease;
  pointer-events: none;
}

.socials a svg {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}

.socials__link--instagram { --social-rgb: 225, 65, 132; }
.socials__link--telegram { --social-rgb: 37, 164, 224; }
.socials__link--whatsapp { --social-rgb: 36, 188, 92; }

.socials a:hover,
.socials a:focus-visible {
  border-color: rgba(var(--social-rgb), .75);
  color: #fff;
  background: rgb(var(--social-rgb));
  box-shadow: 0 14px 30px rgba(var(--social-rgb), .3), 0 0 0 4px rgba(var(--social-rgb), .1);
  transform: translateY(-4px) scale(1.05);
}

.socials__link--instagram:hover,
.socials__link--instagram:focus-visible {
  background: linear-gradient(135deg, #ff7a37, #e34184 48%, #7c3bd7);
}

.socials a:hover::before,
.socials a:focus-visible::before {
  opacity: 1;
}

.socials a:hover svg,
.socials a:focus-visible svg {
  transform: rotate(-7deg) scale(1.08);
}

html[data-theme='light'] .socials a {
  background: linear-gradient(145deg, rgba(var(--social-rgb), .13), rgba(255,255,255,.76));
}

html[data-theme='light'] .socials a:hover,
html[data-theme='light'] .socials a:focus-visible {
  color: #fff;
  background: rgb(var(--social-rgb));
}

html[data-theme='light'] .socials__link--instagram:hover,
html[data-theme='light'] .socials__link--instagram:focus-visible {
  background: linear-gradient(135deg, #ff7a37, #e34184 48%, #7c3bd7);
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme='light'] body::before,
  html[data-theme='light'] body::after {
    animation: none;
  }
}


/* Social-brand specificity repair */
.socials a.socials__link--instagram { --social-rgb: 225, 65, 132; }
.socials a.socials__link--telegram { --social-rgb: 37, 164, 224; }
.socials a.socials__link--whatsapp { --social-rgb: 36, 188, 92; }

.footer .socials a,
html[data-theme='light'] .footer .socials a {
  color: rgb(var(--social-rgb));
}

.footer .socials a:hover,
.footer .socials a:focus-visible,
html[data-theme='light'] .footer .socials a:hover,
html[data-theme='light'] .footer .socials a:focus-visible {
  color: #fff;
}


/* ---------- Final requested hero motion and light-mode corrections ---------- */
.language-control__menu,
html[dir='ltr'] .language-control__menu {
  display: grid;
  gap: 5px;
}

.language-control__menu[hidden] {
  display: none;
}

@media (min-width: 961px) {
  html[lang='en'] .hero h1 {
    max-width: 720px;
    font-size: clamp(34px, 3vw, 44px);
    line-height: 1.25;
    overflow-wrap: normal;
  }

  html[lang='en'] .hero h1 .hero__title-main,
  html[lang='en'] .hero h1 .hero__title-accent {
    display: block;
  }

  html[lang='en'] .hero h1 .hero__title-accent {
    margin-top: 7px;
    white-space: normal;
  }
}

@keyframes auroraMergeOne {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(calc(-32deg + var(--aurora-tilt, 0deg))) scale(1);
    opacity: .18;
  }
  20% {
    transform: translate3d(-11vw, -46px, 0) rotate(calc(-12deg + var(--aurora-spin, 0deg))) scale(1.18);
    opacity: .29;
  }
  50% {
    transform: translate3d(-30vw, 8px, 0) rotate(calc(16deg + var(--aurora-spin, 0deg))) scale(1.04);
    opacity: .22;
  }
  72% {
    transform: translate3d(-17vw, 68px, 0) rotate(calc(-24deg - var(--aurora-spin, 0deg))) scale(1.23);
    opacity: .3;
  }
  88% {
    transform: translate3d(-5vw, 18px, 0) rotate(calc(-38deg + var(--aurora-tilt, 0deg))) scale(1.08);
    opacity: .23;
  }
}

@keyframes auroraMergeTwo {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(var(--aurora-tilt, 0deg)) scale(1);
    opacity: .13;
  }
  20% {
    transform: translate3d(11vw, 58px, 0) rotate(calc(18deg - var(--aurora-spin, 0deg))) scale(1.22);
    opacity: .25;
  }
  50% {
    transform: translate3d(30vw, -8px, 0) rotate(calc(-18deg - var(--aurora-spin, 0deg))) scale(1.05);
    opacity: .18;
  }
  72% {
    transform: translate3d(17vw, -62px, 0) rotate(calc(13deg + var(--aurora-spin, 0deg))) scale(1.2);
    opacity: .27;
  }
  88% {
    transform: translate3d(5vw, -20px, 0) rotate(calc(-7deg + var(--aurora-tilt, 0deg))) scale(1.07);
    opacity: .19;
  }
}

html[data-theme='light'] .navbar__links a::after {
  background: linear-gradient(90deg, #2563eb, #16a9df);
  box-shadow: 0 0 8px rgba(37, 99, 235, .58), 0 0 18px rgba(22, 169, 223, .3);
}

html[data-theme='light'] .navbar__links a.is-active {
  color: #153e91;
  text-shadow: 0 0 14px rgba(37, 99, 235, .24);
}

html[data-theme='light'] .contact-dock {
  border-color: rgba(52, 82, 149, .18);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(231,238,252,.88));
  box-shadow: 0 18px 48px rgba(44, 67, 119, .16), inset 0 1px rgba(255,255,255,.96);
}

html[data-theme='light'] .contact-dock a {
  border-color: rgba(var(--dock-rgb), .22);
  color: rgb(var(--dock-rgb));
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(var(--dock-rgb), .09));
  box-shadow: inset 0 1px rgba(255,255,255,.98), 0 8px 20px rgba(var(--dock-rgb), .09);
}

html[data-theme='light'] .contact-dock a:hover,
html[data-theme='light'] .contact-dock a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--dock-rgb), .92), rgba(var(--dock-rgb), .68));
  box-shadow: 0 14px 32px rgba(var(--dock-rgb), .32), 0 0 34px rgba(var(--dock-rgb), .24), inset 0 1px rgba(255,255,255,.36);
}

html[data-theme='light'] .tech-dock,
html[data-theme='light'] .floating-note {
  border-color: rgba(48, 78, 147, .18);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(231,238,252,.88));
  box-shadow: 0 16px 42px rgba(46, 70, 126, .15), inset 0 1px rgba(255,255,255,.96);
}

html[data-theme='light'] .tech-chip--image {
  border-color: rgba(49, 78, 145, .15);
  background: rgba(255,255,255,.95);
  box-shadow: 0 7px 16px rgba(45, 68, 119, .11), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .floating-note {
  color: #173a83;
}

html[data-theme='light'] .floating-note [data-i18n] {
  color: #536480;
}

html[data-theme='light'] .hero__avatars span {
  border-color: #f7f9ff;
  color: #173568;
  background: linear-gradient(145deg, #ffffff, #dfe9fb);
  box-shadow: 0 7px 17px rgba(42, 68, 126, .14), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .hero__avatars span:nth-child(1) { color: #6a35bc; background: linear-gradient(145deg, #fbf7ff, #eadcff); }
html[data-theme='light'] .hero__avatars span:nth-child(2) { color: #1764b0; background: linear-gradient(145deg, #f5fbff, #d8edff); }
html[data-theme='light'] .hero__avatars span:nth-child(3) { color: #087b5b; background: linear-gradient(145deg, #f3fffb, #d5f4e9); }
html[data-theme='light'] .hero__avatars span:nth-child(4) { color: #8b5700; background: linear-gradient(145deg, #fffdf5, #f7e9c8); }

html[data-theme='light'] .service-card__icon,
html[data-theme='light'] .trust-card__icon,
html[data-theme='light'] .testimonial-card__badge {
  border-color: rgba(var(--card-glow-rgb, 70, 101, 190), .2);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(var(--card-glow-rgb, 70, 101, 190), .1));
  box-shadow: 0 10px 25px rgba(var(--card-glow-rgb, 70, 101, 190), .11), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .figma-board {
  border-color: rgba(83, 83, 180, .19);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(229,235,250,.94));
  box-shadow: 0 34px 80px rgba(55, 66, 119, .18), 0 0 48px rgba(112, 73, 220, .08), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .figma-board__toolbar {
  border-bottom-color: rgba(51, 76, 134, .12);
  color: #62718b;
}

html[data-theme='light'] .figma-board__canvas {
  background:
    linear-gradient(rgba(51, 82, 151, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 82, 151, .055) 1px, transparent 1px),
    #edf2fc;
  background-size: 22px 22px;
}

html[data-theme='light'] .figma-sidebar,
html[data-theme='light'] .figma-properties {
  background: rgba(220, 229, 247, .86);
}

html[data-theme='light'] .figma-sidebar { border-left-color: rgba(51, 76, 134, .1); }
html[data-theme='light'] .figma-properties { border-right-color: rgba(51, 76, 134, .1); }

html[data-theme='light'] .figma-sidebar i {
  border-color: rgba(73, 93, 146, .18);
  background: rgba(255,255,255,.74);
}

html[data-theme='light'] .figma-properties i {
  background: rgba(61, 88, 151, .19);
}

html[data-theme='light'] .figma-frame {
  border-color: rgba(63, 96, 184, .23);
  background: linear-gradient(160deg, #ffffff, #e6edf9);
  box-shadow: 0 18px 40px rgba(46, 67, 116, .16);
}

html[data-theme='light'] .figma-frame__header span:last-child {
  background: rgba(54, 79, 139, .2);
}

html[data-theme='light'] .figma-frame__hero {
  background: radial-gradient(circle at 65% 25%, rgba(162,89,255,.2), transparent 45%), linear-gradient(135deg, #eef2ff, #dcecf8);
}

html[data-theme='light'] .figma-frame__hero b { background: rgba(31, 48, 84, .8); }
html[data-theme='light'] .figma-frame__hero i { background: rgba(53, 78, 138, .22); }

html[data-theme='light'] .figma-frame__cards span {
  border-color: rgba(65, 91, 152, .14);
  background: rgba(255,255,255,.72);
}

html[data-theme='light'] .figma-mark {
  border-color: rgba(76, 80, 161, .16);
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(51, 63, 112, .16), 0 0 24px rgba(162,89,255,.12);
}

html[data-theme='light'] .browser-showcase {
  border-color: rgba(55, 88, 168, .2);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(224,233,250,.94));
  box-shadow: 0 34px 82px rgba(48, 69, 121, .18), 0 0 50px rgba(52,123,255,.08);
}

html[data-theme='light'] .browser-showcase__top {
  border-bottom-color: rgba(50, 76, 136, .12);
}

html[data-theme='light'] .browser-showcase__top small { color: #62718a; }

html[data-theme='light'] .browser-showcase__screen {
  background:
    radial-gradient(circle at 70% 20%, rgba(37,99,235,.13), transparent 38%),
    #edf3fd;
}

html[data-theme='light'] .browser-showcase__nav {
  border-color: rgba(56, 83, 145, .13);
  background: rgba(255,255,255,.66);
}

html[data-theme='light'] .browser-showcase__nav i {
  background: rgba(42, 91, 189, .25);
}

html[data-theme='light'] .browser-showcase__hero {
  border-color: rgba(65, 103, 188, .15);
  background: linear-gradient(135deg, rgba(196,216,255,.72), rgba(229,219,255,.62));
}

html[data-theme='light'] .browser-showcase__hero b { background: rgba(44, 67, 117, .2); }

html[data-theme='light'] .browser-showcase__cards span {
  border-color: rgba(55, 83, 145, .13);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(220,230,249,.76));
}

html[data-theme='light'] .browser-showcase__badge {
  border-color: rgba(0, 134, 190, .25);
  color: #075f84;
  background: rgba(242, 252, 255, .94);
  box-shadow: 0 18px 42px rgba(40, 72, 124, .16), 0 0 26px rgba(30,214,255,.13);
}

html[data-theme='light'] .project-card__media {
  border-bottom-color: rgba(47, 76, 142, .12);
  background: linear-gradient(145deg, #f9fbff, #e6edf9);
}

html[data-theme='light'] .project-card__media::after {
  background: linear-gradient(180deg, transparent 54%, rgba(35, 58, 105, .08));
}

html[data-theme='light'] .process-item__number {
  border-color: rgba(44, 77, 166, .18);
  color: #21458f;
  background: linear-gradient(145deg, #ffffff, #dfe9fb);
  box-shadow: 0 12px 28px rgba(43, 68, 128, .15), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .stats-panel .stat-item {
  border-color: rgba(45, 75, 143, .15);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(229,236,250,.9));
  box-shadow: 0 18px 46px rgba(44, 67, 119, .13), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .stats-panel .stat-item:hover {
  border-color: rgba(52, 91, 190, .28);
  box-shadow: 0 24px 56px rgba(44, 67, 119, .17), 0 0 30px rgba(82, 79, 220, .06), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .stats-panel .stat-item strong {
  color: #183875;
  text-shadow: 0 0 18px rgba(80, 83, 205, .14);
}

html[data-theme='light'] .testimonial-card__person > span {
  border-color: rgba(55, 84, 151, .16);
  color: #244d9a;
  background: linear-gradient(145deg, #ffffff, #dce7fa);
  box-shadow: 0 9px 22px rgba(43, 67, 122, .14), inset 0 1px rgba(255,255,255,.98);
}

/* Keep icon accents while removing residual dark surfaces in light mode. */
html[data-theme='light'] .service-card .service-card__icon,
html[data-theme='light'] .trust-card .trust-card__icon,
html[data-theme='light'] .testimonial-card .testimonial-card__badge {
  border-color: rgba(var(--card-glow-rgb, 70, 101, 190), .22);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(var(--card-glow-rgb, 70, 101, 190), .11));
  box-shadow: 0 10px 25px rgba(var(--card-glow-rgb, 70, 101, 190), .12), inset 0 1px rgba(255,255,255,1);
}

/* ---------- Final limited light-mode and dropdown fixes ---------- */
html[data-theme='light'] .stats-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme='light'] .tech-dock:hover {
  border-color: rgba(55, 91, 178, .23);
  box-shadow: 0 18px 46px rgba(46, 70, 126, .17), 0 0 22px rgba(64, 112, 224, .08), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .tech-chip--image:hover {
  border-color: rgba(55, 91, 178, .22);
  box-shadow: 0 9px 20px rgba(45, 68, 119, .14), 0 0 13px rgba(80, 118, 219, .08), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .floating-note > span:first-child {
  color: #173a83;
}

html[data-theme='light'] .button--ghost {
  background: linear-gradient(145deg, rgba(251,253,255,.88), rgba(226,235,251,.76));
  box-shadow: 0 10px 26px rgba(52, 76, 129, .1), inset 0 1px rgba(255,255,255,.94);
}

html[data-theme='light'] .button--ghost:hover {
  background: linear-gradient(145deg, rgba(248,251,255,.95), rgba(217,229,250,.88));
  box-shadow: 0 14px 32px rgba(52, 76, 129, .14), 0 0 18px rgba(77, 102, 203, .07), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .button--light {
  border: 1px solid rgba(54, 79, 151, .16);
  background: linear-gradient(145deg, #f7faff, #dfe8f8);
  box-shadow: 0 14px 34px rgba(42, 61, 117, .2), inset 0 1px rgba(255,255,255,.94);
}

html[data-theme='light'] .button--light:hover {
  background: linear-gradient(145deg, #ffffff, #d6e3f7);
  box-shadow: 0 18px 40px rgba(42, 61, 117, .24), 0 0 20px rgba(80, 94, 205, .09), inset 0 1px rgba(255,255,255,1);
}

html[dir='ltr'] .language-control__menu[hidden] {
  display: none;
}

/* More menu: display the provided SVG directly rather than using an empty mask. */
.nav-more__chevron .nav-more__arrow {
  display: block;
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}
html[data-theme='light'] .nav-more__chevron .nav-more__arrow {
  filter: brightness(0) saturate(100%) invert(19%) sepia(25%) saturate(1353%) hue-rotate(188deg);
}

/* Floating contact dock: site-consistent glass glow with slightly brighter light. */
.contact-dock a {
  border-color: rgba(var(--dock-rgb), .42);
  color: rgb(var(--dock-rgb));
  background: linear-gradient(145deg, rgba(var(--dock-rgb), .19), rgba(var(--dock-rgb), .065));
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 9px 22px rgba(var(--dock-rgb), .16), 0 0 24px rgba(var(--dock-rgb), .19);
}
.contact-dock a::before {
  opacity: 0;
  background: radial-gradient(circle at 50% 65%, rgba(var(--dock-rgb), .42), transparent 62%);
  transform: scale(.55) translateY(10px);
}
.contact-dock a:hover,
.contact-dock a:focus-visible {
  color: #fff;
  border-color: rgba(var(--dock-rgb), .8);
  background: linear-gradient(135deg, rgba(var(--dock-rgb), .65), rgba(var(--dock-rgb), .3));
  box-shadow: 0 14px 32px rgba(var(--dock-rgb), .36), 0 0 38px rgba(var(--dock-rgb), .38), inset 0 1px rgba(255,255,255,.2);
}
.contact-dock a:hover::before,
.contact-dock a:focus-visible::before {
  opacity: 1;
  transform: scale(1) translateY(0);
}
html[data-theme='light'] .contact-dock a {
  color: rgb(var(--dock-rgb));
  border-color: rgba(var(--dock-rgb), .38);
  background: linear-gradient(145deg, rgba(var(--dock-rgb), .15), rgba(255,255,255,.8));
  box-shadow: 0 8px 24px rgba(var(--dock-rgb), .16), 0 0 22px rgba(var(--dock-rgb), .16), inset 0 1px rgba(255,255,255,.95);
}
html[data-theme='light'] .contact-dock a:hover,
html[data-theme='light'] .contact-dock a:focus-visible {
  color: #fff;
  border-color: rgba(var(--dock-rgb), .8);
  background: rgb(var(--dock-rgb));
  box-shadow: 0 14px 32px rgba(var(--dock-rgb), .32), 0 0 34px rgba(var(--dock-rgb), .3);
}

/* END revisions.css */
/* BEGIN article.css */
.article-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(79,124,255,.12), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(139,92,246,.12), transparent 24%),
    var(--bg);
}

.article-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.065);
  background: rgba(5,9,20,.78);
  backdrop-filter: blur(18px);
}

.article-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
}

.article-brand img { width: 34px; height: 34px; }

.article-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-button,
.article-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #eaf0ff;
  background: rgba(255,255,255,.035);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.article-button {
  border-color: rgba(139,92,246,.5);
  background: linear-gradient(135deg, rgba(139,92,246,.34), rgba(79,124,255,.24));
}

.article-button:hover,
.article-back:hover {
  border-color: rgba(30,214,255,.55);
  transform: translateY(-2px);
}

.article-hero {
  padding: 145px 0 36px;
}

.article-hero__inner {
  width: min(100%, 900px);
  margin-inline: auto;
  text-align: center;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--muted-2);
  font-size: 11px;
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 15px;
  padding: 6px 11px;
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 999px;
  color: #c9b7ff;
  background: rgba(139,92,246,.1);
  font-size: 11px;
  font-weight: 700;
}

.article-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.45;
}

.article-lead {
  width: min(100%, 760px);
  margin: 0 auto 21px;
  color: #b7c0d5;
  font-size: 15px;
  line-height: 2;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted-2);
  font-size: 11px;
}

.article-cover {
  width: min(calc(100% - 40px), 1080px);
  margin: 25px auto 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  align-items: start;
  gap: 54px;
  width: min(calc(100% - 40px), 1050px);
  margin: 0 auto;
  padding: 58px 0 90px;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin: 48px 0 15px;
  color: #f5f7ff;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 900;
  line-height: 1.55;
}

.article-content h3 {
  margin: 31px 0 11px;
  font-size: 20px;
  font-weight: 800;
}

.article-content p,
.article-content li {
  color: #aeb8ce;
  font-size: 14px;
  line-height: 2.15;
}

.article-content p { margin-bottom: 17px; }

.article-content ul,
.article-content ol {
  display: grid;
  gap: 9px;
  margin: 18px 0 25px;
  padding-right: 23px;
}

html[dir='ltr'] .article-content ul,
html[dir='ltr'] .article-content ol {
  padding-right: 0;
  padding-left: 23px;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content strong { color: #ecf1ff; }

.article-figure {
  margin: 31px 0;
}

.article-figure img {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(255,255,255,.025);
}

.article-figure figcaption {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 10px;
  text-align: center;
}

.article-note,
.article-summary {
  margin: 26px 0;
  padding: 21px 23px;
  border: 1px solid rgba(30,214,255,.2);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(30,214,255,.075), rgba(139,92,246,.07));
}

.article-note p,
.article-summary p { margin: 0; }

.article-summary h2 { margin-top: 0; }

.article-toc {
  position: sticky;
  top: 88px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12,18,35,.72);
  backdrop-filter: blur(14px);
}

.article-toc h2 {
  margin-bottom: 13px;
  font-size: 14px;
}

.article-toc ol {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: toc;
}

.article-toc li { counter-increment: toc; }

.article-toc a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 7px;
  color: #8f9bb4;
  font-size: 10px;
  line-height: 1.75;
  transition: color .2s ease;
}

.article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: #7766d9;
  font-family: 'IRANSansWeb', sans-serif;
}

.article-toc a:hover { color: var(--cyan); }

.article-cta {
  margin-top: 52px;
  padding: 28px;
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(93,63,205,.25), rgba(19,107,170,.2));
  text-align: center;
}

.article-cta h2 { margin: 0 0 9px; }
.article-cta p { margin-bottom: 18px; }

.article-related {
  width: min(calc(100% - 40px), 1050px);
  margin: 0 auto 85px;
}

.article-related > h2 {
  margin-bottom: 21px;
  font-size: 25px;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.article-related__card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
  transition: transform .25s ease, border-color .25s ease;
}

.article-related__card:hover {
  border-color: rgba(30,214,255,.35);
  transform: translateY(-3px);
}

.article-related__card small { color: #7f8aa3; font-size: 9px; }
.article-related__card h3 { margin: 8px 0 0; font-size: 15px; }

.article-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted-2);
  background: #050914;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 850px) {
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .article-toc { position: static; order: -1; }
  .article-toc ol { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .article-header { padding: 8px 0; }
  .article-nav__actions .article-back { display: none; }
  .article-button { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .article-hero { padding: 112px 0 24px; }
  .article-hero h1 { font-size: clamp(28px, 8.5vw, 38px); }
  .article-lead { font-size: 13px; }
  .article-cover { width: calc(100% - 22px); border-radius: 19px; }
  .article-cover img { aspect-ratio: 16 / 10; }
  .article-layout { width: calc(100% - 24px); padding: 38px 0 68px; }
  .article-content p, .article-content li { font-size: 13px; }
  .article-content h2 { margin-top: 39px; }
  .article-figure img { border-radius: 15px; }
  .article-toc ol { grid-template-columns: 1fr; }
  .article-related { width: calc(100% - 24px); margin-bottom: 65px; }
  .article-related__grid { grid-template-columns: 1fr; }
  .article-cta { padding: 23px 18px; }
}

html[data-theme='light'] .article-site {
  background:
    radial-gradient(circle at 12% 8%, rgba(37,99,235,.1), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(109,78,232,.09), transparent 24%),
    var(--bg);
}

html[data-theme='light'] .article-category {
  border-color: rgba(109,78,232,.24);
  color: #6245c6;
  background: rgba(109,78,232,.07);
}

html[data-theme='light'] .article-lead,
html[data-theme='light'] .article-content p,
html[data-theme='light'] .article-content li {
  color: #56647d;
}

html[data-theme='light'] .article-content h2,
html[data-theme='light'] .article-content h3,
html[data-theme='light'] .article-content strong,
html[data-theme='light'] .article-related h2,
html[data-theme='light'] .article-related h3 {
  color: #15233f;
}

html[data-theme='light'] .article-cover,
html[data-theme='light'] .article-toc,
html[data-theme='light'] .article-related__card {
  border-color: rgba(55,87,154,.15);
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 70px rgba(60,83,134,.12);
}

html[data-theme='light'] .article-note,
html[data-theme='light'] .article-summary,
html[data-theme='light'] .article-cta {
  border-color: rgba(37,99,235,.18);
  background: linear-gradient(135deg, rgba(14,165,233,.07), rgba(109,78,232,.06));
}

html[data-theme='light'] .article-button {
  color: #172641;
  background: linear-gradient(135deg, rgba(109,78,232,.14), rgba(37,99,235,.1));
}

/* END article.css */
/* BEGIN resume.css */
.resume-site {
  min-height: 100vh;
}

.resume-page {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 44px), 1180px);
  margin-inline: auto;
  padding: 124px 0 96px;
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: start;
  gap: 24px;
}

.resume-column {
  display: grid;
  min-width: 0;
  gap: 24px;
}

.resume-contact {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.resume-contact a {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid rgba(109, 132, 255, .3);
  border-radius: 999px;
  color: #f8faff;
  background: linear-gradient(135deg, #1734ca, #0e23ad);
  box-shadow: 0 11px 24px rgba(28, 48, 173, .24), inset 0 1px rgba(255, 255, 255, .2);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.resume-contact a:hover {
  filter: brightness(1.08);
  box-shadow: 0 15px 32px rgba(28, 48, 173, .34), 0 0 0 4px rgba(59, 93, 246, .09);
  transform: translateY(-3px);
}

.resume-card {
  --resume-card-bg: linear-gradient(145deg, rgba(22, 34, 66, .9), rgba(8, 15, 32, .95));
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(144, 165, 229, .17);
  border-radius: 24px;
  background: var(--resume-card-bg);
  box-shadow: 0 24px 62px rgba(0, 0, 0, .25);
  isolation: isolate;
}

.resume-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: '';
  opacity: .7;
  background:
    radial-gradient(circle at 92% 4%, rgba(78, 109, 255, .11), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.025), transparent 42%);
  pointer-events: none;
}

.resume-card::after,
.course-card::after,
.resume-project::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  opacity: 0;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(104, 139, 255, .18), transparent 34%);
  pointer-events: none;
  transition: opacity .28s ease;
}

.resume-card:hover::after,
.course-card:hover::after,
.resume-project:hover::after,
.resume-card.is-touch-active::after,
.course-card.is-touch-active::after,
.resume-project.is-touch-active::after {
  opacity: 1;
}

.resume-intro {
  min-height: 166px;
  display: grid;
  place-content: center;
  text-align: center;
}

.resume-wave {
  position: absolute;
  top: 21px;
  right: 50%;
  font-size: 23px;
  transform: translateX(50%);
  animation: resumeWave 2.4s ease-in-out infinite;
  transform-origin: 70% 80%;
}

.resume-intro p {
  margin: 20px 0 7px;
  color: var(--muted);
  font-size: 12px;
}

.resume-intro h1 {
  margin-bottom: 7px;
  color: #f2f6ff;
  font-size: clamp(28px, 4vw, 43px);
  font-weight: 900;
}

.resume-intro h2 {
  margin: 0;
  color: #708dff;
  font-size: clamp(21px, 3vw, 33px);
  font-weight: 900;
}

.resume-section-title {
  margin-bottom: 22px;
  color: #edf2ff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.course-grid,
.resume-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-card,
.resume-project {
  --lift: 0px;
  position: relative;
  min-width: 0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(132, 156, 225, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .038);
  transform: perspective(850px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .3s ease, background .3s ease;
  touch-action: pan-y;
  isolation: isolate;
}

.course-card:hover,
.resume-project:hover,
.course-card.is-touch-active,
.resume-project.is-touch-active {
  --lift: -6px;
  border-color: rgba(92, 134, 255, .42);
  box-shadow: 0 18px 35px rgba(3, 10, 31, .18);
}

.course-card--accent,
.resume-project--accent {
  color: #fff;
  border-color: rgba(122, 150, 255, .32);
  background: linear-gradient(145deg, #1534c7, #1326b1 62%, #0d1e95);
  box-shadow: 0 18px 38px rgba(20, 45, 183, .24);
}

.course-card--accent::before,
.resume-project--accent::before {
  position: absolute;
  inset: 0;
  content: '';
  opacity: .7;
  background:
    linear-gradient(115deg, transparent 18%, rgba(255,255,255,.13) 45%, transparent 72%),
    radial-gradient(circle at 80% 12%, rgba(110, 163, 255, .24), transparent 38%);
  transform: translateX(-110%);
  animation: resumeAccentSheen 6s ease-in-out infinite;
  pointer-events: none;
}

.course-card h3,
.resume-project h3 {
  position: relative;
  z-index: 2;
  margin: 18px 0 15px;
  color: #eaf0ff;
  font-size: 17px;
  font-weight: 900;
}

.course-card p,
.resume-project p {
  position: relative;
  z-index: 2;
  margin-bottom: 21px;
  color: #aeb9d2;
  font-size: 10.5px;
  line-height: 1.9;
}

.course-card small,
.resume-project small,
.resume-project time {
  position: relative;
  z-index: 2;
  color: #8392bd;
  font-family: Arial, sans-serif;
  font-size: 8.5px;
}

.course-card small,
.resume-project small {
  margin-top: auto;
  align-self: flex-end;
}

.course-card--accent h3,
.course-card--accent p,
.course-card--accent small,
.resume-project--accent h3,
.resume-project--accent p,
.resume-project--accent small,
.resume-project--accent time {
  color: #fff;
}

.course-card--accent p,
.course-card--accent small,
.resume-project--accent p,
.resume-project--accent small,
.resume-project--accent time {
  color: rgba(255, 255, 255, .72);
}

.resume-project {
  min-height: 205px;
}

.resume-project time {
  display: block;
  text-align: end;
}

.resume-linkedin {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #cbd5ee;
  font-family: Arial, sans-serif;
  font-size: 12px;
  transition: color .22s ease, transform .22s ease;
}

.resume-linkedin:hover {
  color: #fff;
  transform: translateX(3px);
}

.resume-linkedin__mark {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #0a78bd;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.resume-about__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  gap: 18px;
}

.resume-about img {
  width: 112px;
  height: 162px;
  border-radius: 17px;
  object-fit: cover;
  object-position: center 27%;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
  transition: transform .4s cubic-bezier(.16,1,.3,1), filter .3s ease;
}

.resume-about:hover img {
  filter: saturate(1.06);
  transform: translateY(-4px) scale(1.018);
}

.resume-about h2 {
  margin-bottom: 10px;
  color: #edf3ff;
  font-size: 18px;
  font-weight: 900;
}

.resume-about p,
.resume-tools-copy {
  margin: 0;
  color: #aeb8d0;
  font-size: 11.5px;
  line-height: 2.05;
  text-align: justify;
}

.tool-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
  padding: 13px;
  border: 1px solid rgba(134, 155, 219, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
}

.tool-icon {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #171e3f, #090f22);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease;
}

.tool-icon:hover {
  box-shadow: 0 10px 22px rgba(10, 19, 55, .22), inset 0 1px rgba(255,255,255,.1);
  transform: translateY(-3px) scale(1.04);
}

.tool-icon--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-icon--ps { color: #91bfff; background: #101a48; }
.tool-icon--git { color: #f3f3f3; }
.tool-icon--csharp { color: #f4f1ff; background: linear-gradient(145deg, #211a47, #101128); }
.tool-icon--html { color: #fff; background: linear-gradient(145deg, #173eb5, #0d247f); }
.tool-icon--css { color: #fff; background: linear-gradient(145deg, #1d43c7, #102b8d); }

.resume-tools-copy {
  margin-top: 21px;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.resume-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(132, 153, 216, .09);
  border-radius: 999px;
  color: #aebbe0;
  background: rgba(255, 255, 255, .05);
  font-family: Arial, sans-serif;
  font-size: 11.5px;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.resume-tags span:hover {
  transform: translateY(-3px);
}

.resume-tags span.is-active {
  color: #fff;
  border-color: rgba(109, 137, 255, .34);
  background: linear-gradient(135deg, #1b38ca, #1028ad);
  box-shadow: 0 10px 22px rgba(19, 44, 180, .2);
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 48px 48px 48px 55px;
  gap: 10px;
}

.interest-grid span {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid rgba(132, 153, 216, .08);
  border-radius: 12px;
  color: #aeb9d4;
  background: rgba(255, 255, 255, .045);
  font-family: Arial, sans-serif;
  font-size: 13px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.interest-grid span:hover {
  box-shadow: 0 13px 26px rgba(3, 10, 31, .15);
  transform: translateY(-3px);
}

.interest-grid span.is-active {
  color: #fff;
  border-color: rgba(100, 132, 255, .3);
  background: linear-gradient(145deg, #1735c8, #1027af);
}

.interest-grid span i {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 25px;
  height: 11px;
  border-radius: 999px;
  background: rgba(113, 140, 255, .82);
  transform: translateY(-50%);
}

.interest-grid span i::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: '';
  background: #fff;
  transform: translateY(-50%);
}

.interest-grid__photography { grid-column: 1 / 3; grid-row: 1; }
.interest-grid__browsing { grid-column: 3 / 5; grid-row: 1 / 3; align-items: flex-start !important; padding-top: 15px !important; }
.interest-grid__films { grid-column: 1; grid-row: 2; }
.interest-grid__game { grid-column: 2; grid-row: 2; }
.interest-grid__travel { grid-column: 1 / 3; grid-row: 3; }
.interest-grid__music { grid-column: 3 / 5; grid-row: 3; }
.interest-grid__design { grid-column: 1 / 5; grid-row: 4; }

.resume-card.reveal,
.resume-contact.reveal {
  --reveal-y: 34px;
}

@keyframes resumeWave {
  0%, 100% { transform: translateX(50%) rotate(-7deg); }
  50% { transform: translateX(50%) rotate(15deg); }
}

@keyframes resumeAccentSheen {
  0%, 58%, 100% { transform: translateX(-115%); }
  72% { transform: translateX(115%); }
}

html[data-theme='light'] .resume-card {
  --resume-card-bg: linear-gradient(145deg, rgba(244, 244, 248, .97), rgba(238, 239, 245, .97));
  border-color: rgba(35, 56, 166, .08);
  box-shadow: 0 21px 52px rgba(58, 78, 124, .09);
}

html[data-theme='light'] .resume-card::before {
  opacity: .85;
  background:
    radial-gradient(circle at 92% 4%, rgba(38, 73, 207, .07), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.72), transparent 44%);
}

html[data-theme='light'] .resume-intro h1,
html[data-theme='light'] .resume-section-title,
html[data-theme='light'] .resume-about h2,
html[data-theme='light'] .course-card h3,
html[data-theme='light'] .resume-project h3 {
  color: #102064;
}

html[data-theme='light'] .resume-intro h2 {
  color: #1736c7;
}

html[data-theme='light'] .resume-intro p,
html[data-theme='light'] .resume-about p,
html[data-theme='light'] .resume-tools-copy,
html[data-theme='light'] .course-card p,
html[data-theme='light'] .resume-project p {
  color: #23335e;
}

html[data-theme='light'] .course-card,
html[data-theme='light'] .resume-project,
html[data-theme='light'] .tool-row,
html[data-theme='light'] .resume-tags span,
html[data-theme='light'] .interest-grid span {
  border-color: rgba(35, 56, 166, .08);
  color: #142457;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 27px rgba(60, 75, 120, .045);
}

html[data-theme='light'] .course-card small,
html[data-theme='light'] .resume-project small,
html[data-theme='light'] .resume-project time {
  color: #8290be;
}

html[data-theme='light'] .course-card--accent,
html[data-theme='light'] .resume-project--accent,
html[data-theme='light'] .resume-tags span.is-active,
html[data-theme='light'] .interest-grid span.is-active {
  color: #fff;
  border-color: rgba(65, 88, 205, .3);
  background: linear-gradient(145deg, #1735c8, #1027ae);
  box-shadow: 0 16px 34px rgba(22, 48, 183, .18);
}

html[data-theme='light'] .course-card--accent h3,
html[data-theme='light'] .resume-project--accent h3,
html[data-theme='light'] .course-card--accent p,
html[data-theme='light'] .resume-project--accent p,
html[data-theme='light'] .course-card--accent small,
html[data-theme='light'] .resume-project--accent small,
html[data-theme='light'] .resume-project--accent time,
html[data-theme='light'] .resume-tags span.is-active,
html[data-theme='light'] .interest-grid span.is-active {
  color: #fff;
}

html[data-theme='light'] .course-card--accent p,
html[data-theme='light'] .resume-project--accent p,
html[data-theme='light'] .course-card--accent small,
html[data-theme='light'] .resume-project--accent small,
html[data-theme='light'] .resume-project--accent time {
  color: rgba(255, 255, 255, .73);
}

html[data-theme='light'] .resume-linkedin {
  color: #202c50;
}

html[data-theme='light'] .resume-linkedin:hover {
  color: #1027ae;
}

html[data-theme='light'] .tool-row {
  background: #fff;
}

html[data-theme='light'] .tool-icon {
  color: #fff;
  background: linear-gradient(145deg, #171e3f, #090f22);
  box-shadow: none;
}

html[data-theme='light'] .resume-contact a {
  color: #fff;
}

@media (max-width: 1040px) {
  .resume-page {
    width: min(calc(100% - 32px), 980px);
  }

  .resume-contact {
    gap: 9px;
  }

  .resume-contact a {
    padding-inline: 13px;
    font-size: 10.5px;
  }

  .resume-card {
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .resume-column--main {
    order: 1;
  }

  .resume-column--side {
    order: 2;
  }

  .resume-contact {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .resume-page {
    width: calc(100% - 22px);
    padding: 102px 0 68px;
  }

  .resume-column {
    gap: 15px;
  }

  .resume-grid {
    gap: 15px;
  }

  .resume-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .resume-contact a {
    width: 100%;
    min-height: 42px;
    font-size: 11.5px;
    text-align: center;
  }

  .resume-card {
    padding: 19px;
    border-radius: 19px;
  }

  .resume-intro {
    min-height: 175px;
  }

  .course-grid,
  .resume-projects {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .course-card,
  .resume-project {
    min-height: 185px;
  }

  .resume-about__body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .resume-about img {
    width: min(100%, 180px);
    height: 220px;
    margin-inline: auto;
    order: -1;
  }

  .resume-about p {
    text-align: justify;
  }

  .resume-linkedin {
    width: 100%;
    justify-content: center;
    overflow-wrap: anywhere;
  }

  .tool-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .interest-grid {
    grid-template-rows: 46px 46px 46px 53px;
    gap: 8px;
  }

  .interest-grid span {
    padding-inline: 10px;
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .resume-tags {
    gap: 7px;
  }

  .resume-tags span {
    padding: 6px 9px;
    font-size: 10.5px;
  }

  .interest-grid span i {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-card--accent::before,
  .resume-project--accent::before,
  .resume-wave {
    animation: none !important;
  }
}

/* Use the supplied resume tool artwork without changing the existing tool-row layout. */
.tool-icon--asset {
  padding: 3px;
}

.tool-icon--asset img {
  border-radius: 6px;
  object-fit: contain;
}

/* END resume.css */
/* BEGIN compat.css */
/* Block theme normalization; preserves the uploaded static frontend layout. */
:root{--bestui-font:Tahoma,Arial,sans-serif}
html:lang(fa) body{direction:rtl}
body{font-family:var(--bestui-font)}
button,input,textarea,select{font-family:inherit}
.wp-site-blocks{min-height:100vh;overflow:clip}
.wp-site-blocks > *{margin-block-start:0}
.wp-block-html{margin:0;max-width:none}
img{max-width:100%}
/* Fonts named in source CSS fall back gracefully to locally available fonts. */

.bestui-locale-placeholder{min-width:47px;padding:6px 11px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:100px;font-size:12px;letter-spacing:.06em;color:var(--text)}
.bestui-not-found{min-height:58vh;display:flex;align-items:center;text-align:center}
.bestui-not-found .section-heading{margin-inline:auto}
.bestui-not-found .button{margin-top:24px}
.bestui-generic-page{max-width:1000px;margin:5rem auto;padding-inline:24px}
.bestui-generic-page h1,.bestui-generic-page h2{color:var(--text)}

/* Keep unavailable language visible without pretending a translation is published. */
.language-control__menu button:disabled{opacity:.55;cursor:not-allowed;transform:none}

/* END compat.css */
/* BEGIN bestui-enhancements.css */
/* BestUi v2.3: minimal additions; original theme styles remain unchanged. */
/* The hero heading always has exactly two semantic lines on desktop. */
.hero h1 {
  white-space: normal;
  max-width: 100%;
  line-height: 1.42;
}
.hero h1 .hero__title-main,
.hero h1 .hero__title-accent {
  display: block;
  white-space: nowrap;
}
.hero h1 .hero__title-accent { margin-top: 5px; }
/* Make long English text fit the content column without touching the illustration. */
html[lang^='en'] .hero h1 { font-size: clamp(23px, 2.6vw, 36px); }
html[lang^='fa'] .hero h1 { font-size: clamp(23px, 2.6vw, 36px); }
@media (max-width: 1100px) {
  .hero h1 .hero__title-main,
  .hero h1 .hero__title-accent { white-space: normal; }
}
@media (max-width: 960px) {
  .hero h1 { font-size: clamp(23px, 5vw, 34px); }
  .hero h1 .hero__title-accent { margin-top: 4px; }
}
/* Preserve existing card styling; use real links instead of inactive buttons. */
.project-card__media .bestui-project-media-link {
  display: block;
  width: 100%;
  height: 100%;
}
.project-card__media .bestui-project-media-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card__title-row .bestui-project-visit {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #8ba1db;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: .2s ease;
}
.project-card__title-row .bestui-project-visit:hover {
  border-color: rgba(30,214,255,.42);
  color: var(--cyan);
}
.bestui-projects-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}
/* Keyboard-accessible links. */
.bestui-project-media-link:focus-visible,
.bestui-project-visit:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* END bestui-enhancements.css */
/* BEGIN bestui-persian-font.css */
/* BestUi v2.3.1 — IRANSansXV for Persian frontend only.
   Original theme styles, colors, spacing and English typography are unchanged.
   This font is supplied by the website owner and bundled locally (no external requests). */
@font-face {
  font-family: 'BestUiIRANSansXV';
  src: url('../fonts/IRANSansXV.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* :lang(fa) matches fa, fa-IR, and other Persian locale variants.
   This applies across home, resume, article, portfolio, headers, footers,
   buttons, and form controls, including elements with legacy font declarations. */
html:lang(fa) {
  --bestui-font: 'BestUiIRANSansXV', Tahoma, Arial, sans-serif;
}
html:lang(fa) body,
html:lang(fa) body :where(*):not(svg):not(svg *):not(code):not(pre):not(kbd):not(samp):not(.code-card__body):not(.code-card__body *) {
  font-family: 'BestUiIRANSansXV', Tahoma, Arial, sans-serif !important;
}

/* Keep the code illustration and real code snippets monospaced. */
html:lang(fa) body :is(code, pre, kbd, samp),
html:lang(fa) body .code-card__body,
html:lang(fa) body .code-card__body * {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

/* END bestui-persian-font.css */
