/* Inseyabya main styles — consolidated final polish build. */
:root {
  --bg: #f2f6fb;
  --bg-soft: #eaf0f9;
  --surface: rgba(255, 255, 255, 0.80);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --surface-muted: #f7faff;
  --surface-alt: #ebf1fc;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.15);
  --text: #0d1829;
  --text-soft: #546070;
  --text-faint: #7e8fa5;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --secondary: #0891b2;
  --accent: #6d28d9;
  --accent-soft: rgba(109, 40, 217, 0.11);
  --success: #059669;
  --warning: #d97706;
  --gradient: linear-gradient(135deg, #00c8f8 0%, #3278f5 48%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0, 200, 248, 0.12), rgba(50, 120, 245, 0.12), rgba(124, 58, 237, 0.12));
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 52px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 28px 88px rgba(15, 23, 42, 0.13);
  --shadow-focus: 0 0 0 4px rgba(37, 99, 235, 0.18);
  --radius-xs: 12px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container: min(1240px, calc(100% - 34px));
}

html[data-theme="dark"] {
  --bg: #060e1c;
  --bg-soft: #081220;
  --surface: rgba(8, 18, 36, 0.76);
  --surface-strong: rgba(10, 22, 44, 0.96);
  --surface-muted: #0e1d36;
  --surface-alt: #0c1a32;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #c8d8ee;
  --text-soft: #9fb2c9;
  --text-faint: #7c8ea4;
  --primary: #5ba4fb;
  --primary-strong: #93c5fd;
  --secondary: #36bcf7;
  --accent: #a78bfa;
  --accent-soft: rgba(167, 139, 250, 0.15);
  --success: #34d399;
  --shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.26);
  --shadow-md: 0 20px 62px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.42);
  --shadow-focus: 0 0 0 4px rgba(91, 164, 251, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Alexandria", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}
html[dir="rtl"] body {
  font-family: "Alexandria", "Plus Jakarta Sans", system-ui, sans-serif;
}
body.menu-open,
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button,
input,
textarea,
select { font: inherit; color: inherit; }
button { border: 0; background: transparent; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
::selection { background: rgba(59, 130, 246, 0.22); color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: 16px;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.backdrop-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.55;
  animation: backdropFloat 16s ease-in-out infinite;
}
.orb-left {
  width: 360px;
  height: 360px;
  top: -110px;
  left: -70px;
  background: rgba(0, 212, 255, 0.18);
}
.orb-right {
  width: 320px;
  height: 320px;
  top: 18%;
  right: -60px;
  background: rgba(124, 58, 237, 0.18);
  animation-delay: -5s;
}
.orb-bottom {
  width: 300px;
  height: 300px;
  bottom: -70px;
  left: 16%;
  background: rgba(59, 130, 246, 0.14);
  animation-delay: -9s;
}
.backdrop-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: 0.22;
  mask-image: radial-gradient(circle at center, #000 28%, transparent 78%);
}

.site-header {
  position: sticky;
  z-index: 60;
  padding: 0;
}
.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.site-header.is-scrolled .nav-shell {
  border-color: var(--line-strong);
}

.brand,
.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo,
.footer-logo {
  flex-shrink: 0;
  filter: drop-shadow(0 10px 22px rgba(0, 212, 255, 0.18));
}
.brand-copy,
.footer-brand-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.brand-copy strong,
.footer-brand-row strong {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-copy small,
.footer-brand-row p,
.footer-column p { color: var(--text-soft); }

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex-wrap: wrap;
}
.desktop-nav a,
.mobile-menu a,
.footer-column a {
  color: var(--text-soft);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 15px;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active,
.mobile-menu a:hover,
.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.desktop-nav a.is-active {
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-icon-button,
.menu-button,
.modal-close {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-icon-button:hover,
.menu-button:hover,
.modal-close:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-md);
}
.lang-button {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-cta,
.mobile-nav-cta,
.primary-button,
.secondary-button,
.project-link,
.pricing-main-cta,
.pricing-chip {
  min-height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.nav-cta,
.mobile-nav-cta,
.primary-button,
.pricing-main-cta,
.project-link.primary-link {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 18px 35px rgba(59, 130, 246, 0.22);
}
.secondary-button,
.project-link,
.pricing-chip {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover,
.mobile-nav-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.project-link:hover,
.pricing-main-cta:hover,
.pricing-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(59, 130, 246, 0.18);
}
.project-link[aria-disabled="true"],
.project-link[aria-disabled="true"]:hover {
  pointer-events: none;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}
.call-button { min-width: 150px; }
.menu-button { display: none; }

.mobile-menu-wrap { position: relative; }
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.42);
  z-index: 48;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.mobile-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: absolute;
  top: 12px;
  inset-inline: 0;
  border-radius: 26px;
  padding: 14px;
  display: grid;
  gap: 10px;
  z-index: 52;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(0.98);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--surface-strong);
}
.mobile-nav-cta { margin-top: 6px; }

.section {
  position: relative;
}
.section-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.025) 40%, transparent 100%);
  pointer-events: none;
}
.section-heading {
  display: grid;
  gap: 14px;
  max-width: min(760px, 100%);
  justify-items: start;
  text-align: start;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.eyebrow,
.tiny-badge,
.tiny-status,
.tag-chip,
.meta-chip,
.type-chip,
.library-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}
.eyebrow,
.tiny-badge,
.type-chip {
  background: rgba(59, 130, 246, 0.11);
  color: var(--primary-strong);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.08);
}
.tiny-status,
.library-state {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}
.type-chip { width: fit-content; }

.hero-section { padding-top: 28px; padding-bottom: 2.2rem; }
.hero-grid {
  display: grid;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-description {
  margin: 0;
}
.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
}
.tag-chip {
  border: 1px solid var(--line);
}
.tag-chip i,
.info-icon i,
.service-icon i,
.benefit-icon i,
.faq-icon i,
.app-contact-icon i,
.direction-detail i,
.meta-chip i,
.quick-contact-bar a i,
.dock-link i,
.process-number {
  color: var(--primary-strong);
}
.hero-stats {
  display: grid;
  margin-bottom: 26px;
}
.stat-card {
  position: relative;
  border-radius: 22px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--gradient);
}
.stat-card strong {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}
.stat-card span {
  display: block;
  color: var(--text-soft);
  line-height: 1.55;
}
.hero-action-row {
  display: flex;
  flex-wrap: wrap;
}

