:root {
  color-scheme: dark;
  --bg: #06070c;
  --bg-soft: #10131b;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f7f8fb;
  --muted: #b5bdca;
  --cyan: #00d9ff;
  --pink: #ff2fab;
  --lime: #b8ff36;
  --gold: #ffce6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Kufi Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: "Noto Kufi Arabic", Inter, system-ui, sans-serif;
}

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

button,
input {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  margin: 16px;
  padding: 10px 14px;
  clip: auto;
  background: #fff;
  color: #000;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(6, 7, 12, 0.86), rgba(6, 7, 12, 0.35));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.28), rgba(255, 47, 171, 0.24)),
    rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 28px rgba(0, 217, 255, 0.22);
  border-radius: var(--radius);
}

.brand-text {
  font-size: 1.18rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
}

.lang-button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-button.is-active {
  color: #071014;
  background: var(--lime);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: center;
  padding: 128px clamp(18px, 6vw, 84px) 70px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0.72;
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 42%, rgba(0, 217, 255, 0.22), transparent 28%),
    radial-gradient(circle at 30% 74%, rgba(255, 47, 171, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(6, 7, 12, 0.96) 0%, rgba(6, 7, 12, 0.72) 42%, rgba(6, 7, 12, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 7, 12, 0.22), var(--bg) 96%);
}

html[dir="rtl"] .hero-overlay {
  background:
    radial-gradient(circle at 28% 42%, rgba(0, 217, 255, 0.22), transparent 28%),
    radial-gradient(circle at 70% 74%, rgba(255, 47, 171, 0.18), transparent 34%),
    linear-gradient(270deg, rgba(6, 7, 12, 0.96) 0%, rgba(6, 7, 12, 0.72) 42%, rgba(6, 7, 12, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 7, 12, 0.22), var(--bg) 96%);
}

.wave-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  opacity: 0.22;
  pointer-events: none;
}

.wave-layer span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  animation: drift 4.8s ease-in-out infinite;
}

.wave-layer span:nth-child(2n) {
  animation-delay: -1.7s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 830px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .section-kicker {
  letter-spacing: 0;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8.5vw, 8.6rem);
  line-height: 0.91;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  color: #dfe5ee;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.signup-form {
  display: flex;
  width: min(100%, 650px);
  min-height: 62px;
  margin-top: 30px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 11, 18, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

.signup-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: var(--text);
  background: transparent;
}

.signup-form input::placeholder {
  color: #8f98a8;
}

.signup-form button {
  border: 0;
  padding: 0 24px;
  color: #061015;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  font-weight: 900;
  cursor: pointer;
  border-radius: calc(var(--radius) - 2px);
  white-space: nowrap;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(28px, 8vw, 90px);
  width: min(320px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(13, 16, 25, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

html[dir="rtl"] .hero-panel {
  right: auto;
  left: clamp(18px, 5vw, 70px);
}

.hero-panel p {
  margin: 12px 0 4px;
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.14;
}

.equalizer {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 54px;
}

.equalizer i {
  display: block;
  width: 12px;
  height: 18px;
  background: linear-gradient(180deg, var(--pink), var(--cyan));
  border-radius: 999px;
  animation: pulse 1.15s ease-in-out infinite;
}

.equalizer i:nth-child(2) { animation-delay: -0.25s; }
.equalizer i:nth-child(3) { animation-delay: -0.55s; }
.equalizer i:nth-child(4) { animation-delay: -0.12s; }
.equalizer i:nth-child(5) { animation-delay: -0.72s; }
.equalizer i:nth-child(6) { animation-delay: -0.38s; }
.equalizer i:nth-child(7) { animation-delay: -0.62s; }

.section,
.experience,
.waitlist,
.footer {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 6vw, 84px);
}

.section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--bg);
}

.split,
.section-heading,
.countdown-section,
.waitlist,
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.split p,
.section-heading p,
.seo-block p,
.waitlist p,
.footer p {
  color: var(--muted);
  font-size: 1.06rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.category-card,
.experience article,
.faq details {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

.category-card {
  min-height: 168px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 217, 255, 0.48);
  background:
    linear-gradient(145deg, rgba(0, 217, 255, 0.16), rgba(255, 47, 171, 0.09)),
    rgba(255, 255, 255, 0.06);
}

.category-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.category-card h3 {
  margin-bottom: 0;
}

.experience {
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.12), transparent 36%),
    linear-gradient(315deg, rgba(255, 47, 171, 0.13), transparent 40%),
    #090b12;
}

.experience > h2 {
  max-width: 980px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.experience article {
  padding: 24px;
}

.experience article p {
  margin-bottom: 0;
  color: var(--muted);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.countdown div {
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}

.countdown strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.countdown span {
  color: var(--muted);
  font-weight: 700;
}

.waitlist {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(184, 255, 54, 0.14), transparent 36%),
    linear-gradient(270deg, rgba(0, 217, 255, 0.13), transparent 36%),
    #0b0e15;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.waitlist .signup-form {
  margin-top: 0;
}

.seo-block {
  max-width: 1180px;
}

.seo-block h2 {
  max-width: 920px;
}

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

.faq details {
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  background: #040509;
}

.footer-brand {
  max-width: 520px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: var(--radius);
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials a:hover,
.socials a:focus-visible {
  color: var(--text);
  border-color: rgba(0, 217, 255, 0.48);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  color: var(--muted);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin-bottom: 0;
}

@keyframes pulse {
  0%, 100% { height: 16px; }
  50% { height: 54px; }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) scaleX(0.74); opacity: 0.22; }
  50% { transform: translateY(-16px) scaleX(1); opacity: 0.5; }
}

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

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

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

  .split,
  .section-heading,
  .countdown-section,
  .waitlist,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    margin-top: 36px;
  }

  html[dir="rtl"] .hero-panel {
    right: auto;
    left: auto;
  }
}

@media (max-width: 660px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  h1 {
    max-width: 10ch;
  }

  .signup-form {
    flex-direction: column;
    gap: 8px;
    min-height: 0;
  }

  .signup-form input {
    min-height: 52px;
  }

  .signup-form button {
    min-height: 52px;
  }

  .category-grid,
  .experience-grid,
  .countdown {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 130px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
