:root {
  color-scheme: dark;
  --bg: #050b18;
  --bg-soft: #071122;
  --surface: rgba(10, 18, 36, 0.88);
  --surface-strong: rgba(16, 27, 52, 0.96);
  --surface-muted: rgba(8, 15, 29, 0.72);
  --border: rgba(132, 156, 255, 0.16);
  --border-strong: rgba(132, 156, 255, 0.28);
  --text: #f5f8ff;
  --text-soft: #d9e3ff;
  --muted: #9ba8cf;
  --primary: #79a7ff;
  --primary-strong: #4e7cff;
  --accent: #8c65ff;
  --accent-soft: #c6b6ff;
  --cyan: #48d0ff;
  --success: #56e0b1;
  --danger: #ff8a8a;
  --shadow-lg: 0 26px 90px rgba(3, 6, 14, 0.54);
  --shadow-soft: 0 16px 42px rgba(8, 11, 25, 0.28);
  --radius-xl: 1.75rem;
  --radius-lg: 1.35rem;
  --radius-md: 1rem;
  --container: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(88, 121, 255, 0.28), transparent 24%),
    radial-gradient(circle at 84% 0%, rgba(145, 92, 255, 0.24), transparent 28%),
    radial-gradient(circle at 70% 78%, rgba(48, 198, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #040915 0%, #071021 42%, #040914 100%);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(141, 164, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 164, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  opacity: 0.35;
}

body[data-lang="en"] {
  font-family: "Space Grotesk", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

#app {
  position: relative;
  isolation: isolate;
}

.site-shell {
  position: relative;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background:
    radial-gradient(circle at 22% 22%, rgba(121, 167, 255, 0.18), transparent 28%),
    radial-gradient(circle at 84% 6%, rgba(140, 101, 255, 0.18), transparent 24%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 9, 21, 0.78);
  border-bottom: 1px solid rgba(132, 156, 255, 0.08);
  backdrop-filter: blur(22px);
}

.site-header__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  direction: ltr;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand__mark {
  position: relative;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(72, 208, 255, 0.94), rgba(78, 124, 255, 0.95), rgba(140, 101, 255, 0.94));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    0 18px 36px rgba(78, 124, 255, 0.32);
}