.hero-visual {
  isolation: isolate;
}
.hero-board {
  overflow: hidden;
}
.hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-board-topbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.hero-board-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.hero-board-topbar span:nth-child(1) { background: rgba(244, 114, 182, 0.8); }
.hero-board-topbar span:nth-child(2) { background: rgba(251, 191, 36, 0.8); }
.hero-board-topbar span:nth-child(3) { background: rgba(52, 211, 153, 0.8); }
.hero-board-grid {
  display: grid;
}
.board-main,
.board-side {
  display: grid;
  gap: 16px;
}
.gradient-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.hero-preview-frame {
  position: relative;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}
.hero-preview-frame::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 30px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent);
  z-index: 1;
}
.hero-preview-frame img {
  width: 100%;
  object-fit: cover;
}
.board-copy {
  border-radius: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  position: relative;
  z-index: 3;
}
.mini-overline {
  margin: 0 0 8px;
  color: var(--primary-strong);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.board-copy h2 {
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.board-copy p {
  margin: 0;
  color: var(--text-soft);
}
.info-card {
  position: relative;
  display: grid;
  gap: 12px;
  border-radius: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.info-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}
.soft-card { background: linear-gradient(180deg, var(--surface-strong), var(--surface-alt)); }
.accent-soft-card { background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(124, 58, 237, 0.08)), var(--surface-strong); }
.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  font-size: 1.2rem;
}
.info-card strong {
  line-height: 1.4;
}
.info-card p {
  margin: 0;
  color: var(--text-soft);
}
.floating-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  padding: 15px 16px;
  z-index: 2;
}
.floating-chip i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-strong);
  flex-shrink: 0;
}
.floating-chip strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 2px;
}
.floating-chip span {
  display: block;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}
.hero-floating-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.floating-chip {
  position: relative;
  min-width: 0;
  max-width: none;
  width: 100%;
}
.chip-one,
.chip-two {
  inset: auto;
}
.chip-two { animation-delay: -3s; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-card {
  display: flex;
  gap: 14px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.trust-card i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--primary-strong);
}
.trust-card strong {
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.96rem;
  justify-content: flex-start;
}

.service-grid,
.direction-grid,
.project-grid,
.benefit-grid,
.process-grid,
.faq-list {
  display: grid;
  gap: 22px;
}
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card,
.direction-card,
.project-card,
.benefit-card,
.process-card,
.faq-card,
.footer-brand-column,
.contact-panel,
.app-contact-card,
.pricing-panel {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
}
.service-card {
  padding: 22px;
  overflow: hidden;
  display: grid;
  gap: 14px;
  min-height: 100%;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%), var(--gradient-soft);
  opacity: 0.55;
  pointer-events: none;
}
.service-card > * { position: relative; z-index: 1; }
.service-card-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 70%);
  top: -65px;
  inset-inline-end: -30px;
  pointer-events: none;
}
.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.service-number {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--text-faint);
}
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  font-size: 1.15rem;
}
.service-tagline {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}
.service-card h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.service-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gradient);
  margin-top: 10px;
  flex-shrink: 0;
}
.service-outcome {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 700;
}
.service-outcome span { color: inherit; }

.direction-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.direction-card,
.project-card {
  overflow: hidden;
  display: grid;
  min-height: 100%;
}
.direction-media,
.project-media,
.modal-media {
  position: relative;
  padding: 14px;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.18), transparent 35%),
    radial-gradient(circle at top left, rgba(0, 212, 255, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--surface-alt);
}
.direction-media::before,
.project-media::before,
.modal-media::before {
  content: "";
  position: absolute;
  inset-inline: 26px;
  top: 28px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 50%);
  z-index: 1;
}
.direction-media img,
.project-media img,
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  transition: transform 0.55s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
}
.direction-media {
  aspect-ratio: 16 / 10;
}
.project-media {
  aspect-ratio: 16 / 10;
}
.direction-body,
.project-body,
.library-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}
.direction-body h3,
.project-body h3,
.library-body h3,
.benefit-card h3,
.process-card h3,
.faq-card h3 {
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.direction-body p,
.project-body p,
.library-body p,
.benefit-card p,
.process-card p,
.faq-card p,
.modal-summary,
#modalResult {
  margin: 0;
  color: var(--text-soft);
}
.direction-details {
  display: grid;
  gap: 12px;
}
.direction-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.direction-detail i {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.direction-detail strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.direction-detail span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.direction-actions,
.project-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.project-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.project-actions > * {
  width: 100%;
  min-width: 0;
}
.project-actions .project-link {
  min-height: 52px;
  padding-inline: 14px;
  font-size: 0.92rem;
  text-align: center;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.filter-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filter-button:hover,
.filter-button.is-active {
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-strong);
  border-color: rgba(59, 130, 246, 0.18);
}
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.project-card { grid-template-rows: auto 1fr; }
.project-card:hover .project-media img,
.direction-card:hover .direction-media img { transform: scale(1.03); }
.meta-row,
.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.meta-chip {
  padding: 10px 14px;
  justify-content: flex-start;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-soft);
}
.meta-chip strong { color: var(--text); font-size: inherit; }
.empty-state {
  padding: 22px;
  border-radius: 22px;
  border: 1px dashed var(--line);
  color: var(--text-soft);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.benefits-layout { display: grid; gap: 22px; }
.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.benefit-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}
.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%);
  pointer-events: none;
}
.benefit-card > * { position: relative; z-index: 1; }
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  font-size: 1.2rem;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.process-card {
  padding: 22px;
  display: grid;
  gap: 14px;
}
.process-number {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  font-weight: 800;
  font-size: 1rem;
}

