/* ============================================================
   GET STARTUPS — "المنظومة الحيّة"
   An alternative hero concept: instead of decorating the page
   with an illustration, the hero *is* the product — a living
   network of startups, investors, incubators and opportunities
   that wires itself together while you watch, and re-arranges
   around whichever role you pick.
   ============================================================ */

.eco-page{
  background:#061F1A;
  color:#fff;
  overflow-x:hidden;
}

/* ============================================================
   1 · HERO STAGE
   ============================================================ */
.eco-hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(1100px 640px at 50% -12%, rgba(22,179,108,.30), transparent 62%),
    radial-gradient(760px 520px at 8% 108%, rgba(23,162,162,.22), transparent 62%),
    radial-gradient(680px 460px at 96% 92%, rgba(184,237,87,.12), transparent 60%),
    #061F1A;
}

/* the network itself */
.eco-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  display:block;
}

/* faint engineering grid — makes the network read as a system */
.eco-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(closest-side at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image:radial-gradient(closest-side at 50% 50%, #000 40%, transparent 100%);
}
/* vignette so the headline always wins against the moving nodes */
.eco-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:radial-gradient(620px 420px at 50% 46%, rgba(6,31,26,.92), rgba(6,31,26,.55) 55%, transparent 78%);
}

/* nav floats over the stage.
   Needs `header.site` in the selector: navbar.css sets
   `header.site{position:relative}` and would otherwise out-specify
   this, leaving the nav in the hero's flex flow. */
