:root {
  --bg: #070812;
  --void-black: #030411;
  --deep-navy: #070812;
  --panel-navy: #0d0f20;
  --muted-steel: #a4a6c4;
  --cloud-white: #edeffb;

  --violet: #a24dff;
  --purple: #7c4df5;
  --blue: #2f7bf5;
  --cyan: #16c7f2;

  --text: var(--cloud-white);
  --muted: var(--muted-steel);

  --panel: rgba(13, 15, 32, .82);
  --panel-strong: rgba(13, 15, 32, .96);
  --border: rgba(164, 166, 196, .16);

  --brand-gradient:
    linear-gradient(
      118deg,
      #a24dff 0%,
      #7c4df5 34%,
      #2f7bf5 68%,
      #16c7f2 100%
    );
}

html {
  background: var(--deep-navy);
}

body {
  font-family: "Space Grotesk", "IBM Plex Sans Arabic", sans-serif;
  background: var(--deep-navy);
  color: var(--cloud-white);
}

body::before {
  background:
    linear-gradient(rgba(124, 77, 245, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 199, 242, .022) 1px, transparent 1px);
  background-size: 76px 76px;
}

.noise {
  opacity: .03;
}

.orb-one {
  background: var(--violet);
  opacity: .22;
}

.orb-two {
  background: var(--cyan);
  opacity: .18;
}

.orb-three {
  background: var(--blue);
  opacity: .12;
}

.navbar {
  background: rgba(7, 8, 18, .84);
  border-color: rgba(164, 166, 196, .14);
}

.brand-pro {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon-frame {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.03);
  box-shadow:
    0 0 0 1px rgba(164,166,196,.12),
    0 0 22px rgba(22,199,242,.12);
}

.brand-icon-image {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.55);
  display: block;
  filter: saturate(1.08) contrast(1.04);
}

.brand-wording {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-wording strong {
  font-size: 18px;
  line-height: 1.05;
  color: var(--cloud-white);
}

.brand-wording small {
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--cyan);
}

nav a:hover {
  color: var(--cyan);
}

.nav-cta,
.primary,
.floating-contact {
  background: var(--brand-gradient) !important;
}

.ghost {
  background: rgba(13, 15, 32, .78);
}

