/* 055 · Web3 EOS / Aethel Ledger (سجل الأفق) — 1:1 Orbital Wave & Specular Pill Stylesheet */
:root {
  --eo-bg: #000000;
  --eo-ink: #ffffff;
  --eo-muted: rgba(255, 255, 255, 0.6);
  --eo-eyebrow: rgba(255, 255, 255, 0.45);
  --eo-line: rgba(255, 255, 255, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--eo-bg); color: var(--eo-ink); }

body {
  margin: 0;
  background: var(--eo-bg);
  color: var(--eo-ink);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  line-height: 1.68;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, a, button, span, dt, dd { letter-spacing: 0; }
[dir="ltr"] { font-family: 'JetBrains Mono', 'Readex Pro', monospace; }

.eos-gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 45%, rgba(186, 196, 255, 0.88) 74%, rgba(140, 160, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Signature Animated Diagonal Specular Sweep Header Pill */
.waitlist-pill-outer {
  position: relative;
  display: inline-flex;
  padding: 1.5px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 40%, rgba(120, 140, 255, 0.5), rgba(255, 255, 255, 0.35));
  box-shadow: 0 0 24px rgba(120, 140, 255, 0.35), 0 0 48px rgba(80, 100, 255, 0.15);
  text-decoration: none;
  overflow: hidden;
}

.waitlist-pill-inner {
  position: relative;
  z-index: 2;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(12, 12, 18, 0.82);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.waitlist-pill-outer::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.85) 50%, transparent 70%);
  transform: translateX(-140%) rotate(12deg);
  animation: eoStreak 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes eoStreak {
  0%, 20% { transform: translateX(-140%) rotate(12deg); }
  80%, 100% { transform: translateX(160%) rotate(12deg); }
}

/* Hash Subroute View */
.eo-subview {
  display: none;
  min-height: 100dvh;
  max-width: 880px;
  margin: 0 auto;
  padding: 96px clamp(24px, 5vw, 56px);
}

body.is-subroute .eo-home-view { display: none; }
body.is-subroute .eo-subview { display: block; }

/* Section 1: Bounded Full-Screen Cosmic Orbital Hero */
.eo-hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eo-hero-bg { position: absolute; inset: 0; z-index: 0; }
.eo-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.eo-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(70% 60% at 50% 45%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.eo-header {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px clamp(20px, 3.8vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.eo-links { display: flex; align-items: center; gap: 24px; }
.eo-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}
.eo-links a:hover { color: #ffffff; }

.eo-hero-center {
  position: relative;
  z-index: 10;
  max-width: 920px;
  margin: auto;
  padding: 32px 24px 96px;
  text-align: center;
}

@keyframes eoBlurUp {
  from { opacity: 0; filter: blur(14px); transform: translateY(24px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.eo-anim { animation: eoBlurUp 0.85s ease-out both; }
.eo-d1 { animation-delay: 0.15s; }
.eo-d2 { animation-delay: 0.3s; }
.eo-d3 { animation-delay: 0.45s; }

.eo-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  margin-bottom: 22px;
}

.eo-h1 {
  margin: 0;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
}

.eo-sub {
  margin: 22px auto 34px;
  max-width: 580px;
  color: var(--eo-muted);
  font-size: 1.04rem;
}

.eo-pill-white {
  height: 48px;
  padding: 0 34px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
}

/* Tail Sections (Cleanly Visible with relative z-10!) */
.eo-sec {
  position: relative;
  z-index: 10;
  background: #000000;
  border-top: 1px solid var(--eo-line);
  padding: clamp(76px, 8.5vw, 112px) clamp(20px, 4.5vw, 56px);
}

.eo-wrap { max-width: 1140px; margin: 0 auto; }

.eo-eyebrow {
  display: block;
  font-size: 0.74rem;
  color: var(--eo-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eo-h2 {
  margin: 0 0 28px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 600;
}

.eo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.eo-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--eo-line);
  border-radius: 16px;
  padding: 24px;
}

.eo-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.eo-card p { margin: 0; color: var(--eo-muted); font-size: 0.92rem; }

@media (max-width: 720px) {
  .eo-links { display: none; }
  .eo-grid-3 { grid-template-columns: 1fr; }
}