header.site.eco-nav{
  position:absolute;
  top:0;
  inset-inline:0;
  z-index:6;
}
.eco-page .nav-wrap{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.14);
  box-shadow:0 18px 44px rgba(0,0,0,.35);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.eco-page .brand{ color:#fff; }
.eco-page nav.links a{ color:rgba(255,255,255,.72); }
.eco-page nav.links a:hover{ color:#fff; }
.eco-page .icon-btn,
.eco-page .nav-toggle{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.20);
  color:#fff;
}
.eco-page .nav-toggle svg{ color:#fff; }
.eco-page .btn-login{
  background:rgba(255,255,255,.06);
  color:#fff;
  border-color:rgba(255,255,255,.22);
}
.eco-page .btn-login:hover{ background:rgba(255,255,255,.14); }

/* ---------- hero content ---------- */
.eco-inner{
  position:relative;
  z-index:3;
  width:100%;
  max-width:1000px;
  margin:0 auto;
  padding:clamp(140px,17vh,180px) clamp(18px,4vw,40px) clamp(90px,12vh,120px);
  text-align:center;
}

.eco-badge{
  display:inline-flex;
  align-items:center;
  gap:9px;
  height:36px;
  padding-inline:18px;
  margin-bottom:clamp(18px,3vh,26px);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-size:12.5px;
  font-weight:800;
  color:rgba(255,255,255,.9);
}
.eco-badge .live{
  width:8px; height:8px;
  border-radius:50%;
  background:#3BE38C;
  box-shadow:0 0 0 0 rgba(59,227,140,.6);
  animation:ecoLive 2s ease-out infinite;
}
@keyframes ecoLive{
  0%{ box-shadow:0 0 0 0 rgba(59,227,140,.55); }
  70%{ box-shadow:0 0 0 10px rgba(59,227,140,0); }
  100%{ box-shadow:0 0 0 0 rgba(59,227,140,0); }
}

.eco-title{
  margin:0 0 clamp(16px,2.5vh,22px);
  font-size:clamp(30px,6.2vw,66px);
  font-weight:800;
  line-height:1.32;
  letter-spacing:-.01em;
  color:#fff;
  text-shadow:0 18px 50px rgba(0,0,0,.45);
}

/* the word that swaps as the network re-wires */
.eco-word{
  position:relative;
  display:inline-block;
  min-width:4ch;
  padding-inline:2px;
  background:linear-gradient(105deg,#B8ED57,#3BE38C 45%,#5FD9E8);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 26px rgba(59,227,140,.35));
}
.eco-word::after{
  content:"";
  position:absolute;
  inset-inline:0;
  bottom:-.14em;
  height:3px;
  border-radius:3px;
  background:linear-gradient(90deg,transparent,#3BE38C,transparent);
  opacity:.75;
}
.eco-word.swap{ animation:ecoWord .5s cubic-bezier(.2,.8,.3,1); }
@keyframes ecoWord{
  0%{ opacity:0; transform:translateY(.42em) rotateX(-70deg); filter:blur(6px); }
  100%{ opacity:1; transform:none; filter:blur(0); }
}

.eco-lede{
  margin:0 auto clamp(24px,4vh,34px);
  max-width:640px;
  font-size:clamp(14px,1.8vw,17px);
  line-height:2;
  color:rgba(255,255,255,.76);
}

/* ---------- role picker ---------- */
.eco-roles{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-bottom:clamp(22px,3.5vh,30px);
}
.eco-role{
  display:inline-flex;
  align-items:center;
  gap:9px;
  height:44px;
  padding-inline:20px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-family:inherit;
  font-size:13.5px;
  font-weight:700;
  color:rgba(255,255,255,.85);
  cursor:pointer;
  transition:transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}
.eco-role .dot{
  width:9px; height:9px;
  border-radius:50%;
  background:var(--c,#3BE38C);
  box-shadow:0 0 12px var(--c,#3BE38C);
  flex:0 0 auto;
}
.eco-role:hover{ transform:translateY(-2px); background:rgba(255,255,255,.12); color:#fff; }
.eco-role[aria-pressed="true"]{
  background:#fff;
  border-color:#fff;
  color:#08221D;
  box-shadow:0 16px 34px -18px rgba(255,255,255,.6);
}

/* ---------- CTAs ---------- */
.eco-cta{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin-bottom:clamp(26px,4vh,38px);
}
.eco-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  height:54px;
  padding-inline:32px;
  border:none;
  border-radius:15px;
  font-family:inherit;
  font-size:15px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.eco-btn svg{ width:16px; height:16px; }
.eco-btn.solid{
  background:linear-gradient(150deg,#3BE38C,#0FA45E);
  color:#062018;
  box-shadow:0 20px 40px -18px rgba(59,227,140,.75);
}
.eco-btn.solid:hover{ transform:translateY(-3px); box-shadow:0 26px 50px -18px rgba(59,227,140,.9); }
.eco-btn.glass{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.eco-btn.glass:hover{ transform:translateY(-3px); background:rgba(255,255,255,.16); }

/* ---------- live connection ticker ---------- */
.eco-ticker{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:34px;
  font-size:12.5px;
  font-weight:700;
  color:rgba(255,255,255,.62);
}
.eco-ticker .line{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:7px 15px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  opacity:0;
  transform:translateY(6px);
  transition:opacity .4s ease, transform .4s ease;
  max-width:100%;
}
.eco-ticker .line.show{ opacity:1; transform:none; }
.eco-ticker b{ color:#fff; font-weight:800; }
.eco-ticker .swatch{
  width:7px; height:7px;
  border-radius:50%;
  flex:0 0 auto;
}

/* ---------- hero stats ---------- */
.eco-stats{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:clamp(18px,5vw,54px);
  margin-top:clamp(24px,4vh,34px);
  padding-top:clamp(20px,3vh,28px);
  border-top:1px solid rgba(255,255,255,.10);
}
.eco-stats .cell{ text-align:center; min-width:92px; }
.eco-stats .n{
  font-size:clamp(22px,3vw,30px);
  font-weight:800;
  color:#fff;
  line-height:1.2;
}
.eco-stats .l{
  margin-top:4px;
  font-size:12.5px;
  font-weight:700;
  color:rgba(255,255,255,.6);
}

/* ---------- node tooltip ---------- */
.eco-tip{
  position:absolute;
  z-index:4;
  transform:translate(-50%,-140%);
  padding:8px 13px;
  border-radius:12px;
  background:rgba(6,31,26,.92);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  font-size:12.5px;
  font-weight:800;
  color:#fff;
  white-space:nowrap;
  pointer-events:none;
  opacity:0;
  transition:opacity .18s ease;
}
.eco-tip.show{ opacity:1; }
.eco-tip .k{
  display:block;
  margin-top:2px;
  font-size:11px;
  font-weight:700;
  color:var(--c,#3BE38C);
}

/* ---------- scroll cue ---------- */
.eco-scroll{
  position:absolute;
  z-index:3;
  bottom:22px;
  inset-inline:0;
  display:flex;
  justify-content:center;
  pointer-events:none;
}
.eco-scroll span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11.5px;
  font-weight:700;
  color:rgba(255,255,255,.45);
  animation:ecoBob 2.4s ease-in-out infinite;
}
.eco-scroll svg{ width:14px; height:14px; }
@keyframes ecoBob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(6px); } }

/* ============================================================
   2 · BELOW THE FOLD — why this hero
   ============================================================ */
.eco-why{
  position:relative;
  background:#FBFDFC;
  color:var(--ink);
  padding-block:clamp(56px,8vw,96px);
}
.eco-why .head{ text-align:center; max-width:700px; margin:0 auto clamp(30px,4vw,46px); }
.eco-why .head span{
  display:inline-flex;
  height:32px;
  padding-inline:16px;
  align-items:center;
  border-radius:999px;
  background:rgba(10,164,88,.12);
  color:#0B7C45;
  font-size:12.5px;
  font-weight:800;
  margin-bottom:14px;
}
.eco-why h2{ margin:0 0 12px; font-size:clamp(23px,3.2vw,34px); font-weight:800; line-height:1.4; color:var(--ink); }
.eco-why .head p{ margin:0; font-size:15px; line-height:1.95; color:var(--muted); }

.eco-why .grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:18px;
  max-width:1100px;
  margin:0 auto;
}
.eco-why .card{
  padding:28px 26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 1px 2px rgba(20,37,33,.04), 0 16px 34px -24px rgba(20,37,33,.4);
  transition:transform .25s ease, box-shadow .25s ease;
}
.eco-why .card:hover{ transform:translateY(-4px); box-shadow:0 26px 48px -26px rgba(20,37,33,.45); }
.eco-why .card .num{
  width:42px; height:42px;
  margin-bottom:16px;
  border-radius:13px;
  background:linear-gradient(150deg,#12B36A,#04713F);
  color:#fff;
  font-size:15px;
  font-weight:800;
  display:flex; align-items:center; justify-content:center;
}
.eco-why .card h3{ margin:0 0 9px; font-size:17px; font-weight:800; color:var(--ink); }
.eco-why .card p{ margin:0; font-size:13.5px; line-height:1.95; color:var(--muted); }

/* ============================================================
   3 · RESPONSIVE
   ============================================================ */
@media (max-width:900px){
  .eco-inner{ padding-top:clamp(120px,15vh,150px); }
  .eco-hero::after{
    background:radial-gradient(520px 560px at 50% 44%, rgba(6,31,26,.94), rgba(6,31,26,.6) 58%, transparent 82%);
  }
}
@media (max-width:640px){
  .eco-roles{ gap:8px; }
  .eco-role{ height:40px; padding-inline:15px; font-size:12.5px; }
  .eco-btn{ width:100%; max-width:330px; height:50px; }
  .eco-cta{ flex-direction:column; align-items:center; }
  .eco-stats{ gap:16px 28px; }
  .eco-scroll{ display:none; }
}

@media (prefers-reduced-motion: reduce){
  .eco-badge .live,
  .eco-scroll span{ animation:none; }
  .eco-word.swap{ animation:none; }
}