.badge {
  color: var(--cyan);
  border-color: rgba(22, 199, 242, .32);
  background: rgba(22, 199, 242, .07);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

h1 {
  color: var(--cloud-white) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.hero h1 span {
  display: block;
  width: fit-content;
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  max-width: 680px;
}

.robot-shell {
  min-height: 500px !important;
  display: grid !important;
  place-items: center !important;
  position: relative;
  background:
    radial-gradient(circle at 22% 14%, rgba(162,77,255,.18), transparent 34%),
    radial-gradient(circle at 80% 86%, rgba(22,199,242,.15), transparent 38%),
    rgba(13, 15, 32, .74) !important;
  border-color: rgba(164, 166, 196, .14) !important;
  overflow: hidden;
}

.robot-shell::after {
  display: none !important;
}

.signal-ring {
  border-color: rgba(22, 199, 242, .14);
}

.zaya-live {
  position: absolute;
  inset: 30px 34px 112px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.mascot-head {
  position: relative;
  width: 270px;
  height: 220px;
  border-radius: 64px;
  background:
    linear-gradient(#050a1d, #050a1d) padding-box,
    linear-gradient(135deg, #a24dff, #2f7bf5, #16c7f2) border-box;
  border: 8px solid transparent;
  box-shadow:
    0 0 24px rgba(162,77,255,.18),
    0 0 55px rgba(22,199,242,.14),
    inset 0 0 18px rgba(22,199,242,.05);
  animation: mascotFloat 4.8s ease-in-out infinite;
}

.mascot-head::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 48%, rgba(22,199,242,.045), transparent 46%),
    #040817;
  box-shadow: inset 0 0 18px rgba(255,255,255,.03);
}

.mascot-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 2;
}

.mascot-eye {
  width: 22px;
  height: 64px;
  border-radius: 999px;
  background: #16c7f2;
  box-shadow:
    0 0 10px rgba(22,199,242,.95),
    0 0 24px rgba(22,199,242,.42);
  animation: eyeBlink 4.8s ease-in-out infinite;
}

.mascot-z {
  font-size: 120px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -4px;
  background: linear-gradient(135deg, #b86bff 0%, #6393ff 62%, #24d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 0 10px rgba(162,77,255,.28))
    drop-shadow(0 0 18px rgba(22,199,242,.16));
}

.mascot-antenna {
  position: absolute;
  width: 8px;
  height: 60px;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: linear-gradient(180deg, #a24dff, #16c7f2);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(22,199,242,.18);
}

.mascot-antenna::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d9b8ff, #2f7bf5 58%, #16c7f2);
  box-shadow:
    0 0 16px rgba(162,77,255,.34),
    0 0 26px rgba(22,199,242,.18);
}

.mascot-ear {
  position: absolute;
  top: 76px;
  width: 30px;
  height: 82px;
  border-radius: 22px;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, #a24dff, #2f7bf5, #16c7f2);
  box-shadow:
    0 0 18px rgba(22,199,242,.12),
    inset 0 0 8px rgba(255,255,255,.06);
}

.mascot-ear.left {
  left: -18px;
}

.mascot-ear.right {
  right: -18px;
}

.mascot-mic {
  position: absolute;
  right: 26px;
  bottom: -12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f7bf5, #16c7f2);
  box-shadow:
    0 0 14px rgba(22,199,242,.38),
    0 0 22px rgba(22,199,242,.12);
  z-index: 3;
}

.mascot-mic::before {
  content: "";
  position: absolute;
  width: 68px;
  height: 6px;
  right: 20px;
  top: 10px;
  border-radius: 999px;
  transform: rotate(-14deg);
  background: linear-gradient(90deg, transparent, rgba(22,199,242,.65));
}

.chat-stack .bubble {
  opacity: 1 !important;
  position: absolute;
  max-width: 280px;
  color: var(--cloud-white);
  border-color: rgba(164, 166, 196, .14);
  background: rgba(13, 15, 32, .90);
  z-index: 4;
}

.user-bubble {
  left: 24px;
  bottom: 82px;
}

.bot-bubble {
  right: 22px;
  bottom: 24px;
  background:
    linear-gradient(118deg, rgba(162,77,255,.24), rgba(22,199,242,.12)) !important;
}

.metrics div,
.card,
.step,
.feature,
.why-card,
.use-case,
.channel-card,
.founder-card,
.dashboard-mock,
.outcomes-card,
.demo-card,
.about,
.contact {
  background-color: rgba(13, 15, 32, .76) !important;
  border-color: rgba(164, 166, 196, .14) !important;
}

.card:hover,
.step:hover,
.feature:hover,
.why-card:hover,
.channel-card:hover,
.founder-card:hover {
  border-color: rgba(22, 199, 242, .36) !important;
}

.section-title span,
.contact > div > span,
.footer-grid span {
  color: var(--cyan) !important;
}

.founder-card span {
  font-size: 22px !important;
}

.founder-z span,
.founder-a1 span,
.founder-y span,
.founder-a2 span {
  background: var(--brand-gradient) !important;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--cloud-white);
  font-weight: 700;
  border: 1px solid rgba(164,166,196,.14);
  background: rgba(255,255,255,.05);
  transition: .22s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(22,199,242,.30);
}

.footer-brand strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}

.floating-contact {
  box-shadow:
    0 0 30px rgba(22,199,242,.18),
    0 0 0 1px rgba(255,255,255,.08);
}

.brand-lockup,
.footer-lockup {
  display: none !important;
}

@keyframes mascotFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes eyeBlink {
  0%, 88%, 100% {
    transform: scaleY(1);
  }
  92% {
    transform: scaleY(.18);
  }
}

@media (max-width: 980px) {
  .brand-wording small {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-wording {
    display: none;
  }

  .brand-icon-frame {
    width: 52px;
    height: 52px;
  }

  .brand-icon-image {
    width: 52px;
    height: 52px;
  }

  .zaya-live {
    inset: 42px 18px 128px;
  }

  .mascot-head {
    width: 228px;
    height: 188px;
    border-radius: 54px;
  }

  .mascot-face {
    gap: 22px;
  }

  .mascot-eye {
    width: 18px;
    height: 54px;
  }

  .mascot-z {
    font-size: 102px;
  }

  .user-bubble {
    left: 14px;
    bottom: 88px;
  }

  .bot-bubble {
    right: 12px;
    bottom: 26px;
  }
}

/* ===== FINAL OFFICIAL ASSET FIX ===== */

.official-brand {
  width: 190px;
  height: 56px;
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
}

.official-nav-logo {
  width: 190px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  display: block;

  filter:
    drop-shadow(0 0 12px rgba(162, 77, 255, .18))
    drop-shadow(0 0 16px rgba(22, 199, 242, .12));
}

.nav-cta,
.primary,
.official-floating-contact {
  background:
    linear-gradient(
      118deg,
      #a24dff 0%,
      #7c4df5 34%,
      #2f7bf5 68%,
      #16c7f2 100%
    ) !important;
}

/* Hide every previous fake robot and flat hero logo */

.hero-logo-stage,
.hero-lockup,
.robot,
.robot-body-live,
.face-logo {
  display: none !important;
}

.robot-shell {
  min-height: 505px !important;
  display: grid !important;
  place-items: center !important;
  position: relative;
  overflow: hidden !important;

  background:
    radial-gradient(
      circle at 24% 16%,
      rgba(162, 77, 255, .18),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 84%,
      rgba(22, 199, 242, .14),
      transparent 40%
    ),
    rgba(13, 15, 32, .76) !important;

  border-color:
    rgba(164, 166, 196, .14) !important;
}

/* Official live Zaya face */

.zaya-live {
  position: absolute;
  inset: 25px 28px 118px;

  display: grid;
  place-items: center;

  z-index: 3;
}

.zaya-face-wrap {
  position: relative;

  width: min(345px, 91%);
  aspect-ratio: 610 / 575;

  animation:
    zayaOfficialFloat 4.8s ease-in-out infinite;

  filter:
    drop-shadow(
      0 0 24px rgba(162, 77, 255, .28)
    )
    drop-shadow(
      0 0 36px rgba(22, 199, 242, .18)
    );
}

.zaya-face-image {
  position: relative;
  z-index: 3;

  width: 100%;
  height: 100%;

  display: block;
  object-fit: contain;

  animation:
    zayaOfficialBreath 3.4s ease-in-out infinite;
}

.mascot-ring {
  position: absolute;
  z-index: 1;

  left: 50%;
  top: 50%;

  width: 78%;
  aspect-ratio: 1;

  border-radius: 50%;
  border: 1px solid rgba(22, 199, 242, .22);

  transform: translate(-50%, -50%);

  animation:
    zayaRing 3s ease-out infinite;
}

.mascot-ring-two {
  animation-delay: 1.4s;
}

.mascot-scan {
  position: absolute;
  z-index: 4;

  left: 15%;
  right: 15%;
  top: 25%;

  height: 2px;

  opacity: .55;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(22, 199, 242, .85),
      transparent
    );

  box-shadow:
    0 0 14px rgba(22, 199, 242, .55);

  animation:
    zayaScan 3.8s ease-in-out infinite;
}

.antenna-pulse {
  position: absolute;
  z-index: 5;

  left: 50%;
  top: 1.5%;

  width: 11%;
  aspect-ratio: 1;

  border-radius: 50%;
  border: 1px solid rgba(162, 77, 255, .75);

  transform: translateX(-50%);

  animation:
    antennaPulse 2.2s ease-out infinite;
}

.mic-pulse {
  position: absolute;
  z-index: 5;

  right: 21.5%;
  bottom: 10.5%;

  width: 10%;
  aspect-ratio: 1;

  border-radius: 50%;
  border: 1px solid rgba(22, 199, 242, .75);

  animation:
    micPulse 2.4s ease-out infinite .7s;
}

/* Hero chat */

.chat-stack .bubble {
  opacity: 1 !important;
  z-index: 6;

  max-width: 295px;

  border-color:
    rgba(164, 166, 196, .15) !important;

  background:
    rgba(13, 15, 32, .92) !important;
}

.user-bubble {
  left: 20px !important;
  bottom: 86px !important;
}

.bot-bubble {
  right: 18px !important;
  bottom: 20px !important;

  background:
    linear-gradient(
      118deg,
      rgba(162, 77, 255, .26),
      rgba(22, 199, 242, .13)
    ) !important;
}

/* ZAYA founders */

.founders-zaya .founder-card span {
  font-size: 25px !important;
  font-weight: 800;

  background:
    linear-gradient(
      118deg,
      #a24dff,
      #7c4df5,
      #2f7bf5,
      #16c7f2
    ) !important;
}

/* Contact and social media */

.social-links {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  min-width: 118px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 12px 16px;

  border:
    1px solid rgba(164, 166, 196, .14);

  border-radius: 999px;

  color: #edeffb;
  text-decoration: none;
  font-weight: 700;

  background:
    rgba(255, 255, 255, .05);

  transition: .22s ease;
}

.social-links a:hover {
  transform: translateY(-2px);

  border-color:
    rgba(22, 199, 242, .34);
}

.contact-zaya-icon {
  width: 84px;
  height: 84px;

  display: block;
  object-fit: contain;

  margin-bottom: 18px;

  filter:
    drop-shadow(
      0 0 15px rgba(162, 77, 255, .22)
    )
    drop-shadow(
      0 0 18px rgba(22, 199, 242, .15)
    );
}

/* Floating official contact button */

.official-floating-contact {
  min-width: 165px;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 9px 17px 9px 10px !important;

  color: white;
  text-decoration: none;
}

.official-floating-contact img {
  width: 34px;
  height: 34px;

  display: block;
  object-fit: contain;
}

/* Official footer logo */

.official-footer-logo {
  width: 205px;
  max-width: 100%;
  height: auto;

  display: block !important;
  object-fit: contain;
  object-position: left center;

  margin-bottom: 12px;
}

/* Old hidden-logo rule must not affect new official assets */

.brand-lockup {
  display: none !important;
}

/* Animations */

@keyframes zayaOfficialFloat {
  0%,
  100% {
    transform:
      translateY(0)
      rotate(0deg);
  }

  50% {
    transform:
      translateY(-11px)
      rotate(.55deg);
  }
}

@keyframes zayaOfficialBreath {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.018);
    filter: brightness(1.08);
  }
}

@keyframes zayaRing {
  0% {
    transform:
      translate(-50%, -50%)
      scale(.68);

    opacity: .55;
  }

  100% {
    transform:
      translate(-50%, -50%)
      scale(1.42);

    opacity: 0;
  }
}

@keyframes zayaScan {
  0%,
  100% {
    top: 26%;
    opacity: 0;
  }

  20% {
    opacity: .55;
  }

  70% {
    opacity: .30;
  }

  90% {
    top: 74%;
    opacity: 0;
  }
}

@keyframes antennaPulse {
  0% {
    transform:
      translateX(-50%)
      scale(.65);

    opacity: .75;
  }

  100% {
    transform:
      translateX(-50%)
      scale(1.7);

    opacity: 0;
  }
}

@keyframes micPulse {
  0% {
    transform: scale(.55);
    opacity: .80;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .official-brand,
  .official-nav-logo {
    width: 142px;
    height: 47px;
  }

  .zaya-live {
    inset: 42px 12px 132px;
  }

  .user-bubble {
    left: 10px !important;
  }

  .bot-bubble {
    right: 8px !important;
  }

  .official-floating-contact {
    min-width: auto;
  }
}
