:root {
  --ink: #f8f5ff;
  --muted: #bfb9d2;
  --muted-strong: #ded9ed;
  --night: #0d061b;
  --violet: #7c3aed;
  --violet-bright: #9d5cff;
  --cyan: #22d3ee;
  --line: rgba(204, 187, 255, 0.17);
  --surface: rgba(34, 19, 63, 0.54);
  --font: "Tajawal", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--night);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -4;
  inset: 0;
  content: "";
  background:
    radial-gradient(ellipse 60% 45% at 15% 10%, rgba(85, 31, 168, 0.32), transparent 72%),
    radial-gradient(ellipse 42% 35% at 84% 45%, rgba(11, 133, 173, 0.13), transparent 75%),
    linear-gradient(145deg, #0e061d 0%, #14092a 42%, #090514 100%);
}

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

button, a { -webkit-tap-highlight-color: transparent; }

.section-wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.page-noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

.background-grid {
  position: fixed;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(185, 155, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 155, 255, 0.06) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
}

.ambient {
  position: absolute;
  z-index: -2;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.24;
}

.ambient-one { top: 150px; right: -150px; background: var(--violet); }
.ambient-two { top: 750px; left: -220px; background: var(--cyan); opacity: 0.1; }

.hero { min-height: 790px; padding-top: 28px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(196, 170, 255, 0.4);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #9e61ff, #6122c7 60%, #38cce4);
  box-shadow: 0 0 26px rgba(125, 58, 237, 0.36);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -6px;
  line-height: 1;
  transform: skewX(-8deg);
}