.pricing-layout { display: grid; }
.pricing-panel {
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
}
.pricing-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 92% 14%, rgba(124, 58, 237, 0.12), transparent 22%), radial-gradient(circle at 5% 100%, rgba(0, 212, 255, 0.12), transparent 22%);
  pointer-events: none;
}
.pricing-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 800px;
}
.pricing-eyebrow { width: fit-content; }
.pricing-content h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.pricing-content p,
.pricing-content small { color: var(--text-soft); }
.pricing-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pricing-chip {
  min-height: 48px;
  padding: 0 16px;
  font-size: 0.92rem;
  box-shadow: none;
}
.pricing-orbit {
  position: absolute;
  inset-inline-end: -34px;
  top: -34px;
  width: 230px;
  height: 230px;
  pointer-events: none;
  opacity: 0.9;
}
.pricing-orbit span {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  inset: 0;
  animation: orbitPulse 5s ease-in-out infinite;
}
.pricing-orbit span:nth-child(2) {
  inset: 18px;
  animation-delay: -1.4s;
}
.pricing-orbit span:nth-child(3) {
  inset: 36px;
  animation-delay: -2.8s;
}
.pricing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.faq-card {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.faq-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  font-size: 1.15rem;
}
.faq-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.contact-panel {
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 24px;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent 35%, rgba(124, 58, 237, 0.08));
  pointer-events: none;
}
.contact-copy,
.contact-action-grid {
  position: relative;
  z-index: 1;
}
.contact-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.contact-copy p { margin: 0; color: var(--text-soft); }
.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.app-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 120px;
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.app-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.18);
}
.primary-app-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(59, 130, 246, 0.18), rgba(124, 58, 237, 0.14)), var(--surface-strong);
}
.app-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  font-size: 1.2rem;
}
.app-contact-copy {
  display: grid;
  gap: 4px;
}
.app-contact-copy strong {
  font-size: 1rem;
  line-height: 1.25;
}
.app-contact-copy small {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-footer {
  padding: 0 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
  gap: 22px;
  padding-bottom: 24px;
}
.footer-brand-column {
  padding: 24px;
}
.footer-brand-row p {
  margin: 0;
  max-width: 42ch;
}
.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-column h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.footer-column a,
.footer-column p {
  margin: 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}
.footer-bottom p { margin: 0; }
.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dot-sep {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.6;
}

.quick-contact-bar,
.mobile-dock {
  position: fixed;
  z-index: 55;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.quick-contact-bar {
  inset-inline-end: 18px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}
.quick-contact-bar a {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.quick-contact-bar a:hover {
  background: rgba(59, 130, 246, 0.12);
  color: var(--text);
  transform: translateY(-2px);
}
.mobile-dock {
  inset-inline: 14px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  padding: 8px;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.dock-link {
  min-height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 8px 4px;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.dock-link:hover,
.dock-link:focus-visible {
  background: rgba(59, 130, 246, 0.12);
  color: var(--text);
  transform: translateY(-2px);
}
.dock-link i { font-size: 1rem; }
.dock-link-primary {
  background: var(--gradient);
  color: #fff;
}
.dock-link-primary i { color: #fff; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.55);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
}
.modal-close {
  position: absolute;
  inset-inline-end: 18px;
  top: 18px;
  z-index: 3;
}
.modal-media {
  min-height: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: auto;
}
.modal-media img {
  width: 100%;
  height: auto;
  max-height: calc(92vh - 48px);
  object-fit: contain;
  aspect-ratio: auto;
}
.modal-content {
  padding: 28px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 16px;
}
.modal-content h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.modal-block {
  display: grid;
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.modal-block h4 {
  margin: 0;
  font-size: 1rem;
}
.modal-block ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  color: var(--text-soft);
}
.modal-block li + li { margin-top: 8px; }

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 120;
  opacity: 0;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.06);
  transition: width 0.18s ease, height 0.18s ease, opacity 0.2s ease;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary-strong);
}
body.has-cursor .cursor-ring,
body.has-cursor .cursor-dot { opacity: 1; }

.reveal-up,
.reveal-scale,
.trust-card,
.service-card,
.project-card,
.direction-card,
.library-card,
.benefit-card,
.process-card,
.faq-card,
.stat-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s cubic-bezier(.22,1,.36,1), transform 0.62s cubic-bezier(.22,1,.36,1);
}
.reveal-scale { transform: scale(0.97); }
.is-visible {
  opacity: 1;
  transform: none;
}

.service-card:hover,
.direction-card:hover,
.project-card:hover,
.benefit-card:hover,
.process-card:hover,
.faq-card:hover,
.stat-card:hover,
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.16);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes backdropFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 12px, 0) scale(1.05); }
}
@keyframes boardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}
@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 0.4; }
}

