:root {
  --bg: #020914;
  --bg-deep: #010711;
  --bg-soft: #061426;

  --panel: rgba(5, 22, 42, 0.84);
  --panel-strong: rgba(4, 17, 34, 0.95);

  --text: #f5f8ff;
  --muted: #9aacc0;

  --blue: #0078ff;
  --cyan: #00c2ff;
  --green: #00e676;

  --border: rgba(0, 194, 255, 0.22);

  --gradient: linear-gradient(
    120deg,
    #0078ff 0%,
    #00c2ff 50%,
    #00e676 100%
  );
}


/* =========================================================
   RESET / PAGE
========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  min-height: 100%;
}

html {
  background: var(--bg-deep);
}

body {
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(0, 194, 255, 0.06),
      transparent 30%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
  width: 100%;
  height: 74px;

  flex: 0 0 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5vw;

  position: relative;
  z-index: 50;

  background:
    rgba(2, 9, 20, 0.88);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;

  gap: 11px;

  min-width: 170px;
}

.brand-logo {
  width: 42px;
  height: 42px;

  object-fit: cover;

  border-radius: 11px;

  box-shadow:
    0 0 24px rgba(0, 194, 255, 0.16);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);

  box-shadow:
    0 0 30px rgba(0, 230, 118, 0.18);
}

.brand-word {
  font-size: 1.25rem;
  font-weight: 700;

  letter-spacing: -0.025em;
}

.main-nav {
  display: flex;
  align-items: center;

  gap: 32px;

  color: #b5c5d7;

  font-size: 0.9rem;
}

.main-nav a {
  position: relative;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.main-nav a:hover {
  color: white;

  transform: translateY(-1px);
}

.main-nav a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--gradient);

  transform: translateX(-50%);

  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;

  gap: 11px;
}

#languageSelector {
  height: 40px;

  padding: 0 14px;

  border-radius: 11px;

  border:
    1px solid rgba(255, 255, 255, 0.15);

  background:
    rgba(5, 20, 38, 0.93);

  color: white;

  cursor: pointer;
}

.ask-button {
  height: 40px;

  padding: 0 18px;

  border-radius: 11px;

  border:
    1px solid rgba(0, 194, 255, 0.5);

  background:
    linear-gradient(
      120deg,
      rgba(0, 120, 255, 0.17),
      rgba(0, 230, 118, 0.11)
    );

  color: white;

  cursor: pointer;

  box-shadow:
    0 0 25px rgba(0, 194, 255, 0.06);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ask-button:hover {
  transform: translateY(-2px);

  border-color: var(--green);

  box-shadow:
    0 0 30px rgba(0, 230, 118, 0.10);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  width: 100%;

  min-height:
    clamp(
      545px,
      calc(100vh - 335px),
      700px
    );

  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1.32fr)
    minmax(300px, 0.68fr);

  align-items: center;

  gap: 6vw;

  padding:
    44px
    7.5vw
    86px;

  overflow: hidden;

  isolation: isolate;
}


/* =========================================================
   HERO BACKGROUND
========================================================= */

.market-background {
  position: absolute;

  inset: 0;

  z-index: 0;

  overflow: hidden;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(2, 9, 20, 0.98) 0%,
      rgba(2, 9, 20, 0.91) 23%,
      rgba(2, 9, 20, 0.66) 43%,
      rgba(2, 9, 20, 0.22) 66%,
      rgba(2, 9, 20, 0.02) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 9, 20, 0.04) 0%,
      rgba(2, 9, 20, 0.01) 58%,
      rgba(2, 9, 20, 0.48) 100%
    ),
    url("/assets/equairo-hero-bg.png");

  background-size: cover;

  background-position:
    center right;

  background-repeat: no-repeat;

  transform: scale(1.02);

  animation:
    heroBreath
    16s
    ease-in-out
    infinite
    alternate;
}

.market-background::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at 88% 24%,
      rgba(0, 230, 118, 0.15),
      transparent 22%
    ),
    radial-gradient(
      circle at 73% 46%,
      rgba(0, 194, 255, 0.14),
      transparent 25%
    ),
    radial-gradient(
      circle at 55% 65%,
      rgba(0, 120, 255, 0.07),
      transparent 25%
    );

  mix-blend-mode: screen;
}

.market-background::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 68%,
      rgba(2, 9, 20, 0.30) 84%,
      var(--bg) 100%
    );
}

@keyframes heroBreath {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.045);
  }
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
  position: relative;

  z-index: 5;

  max-width: 730px;
}

