@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/vazirmatn/vazirmatn-arabic-300-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/vazirmatn/vazirmatn-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/vazirmatn/vazirmatn-arabic-500-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/vazirmatn/vazirmatn-arabic-600-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/vazirmatn/vazirmatn-arabic-700-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Estedad";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/estedad/estedad-arabic-300-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Estedad";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/estedad/estedad-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}

@font-face {
  font-family: "Estedad";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/estedad/estedad-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Estedad";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/estedad/estedad-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}

@font-face {
  font-family: "Estedad";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/estedad/estedad-arabic-500-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Estedad";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/estedad/estedad-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}

:root {
  --ka-bg: #120f2b;
  --ka-bg-2: #17133a;
  --ka-surface: #1c1842;
  --ka-surface-2: #241f52;
  --ka-border: rgba(255, 255, 255, 0.08);
  --ka-border-strong: rgba(255, 255, 255, 0.16);
  --ka-text: #ffffff;
  --ka-muted: #b4afd6;
  --ka-primary: #7b5cff;
  --ka-primary-2: #9a7bff;
  --ka-accent: #a98bff;
  --ka-green: #22c55e;
  --ka-radius: 1.25rem;
  --ka-shadow: 0 1.5rem 3rem rgba(10, 6, 40, 0.45);
  --bs-body-font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-bg: var(--ka-bg);
  --bs-body-color: var(--ka-text);
  --bs-primary: #7b5cff;
  --bs-primary-rgb: 123, 92, 255;
  --bs-link-color: var(--ka-accent);
  --bs-link-hover-color: #ffffff;
  --bs-border-color: var(--ka-border);
}

:root[lang="fa"] {
  --bs-body-font-family: "Vazirmatn", "Outfit", Tahoma, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--bs-body-font-family);
  background-color: var(--ka-bg);
  color: var(--ka-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--ka-primary);
  color: #ffffff;
}

.skip-link {
  position: fixed;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 2000;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: var(--ka-primary);
  color: #ffffff;
}

.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1.25rem 0;
}

.site-header.is-scrolled {
  background-color: rgba(18, 15, 43, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
  padding: 0.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  transition: opacity 0.2s ease;
}

.brand:hover,
.brand:focus {
  opacity: 0.85;
}

.brand-logo {
  display: block;
  width: auto;
  height: 1.75rem;
}

.site-footer .brand-logo {
  height: 1.5rem;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--ka-accent);
}

.navbar-toggler {
  border-color: var(--ka-border-strong);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(123, 92, 255, 0.4);
}

.nav-cta {
  position: relative;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  margin: 0;
  border-radius: 50rem;
  border: 1px solid var(--ka-border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch a {
  display: block;
  min-width: 2.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 50rem;
  color: var(--ka-muted);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: #ffffff;
}

.lang-switch a[aria-current="page"] {
  background: var(--ka-primary);
  color: #ffffff;
}

.nav-cta-arrow {
  position: absolute;
  inset-inline-end: -0.25rem;
  top: 100%;
  margin-top: 0.25rem;
  pointer-events: none;
}

.btn {
  font-weight: 500;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  --bs-btn-bg: var(--ka-primary);
  --bs-btn-border-color: var(--ka-primary);
  --bs-btn-hover-bg: var(--ka-primary-2);
  --bs-btn-hover-border-color: var(--ka-primary-2);
  --bs-btn-active-bg: #6a49f5;
  --bs-btn-active-border-color: #6a49f5;
  --bs-btn-focus-shadow-rgb: 123, 92, 255;
}

.btn-glow {
  box-shadow: 0 0.75rem 2rem rgba(123, 92, 255, 0.45);
}

.btn-outline-glow {
  color: #ffffff;
  border: 1px solid var(--ka-primary-2);
  background: rgba(123, 92, 255, 0.12);
}

.btn-outline-glow:hover,
.btn-outline-glow:focus {
  color: #ffffff;
  background: var(--ka-primary);
  border-color: var(--ka-primary);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid var(--ka-border-strong);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: #ffffff;
  border-color: var(--ka-primary-2);
  background: rgba(123, 92, 255, 0.15);
}

.btn-light {
  color: var(--ka-primary);
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 9rem 0 2.5rem;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(123, 92, 255, 0.55) 0%, rgba(123, 92, 255, 0) 70%),
    radial-gradient(40% 50% at 10% 20%, rgba(80, 50, 200, 0.35) 0%, rgba(80, 50, 200, 0) 70%),
    linear-gradient(180deg, #1a1450 0%, var(--ka-bg) 100%);
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ka-border);
  color: var(--ka-accent);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: "Estedad", "Outfit", system-ui, sans-serif;
  font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  max-width: 32rem;
}

.hero-lead {
  color: var(--ka-muted);
  font-size: 1.125rem;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
  max-width: 38rem;
  margin: 0 auto;
}

.hero-illustration {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(10, 6, 40, 0.55));
}