@media (max-width: 1160px) {
  .hero-grid,
  .contact-panel,
  .modal-dialog,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { min-height: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy h1 { max-width: 14ch; }
  .hero-board-grid { grid-template-columns: 1fr; }
  .hero-visual { display: grid; gap: 14px; }
  .hero-floating-row { grid-template-columns: 1fr; }
  .service-grid,
  .benefit-grid,
  .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .desktop-nav,
  .nav-cta { display: none; }
  .menu-button { display: inline-flex; }
  .trust-grid,
  .direction-grid,
  .project-grid,
  .contact-action-grid,
  .service-grid,
  .benefit-grid,
  .faq-list { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: clamp(4rem, 8vw, 5.2rem) 0; }
  .quick-contact-bar { display: none; }
  .mobile-dock { display: grid; }
  .site-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
  .project-actions { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 100%); }
  .site-header { padding-top: 0; }
  .nav-shell { padding: 12px 14px; border-radius: 0 0 24px 24px; }
  .brand-logo,
  .footer-logo { width: 48px; height: 48px; }
  .hero-section { padding-top: 24px; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(2rem, 8vw, 3rem); }
  .hero-action-row,
  .direction-actions,
  .project-actions,
  .modal-actions,
  .pricing-actions { flex-direction: column; align-items: stretch; }
  .primary-button,
  .secondary-button,
  .project-link,
  .pricing-main-cta,
  .call-button { width: 100%; }
  .project-link,
  .pricing-chip,
  .direction-actions .project-link { min-height: 52px; }
  .section-heading h2,
  .contact-copy h2,
  .pricing-content h2 { max-width: 16ch; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .process-grid { grid-template-columns: 1fr; }
  .pricing-orbit { width: 180px; height: 180px; }
  .modal { padding: 12px; }
  .modal-dialog { max-height: 94vh; }
  .modal-content { padding: 22px 18px; scrollbar-width: none; -ms-overflow-style: none; }
  .modal-content::-webkit-scrollbar,
  .modal-dialog::-webkit-scrollbar,
  .modal-media::-webkit-scrollbar { display: none; }
  .modal-dialog,
  .modal-media { scrollbar-width: none; -ms-overflow-style: none; }
}

@media (max-width: 560px) {
  .eyebrow,
  .tiny-badge,
  .tiny-status,
  .tag-chip,
  .type-chip,
  .meta-chip,
  .pricing-chip {
    font-size: 0.82rem;
  }
  .hero-board,
  .contact-panel,
  .pricing-panel,
  .service-card,
  .direction-card,
  .project-card,
  .benefit-card,
  .process-card,
  .faq-card,
  .footer-brand-column { border-radius: 24px; }
  .hero-preview-frame img,
  .direction-media,
  .project-media { aspect-ratio: 16 / 11; }
  .floating-chip { min-width: auto; max-width: none; }
  .hero-floating-row { grid-template-columns: 1fr; }
  .mobile-dock { inset-inline: 10px; gap: 6px; }
  .dock-link { min-height: 56px; font-size: 0.68rem; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-ring,
  .cursor-dot { display: none !important; }
}

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

.nav-cta, .mobile-nav-cta, .primary-button, .pricing-main-cta, .project-link.primary-link { position: relative; overflow: hidden; }
.nav-cta::after, .mobile-nav-cta::after, .primary-button::after, .pricing-main-cta::after, .project-link.primary-link::after { content:""; position:absolute; inset:-120% auto -120% -38%; width:42%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent); transition: transform .7s ease; }
.nav-cta:hover::after, .mobile-nav-cta:hover::after, .primary-button:hover::after, .pricing-main-cta:hover::after, .project-link.primary-link:hover::after { transform: translateX(320%) rotate(18deg); }
.service-card:hover .service-card-glow { transform: scale(1.14); opacity: 1; }
.service-card-glow { transition: transform .45s ease, opacity .45s ease; opacity: .85; }
.brand-logo, .footer-logo { transition: transform .45s ease, filter .35s ease; }
.brand:hover .brand-logo, .footer-brand-row:hover .footer-logo { transform: translateY(-2px) scale(1.02); }
section[id] { scroll-margin-top: 110px; }
.modal-content { scrollbar-gutter: stable; }
:root {
  --display-font-en: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --display-font-ar: "Changa", "Alexandria", system-ui, sans-serif;
  --hero-glass: rgba(255, 255, 255, 0.08);
  --hero-border: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] {
  --hero-glass: rgba(8, 18, 36, 0.72);
  --hero-border: rgba(168, 196, 255, 0.12);
}

.glass-panel {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 44px rgba(7, 15, 28, 0.12), 0 30px 90px rgba(7, 15, 28, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  gap: 12px;
}

.brand-copy {
  gap: 2px;
}

.brand-copy strong,
.footer-brand-row strong {
  font-size: 1.08rem;
}

.brand-copy small {
  font-size: 0.82rem;
  white-space: nowrap;
}

.hero-copy h1 {
  margin: 14px 0 14px;
  text-wrap: balance;
}

html[dir="rtl"] .hero-copy h1 {
  font-family: var(--display-font-ar);
  font-weight: 700;
}

html[dir="ltr"] .hero-copy h1 {
  font-family: var(--display-font-en);
  font-weight: 800;
}

html[data-theme="dark"] .hero-copy h1 {
  color: #f5f9ff;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
}

.hero-description {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.hero-action-row {
  margin-top: 24px;
  margin-bottom: 18px;
}

.hero-tag-row {
  margin: 0 0 18px;
}

.tag-chip {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-sm);
}

.hero-stats {
  gap: 12px;
}

.stat-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, var(--surface-strong), color-mix(in srgb, var(--surface-alt) 78%, transparent));
  box-shadow: 0 14px 36px rgba(7, 15, 28, 0.11);
}

.stat-card strong {
  font-size: 0.98rem;
}

.stat-card span {
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-ambient,
.scene-ring {
  position: absolute;
  pointer-events: none;
}

.hero-ambient {
  border-radius: 999px;
  z-index: 0;
  animation: ambientDrift 12s ease-in-out infinite;
}

.hero-ambient-a {
  width: 180px;
  height: 180px;
  top: 6%;
  left: 4%;
  background: rgba(0, 212, 255, 0.18);
}

.hero-ambient-b {
  width: 150px;
  height: 150px;
  bottom: 16%;
  right: 18%;
  background: rgba(124, 58, 237, 0.16);
  animation-delay: -4s;
}

.scene-ring {
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  z-index: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 42px rgba(0, 212, 255, 0.14);
  animation: ringFloat 14s ease-in-out infinite;
}

.ring-one {
  width: 76%;
  height: 44%;
  left: -7%;
  top: 16%;
  border-color: rgba(0, 212, 255, 0.2);
}

.ring-two {
  width: 66%;
  height: 34%;
  left: 0;
  top: 22%;
  border-color: rgba(124, 58, 237, 0.18);
  animation-delay: -6s;
}

.hero-board {
  position: relative;
  z-index: 2;
  border-radius: 36px;
  padding: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.hero-board::before {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), transparent 36%, rgba(124, 58, 237, 0.12));
}

.hero-board::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-board-grid {
  direction: ltr;
  gap: 18px;
}

html[dir="rtl"] .board-side,
html[dir="rtl"] .board-main {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .board-side,
html[dir="ltr"] .board-main {
  direction: ltr;
  text-align: left;
}

.board-side {
  align-content: start;
}

.gradient-panel {
  border-radius: 30px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(145deg, rgba(0, 212, 255, 0.15), rgba(59, 130, 246, 0.09), rgba(124, 58, 237, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-preview-frame {
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 40px rgba(0, 0, 0, 0.2);
}

.board-copy {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent), var(--surface-strong);
  box-shadow: 0 16px 36px rgba(7, 15, 28, 0.1);
}

.board-copy h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
}

.info-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent), color-mix(in srgb, var(--surface-strong) 92%, transparent);
  box-shadow: 0 18px 38px rgba(7, 15, 28, 0.12);
}

.info-card strong {
  font-size: 1rem;
}

.info-card p {
  font-size: 0.88rem;
}

.hero-device {
  position: absolute;
  right: 14px;
  bottom: 210px;
  width: min(200px, 32%);
  padding: 10px;
  border-radius: 30px;
  z-index: 4;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent), var(--surface-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.device-shell {
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(3, 12, 24, 0.98), rgba(7, 19, 38, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 42%;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.device-screen {
  display: grid;
  gap: 12px;
  min-height: 244px;
  border-radius: 20px;
  padding: 20px 12px 12px;
  background:
    radial-gradient(circle at top left, rgba(0, 212, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #071426, #0b1e38);
}

.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.device-brandline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.device-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.device-brandcopy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.device-brandcopy strong {
  font-size: 0.88rem;
  line-height: 1;
}

.device-brandcopy span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.62rem;
  line-height: 1;
}

.device-menu {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #eef5ff;
}

.device-lines {
  display: grid;
  gap: 8px;
}

.device-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.6));
}

.device-lines span:nth-child(1) { width: 76%; }
.device-lines span:nth-child(2) { width: 88%; opacity: 0.78; }
.device-lines span:nth-child(3) { width: 64%; opacity: 0.55; }

.device-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.device-mini-card {
  min-height: 56px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 56%),
    linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-mini-card-lg {
  grid-column: 1 / -1;
  min-height: 78px;
}

.device-cta {
  min-height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.22);
}

