/* ============================================
   AtlasX — desktop.css   (≥ 768px viewport)
   Recreates the 1920px Figma "Home (PC)" frame.
   Unit convention: 1rem = 10 design-pixels.
   ============================================ */

@media (min-width: 768px) {

/* ---- Mobile-only nodes hide on desktop ------------------------- */
.is-mobile-only { display: none !important; }

/* ---- Layout container ------------------------------------------ */
.gnb,
.hero,
.about,
.avatars,
.chat,
.features,
.quote-row,
.trust,
.footer {
  width: 100%;
  max-width: 192rem;
  margin: 0 auto;
}

.gnb,
.hero,
.about,
.avatars,
.chat,
.features,
.quote-row,
.trust {
  padding-left: 9rem;
  padding-right: 9rem;
}

/* ============================================================
   GNB — header
============================================================ */
.gnb {
  height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.gnb__logo { display: block; }

.logo-mark {
  font-family: var(--ff-body);
  font-weight: 200;
  font-size: 6rem;
  letter-spacing: 1.2rem;
  color: #1a1a1a;
  padding-left: 1.2rem; /* compensate visual centering */
  line-height: 1;
}
.logo-mark--white { color: #fff; }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding-top: 8rem;
  padding-bottom: 10rem;
  text-align: center;
}
.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.hero__top {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 10rem;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #1a1a1a;
}
.hero__display {
  margin: 0;
  font-size: 17rem;
  line-height: 1;
  color: #1a1a1a;
}
.hero__sub {
  margin: 1.2rem 0 0;
  font-family: var(--ff-body);
  font-size: 4rem;
  line-height: 1.3;
  color: #1a1a1a;
}
.hero__cta {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

/* ---- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 3.2rem;
  letter-spacing: -0.05em;
  line-height: 1.3;
  border: 0.1rem solid transparent;
  border-radius: 4rem;
  padding: 2rem 4rem;
  height: 8.2rem;
  white-space: nowrap;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .25s ease;
}
.btn--outline {
  background: #fff;
  color: #1a1a1a;
  border-color: #1a1a1a;
}
.btn--outline:hover { background: #1a1a1a; color: #fff; }

.btn--dark {
  background: #1a1a1a;
  color: #fff;
}
.btn--dark:hover { background: #444; }

.btn--pill { /* chat actions */
  height: 8.2rem;
  min-width: 17rem;
  border-radius: 4rem;
  font-size: 3.2rem;
  white-space: nowrap;
}
.btn--pill-outline { background: #fff; color: #1a1a1a; border-color: rgba(102,102,102,.4); }
.btn--pill-outline:hover { background: #f4f4f4; }
.btn--pill-fill { background: #eaeaea; color: #000; border-color: rgba(102,102,102,.4); }
.btn--pill-fill:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.btn--launch { /* CTA section launch app */
  background: #fff;
  color: #121212;
  border-radius: 1.2rem;
  font-size: 3.2rem;
  padding: 2rem 4rem;
  white-space: nowrap;
}
.btn--launch:hover { transform: translateY(-0.4rem); box-shadow: 0 1.2rem 4rem rgba(255,255,255,.18); }

/* ============================================================
   KEY VISUAL — full bleed within content
============================================================ */
.key-visual {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
}
.key-visual__img {
  width: 100%;
  max-width: 174rem;
  height: 110.4rem;
  margin: 0 auto;
  background: url('../assets/images/key-visual.png') center / cover no-repeat;
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  padding-top: 18rem;
  padding-bottom: 0;
  text-align: center;
}
.about__eyebrow {
  font-size: 4rem;
  margin-bottom: 2.5rem;
}
.about__quote {
  position: relative;
  max-width: 174rem;
  margin: 0 auto;
  padding: 7.7rem 0 9rem;
}
.about__quote-open,
.about__quote-close {
  position: absolute;
  width: 8.5rem;
  height: 8.1rem;
  padding: 1rem;
  display: block;
  opacity: 0.2;
}
.about__quote-open { left: 23.2rem; top: 0; }
.about__quote-close { right: 33.5rem; bottom: 0; }
.about__quote-open img, .about__quote-close img { width: 100%; height: 100%; }

.about__text {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 7rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
}
.about__text em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ============================================================
   AVATARS
============================================================ */
.avatars {
  padding-top: 18rem;
  padding-bottom: 0;
  position: relative;
}
.avatars__group {
  position: relative;
  width: 133.6rem;
  height: 63.2rem;
  margin: 0 auto;
}
.avatars__group::before {
  /* outer dashed circle */
  content: "";
  position: absolute;
  inset: 0;
  width: 63.2rem;
  height: 63.2rem;
  border-radius: 50%;
  border: 0.1rem dashed #aaa;
}

.avatar {
  position: absolute;
  width: 60rem;
  height: 60rem;
  border-radius: 50%;
  overflow: hidden;
}
.avatar__halo {
  position: absolute;
  inset: 0;
  background: #ebeae7;
  border-radius: 50%;
}
.avatar--thena { left: 1.6rem; top: 1.6rem; background: #ebeae7; }
.avatar--user  { right: 0; top: 1.6rem; background: #fff; border: 0.1rem solid #000; }

.avatar__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.avatar__img--thena { background-image: url('../assets/images/thena.png'); }
.avatar__img--user  { background-image: url('../assets/images/user.png'); }

.avatars__connector {
  position: absolute;
  left: 66.6rem;
  top: 30.6rem;
  width: 2rem;
  height: 2rem;
}
.avatars__dot {
  display: block;
  width: 2rem;
  height: 2rem;
  background: #000;
  border-radius: 50%;
}

.avatars__labels {
  display: flex;
  justify-content: space-between;
  width: 133.6rem;
  margin: 4.6rem auto 0;
}
.avatars__label { width: 60rem; text-align: center; }
.avatars__name {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 7rem;
  line-height: 1;
  color: #1a1a1a;
  margin: 0;
}
.avatars__role {
  font-family: var(--ff-body);
  font-size: 3.4rem;
  line-height: 1;
  color: #666;
  margin: 1.5rem 0 0;
}

/* ============================================================
   CHAT
============================================================ */
.chat {
  padding-top: 11.8rem;
  padding-bottom: 0;
  width: 104.9rem;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}

.chat__thread {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.chat__msg {
  border-radius: 1.6rem;
  border: 0.1rem solid rgba(102,102,102,.4);
  padding: 2.4rem 3rem;
  font-family: var(--ff-body);
  font-size: 2.4rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #000;
  max-width: 80rem;
}
.chat__msg--user {
  align-self: flex-end;
  background: #fff;
  text-align: right;
}
.chat__msg--ai {
  background: #eaeaea;
  align-self: flex-start;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding-left: 2rem;
}
.chat__msg-avatar {
  flex-shrink: 0;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  background: url('../assets/images/thena.png') center / cover no-repeat #ebeae7;
}
.chat__msg-text { flex: 1; }

.chat__actions {
  margin-top: 4rem;
  display: flex;
  gap: 3rem;
  justify-content: center;
}

/* ============================================================
   FEATURES
============================================================ */
.features {
  padding-top: 20rem;
  padding-bottom: 20rem;
  position: relative;
}
.features__eyebrow { font-size: 4rem; }.features__title {
  margin-top: 2.5rem;
  text-align: center;
}
.features__title-top {
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 10rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #1a1a1a;
  margin: 0;
}
.features__title-display {
  margin: 0;
  font-size: 17rem;
  line-height: 1;
  color: #1a1a1a;
}

.features__grid {
  margin-top: 10rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 42rem 42rem;
  width: 174rem;
}

.feature {
  border: 0.1rem solid rgba(0,0,0,.5);
  padding: 4rem 3rem;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 42rem;
}
.feature:nth-child(1) { grid-column: 1; grid-row: 1; }
.feature:nth-child(2) { grid-column: 2; grid-row: 1; }
.feature:nth-child(3) { grid-column: 3; grid-row: 2; }
.feature:nth-child(4) { grid-column: 4; grid-row: 2; }
.feature--1 { grid-column: 1; grid-row: 1; }
.feature--2 { grid-column: 2; grid-row: 1; }
.feature--3 { grid-column: 3; grid-row: 2; }
.feature--4 { grid-column: 4; grid-row: 2; }

.feature__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 10rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #1a1a1a;
}
.feature__body { display: flex; flex-direction: column; gap: 2rem; margin-top: 4rem; }
.feature__kicker {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #a7a7a7;
  margin: 0;
}
.feature__title {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 4rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #1a1a1a;
  margin: 0.4rem 0 0;
}
.feature__desc {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #1a1a1a;
  margin: 0;
}

/* Compass illustration top-right of grid (grid-area approach) */
.features__deco--compass {
  grid-column: 3 / span 2;
  grid-row: 1;
  background: url('../assets/images/img1.png') center / contain no-repeat;
  pointer-events: none;
  align-self: stretch;
  justify-self: end;
  width: 70rem;
  height: 70rem;
  margin-top: -1rem;
}
/* Hand illustration bottom-left of grid */
.features__deco--hand {
  grid-column: 1 / span 2;
  grid-row: 2;
  background: url('../assets/images/img3.png') center / contain no-repeat;
  pointer-events: none;
  align-self: end;
  justify-self: start;
  width: 71rem;
  height: 61.2rem;
}
.features__grid {
  position: relative;
  z-index: 1;
}
.feature {
  background: #fff;
  position: relative;
  z-index: 1;
}

/* ============================================================
   QUOTE ROW — "A world-class financial team..."
============================================================ */
.quote-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15.4rem;
  padding-top: 0;
  padding-bottom: 0;
  height: 78rem;
}
.quote-row__text {
  font-family: var(--ff-body);
  font-size: 9.6rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #000;
  margin: 0;
  max-width: 111.9rem;
}
.quote-row__mark {
  font-family: var(--ff-display);
  font-style: italic;
  color: rgba(26,26,26,.3);
}
.quote-row__img {
  width: 56.16rem;
  height: 78rem;
  background: url('../assets/images/img2.png') center / cover no-repeat;
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust {
  padding-top: 9rem;
  padding-bottom: 0;
  text-align: center;
}
.trust__eyebrow { font-size: 4rem; margin-bottom: 2.5rem; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 0.1rem solid rgba(0,0,0,.5);
  padding: 10rem 0;
  margin-top: 2.5rem;
}
.trust__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0;
}
.trust__cell:not(:last-child) { border-right: 0.1rem solid rgba(0,0,0,.5); }
.trust__icon {
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust__icon img { height: 100%; width: auto; }
.trust__icon--percent img { height: 8.07rem; }
.trust__icon--zero img { height: 7.97rem; }
.trust__icon--inf img { height: 7.4rem; }
.trust__label {
  font-family: var(--ff-body);
  font-size: 3.4rem;
  line-height: 1;
  color: #121212;
  margin: 0;
}
.trust__footer {
  margin-top: 2.5rem;
  font-family: var(--ff-body);
  font-size: 3.2rem;
  line-height: 1.3;
  color: #000;
}

/* ============================================================
   CTA — "Ready to trade?" dark drop
============================================================ */
.cta {
  position: relative;
  height: 90rem;
  overflow: hidden;
  margin-top: 15rem;
}
.cta__bg {
  position: absolute;
  left: 50%;
  top: -10rem;
  transform: translateX(-50%);
  width: 256rem;
  height: 256rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #121212 0%, #343434 100%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15rem;
  gap: 6rem;
}
.cta__headline {
  font-size: 12rem;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  margin: 0;
}
.cta__sub {
  font-family: var(--ff-body);
  font-size: 3.2rem;
  text-align: center;
  color: #fff;
  margin: -3.6rem 0 0;
}
.cta__arrow {
  display: block;
  color: #fff;
  width: 4.4rem;
  height: 8rem;
}
.cta__arrow svg { width: 100%; height: 100%; }
.btn--launch { margin-top: 0; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: transparent;
  padding: 9rem 9rem 9rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(180deg, #343434 0%, #343434 100%);
  color: #fff;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  max-width: 174rem;
}
.footer__contacts p {
  font-family: var(--ff-body);
  font-size: 1.6rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 0;
}
.footer__contacts p + p { margin-top: 1rem; }
.footer__contacts a { color: #fff; }
.footer__contacts a:hover { text-decoration: underline; }

.footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.4rem;
}
.footer__social a {
  font-family: var(--ff-body);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 0.6rem 1.2rem;
  transition: opacity .25s ease;
}
.footer__social a:hover { opacity: 0.6; }

.footer__logo { margin-top: 5rem; }
.footer__logo .logo-mark { font-size: 9rem; letter-spacing: 1.8rem; }

} /* end @media min-width 768 */