.status-pill {
  width: fit-content;

  display: flex;
  align-items: center;

  gap: 9px;

  padding: 8px 13px;

  margin-bottom: 22px;

  border-radius: 999px;

  border:
    1px solid rgba(0, 194, 255, 0.42);

  background:
    rgba(0, 120, 255, 0.08);

  color: #c0d5ea;

  font-size: 0.68rem;
  font-weight: 700;

  letter-spacing: 0.16em;

  backdrop-filter: blur(12px);
}

.status-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 12px var(--green);
}

.hero h1 {
  margin: 0;

  max-width: 820px;

  font-size:
    clamp(
      3rem,
      5.7vw,
      5.8rem
    );

  line-height: 0.94;

  letter-spacing: -0.055em;

  text-shadow:
    0 8px 34px rgba(0, 0, 0, 0.40);
}

.hero h1 span {
  display: block;

  margin-top: 8px;

  background: var(--gradient);

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;

  filter:
    drop-shadow(
      0 5px 18px rgba(0, 194, 255, 0.10)
    );
}

.hero-description {
  max-width: 620px;

  margin:
    26px
    0
    0;

  color: #b5c5d8;

  font-size: 1rem;

  line-height: 1.65;

  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 13px;

  margin-top: 30px;
}

.primary-button,
.secondary-button {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding:
    0
    23px;

  border-radius: 13px;

  font-size: 0.9rem;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.primary-button {
  color: #00121c;

  background: var(--gradient);

  box-shadow:
    0 10px 35px rgba(0, 194, 255, 0.20);
}

.primary-button:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 46px rgba(0, 230, 118, 0.20);
}

.secondary-button {
  color: white;

  background:
    rgba(3, 18, 33, 0.72);

  border:
    1px solid rgba(0, 194, 255, 0.46);

  backdrop-filter: blur(12px);
}

.secondary-button:hover {
  transform: translateY(-3px);

  border-color: var(--cyan);
}

.development-note {
  margin-top: 18px;

  color: #7d91a7;

  font-size: 0.73rem;
}


/* =========================================================
   MARKET PULSE PREVIEW
========================================================= */

.market-preview {
  position: relative;

  z-index: 5;

  width: 100%;

  max-width: 390px;

  justify-self: end;

  padding: 22px;

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(7, 28, 52, 0.86),
      rgba(3, 13, 26, 0.90)
    );

  border:
    1px solid rgba(0, 194, 255, 0.28);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 0 35px rgba(0, 194, 255, 0.05);

  backdrop-filter: blur(18px);
}

.market-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding-bottom: 15px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.07);
}

.eyebrow {
  color: var(--cyan);

  font-size: 0.65rem;

  letter-spacing: 0.15em;

  font-weight: 700;
}

.market-preview h2 {
  margin:
    5px
    0
    0;

  font-size: 1.28rem;
}

.live-indicator {
  display: flex;
  align-items: center;

  gap: 7px;

  color: #8da3b8;

  font-size: 0.7rem;
}

.live-indicator span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 9px var(--green);
}

.market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding:
    15px
    0;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.055);
}

.asset {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.asset strong {
  font-size: 0.88rem;
}

.asset span {
  color: #71879d;

  font-size: 0.68rem;
}

.market-placeholder {
  color: #72869a;

  font-size: 0.68rem;

  text-align: right;
}

.market-link {
  display: inline-block;

  margin-top: 16px;

  color: var(--cyan);

  font-size: 0.78rem;
  font-weight: 700;
}


/* =========================================================
   ENTRY PATHS
========================================================= */

.entry-paths {
  width:
    min(
      1320px,
      90vw
    );

  margin:
    -58px
    auto
    24px;

  position: relative;

  z-index: 10;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;
}

.path-card {
  min-height: 175px;

  display: flex;
  flex-direction: column;

  padding: 21px;

  border-radius: 18px;

  border:
    1px solid var(--border);

  background:
    linear-gradient(
      145deg,
      rgba(7, 26, 48, 0.96),
      rgba(4, 14, 27, 0.96)
    );

  box-shadow:
    0 16px 52px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(12px);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.path-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(0, 194, 255, 0.5);

  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.30);
}

.path-card.beginner:hover {
  border-color:
    rgba(0, 230, 118, 0.5);
}

.path-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  margin-bottom: 16px;

  border-radius: 10px;

  background:
    rgba(0, 120, 255, 0.13);

  border:
    1px solid rgba(0, 194, 255, 0.27);

  color: var(--cyan);

  font-size: 0.7rem;
  font-weight: 800;
}

.beginner .path-icon {
  color: var(--green);

  border-color:
    rgba(0, 230, 118, 0.30);
}