.hero-floating-row {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  padding-inline: 10px;
}

.floating-chip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent), var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.section {
  padding: var(--section-space) 0;
}

.section-sm {
  padding-top: 1rem;
  padding-bottom: 1.6rem;
}

.section-heading {
  margin-bottom: clamp(1.65rem, 3.5vw, 2.35rem);
}

@keyframes ambientDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 18px, 0) scale(1.06); }
}

@keyframes ringFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

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

@media (max-width: 1160px) {
  .hero-grid {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    max-width: 12ch;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-board-grid {
    grid-template-columns: 1fr;
  }

  .hero-device {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(260px, 60%);
    margin: -44px auto 0;
  }

  .scene-ring {
    opacity: 0.6;
  }
}

@media (max-width: 980px) {
  .brand-copy small {
    display: none;
  }

  .brand {
    gap: 10px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 6.5vw, 3rem);
  }

  .hero-visual {
    margin-top: 10px;
  }

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

  .hero-device {
    width: min(260px, 74vw);
  }
}

@media (max-width: 760px) {
  .nav-shell {
    padding: 12px 14px;
  }

  .brand-logo,
  .footer-logo {
    width: 46px;
    height: 46px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .hero-section.hero-section-premium {
    padding-top: 22px;
  }

  .hero-action-row {
    margin-top: 22px;
  }

  .hero-board {
    padding: 16px;
    border-radius: 28px;
  }

  .hero-device {
    margin-top: -28px;
  }

  .scene-ring {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-tag-row {
    gap: 10px;
  }

  .tag-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-device {
    width: min(82vw, 270px);
  }
}
:root {
  --nav-haze: rgba(255, 255, 255, 0.78);
  --hero-vignette: rgba(59, 130, 246, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.42);
  --glass-shadow: 0 24px 72px rgba(15, 23, 42, 0.12);
  --hero-title: #0b1728;
}

html[data-theme="dark"] {
  --nav-haze: rgba(7, 16, 31, 0.72);
  --hero-vignette: rgba(0, 212, 255, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --hero-title: #c0d2e8;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 24%, rgba(0, 212, 255, 0.08), transparent 27%),
    radial-gradient(circle at 84% 18%, rgba(124, 58, 237, 0.1), transparent 26%),
    radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.08), transparent 28%);
}

.site-header {
  padding-top: clamp(10px, 1.25vw, 18px);
}

.nav-shell {
  padding: 12px clamp(14px, 2vw, 22px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 58%),
    var(--nav-haze);
  border-color: var(--line-strong);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.site-header.is-scrolled .nav-shell {
  transform: translateY(0);
  box-shadow: 0 18px 68px rgba(15, 23, 42, 0.16), inset 0 1px 0 var(--glass-highlight);
}

.brand {
  min-width: 0;
}

.brand-logo,
.footer-logo,
.device-logo {
  object-fit: contain;
  border-radius: 16px;
  background: transparent;
}

.brand-logo,
.footer-logo {
  width: 58px;
  height: 58px;
}

.desktop-nav {
  gap: 3px;
}

.desktop-nav a {
  border: 1px solid transparent;
  padding-inline: clamp(7px, 0.9vw, 12px);
  font-size: 0.9rem;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .desktop-nav a:hover,
html[data-theme="light"] .desktop-nav a:focus-visible,
html[data-theme="light"] .desktop-nav a.is-active {
  background: rgba(59, 130, 246, 0.08);
}

.nav-icon-button,
.menu-button,
.nav-cta,
.primary-button,
.secondary-button,
.mobile-nav-cta,
.pricing-main-cta,
.project-link,
.app-contact-card,
.footer-brand-column,
.footer-column {
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow-sm);
}

.nav-cta,
.primary-button,
.mobile-nav-cta,
.pricing-main-cta,
.project-link.primary-link {
  background: linear-gradient(135deg, #06d6f8 0%, #3174f5 50%, #7838f2 100%);
  box-shadow: 0 18px 40px rgba(50, 116, 245, 0.30), inset 0 1px 0 rgba(255,255,255,.28);
}

.secondary-button,
.project-link,
.nav-icon-button,
.menu-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 65%),
    var(--surface-strong);
}

.hero-section.hero-section-premium {
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
}

.hero-section.hero-section-premium::before {
  content: "";
  position: absolute;
  inset: -8% -4% 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.14), transparent 24%),
    radial-gradient(circle at 82% 30%, rgba(124, 58, 237, 0.14), transparent 24%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  opacity: 0.42;
  mask-image: radial-gradient(circle at center, #000 0 44%, transparent 82%);
}

.hero-section.hero-section-premium::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--hero-vignette));
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: min(820px, calc(100svh - 126px));
}

.hero-copy {
  max-width: 680px;
}

.hero-copy .eyebrow {
  background: rgba(59, 130, 246, 0.14);
  color: var(--primary-strong);
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 14px 34px rgba(59, 130, 246, 0.12);
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(1.92rem, 3.1vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

html[dir="ltr"] .hero-copy h1 {
  max-width: 13.2ch;
}

.hero-copy h1::selection,
.hero-description::selection {
  background: rgba(0, 212, 255, 0.22);
}

.hero-description {
  max-width: 66ch;
  color: color-mix(in srgb, var(--text-soft) 92%, var(--text));
}

.hero-action-row {
  gap: 14px;
}

.hero-action-row .primary-button,
.hero-action-row .secondary-button {
  min-width: 170px;
}

.hero-action-row .primary-button::before,
.nav-cta::before,
.mobile-nav-cta::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 0 18px rgba(255,255,255,.55);
}

.hero-action-row .secondary-button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

.tag-chip,
.stat-card,
.trust-card,
.info-card,
.board-copy,
.gradient-panel,
.floating-chip,
.service-card,
.direction-card,
.project-card,
.benefit-card,
.process-card,
.faq-card,
.contact-panel,
.pricing-panel {
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow-md);
}

.hero-tag-row {
  gap: 12px;
}