.mark-letter { transform: translateX(2px); }
.accent-letter { color: #d8fbff; transform: translateX(-2px); }

.brand-name {
  direction: ltr;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.brand-name strong { color: #bd92ff; font-weight: 900; }

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.1), 0 0 14px var(--cyan);
  animation: breathe 2.4s ease-in-out infinite;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  padding: 100px 2.8vw 76px 0;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #bb9aff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

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

h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(45px, 5.4vw, 76px);
  font-weight: 900;
  letter-spacing: -2.4px;
  line-height: 1.12;
}

.gradient-text {
  display: inline-block;
  padding-inline: 4px;
  background: linear-gradient(100deg, #b895ff 0%, #e0ccff 38%, #46d9ee 93%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -2px;
}

.lead {
  max-width: 515px;
  margin-bottom: 18px;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.9;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.topic-pills span {
  padding: 5px 11px;
  border: 1px solid rgba(133, 224, 238, 0.22);
  border-radius: 999px;
  color: #c8f7fa;
  background: rgba(45, 173, 193, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  min-height: 56px;
  padding: 0 23px;
  overflow: hidden;
  border: 1px solid rgba(208, 190, 255, 0.7);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(110deg, #6d28d9 0%, #8f48f3 52%, #3aaed1 120%);
  box-shadow: 0 13px 38px rgba(93, 42, 205, 0.42), inset 0 1px 0 rgba(255,255,255,0.2);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.join-button svg { width: 20px; height: 20px; fill: currentColor; }
.join-button:hover { transform: translateY(-4px); filter: brightness(1.12); box-shadow: 0 19px 48px rgba(111, 58, 235, 0.58), inset 0 1px 0 rgba(255,255,255,0.28); }
.join-button:focus-visible, .card-link:focus-visible, .brand:focus-visible, .site-footer a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }

.micro-copy { color: #988eaf; font-size: 13px; }

.hero-visual {
  position: relative;
  display: grid;
  min-height: 443px;
  place-items: center;
}

.channel-card {
  position: relative;
  z-index: 2;
  width: min(100%, 355px);
  padding: 22px 25px 25px;
  overflow: hidden;
  border: 1px solid rgba(190, 166, 250, 0.36);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(137, 82, 241, 0.2), transparent 43%),
    linear-gradient(160deg, rgba(38, 20, 70, 0.95), rgba(18, 10, 37, 0.92));
  box-shadow: 0 33px 85px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: rotate(-4deg);
}

.channel-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.11) 43%, transparent 49%);
  transform: translateX(-120%);
  animation: card-shine 7s ease-in-out infinite;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aa92d5;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.card-topline i { width: 7px; height: 7px; border-radius: 50%; background: #4ee9ef; box-shadow: 0 0 11px #4ee9ef; }

.channel-emblem {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 37px auto 20px;
  border: 1px solid rgba(171, 238, 255, 0.58);
  border-radius: 23px;
  place-items: center;
  background: linear-gradient(145deg, #20b9d7, #3972cd 53%, #792fe2);
  box-shadow: 0 11px 31px rgba(33, 188, 224, 0.26), inset 0 1px 1px rgba(255,255,255,0.38);
  transform: rotate(-6deg);
}

.channel-emblem svg { width: 40px; height: 40px; fill: white; transform: rotate(4deg); }

.card-label { margin-bottom: 2px; color: #b4acc4; text-align: center; font-size: 13px; }
.channel-card h2 { margin-bottom: 4px; text-align: center; font-size: 33px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.channel-handle { color: #5fe6ef; text-align: center; font-family: Arial, sans-serif; font-size: 14px; }
.card-divider { height: 1px; margin: 24px 0 17px; background: linear-gradient(90deg, transparent, rgba(196, 166, 255, .46), transparent); }
.card-note { margin-bottom: 17px; color: #c9c2d8; text-align: center; font-size: 14px; line-height: 1.7; }

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  color: #c8aaff;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}
.card-link:hover { color: #71edf3; }
.card-link span { direction: ltr; font-family: Arial, sans-serif; font-size: 20px; line-height: 0; }

.orbit {
  position: absolute;
  z-index: 1;
  width: 415px;
  height: 415px;
  border: 1px solid rgba(163, 111, 255, 0.26);
  border-radius: 50%;
  transform: rotate(32deg) scaleY(0.65);
}

.orbit::after {
  position: absolute;
  top: 4%;
  left: 45%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: #48e5ef;
  box-shadow: 0 0 13px 4px rgba(72, 229, 239, .47);
}

.orbit-two {
  width: 508px;
  height: 508px;
  border-color: rgba(77, 213, 237, 0.11);
  transform: rotate(-45deg) scaleY(0.4);
}

.orbit-two::after { top: auto; right: 12%; bottom: 4%; left: auto; width: 7px; height: 7px; background: #bd8bff; box-shadow: 0 0 13px 3px rgba(189, 139, 255, .48); }

.spark { position: absolute; z-index: 3; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px 6px rgba(184, 142, 255, .7); }
.spark-one { top: 23%; right: 11%; }
.spark-two { bottom: 25%; left: 7%; width: 3px; height: 3px; background: #62eefa; }

.signal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 15px;
  direction: ltr;
  opacity: 0.66;
}

.signal-line::before, .signal-line::after { flex: 1; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--line)); }
.signal-line::after { background: linear-gradient(90deg, var(--line), transparent); }
.signal-line span { width: 3px; height: 3px; border-radius: 50%; background: #a678f8; }
.signal-line span:nth-child(3) { width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.value-section { padding: 112px 0 98px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading h2, .final-cta h2 { margin: 0; font-size: clamp(31px, 4vw, 51px); font-weight: 900; letter-spacing: -1.6px; line-height: 1.22; }
.section-heading::after { flex: 1; height: 1px; margin-bottom: 10px; content: ""; background: linear-gradient(90deg, var(--line), transparent); }

.value-list { border-top: 1px solid var(--line); }

.value-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 142px;
  padding: 22px 12px;
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease, padding 200ms ease;
}

.value-item:hover { padding-inline: 20px 4px; background: linear-gradient(90deg, rgba(111, 50, 213, .11), transparent); }
.value-number { color: #7f719c; font-family: Arial, sans-serif; font-size: 13px; font-weight: 700; }
.value-item h3 { margin-bottom: 4px; font-size: 22px; font-weight: 800; }
.value-item p { max-width: 590px; margin: 0; color: var(--muted); font-size: 15px; }
.value-icon { color: #b898ff; font-family: Arial, sans-serif; font-size: 30px; font-weight: 300; }

.final-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 416px;
  padding: 79px 28px;
  overflow: hidden;
  border: 1px solid rgba(182, 149, 255, 0.26);
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(70, 26, 147, .47), rgba(17, 10, 34, .66) 62%, rgba(12, 59, 84, .25));
}

.final-cta::before, .final-cta::after { position: absolute; width: 350px; height: 350px; border: 1px solid rgba(178, 139, 255, .16); border-radius: 50%; content: ""; }
.final-cta::before { top: -245px; right: -70px; }
.final-cta::after { bottom: -260px; left: -80px; }

.cta-glow { position: absolute; top: -90px; left: 50%; width: 360px; height: 220px; border-radius: 50%; background: rgba(130, 63, 238, .34); filter: blur(70px); transform: translateX(-50%); }
.final-cta > *:not(.cta-glow) { position: relative; z-index: 1; }
.final-cta .eyebrow { margin-bottom: 17px; }
.final-cta h2 { max-width: 700px; }
.final-cta p:not(.eyebrow) { margin: 15px 0 28px; color: var(--muted-strong); font-size: 18px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 45px;
  padding-bottom: 35px;
  color: #9189a5;
  font-size: 13px;
}

.site-footer p { margin: 0; }
.site-footer > a:last-child { color: #ab85f6; font-weight: 700; transition: color 180ms ease; }
.site-footer > a:last-child:hover { color: var(--cyan); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }

@keyframes breathe { 50% { transform: scale(.73); opacity: .65; } }
@keyframes card-shine { 0%, 70%, 100% { transform: translateX(-120%); } 85% { transform: translateX(120%); } }

@media (max-width: 800px) {
  .section-wrap { width: min(100% - 40px, 620px); }
  .hero { min-height: unset; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; padding: 76px 0 58px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  h1 { max-width: 620px; margin-inline: auto; }
  .lead { margin-inline: auto; }
  .topic-pills { justify-content: center; }
  .hero-visual { min-height: 372px; }
  .channel-card { width: 310px; transform: rotate(-3deg) scale(.94); }
  .orbit { width: 365px; height: 365px; }
  .orbit-two { width: 430px; height: 430px; }
  .signal-line { display: none; }
  .value-section { padding: 78px 0 75px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading::after { display: none; }
  .final-cta { min-height: 365px; padding: 61px 20px; border-radius: 26px; }
}

@media (max-width: 520px) {
  .section-wrap { width: min(100% - 32px, 620px); }
  .site-header { min-height: 58px; }
  .header-status { font-size: 12px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 11px; }
  .brand-name { font-size: 17px; }
  .hero-layout { padding-top: 59px; }
  h1 { font-size: clamp(39px, 13vw, 53px); letter-spacing: -1.7px; }
  .lead { font-size: 16px; line-height: 1.85; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .join-button { width: 100%; min-width: 0; }
  .micro-copy { font-size: 12px; }
  .hero-visual { min-height: 328px; margin-top: 4px; }
  .channel-card { width: 290px; padding: 19px 22px 21px; }
  .channel-emblem { width: 66px; height: 66px; margin-top: 28px; margin-bottom: 14px; border-radius: 20px; }
  .channel-emblem svg { width: 35px; }
  .channel-card h2 { font-size: 29px; }
  .orbit { width: 320px; height: 320px; }
  .orbit-two { width: 380px; height: 380px; }
  .value-item { grid-template-columns: 44px 1fr; gap: 13px; min-height: 126px; padding: 20px 0; }
  .value-icon { display: none; }
  .value-item h3 { font-size: 19px; }
  .value-item p { font-size: 14px; line-height: 1.7; }
  .final-cta h2 { font-size: 29px; letter-spacing: -1px; }
  .final-cta p:not(.eyebrow) { font-size: 16px; }
  .site-footer { flex-wrap: wrap; padding-top: 36px; }
  .footer-brand { order: -1; flex-basis: 100%; }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}