.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.brand__mark::after {
  inset: auto 0.65rem 0.65rem auto;
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.brand__text {
  display: grid;
  gap: 0.15rem;
}

html[dir="rtl"] .brand__text {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .brand__text {
  direction: ltr;
  text-align: left;
}

.brand__name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 22rem;
  line-height: 1.55;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

html[dir="rtl"] .site-nav {
  direction: rtl;
}

.site-nav a {
  padding: 0.58rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(121, 167, 255, 0.12);
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem;
  background: rgba(11, 18, 36, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.language-switch__button {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.language-switch__button:hover,
.language-switch__button:focus-visible {
  color: var(--text);
}

.language-switch__button.is-active {
  color: #04101d;
  background: linear-gradient(135deg, #9ce3ff, #7ca7ff 45%, #a36cff 100%);
  box-shadow: 0 10px 24px rgba(78, 124, 255, 0.34);
}

.hero {
  padding: clamp(3rem, 7vw, 5.8rem) 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}

.hero__content {
  padding-block: 0.85rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 19, 39, 0.82);
  border: 1px solid rgba(132, 156, 255, 0.2);
  box-shadow: var(--shadow-soft);
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1;
}

.section-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  box-shadow: 0 0 18px rgba(72, 208, 255, 0.45);
}

body[data-lang="en"] .section-kicker {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  margin: 1.15rem 0 1rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  max-width: 12ch;
  letter-spacing: -0.04em;
}

body[data-lang="ar"] .hero__title {
  letter-spacing: 0;
  line-height: 1.22;
}

.hero__body {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.95;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.trust-chip {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(132, 156, 255, 0.16);
  background: rgba(8, 15, 30, 0.65);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero__panel {
  display: grid;
  gap: 1rem;
}

.surface-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.98), rgba(8, 15, 30, 0.94));
  border: 1px solid rgba(132, 156, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.surface-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 167, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.hero-form,
.hero-card,
.insight-card,
.benefit-card,
.signal-card,
.step-card,
.contact-panel {
  position: relative;
  z-index: 1;
}

.hero-form {
  padding: clamp(1.4rem, 2.6vw, 1.8rem);
}

.hero-form__title {
  margin: 0 0 0.4rem;
  font-size: 1.24rem;
}

.hero-form__copy {
  margin: 0 0 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-label {
  color: var(--text-soft);
  font-size: 0.93rem;
}

.field-input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.95rem 1rem;
  background: rgba(5, 11, 24, 0.72);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  text-align: start;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.field-input::placeholder {
  color: rgba(155, 168, 207, 0.72);
}

.field-input:hover {
  border-color: rgba(132, 156, 255, 0.42);
}

.field-input:focus {
  border-color: rgba(121, 167, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(121, 167, 255, 0.14);
  transform: translateY(-1px);
}

.button-primary {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.45rem;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 1rem;
  font-weight: 700;
  color: #05101c;
  background: linear-gradient(135deg, #9ce3ff 0%, #7ca7ff 44%, #a36cff 100%);
  box-shadow: 0 18px 34px rgba(78, 124, 255, 0.34);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow: 0 24px 42px rgba(78, 124, 255, 0.4);
}

.button-primary:active {
  transform: translateY(0);
}

.button-primary:disabled {
  cursor: wait;
  transform: none;
  filter: grayscale(0.1);
  opacity: 0.72;
}

.form-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.form-feedback {
  margin-top: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  line-height: 1.7;
  font-size: 0.94rem;
}

.form-feedback--success {
  border: 1px solid rgba(86, 224, 177, 0.34);
  background: rgba(17, 73, 57, 0.4);
  color: #d8fff0;
}

.form-feedback--error {
  border: 1px solid rgba(255, 138, 138, 0.26);
  background: rgba(95, 24, 24, 0.35);
  color: #ffdede;
}

.hero-card {
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  display: grid;
  gap: 1rem;
}

.hero-card__eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.84rem;
}

body[data-lang="en"] .hero-card__eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card__title {
  margin: 0;
  font-size: 1.26rem;
}

.hero-card__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-highlights {
  display: grid;
  gap: 0.85rem;
}

.hero-highlight {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(132, 156, 255, 0.14);
  background: rgba(7, 13, 25, 0.58);
}

.hero-highlight strong {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 1rem;
}

.hero-highlight span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-header {
  max-width: 46rem;
  margin-bottom: 1.8rem;
}

.section-title {
  margin: 0.85rem 0 0.9rem;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

body[data-lang="ar"] .section-title {
  letter-spacing: 0;
  line-height: 1.32;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.insight-grid,
.signal-grid,
.step-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.insight-card,
.benefit-card,
.signal-card,
.step-card,
.contact-panel,
.faq-item {
  background: linear-gradient(180deg, rgba(13, 21, 42, 0.96), rgba(8, 15, 29, 0.9));
  border: 1px solid rgba(132, 156, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.insight-card,
.benefit-card,
.signal-card {
  padding: 1.35rem;
}

.insight-card__title,
.benefit-card__title,
.signal-card__title {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.insight-card__copy,
.benefit-card__copy,
.signal-card__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.benefit-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(72, 208, 255, 0.9), rgba(140, 101, 255, 0.92));
  color: #04101c;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(78, 124, 255, 0.26);
}

.signal-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  color: var(--accent-soft);
  font-size: 0.82rem;
}

body[data-lang="en"] .signal-card__tag {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card__tag::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  box-shadow: 0 0 12px rgba(72, 208, 255, 0.35);
}

.step-card {
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.step-card__index {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(72, 208, 255, 0.2), rgba(140, 101, 255, 0.22));
  border: 1px solid rgba(132, 156, 255, 0.24);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.step-card__title {
  margin: 0;
  font-size: 1.08rem;
}

.step-card__subtitle {
  margin: -0.2rem 0 0;
  color: var(--accent-soft);
  font-size: 0.86rem;
}

body[data-lang="en"] .step-card__subtitle {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-card__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(132, 156, 255, 0.3);
  box-shadow: 0 20px 34px rgba(8, 11, 25, 0.35);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: rgba(121, 167, 255, 0.12);
  border: 1px solid rgba(132, 156, 255, 0.18);
  color: var(--accent-soft);
  flex: 0 0 auto;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(140, 101, 255, 0.18);
}

.faq-item__body {
  padding: 0 1.3rem 1.25rem;
  color: var(--muted);
  line-height: 1.85;
}

.contact-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3vw, 1.8rem);
  overflow: hidden;
}

.contact-panel__content {
  position: relative;
  z-index: 1;
}

.contact-panel__content::after {
  content: "";
  position: absolute;
  inset: auto -14% -38% auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 208, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.contact-panel__title {
  margin: 0.9rem 0 0.85rem;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.18;
}

.contact-panel__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.contact-trust {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.contact-trust__item {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(132, 156, 255, 0.16);
  background: rgba(8, 15, 29, 0.58);
  color: var(--text-soft);
  line-height: 1.65;
}

.contact-panel__form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.95rem;
}

.footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid rgba(132, 156, 255, 0.1);
}

.footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
}

.footer__note {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer__meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content,
.hero__panel {
  animation: fadeLift 0.85s ease both;
}

.hero__panel {
  animation-delay: 0.08s;
}

@media (max-width: 1080px) {
  .hero__grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(1180px, calc(100vw - 1.2rem));
  }

  .site-header__inner {
    gap: 0.9rem;
  }

  .brand__caption {
    display: none;
  }

  .site-nav {
    padding-bottom: 0.1rem;
    gap: 0.2rem;
  }

  .site-nav a {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }

  .language-switch__button {
    padding: 0.5rem 0.78rem;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero__title,
  .section-title {
    max-width: none;
  }

  .benefit-grid,
  .insight-grid,
  .signal-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .trust-chip {
    width: 100%;
    text-align: center;
  }

  .faq-item summary {
    align-items: flex-start;
    font-size: 0.96rem;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@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;
  }

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