.tag-chip {
  padding-inline: 16px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-visual {
  min-height: clamp(560px, 46vw, 740px);
  perspective: 1200px;
}

.hero-board {
  width: min(100%, 780px);
  margin-inline: auto;
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(var(--move-x, 0), var(--move-y, 0), 0);
  animation: none;
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
  background:
    linear-gradient(145deg, rgba(0, 212, 255, 0.08), transparent 38%, rgba(124, 58, 237, 0.10)),
    var(--surface);
}

.hero-board:hover {
  border-color: rgba(0, 212, 255, 0.22);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(0, 212, 255, 0.08) inset;
}

.hero-board-topbar span {
  box-shadow: 0 0 18px currentColor;
}

.hero-board-grid {
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  align-items: stretch;
}

.board-main {
  min-width: 0;
}

.board-side {
  min-width: 0;
}

.gradient-panel,
.info-card,
.board-copy,
.floating-chip {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-preview-frame img {
  aspect-ratio: 16 / 9.7;
  transform: scale(1.001);
  transition: transform .7s cubic-bezier(.22,1,.36,1), filter .35s ease;
}

.hero-board:hover .hero-preview-frame img {
  transform: scale(1.035);
}

.info-card {
  min-height: 170px;
}

.info-card::before,
.board-copy::before,
.floating-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.12), transparent 34%);
  opacity: .55;
}

.board-copy,
.floating-chip {
  position: relative;
  overflow: hidden;
}

.hero-device {
  transform: translate3d(var(--device-x, 0), var(--device-y, 0), 0);
  animation: none;
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease;
}

.device-shell {
  animation: deviceFloat 8.5s ease-in-out infinite;
}

.floating-chip {
  transform: translate3d(var(--float-x, 0), var(--float-y, 0), 0);
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease, border-color .32s ease;
  animation: none;
}

.floating-chip:hover {
  border-color: rgba(59, 130, 246, .24);
  box-shadow: 0 22px 64px rgba(59, 130, 246, .16);
}

.hero-ambient {
  filter: blur(28px);
  opacity: .72;
}

.scene-ring {
  transform-origin: center;
}

.trust-grid {
  position: relative;
  z-index: 1;
}

.service-card:hover,
.direction-card:hover,
.project-card:hover,
.benefit-card:hover,
.process-card:hover,
.faq-card:hover,
.stat-card:hover,
.trust-card:hover,
.app-contact-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 26px 86px rgba(15, 23, 42, 0.16), inset 0 1px 0 var(--glass-highlight);
}

html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] .direction-card:hover,
html[data-theme="dark"] .project-card:hover,
html[data-theme="dark"] .benefit-card:hover,
html[data-theme="dark"] .process-card:hover,
html[data-theme="dark"] .faq-card:hover,
html[data-theme="dark"] .stat-card:hover,
html[data-theme="dark"] .trust-card:hover,
html[data-theme="dark"] .app-contact-card:hover {
  box-shadow: 0 26px 86px rgba(0, 0, 0, 0.34), inset 0 1px 0 var(--glass-highlight);
}

.reveal-up,
.reveal-scale,
.trust-card,
.service-card,
.project-card,
.direction-card,
.library-card,
.benefit-card,
.process-card,
.faq-card,
.stat-card {
  will-change: opacity, transform;
  transition-duration: .74s;
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(0, 212, 255, 0.45);
}

.cursor-ring.is-down {
  width: 28px;
  height: 28px;
  background: rgba(124, 58, 237, 0.18);
}

.primary-button.is-disabled,
.primary-button[aria-disabled="true"] {
  opacity: .55;
  pointer-events: none;
  box-shadow: none;
}

.site-footer {
  position: relative;
  padding-top: clamp(18px, 3vw, 34px);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.34), rgba(124, 58, 237, 0.34), transparent);
}

.footer-grid {
  align-items: stretch;
}

.footer-brand-column,
.footer-column {
  border-radius: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 60%),
    var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.footer-column a,
.footer-column p {
  width: 100%;
  padding: 8px 0;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  padding-inline: 10px;
}