.flow {
  position: relative;
  padding: 2rem 0 1.5rem;
  background:
    radial-gradient(40% 60% at 15% 30%, rgba(123, 92, 255, 0.22) 0%, rgba(123, 92, 255, 0) 70%),
    radial-gradient(35% 55% at 85% 75%, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0) 70%),
    var(--ka-bg);
  overflow: hidden;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.flow-card {
  position: relative;
  padding: 0.75rem 0.75rem 1.1rem;
  border-radius: 1.25rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1.25rem 2.5rem rgba(8, 5, 30, 0.35);
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease;
}

.flow-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(110% 75% at 50% 0%, rgba(123, 92, 255, 0.38) 0%, rgba(123, 92, 255, 0) 65%);
  opacity: 0;
  pointer-events: none;
  animation: flow-glow 16s linear infinite;
}

.flow-card::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0.45rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ka-primary) 0%, var(--ka-green) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  animation: flow-progress 16s linear infinite;
}

.flow-card:nth-child(2)::before, .flow-card:nth-child(2)::after { animation-delay: 2s; }
.flow-card:nth-child(3)::before, .flow-card:nth-child(3)::after { animation-delay: 4s; }
.flow-card:nth-child(4)::before, .flow-card:nth-child(4)::after { animation-delay: 6s; }
.flow-card:nth-child(5)::before, .flow-card:nth-child(5)::after { animation-delay: 8s; }
.flow-card:nth-child(6)::before, .flow-card:nth-child(6)::after { animation-delay: 10s; }
.flow-card:nth-child(7)::before, .flow-card:nth-child(7)::after { animation-delay: 12s; }
.flow-card:nth-child(8)::before, .flow-card:nth-child(8)::after { animation-delay: 14s; }

