:root {
  --lime: #B7EA3E;
  --lime-soft: #d4f57e;
  --ink: #18191B;
  --ink-soft: #232429;
  --white: #F7F8F3;
  --gray: #9A9C97;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-arabic);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ---------- Aurora animated background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 100%, #26301a 0%, var(--ink) 55%, var(--ink) 100%);
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.aurora__blob--1 {
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  left: 50%;
  top: 38%;
  background: radial-gradient(circle, var(--lime) 0%, rgba(183, 234, 62, 0.15) 55%, transparent 75%);
  transform: translate(-50%, -50%);
  animation: drift1 16s ease-in-out infinite;
}

.aurora__blob--2 {
  width: 45vw;
  height: 45vw;
  max-width: 620px;
  max-height: 620px;
  left: 50%;
  top: 62%;
  background: radial-gradient(circle, var(--lime-soft) 0%, rgba(212, 245, 126, 0.12) 50%, transparent 72%);
  transform: translate(-50%, -50%);
  opacity: 0.35;
  animation: drift2 20s ease-in-out infinite;
}

.aurora__noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, transparent 30%, var(--ink) 90%);
}

@keyframes drift1 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33% { transform: translate(-46%, -55%) scale(1.08); }
  66% { transform: translate(-54%, -47%) scale(0.95); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-42%, -55%) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora__blob { animation: none; }
}

/* ---------- Layout ---------- */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 32px 24px 0;
}

.logo {
  height: 28px;
  width: auto;
}

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 20px;
  padding: 6px 16px;
  border: 1px solid rgba(183, 234, 62, 0.35);
  border-radius: 999px;
  background: rgba(183, 234, 62, 0.06);
}

html[lang="ar"] .eyebrow {
  letter-spacing: 0;
}

.headline {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-size: clamp(48px, 11vw, 118px);
}

html[lang="ar"] .headline {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.15;
}

.headline__line {
  display: block;
  color: var(--white);
}

.headline__line--accent {
  color: var(--lime);
}

.subhead {
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.55;
  color: #D9DAD4;
  max-width: 620px;
  margin: 0 0 40px;
  font-weight: 400;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn__icon {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn--primary {
  background: var(--lime);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--lime-soft);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.contact-line {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

.contact-line a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.contact-line a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* ---------- Footer / language switcher ---------- */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 28px;
  flex-wrap: wrap;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lang-switcher__toggle:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.lang-switcher__toggle svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.lang-switcher__menu {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  bottom: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 150px;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.lang-switcher__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__menu li {
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  color: #C9CAC4;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-switcher__menu li:hover {
  background: rgba(183, 234, 62, 0.1);
  color: var(--white);
}

.lang-switcher__menu li.is-active {
  color: var(--lime);
  font-weight: 600;
}

.copyright {
  margin: 0;
  font-size: 12.5px;
  color: #6F716B;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .cta-row { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .footer { justify-content: center; text-align: center; }
  .contact-line { line-height: 1.8; }
}