.footer-bottom {
  border-top-color: var(--line-strong);
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 860px;
    justify-self: center;
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-action-row,
  .hero-tag-row {
    justify-content: center;
  }

  .hero-copy h1,
  html[dir="ltr"] .hero-copy h1 {
    max-width: 15ch;
    margin-inline: auto;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: auto;
    width: min(920px, 100%);
    margin-inline: auto;
  }

  .hero-board {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    padding-top: 8px;
  }

  .nav-shell {
    min-height: 68px;
    border-radius: 24px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-icon-button,
  .menu-button {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .hero-section.hero-section-premium {
    padding-top: 28px;
  }

  .hero-copy {
    text-align: start;
    justify-self: stretch;
  }

  .hero-copy .eyebrow,
  .hero-action-row,
  .hero-tag-row {
    justify-content: flex-start;
  }

  .hero-copy h1,
  html[dir="ltr"] .hero-copy h1,
  .hero-description {
    margin-inline: 0;
  }

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

  .hero-board-grid {
    grid-template-columns: 1fr;
  }

  .board-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-device {
    width: min(260px, 70vw);
  }
}

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

  .site-header {
    padding-top: 6px;
  }

  .nav-shell {
    padding: 10px 12px;
    border-radius: 22px;
  }

  .brand-logo,
  .footer-logo {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: .96rem;
  }

  .hero-copy h1,
  html[dir="ltr"] .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 11vw, 3.4rem);
    line-height: 1.06;
  }

  .hero-description {
    font-size: .98rem;
  }

  .hero-action-row .primary-button,
  .hero-action-row .secondary-button {
    min-width: 0;
  }

  .tag-chip {
    width: auto;
  }

  .hero-board {
    padding: 14px;
    border-radius: 28px;
  }

  .gradient-panel,
  .board-copy,
  .info-card {
    border-radius: 22px;
  }

  .board-side {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

  .hero-device {
    margin-top: -20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-brand-row {
    align-items: flex-start;
  }

  .footer-column {
    gap: 6px;
  }

  .footer-bottom {
    align-items: stretch;
    text-align: start;
    gap: 10px;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-actions {
    gap: 6px;
  }

  .nav-icon-button,
  .menu-button {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .brand-copy {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero-section.hero-section-premium {
    padding-top: 20px;
  }

  .hero-action-row {
    gap: 10px;
  }

  .tag-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-board-topbar {
    margin-bottom: 12px;
  }

  .preview-header {
    align-items: flex-start;
  }

  .device-screen {
    min-height: 220px;
  }

  .footer-brand-row {
    display: grid;
    justify-items: start;
  }

  html[dir="rtl"] .footer-brand-row {
    justify-items: end;
  }

  .mobile-dock {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: 20px;
  }

  .dock-link span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  .device-shell,
  .hero-ambient,
  .scene-ring,
  .backdrop-orb {
    animation: none !important;
  }
}
:root {
  --section-space: clamp(2.35rem, 4.25vw, 4.35rem);
  --header-height: 76px;
  --glass-blur: 24px;
  --glass-surface: rgba(255, 255, 255, 0.66);
  --glass-surface-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(15, 23, 42, 0.1);
  --hero-min: clamp(610px, 77svh, 780px);
}

html[data-theme="dark"] {
  --glass-surface: rgba(7, 17, 34, 0.68);
  --glass-surface-strong: rgba(9, 23, 44, 0.84);
  --glass-border: rgba(187, 214, 255, 0.14);
}

html {
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  padding: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 212, 255, 0.13), transparent 25%),
    radial-gradient(circle at 90% 14%, rgba(124, 58, 237, 0.14), transparent 26%),
    radial-gradient(circle at 55% 88%, rgba(59, 130, 246, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .23;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 18%, #000 0 35%, transparent 78%);
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-weight: 800;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.glass-panel,
.nav-shell,
.service-card,
.direction-card,
.project-card,
.benefit-card,
.process-card,
.faq-card,
.contact-panel,
.pricing-panel,
.footer-brand-column,
.footer-column,
.trust-card,
.stat-card,
.info-card,
.board-copy,
.gradient-panel,
.floating-chip,
.modal-dialog,
.quick-contact-bar,
.mobile-dock {
  background:
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035) 42%, rgba(255,255,255,.075)),
    var(--glass-surface);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 24px 74px rgba(4, 11, 24, 0.16);
}

.site-header {
  top: 0;
  padding-top: 0 !important;
}

.nav-shell {
  border-radius: 0 0 28px 28px;
  min-height: var(--header-height);
  margin-top: 0 !important;
}

.site-header.is-scrolled .nav-shell {
  border-radius: 0 0 24px 24px;
}

.brand-copy {
  display: grid !important;
}

.desktop-nav a.is-active,
.mobile-menu a.is-active,
.mobile-dock a.is-active {
  color: var(--text);
  border-color: rgba(0, 212, 255, .22);
  background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(124, 58, 237, .10));
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 10px 26px rgba(59, 130, 246, .14);
}

.section {
  padding: var(--section-space) 0 !important;
}

.section-sm,
.trust-section {
  padding-top: clamp(1.55rem, 2.8vw, 2.6rem) !important;
  padding-bottom: clamp(1.7rem, 3vw, 2.7rem) !important;
}

.section-heading {
  margin-bottom: clamp(1.3rem, 2.6vw, 2.1rem) !important;
}

section[id] { scroll-margin-top: calc(var(--header-height) + 24px) !important; }

.hero-section.hero-section-premium {
  padding-top: clamp(18px, 2.8vw, 38px) !important;
  padding-bottom: clamp(18px, 3vw, 42px) !important;
}

.hero-grid {
  min-height: var(--hero-min) !important;
  gap: clamp(22px, 4.4vw, 62px) !important;
  align-items: center;
}

.hero-copy {
  align-content: center;
}

.hero-copy h1 {
  display: grid;
  gap: .04em;
  max-width: 12.5ch !important;
  margin: 16px 0 16px !important;
  color: var(--text);
}

.hero-copy h1 span {
  display: block;
}

.hero-title-gradient {
  background: linear-gradient(90deg, #08d6ff 0%, #4a99ff 42%, #9d6cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-title-accent {
  background: linear-gradient(90deg, #1ad5ff 0%, #4080ff 52%, #ab52ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 30px rgba(50, 120, 245, .22));
}

html[dir="ltr"] .hero-copy h1 { max-width: 13.8ch !important; }

.hero-description {
  margin-bottom: 0 !important;
}

.hero-action-row {
  margin-top: clamp(18px, 2.4vw, 28px) !important;
  margin-bottom: clamp(16px, 2.2vw, 24px) !important;
}

.hero-action-row .call-button {
  display: none !important;
}

.hero-tag-row {
  margin: 0 !important;
  gap: 12px !important;
}

.hero-stats {
  display: none !important;
}

.tag-chip {
  position: relative;
  min-height: 46px;
  padding: 0 16px;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.04)),
    color-mix(in srgb, var(--surface) 82%, transparent);
}

.tag-chip::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -55%;
  width: 48%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  animation: glassSweep 5.8s ease-in-out infinite;
}

.hero-visual {
  min-height: clamp(500px, 43vw, 680px) !important;
}

.hero-device {
  display: none !important;
}

.hero-board {
  transform-style: preserve-3d;
  border-color: rgba(0, 212, 255, .16);
}

.hero-board-grid {
  grid-template-columns: minmax(178px, .38fr) minmax(0, 1fr) !important;
}

.info-card,
.board-copy,
.gradient-panel,
.floating-chip,
.trust-card {
  position: relative;
  overflow: hidden;
}

.info-card::before,
.board-copy::before,
.gradient-panel::before,
.floating-chip::before,
.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.16), transparent 36%, rgba(0, 212, 255, .06));
  opacity: .75;
}

.hero-preview-frame::after,
.project-media::after,
.direction-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 24% 0%, rgba(255,255,255,.18), transparent 32%);
  mix-blend-mode: screen;
  opacity: .55;
}

.trust-heading {
  display: grid;
  place-items: center;
  gap: 12px;
  margin-bottom: clamp(1rem, 2.2vw, 1.6rem);
  text-align: center;
}

.trust-heading h2 {
  margin: 0;
  font-family: var(--display-font-ar);
  font-size: clamp(1.55rem, 2.65vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
html[dir="ltr"] .trust-heading h2 { font-family: var(--display-font-en); }

.trust-heading span {
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 22px rgba(0, 212, 255, .38);
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.6vw, 18px) !important;
}

.trust-card {
  min-height: 142px;
  align-items: flex-start;
  padding: 18px;
}

.trust-card i {
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(0, 212, 255, .16), rgba(124, 58, 237, .14));
}

.trust-card div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.trust-card strong {
  line-height: 1.35;
}

.trust-card span {
  display: block;
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.55;
}