.flow-card img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.flow-caption {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.flow-step {
  padding: 0.1rem 0.5rem;
  border-radius: 50rem;
  background: rgba(123, 92, 255, 0.2);
  color: var(--ka-accent);
  font-size: 0.72rem;
  font-weight: 600;
}

@keyframes flow-glow {
  0% { opacity: 0; }
  2% { opacity: 1; }
  12.5% { opacity: 1; }
  15% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes flow-progress {
  0% { opacity: 1; transform: scaleX(0); }
  12.5% { opacity: 1; transform: scaleX(1); }
  15% { opacity: 0; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

@media (max-width: 991.98px) {
  .flow-grid {
    gap: 0.75rem;
  }

  .flow-card {
    padding: 0.5rem 0.5rem 0.9rem;
    border-radius: 1rem;
  }

  .flow-caption {
    gap: 0.35rem;
    font-size: 0.74rem;
  }

  .flow-step {
    padding: 0.05rem 0.35rem;
    font-size: 0.62rem;
  }
}

.section {
  position: relative;
  padding: 6rem 0;
}

.section-head {
  margin-bottom: 3rem;
}

.text-center .section-tag {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: block;
  width: fit-content;
  padding: 0.4rem 0.9rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--ka-border);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(90deg, #8f6bff 0%, #b79bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.title-spark {
  display: inline-block;
  position: relative;
  top: -0.9rem;
  width: 1.4rem;
  height: auto;
  margin-inline-start: 0.2rem;
}

.section-text {
  color: var(--ka-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.services {
  background: linear-gradient(180deg, var(--ka-bg) 0%, var(--ka-bg-2) 100%);
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-item {
  border-radius: 1rem;
  border: 1px solid var(--ka-border-strong);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-item:has(.collapse.show),
.service-item:has(.collapsing) {
  background: linear-gradient(90deg, #6d4cf6 0%, #8a6bff 100%);
  border-color: transparent;
  box-shadow: 0 1rem 2.5rem rgba(123, 92, 255, 0.35);
}

.service-heading {
  margin: 0;
}

.service-toggle {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 0;
  color: #ffffff;
  text-align: start;
  border-radius: 1rem;
}

.service-toggle:focus-visible {
  outline: 2px solid var(--ka-accent);
  outline-offset: 2px;
}

.service-icon {
  font-size: 1.75rem;
  opacity: 0.75;
  flex-shrink: 0;
}

.service-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-grow: 1;
}

.service-name {
  font-size: 1.25rem;
  font-weight: 500;
}

.service-summary {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}

.service-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-toggle:not(.collapsed) .service-arrow {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(45deg);
}

.service-details {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  padding-inline-start: 4.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.service-details li {
  padding: 0.2rem 0;
}

.portfolio {
  background: var(--ka-bg-2);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50rem;
  border: 1px solid var(--ka-border-strong);
  background: transparent;
  color: var(--ka-muted);
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  color: #ffffff;
  border-color: var(--ka-primary-2);
}

.filter-btn.active {
  color: #ffffff;
  background: var(--ka-primary);
  border-color: var(--ka-primary);
}

.project-col.is-hidden {
  display: none;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.75rem 0.75rem 1.1rem;
  border-radius: 1rem;
  background: var(--ka-surface);
  border: 1px solid var(--ka-border);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover,
.project-card:focus-visible {
  color: #ffffff;
  transform: translateY(-6px);
  border-color: rgba(154, 123, 255, 0.45);
  box-shadow: var(--ka-shadow);
}

.project-card:focus-visible {
  outline: 2px solid var(--ka-accent);
  outline-offset: 3px;
}

.project-desc {
  margin: 0 0.25rem 0.9rem;
  color: var(--ka-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: auto 0.25rem 0;
  padding-top: 1rem;
  color: var(--ka-accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.project-cta .bi {
  transition: transform 0.25s ease;
}

.project-card:hover .project-cta .bi {
  transform: translate(2px, -2px);
}

[dir="rtl"] .project-cta .bi {
  transform: scaleX(-1);
}

[dir="rtl"] .project-card:hover .project-cta .bi {
  transform: scaleX(-1) translate(2px, -2px);
}

.project-thumb {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 4px solid rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}

.project-thumb img {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ka-accent);
  margin: 0 0.25rem 0.75rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0.25rem;
}

.project-tags li {
  padding: 0.2rem 0.65rem;
  border-radius: 50rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

.process {
  background: linear-gradient(180deg, var(--ka-bg-2) 0%, var(--ka-bg) 100%);
}

.process-list {
  margin: 0;
}

.process-card {
  position: relative;
  height: 100%;
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--ka-border);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.process-card:hover,
.process-card.is-featured {
  background: linear-gradient(180deg, rgba(123, 92, 255, 0.35) 0%, rgba(123, 92, 255, 0.12) 100%);
  border-color: rgba(154, 123, 255, 0.4);
}

.process-card:hover {
  transform: translateY(-4px);
}

.process-num {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}

.process-icon {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.icon-amber { color: #f5a524; }
.icon-indigo { color: #a5b4fc; }
.icon-violet { color: #8b7bff; }
.icon-blue { color: #6c8cff; }
.icon-pink { color: #e879f9; }
.icon-green { color: #4ade80; }

.process-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.process-text {
  font-size: 0.92rem;
  color: var(--ka-muted);
  margin: 0;
}

.contact {
  background: linear-gradient(180deg, var(--ka-bg) 0%, var(--ka-bg-2) 100%);
}

.contact-wrap {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--ka-border);
}

.contact-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--ka-radius);
  background: linear-gradient(160deg, #2a2266 0%, #1a1545 100%);
  border: 1px solid var(--ka-border);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--ka-border);
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ka-green);
  box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0.2);
}

.orbit {
  position: relative;
  width: min(100%, 16rem);
  aspect-ratio: 1;
  margin: 0 auto 1.75rem;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(169, 139, 255, 0.45);
  animation: spin 30s linear infinite;
}

.orbit-ring-sm {
  inset: 16%;
  border-style: solid;
  border-color: rgba(169, 139, 255, 0.25);
  animation-direction: reverse;
}

.orbit-avatar {
  position: absolute;
  inset: 26%;
  width: 48%;
  height: 48%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ka-primary);
  box-shadow: 0 0 2.5rem rgba(123, 92, 255, 0.55);
}

.orbit-label {
  position: absolute;
  padding: 0.2rem 0.6rem;
  border-radius: 50rem;
  background: var(--ka-surface-2);
  border: 1px solid var(--ka-border-strong);
  font-size: 0.72rem;
  white-space: nowrap;
}

.orbit-label-1 { top: 18%; left: -4%; }
.orbit-label-2 { top: 8%; right: -2%; }
.orbit-label-3 { bottom: 10%; left: 4%; }

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

.contact-title {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.25rem;
}

.contact-address {
  margin: 0;
}

.contact-name {
  text-align: center;
  color: var(--ka-accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.contact-links li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.contact-links a {
  color: #ffffff;
  text-decoration: none;
}

.contact-links a:hover,
.contact-links a:focus {
  color: var(--ka-accent);
}

.contact-form {
  padding: 0.5rem 0.25rem;
}

.contact-form .form-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.4rem;
}

.contact-form legend.form-label {
  float: none;
  width: auto;
}

.contact-form .form-control {
  padding: 0.6rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ka-border-strong);
  border-radius: 0;
  color: #ffffff;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form .form-control:focus {
  background: transparent;
  border-bottom-color: var(--ka-primary-2);
  box-shadow: none;
  color: #ffffff;
}

.contact-form .form-control.is-invalid,
.contact-form.was-validated .form-control:invalid {
  border-bottom-color: #ff6b81;
}

.contact-form .invalid-feedback {
  color: #ff8fa0;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.45rem 1rem;
  border-radius: 50rem;
  border: 1px solid var(--ka-border-strong);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--ka-primary-2);
}

.btn-check:checked + .chip {
  background: var(--ka-primary);
  border-color: var(--ka-primary);
  color: #ffffff;
}

.btn-check:focus-visible + .chip {
  outline: 2px solid var(--ka-accent);
  outline-offset: 2px;
}

.form-success {
  margin: 1rem 0 0;
  color: #4ade80;
}

.site-footer {
  padding: 2rem 0;
  background: #0e0b24;
  border-top: 1px solid var(--ka-border);
}

.footer-copy {
  color: var(--ka-muted);
  font-size: 0.9rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--ka-border-strong);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.social a:hover,
.social a:focus {
  background: var(--ka-primary);
  border-color: var(--ka-primary);
}

@media (max-width: 991.98px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    border-radius: 1rem;
    background: rgba(28, 24, 66, 0.97);
    border: 1px solid var(--ka-border);
  }

  .nav-actions {
    margin-top: 0.75rem;
    justify-content: space-between;
  }

  .hero {
    padding-top: 7rem;
    text-align: center;
  }

  .hero-title,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .d-flex {
    justify-content: center;
  }

  .hero-visual {
    max-width: 32rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .title-spark {
    display: none;
  }

  .service-toggle {
    gap: 0.9rem;
    padding: 1rem 1.1rem;
  }

  .service-icon {
    font-size: 1.4rem;
  }

  .service-name {
    font-size: 1.1rem;
  }

  .service-details {
    padding: 0 1.1rem 1.25rem;
    padding-inline-start: 3.4rem;
  }

  .contact-wrap {
    padding: 0.75rem;
  }

  .contact-card {
    padding: 1.25rem;
  }
}

[dir="rtl"] .hero-title,
[dir="rtl"] .section-title {
  letter-spacing: 0;
  line-height: 1.45;
}

[dir="rtl"] .hero-title {
  line-height: 1.6;
}

[dir="rtl"] .section-tag {
  letter-spacing: 0;
}

[dir="rtl"] .text-gradient {
  font-style: normal !important;
}

[dir="rtl"] .service-arrow,
[dir="rtl"] .bi-send {
  transform: scaleX(-1);
}

[dir="rtl"] .service-toggle:not(.collapsed) .service-arrow {
  transform: scaleX(-1) rotate(45deg);
}

[dir="rtl"] .nav-cta-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .contact-form .form-control[type="email"],
[dir="rtl"] .contact-form .form-control[type="tel"] {
  direction: ltr;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