.path-card h3 {
  margin:
    0
    0
    7px;

  font-size: 1.03rem;
}

.path-card p {
  margin: 0;

  color: #869aaf;

  font-size: 0.8rem;

  line-height: 1.5;
}

.path-card > span {
  margin-top: auto;

  padding-top: 18px;

  color: var(--cyan);

  font-size: 0.76rem;

  font-weight: 700;
}

.beginner > span {
  color: var(--green);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  min-height: 62px;

  margin-top: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding:
    0
    5vw;

  border-top:
    1px solid rgba(255, 255, 255, 0.045);

  background:
    linear-gradient(
      180deg,
      rgba(2, 9, 20, 0.75),
      rgba(1, 7, 17, 0.98)
    );

  color: #5f7388;

  font-size: 0.67rem;
}

.site-footer > div {
  display: flex;
  align-items: center;

  gap: 8px;
}

.footer-logo {
  width: 23px;
  height: 23px;

  object-fit: cover;

  border-radius: 6px;

  opacity: 0.88;
}

.site-footer strong {
  color: #879bad;
}


/* =========================================================
   ASK EQUAIRO FLOATING BUTTON
========================================================= */

.floating-ai {
  position: fixed;

  right: 22px;

  /* Elevated so it never covers the footer */
  bottom: 86px;

  z-index: 100;

  display: flex;
  align-items: center;

  gap: 11px;

  padding:
    9px
    15px
    9px
    9px;

  border-radius: 999px;

  border:
    1px solid rgba(0, 194, 255, 0.5);

  background:
    rgba(6, 22, 42, 0.94);

  color: white;

  cursor: pointer;

  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.40);

  backdrop-filter: blur(16px);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.floating-ai:hover {
  transform: translateY(-3px);

  border-color: var(--green);

  box-shadow:
    0 18px 50px rgba(0, 230, 118, 0.08);
}

.floating-ai-icon {
  width: 38px;
  height: 38px;

  object-fit: cover;

  border-radius: 50%;

  box-shadow:
    0 0 18px rgba(0, 194, 255, 0.20);
}

.floating-ai div:last-child {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
}

.floating-ai strong {
  font-size: 0.77rem;
}

.floating-ai span {
  margin-top: 2px;

  color: #879aae;

  font-size: 0.62rem;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1450px) {

  .hero {
    padding-left: 6.5vw;
    padding-right: 6.5vw;
  }

  .hero-content {
    max-width: 760px;
  }

  .market-preview {
    max-width: 410px;
  }

}


/* =========================================================
   SHORT DESKTOP SCREENS
========================================================= */

@media (min-width: 1051px) and (max-height: 820px) {

  .hero {
    min-height: 500px;

    padding-top: 34px;
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size:
      clamp(
        2.9rem,
        5.2vw,
        5.3rem
      );
  }

  .entry-paths {
    margin-top: -54px;
  }

  .floating-ai {
    bottom: 78px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;

    min-height: auto;

    padding-top: 52px;
    padding-bottom: 70px;
  }

  .market-preview {
    max-width: 620px;

    justify-self: start;
  }

  .entry-paths {
    grid-template-columns: 1fr;

    margin-top: 10px;
  }

  .floating-ai {
    bottom: 88px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .topbar {
    height: 66px;

    flex-basis: 66px;

    padding:
      0
      18px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-word {
    font-size: 1.02rem;
  }

  .ask-button {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;

    min-height: auto;

    padding:
      46px
      20px
      54px;
  }

  .market-background {
    background:
      linear-gradient(
        180deg,
        rgba(2, 9, 20, 0.67) 0%,
        rgba(2, 9, 20, 0.78) 45%,
        rgba(2, 9, 20, 0.98) 100%
      ),
      url("/assets/equairo-hero-bg.png");

    background-size: cover;

    background-position:
      72%
      center;
  }

  .hero h1 {
    font-size:
      clamp(
        2.8rem,
        14vw,
        4.3rem
      );
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .market-preview {
    width: 100%;

    margin-top: 10px;
  }

  .entry-paths {
    width:
      calc(100% - 36px);

    margin:
      10px
      auto
      20px;
  }

  .floating-ai {
    right: 12px;

    /* Above the taller mobile footer */
    bottom: 98px;
  }

  .floating-ai div:last-child {
    display: none;
  }

  .site-footer {
    flex-direction: column;

    justify-content: center;

    min-height: 82px;

    padding:
      16px
      22px;

    text-align: center;
  }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;

    transition: none !important;

    scroll-behavior: auto !important;
  }

}