.service-card,
.direction-card,
.project-card,
.benefit-card,
.process-card,
.faq-card,
.app-contact-card,
.trust-card {
  transition: transform .38s cubic-bezier(.16,1,.3,1), box-shadow .38s ease, border-color .38s ease, background .38s ease;
}

.service-card:hover,
.direction-card:hover,
.project-card:hover,
.benefit-card:hover,
.process-card:hover,
.faq-card:hover,
.app-contact-card:hover,
.trust-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 212, 255, .26);
}

.site-footer {
  padding-top: clamp(10px, 2vw, 24px) !important;
  padding-bottom: clamp(12px, 2vw, 24px) !important;
  margin-bottom: 0 !important;
}

.footer-grid {
  gap: clamp(12px, 2vw, 20px) !important;
  padding-bottom: clamp(12px, 2vw, 20px) !important;
}

.footer-bottom {
  padding-top: 14px !important;
}

.modal {
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-dialog {
  border-radius: 30px;
  max-height: min(92svh, 900px);
}

.modal-content {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@keyframes glassSweep {
  0%, 34% { transform: translateX(0) rotate(18deg); opacity: 0; }
  48% { opacity: 1; }
  72%, 100% { transform: translateX(360%) rotate(18deg); opacity: 0; }
}

@media (max-width: 1180px) {
  .hero-grid {
    min-height: auto !important;
  }
  .hero-device {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: min(260px, 64vw) !important;
    margin: -36px auto 0 !important;
  }
  .hero-copy h1,
  html[dir="ltr"] .hero-copy h1 {
    max-width: min(100%, 16ch) !important;
  }
  .hero-board-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 980px) {
  :root { --header-height: 68px; --section-space: clamp(2.15rem, 5.2vw, 3.6rem); }
  .nav-shell {
    min-height: var(--header-height) !important;
    border-radius: 0 0 22px 22px !important;
  }
  .brand-copy small { display: none !important; }
  .hero-copy,
  .hero-copy .eyebrow,
  .hero-action-row,
  .hero-tag-row {
    text-align: start !important;
    justify-content: flex-start !important;
  }
  .hero-copy h1,
  html[dir="ltr"] .hero-copy h1 {
    max-width: 100% !important;
    margin-inline: 0 !important;
  }
  .hero-visual {
    min-height: auto !important;
  }
  .board-side {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .site-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 760px) {
  :root { --section-space: clamp(1.85rem, 6vw, 3rem); }
  .container { width: min(100% - 20px, 100%) !important; }
  .nav-shell {
    padding: 9px 10px !important;
    gap: 8px !important;
  }
  .brand {
    gap: 8px !important;
    min-width: 0;
  }
  .brand-logo,
  .footer-logo {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px;
  }
  .brand-copy strong {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .94rem !important;
  }
  .nav-actions { gap: 6px !important; }
  .nav-icon-button,
  .menu-button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
  }
  .hero-section.hero-section-premium {
    padding-top: 18px !important;
    padding-bottom: 24px !important;
  }
  .hero-copy h1,
  html[dir="ltr"] .hero-copy h1 {
    font-size: clamp(2.05rem, 10.2vw, 3.2rem) !important;
    line-height: 1.08 !important;
  }
  .hero-action-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }
  .hero-action-row .primary-button,
  .hero-action-row .secondary-button {
    width: 100% !important;
    min-width: 0 !important;
  }
  .hero-tag-row .tag-chip {
    width: auto !important;
    min-height: 42px;
    padding-inline: 13px;
  }
  .hero-board {
    padding: 12px !important;
    border-radius: 24px !important;
  }
  .board-side {
    grid-template-columns: 1fr !important;
  }
  .hero-device {
    width: min(250px, 82vw) !important;
    margin-top: -18px !important;
  }
  .trust-grid {
    grid-template-columns: 1fr !important;
  }
  .trust-card {
    min-height: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-brand-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
  }
  html[dir="rtl"] .footer-bottom { align-items: flex-end !important; text-align: right; }
  .modal {
    display: block;
    padding: max(10px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-dialog {
    display: flex !important;
    flex-direction: column;
    width: min(100%, 620px);
    max-height: none !important;
    min-height: 0;
    margin: 0 auto;
    overflow: visible !important;
    border-radius: 24px !important;
  }
  .modal-close {
    position: fixed !important;
    top: max(12px, env(safe-area-inset-top, 0px));
    inset-inline-end: 12px !important;
    z-index: 5;
    width: 42px;
    height: 42px;
  }
  .modal-media {
    flex: 0 0 auto;
    min-height: 0 !important;
    height: clamp(150px, 34svh, 250px);
    overflow: hidden !important;
    border-radius: 24px 24px 0 0;
  }
  .modal-media img {
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
  }
  .modal-content {
    overflow: visible !important;
    padding: 22px 16px 26px !important;
  }
  .modal-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .brand-copy { display: grid !important; }
  .brand-copy strong { max-width: 96px; }
  .brand-logo { width: 38px !important; height: 38px !important; }
  .nav-icon-button,
  .menu-button { width: 37px !important; height: 37px !important; }
  .lang-button { font-size: .78rem; }
  .hero-action-row { grid-template-columns: 1fr; }
  .hero-tag-row { gap: 8px !important; }
  .hero-tag-row .tag-chip { width: 100% !important; justify-content: flex-start !important; }
  html[dir="rtl"] .hero-tag-row { justify-content: flex-start !important; }
  html[dir="rtl"] .hero-tag-row .tag-chip { justify-content: flex-start !important; text-align: right; }
  .floating-chip { padding: 13px; }
  .footer-brand-row { align-items: flex-start !important; }
  .mobile-dock {
    inset-inline: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom, 0px)) !important;
    gap: 5px !important;
    padding: 7px !important;
  }
  .dock-link {
    min-height: 52px !important;
    border-radius: 15px !important;
  }
}

@media (max-width: 380px) {
  .brand-copy strong { max-width: 78px; font-size: .86rem !important; }
  .brand-logo { width: 34px !important; height: 34px !important; }
  .nav-icon-button,
  .menu-button { width: 34px !important; height: 34px !important; border-radius: 12px !important; }
  .nav-shell { padding-inline: 8px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .tag-chip::before,
  .device-shell,
  .hero-ambient,
  .scene-ring,
  .backdrop-orb {
    animation: none !important;
  }
  .hero-board,
  .hero-device,
  .floating-chip,
  .service-card,
  .direction-card,
  .project-card,
  .benefit-card,
  .process-card,
  .faq-card,
  .app-contact-card,
  .trust-card {
    transition: none !important;
  }
}
