/* ==========================================================================
   TheGainX — custom styles (Bootstrap 5 overrides + components)
   Palette: gold on black, matching the brand logo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --gx-gold:        #e8b73c;
  --gx-gold-light:  #f7d774;
  --gx-gold-deep:   #b8860b;
  --gx-gradient:    linear-gradient(120deg, #f7d774 0%, #e8b73c 45%, #b8860b 100%);

  --gx-bg:          #000;
  --gx-bg-alt:      #0a0a0a;
  --gx-surface:     #101010;
  --gx-surface-2:   #171717;
  --gx-line:        rgba(255, 255, 255, .08);
  --gx-line-strong: rgba(232, 183, 60, .35);

  --gx-text:        #ededed;
  --gx-muted:       #777;
  --gx-up:          #4ad07f;
  --gx-down:        #ef5f6b;

  --gx-header-h:    86px;
  --gx-radius:      18px;
  --gx-shadow:      0 24px 60px rgba(0, 0, 0, .45);
  --gx-ease:        cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--gx-header-h) + 10px);
}

body {
  background-color: var(--gx-bg);
  color: var(--gx-text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}

a { text-decoration: none; transition: color .25s var(--gx-ease); }
img { max-width: 100%; height: auto; }
::selection { background: var(--gx-gold); color: #101010; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gx-gold-deep); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--gx-gold);
  color: #0a0a0a;
  padding: .6rem 1.2rem;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gx-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Helpers
   -------------------------------------------------------------------------- */
.text-gold { color: var(--gx-gold) !important; }

.text-gradient {
  background: var(--gx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section {
  position: relative;
  padding: 64px 0;
}
.section-alt { background: var(--gx-bg-alt); }

.section-head { margin-bottom: 2.25rem; }
.section-head .section-text { max-width: 660px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gx-gold);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gx-gradient);
  border-radius: 2px;
}
.text-center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gx-gradient);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.section-text {
  color: var(--gx-muted);
  font-size: 1.03rem;
  margin-bottom: 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  border: 1px solid var(--gx-line-strong);
  border-radius: 100px;
  background: rgba(232, 183, 60, .08);
  color: var(--gx-gold-light);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.4rem;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  border-radius: 100px;
  padding: .68rem 1.6rem;
  transition: transform .25s var(--gx-ease), box-shadow .25s var(--gx-ease),
              background .25s var(--gx-ease), color .25s var(--gx-ease);
}
.btn-lg {font-size: 1rem; }

.btn-gold {
  background: var(--gx-gradient);
  border: none;
  color: #111111;

}
.btn-gold:hover,
.btn-gold:focus {
  color: #111111;
  transform: translateY(-2px);

}

.btn-outline-gold {
  border: 1px solid var(--gx-line-strong);
  color: var(--gx-gold);
  background: transparent;
}
.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: rgba(232, 183, 60, .1);
  border-color: var(--gx-gold);
  color: var(--gx-gold-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  transition: background .35s var(--gx-ease), box-shadow .35s var(--gx-ease),
              backdrop-filter .35s var(--gx-ease);
  background: transparent;
  z-index: 1040;
}
.site-header.fixed-top { top: 10px; }
.site-header .navbar { min-height: var(--gx-header-h); }

/* the whole bar is a floating translucent pill.
   The fill lives on ::before, NOT on .container itself — backdrop-filter would
   make .container the containing block for the fixed offcanvas inside it and
   the mobile menu would open trapped inside this pill. */
.site-header .navbar > .container {
  position: relative;
  padding: 4px 20px;
  border-radius: 50px;
}
.site-header .navbar > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: #FFFFFF17;
  border: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color .35s var(--gx-ease), box-shadow .35s var(--gx-ease),
              border-color .35s var(--gx-ease);
}

/* on scroll the pill itself solidifies — the header stays transparent */
.site-header.scrolled .navbar > .container::before {
  background-color: rgba(10, 10, 10, .92);
  border-color: var(--gx-line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
}

.brand-logo {
  height: 46px;
  width: auto;
  transition: height .35s var(--gx-ease);
}
.site-header.scrolled .brand-logo { height: 40px; }

.navbar-nav { gap: .35rem; }
.navbar-nav .nav-link {
  position: relative;
  color: #ffffff;
  font-weight: 500;
  font-size: .9rem;
  padding: .55rem 1.15rem;
  transition: color .25s var(--gx-ease);
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: .22rem;
  height: 2px;
  background: var(--gx-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--gx-ease);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: #fff; }
.navbar-nav .nav-link.active { color: var(--gx-gold-light); }
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: 1.25rem;
}
.btn-nav {
  padding: .5rem 1.35rem;
  font-size: .9rem;
  white-space: nowrap;
}

.navbar-toggler {
  border: 1px solid var(--gx-line);
  border-radius: 10px;
  padding: .5rem .6rem;
  width: 46px;
  height: 42px;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--gx-gold);
  border-radius: 2px;
  transition: transform .3s var(--gx-ease), opacity .3s var(--gx-ease);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--gx-header-h) + 50px) 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/banner-bg.png") center / cover no-repeat;
  z-index: -2;
}
/* motion background — sits over the still image, under the veil */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: .3;
  pointer-events: none;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(232, 183, 60, .16) 0%, transparent 62%), linear-gradient(90deg, rgba(0, 0, 0, 0.51) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, .42) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.61) 0%, rgba(0, 0, 0, 0.5) 40%, #00000085 96%)
}

.hero-title {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.hero-lead {
  color: var(--gx-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--gx-line);
  color: var(--gx-muted);
  font-size: .9rem;
}

.hero-visual { position: relative; }
.hero-img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
  animation: gxFloat 7s ease-in-out infinite;
}

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

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  border-radius: 14px;
  background: rgba(16, 16, 16, .82);
  border: 1px solid var(--gx-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
  font-size: .85rem;
  white-space: nowrap;
  animation: gxFloat 6s ease-in-out infinite;
}
.float-card--1 { top: 12%; left: -2%; animation-delay: .4s; }
.float-card--2 { top: 46%; right: -3%; animation-delay: 1.1s; }
.float-card--3 { bottom: 8%; left: 6%; animation-delay: 1.8s; }
.fc-pair { color: var(--gx-muted); font-weight: 500; }
.fc-val { font-weight: 700; font-family: "Sora", sans-serif; }
.fc-val.up { color: var(--gx-up); }
.fc-val.down { color: var(--gx-down); }

/* --------------------------------------------------------------------------
   7. About
   -------------------------------------------------------------------------- */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 14% 6%;
  background: radial-gradient(closest-side, rgba(232, 183, 60, .22), transparent 72%);
  filter: blur(52px);
  z-index: -1;
}
.about-img {
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, .55));
  animation: gxFloat 7s ease-in-out infinite;
}

.mini-point {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.mini-point i {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(232, 183, 60, .1);
  border: 1px solid var(--gx-line-strong);
  color: var(--gx-gold);
  font-size: 1.05rem;
}
.mini-point h6 { font-size: .95rem; margin-bottom: .15rem; }
.mini-point p { margin: 0; font-size: .84rem; color: var(--gx-muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   8. Cards — markets / utility
   -------------------------------------------------------------------------- */
.feature-card {
  position: relative;
  height: 100%;
  padding: 2rem 1.75rem;
  border-radius: var(--gx-radius);
  background: var(--gx-surface);
  border: 1px solid var(--gx-line);
  overflow: hidden;
  transition: transform .35s var(--gx-ease), border-color .35s var(--gx-ease),
              box-shadow .35s var(--gx-ease);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gx-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--gx-ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gx-line-strong);
  box-shadow: var(--gx-shadow);
}
.feature-card:hover::before { transform: scaleX(1); }

.fc-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(232, 183, 60, .1);
  border: 1px solid var(--gx-line-strong);
  color: var(--gx-gold);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.feature-card > p { color: var(--gx-muted); font-size: .92rem; margin-bottom: 1.1rem; }

.fc-list { list-style: none; padding: 0; margin: 0; }
.fc-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .86rem;
  color: #bbbbbb;
  margin-bottom: .4rem;
}
.fc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gx-gold);
}

.use-card {
  height: 100%;
  text-align: center;
  padding: 1.6rem .9rem;
  border-radius: 16px;
  background: var(--gx-surface);
  border: 1px solid var(--gx-line);
  transition: transform .3s var(--gx-ease), border-color .3s var(--gx-ease),
              background .3s var(--gx-ease);
}
.use-card:hover {
  transform: translateY(-5px);
  border-color: var(--gx-line-strong);
  background: var(--gx-surface-2);
}
.use-card i {
  font-size: 1.6rem;
  color: var(--gx-gold);
  display: block;
  margin-bottom: .7rem;
}
.use-card h6 { font-size: .95rem; margin-bottom: .25rem; }
.use-card p { margin: 0; font-size: .78rem; color: var(--gx-muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   9. Plans
   -------------------------------------------------------------------------- */
.price-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.9rem;
  border-radius: 22px;
  background: var(--gx-surface);
  border: 1px solid var(--gx-line);
  transition: transform .35s var(--gx-ease), border-color .35s var(--gx-ease),
              box-shadow .35s var(--gx-ease);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--gx-line-strong);
  box-shadow: var(--gx-shadow);
}
.price-card--featured {
  background: linear-gradient(180deg, rgba(232, 183, 60, .09), rgba(16, 16, 16, .96) 46%);
  border-color: var(--gx-line-strong);
  box-shadow: 0 24px 60px rgba(232, 183, 60, .12);
}
.pc-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gx-gradient);
  color: #111111;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pc-name { font-size: 1.22rem; margin-bottom: .2rem; }
.pc-sub { color: var(--gx-muted); font-size: .86rem; margin-bottom: 1.3rem; }
.pc-price {
  font-family: "Sora", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gx-gold);
  margin-bottom: 1.5rem;
}
.pc-price span {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gx-muted);
  margin-top: .45rem;
  letter-spacing: .02em;
}
.pc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  flex-grow: 1;
}
.pc-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .89rem;
  color: #c4c4c4;
  padding: .45rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .06);
}
.pc-list li:last-child { border-bottom: none; }
.pc-list i { color: var(--gx-gold); font-size: 1rem; line-height: 1.55; }

.plans-note {
  margin: 2.4rem auto 0;
  max-width: 780px;
  text-align: center;
  font-size: .83rem;
  color: #7a7a7a;
}
.plans-note i { color: var(--gx-gold); margin-right: .35rem; }

/* --------------------------------------------------------------------------
   10. Roadmap
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: phase;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    transparent 0%,
    var(--gx-line-strong) 6%,
    var(--gx-line-strong) 94%,
    transparent 100%);
}

.tl-item {
  position: relative;
  width: 50%;
  padding: 0 3.6rem 2.6rem 0;
}
.tl-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 2.6rem 3.6rem;
}
.tl-item:last-child { padding-bottom: 0; }

/* number / status marker sitting on the spine */
.tl-marker {
  position: absolute;
  top: 4px;
  right: -26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gx-surface);
  border: 1px solid var(--gx-line);
  color: var(--gx-muted);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: all .35s var(--gx-ease);
}
.tl-item:nth-child(even) .tl-marker { right: auto; left: -26px; }

.tl-item.is-done .tl-marker {
  background: rgba(74, 208, 127, .12);
  border-color: rgba(74, 208, 127, .5);
  color: var(--gx-up);
  font-size: 1.4rem;
}
.tl-item.is-active .tl-marker {
  background: var(--gx-gradient);
  border-color: transparent;
  color: #111111;
  box-shadow: 0 0 0 6px rgba(232, 183, 60, .12), 0 10px 26px rgba(232, 183, 60, .3);
}
.tl-item.is-active .tl-marker::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gx-gold);
  animation: gxPulse 2.4s ease-out infinite;
}

@keyframes gxPulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* card */
.tl-card {
  position: relative;
  padding: 1.7rem 1.7rem 1.5rem;
  border-radius: 18px;
  background: var(--gx-surface);
  border: 1px solid var(--gx-line);
  transition: transform .35s var(--gx-ease), border-color .35s var(--gx-ease),
              box-shadow .35s var(--gx-ease);
}
.tl-card::before {
  content: "";
  position: absolute;
  top: 24px;
  width: 12px;
  height: 12px;
  background: inherit;
  border: 1px solid var(--gx-line);
  transform: rotate(45deg);
}
.tl-item .tl-card::before {
  right: -7px;
  border-left: none;
  border-bottom: none;
}
.tl-item:nth-child(even) .tl-card::before {
  right: auto;
  left: -7px;
  border: 1px solid var(--gx-line);
  border-right: none;
  border-top: none;
}
.tl-card:hover {
  transform: translateY(-4px);
  border-color: var(--gx-line-strong);
  box-shadow: var(--gx-shadow);
}
.tl-item.is-active .tl-card { border-color: var(--gx-line-strong); }

.tl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .6rem;
}
.tl-phase {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gx-gold);
}
.tl-status {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  border-radius: 100px;
  border: 1px solid var(--gx-line);
  color: var(--gx-muted);
  white-space: nowrap;
}
.tl-item.is-done .tl-status {
  color: var(--gx-up);
  border-color: rgba(74, 208, 127, .4);
  background: rgba(74, 208, 127, .1);
}
.tl-item.is-active .tl-status {
  color: var(--gx-gold);
  border-color: var(--gx-line-strong);
  background: rgba(232, 183, 60, .1);
}

.tl-card h4 { font-size: 1.25rem; margin-bottom: .85rem; }
.tl-card ul { list-style: none; padding: 0; margin: 0; }
.tl-card ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: .88rem;
  color: var(--gx-muted);
  margin-bottom: .4rem;
}
.tl-card ul li:last-child { margin-bottom: 0; }
.tl-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gx-gold-deep);
}
/* --------------------------------------------------------------------------
   11. Trust principles
   -------------------------------------------------------------------------- */
.principle {
  height: 100%;
  padding: 1.6rem 1.4rem;
  border-radius: 18px;
  background: var(--gx-surface);
  border: 1px solid var(--gx-line);
  transition: transform .3s var(--gx-ease), border-color .3s var(--gx-ease);
}
.principle:hover { transform: translateY(-4px); border-color: var(--gx-line-strong); }
.principle i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(232, 183, 60, .1);
  border: 1px solid var(--gx-line-strong);
  color: var(--gx-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.principle h5 { font-size: 1.05rem; margin-bottom: .35rem; }
.principle p { margin: 0; font-size: .86rem; color: var(--gx-muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   12. Accordion
   -------------------------------------------------------------------------- */
/* left rail */
.faq-aside { position: sticky; top: calc(var(--gx-header-h) + 24px); }
.faq-aside .section-text { margin-bottom: 1.5rem; }

.faq-help {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--gx-surface);
  border: 1px solid var(--gx-line);
  transition: border-color .3s var(--gx-ease), transform .3s var(--gx-ease);
}
.faq-help:hover { border-color: var(--gx-line-strong); transform: translateY(-3px); }
.fh-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 183, 60, .1);
  border: 1px solid var(--gx-line-strong);
  color: var(--gx-gold);
  font-size: 1.15rem;
}
.faq-help span b {
  display: block;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: .95rem;
  font-weight: 600;
}
.faq-help span { color: var(--gx-muted); font-size: .85rem; line-height: 1.45; }
.fh-arrow { margin-left: auto; color: var(--gx-gold); transition: transform .3s var(--gx-ease); }
.faq-help:hover .fh-arrow { transform: translateX(4px); }

/* accordion — flat rows with a numbered index and a +/- toggle */
.faq-accordion .accordion-item {
  background: transparent;
  border: none;
  border-top: 1px solid var(--gx-line);
  border-radius: 0 !important;
  margin: 0;
}
.faq-accordion .accordion-item:last-child { border-bottom: 1px solid var(--gx-line); }

.faq-accordion .accordion-button {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  background: transparent;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  padding: 1.3rem .5rem 1.3rem 0;
  box-shadow: none !important;
  transition: color .25s var(--gx-ease);
}
.faq-accordion .accordion-button:hover { color: var(--gx-gold-light); }
.faq-accordion .accordion-button:not(.collapsed) { background: transparent; color: var(--gx-gold-light); }

.faq-num {
  flex: 0 0 auto;
  font-family: "Sora", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gx-gold);
  letter-spacing: .06em;
  padding-top: .2rem;
  opacity: .75;
}
.accordion-button:not(.collapsed) .faq-num { opacity: 1; }

/* plus / minus toggle */
.faq-accordion .accordion-button::after {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: auto;
  background-image: none;
  border-radius: 50%;
  border: 1px solid var(--gx-line);
  position: relative;
  transition: transform .35s var(--gx-ease), border-color .35s var(--gx-ease),
              background .35s var(--gx-ease);
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  border-color: transparent;
  background: var(--gx-gradient);
}
/* the two bars that form + / − */
.faq-accordion .accordion-button .fq-x,
.faq-accordion .accordion-button .fq-y {
  position: absolute;
  z-index: 2;
  right: 17px;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--gx-gold);
  transform: translateY(-50%);
  transition: transform .35s var(--gx-ease), background .35s var(--gx-ease);
  pointer-events: none;
}
.faq-accordion .accordion-button .fq-y { transform: translateY(-50%) rotate(90deg); }
.faq-accordion .accordion-button:not(.collapsed) .fq-x,
.faq-accordion .accordion-button:not(.collapsed) .fq-y { background: #111111; }
.faq-accordion .accordion-button:not(.collapsed) .fq-y { transform: translateY(-50%) rotate(0deg); }

.faq-accordion .accordion-body {
  color: var(--gx-muted);
  font-size: .93rem;
  padding: 0 3rem 1.4rem 2.6rem;
}

/* --------------------------------------------------------------------------
   13. Socials
   -------------------------------------------------------------------------- */
.socials { display: flex; gap: .6rem; margin-top: 1.6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gx-line);
  background: var(--gx-surface);
  color: #c9c9c9;
  font-size: 1rem;
  transition: all .3s var(--gx-ease);
}
.socials a:hover {
  background: var(--gx-gradient);
  border-color: transparent;
  color: #111111;
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--gx-bg-alt);
  border-top: 1px solid var(--gx-line);
  padding: 48px 0 24px;
}

/* call-to-action band */
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.9rem 2.2rem;
  border-radius: 22px;
  border: 1px solid var(--gx-line-strong);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(232, 183, 60, .13), transparent 58%),
    var(--gx-surface);
  margin-bottom: 2.6rem;
}
.footer-cta h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: .3rem; }
.footer-cta p { margin: 0; color: var(--gx-muted); font-size: .92rem; }
.fc-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* brand + contact row */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.fm-brand { flex: 1 1 340px; max-width: 460px; }
.footer-logo { height: 42px; margin-bottom: 1rem; }
.footer-text { color: var(--gx-muted); font-size: .9rem; margin: 0; }

.fm-side {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.fm-contact {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1.1rem .75rem .75rem;
  border-radius: 14px;
  border: 1px solid var(--gx-line);
  background: var(--gx-surface);
  color: var(--gx-muted);
  font-size: .85rem;
  transition: border-color .3s var(--gx-ease), transform .3s var(--gx-ease);
}
.fm-contact:hover { border-color: var(--gx-line-strong); transform: translateY(-2px); }
.fm-contact b {
  display: block;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .1rem;
}
.fmc-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(232, 183, 60, .1);
  border: 1px solid var(--gx-line-strong);
  color: var(--gx-gold);
  font-size: 1.05rem;
}
.fm-side .socials { margin: 0; }

/* disclaimer */
.risk-note {
  display: flex;
  gap: .85rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--gx-line);

  background: rgba(255, 255, 255, .02);
}
.risk-note i { color: var(--gx-gold-deep); font-size: 1rem; line-height: 1.5; }
.risk-note p {
  margin: 0;
  font-size: .78rem;
  color: #767676;
  line-height: 1.65;
}
.risk-note strong { color: #a8a8a8; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--gx-line);
  font-size: .82rem;
  color: #767676;
}
.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .85rem;
  border-radius: 100px;
  border: 1px solid var(--gx-line);
  font-size: .76rem;
}
.fb-badge i { color: var(--gx-gold); }

/* --------------------------------------------------------------------------
   15. Reveal on scroll
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--gx-ease), transform .7s var(--gx-ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
/* below xl the nav becomes a panel that slides in from the right */
@media (max-width: 1199.98px) {
  .site-header .offcanvas {
    width: min(340px, 86vw);
    background: rgba(8, 8, 8, .98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--gx-line);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .6);
  }
  .site-header .offcanvas-header {
    align-items: center;
    padding: 1.1rem 1.3rem;
    border-bottom: 1px solid var(--gx-line);
  }
  .site-header .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 1.3rem;
  }

  .navbar-nav { gap: 0; width: 100%; }
  .navbar-nav .nav-item { border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .navbar-nav .nav-link { padding: .85rem .2rem; }
  .navbar-nav .nav-link::after { left: .2rem; right: auto; width: 26px; bottom: .5rem; }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: .6rem;
    margin: auto 0 0;
    padding-top: 1.4rem;
  }
  .nav-cta .btn-nav { text-align: center; padding: .75rem 1rem; }
}

.btn-close-gx {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-left: auto;   /* Bootstrap only auto-margins its own .btn-close */
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--gx-line);
  background: transparent;
  color: var(--gx-gold);
  font-size: 1rem;
  transition: all .3s var(--gx-ease);
}
.btn-close-gx:hover {
  border-color: var(--gx-line-strong);
  background: rgba(232, 183, 60, .1);
}

/* Bootstrap flattens the offcanvas into an inline nav from xl up */
@media (min-width: 1200px) {
  .site-header .offcanvas-header { display: none; }
  .site-header .offcanvas-body { padding: 0; }
}

@media (max-width: 991.98px) {
  :root { --gx-header-h: 76px; }

  /* timeline collapses to one left-aligned rail */
  .timeline::before { left: 26px; }
  .tl-item,
  .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 2.2rem 4.6rem;
  }
  .tl-marker,
  .tl-item:nth-child(even) .tl-marker { left: 0; right: auto; }
  .tl-item .tl-card::before,
  .tl-item:nth-child(even) .tl-card::before {
    right: auto;
    left: -7px;
    border: 1px solid var(--gx-line);
    border-right: none;
    border-top: none;
  }
  .hero-video { display: none; } /* save mobile data — the still image carries it */
  .section { padding: 50px 0; }
  .hero { padding: calc(var(--gx-header-h) + 30px) 0 40px; }
  .hero-lead { max-width: 100%; }
  .hero-visual { margin-top: 1.5rem; }
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }

  /* once the columns stack, a full-width image eats the whole screen — cap it */
  .hero-visual,
  .about-visual {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-img { max-width: 100%; }
}

@media (max-width: 575.98px) {
  /* keep the pill floating instead of touching the screen edges */
  .site-header .navbar { padding-left: 12px; padding-right: 12px; }
  .site-header .navbar > .container { padding: 4px 8px 4px 14px; }

  .brand-logo { height: 38px; }
  .site-header.scrolled .brand-logo { height: 34px; }
  .section { padding: 42px 0; }
  .section-head { margin-bottom: 1.75rem; }
  .hero { padding: calc(var(--gx-header-h) + 40px) 0 32px; }
  .hero-title { font-size: 2rem; }
  .hero-lead { font-size: 1rem; }
  .btn-lg { padding: .8rem 1rem; font-size: .85rem; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .float-card { font-size: .76rem; padding: .55rem .8rem; }
  .float-card--3 { display: none; }
}

/* --------------------------------------------------------------------------
   17. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-video { display: none; }
}

/* --------------------------------------------------------------------------
   18. Section-specific responsive tweaks
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .faq-aside { position: static; }
  .faq-accordion .accordion-body { padding: 0 3rem 1.3rem 2.4rem; }

  .footer-cta { padding: 1.6rem 1.5rem; }
  .footer-main { gap: 1.8rem; }
  .fm-brand { max-width: 100%; }
}

@media (max-width: 575.98px) {
  .footer-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .fc-actions { width: 100%; }
  .fc-actions .btn { flex: 1 1 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .faq-accordion .accordion-button { font-size: .95rem; padding-right: 2.6rem; }
  .faq-accordion .accordion-body { padding: 0 1rem 1.2rem 2.4rem; }
}

/* --------------------------------------------------------------------------
   19. Page loader
   -------------------------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--gx-bg);
  transition: opacity .5s var(--gx-ease), visibility .5s var(--gx-ease);
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pl-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.pl-mark {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(232, 183, 60, .3));
  animation: plBreathe 1.8s ease-in-out infinite;
}
.pl-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  margin: -85px 0 0 -85px;
  border-radius: 50%;
  border: 1px solid rgba(232, 183, 60, .16);
  border-top-color: var(--gx-gold);
  animation: plSpin 1.4s linear infinite;
}
.pl-bar {
  position: relative;
  display: block;
  width: 110px;
  height: 3px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.pl-bar-fill {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: var(--gx-gradient);
  transform: translateX(-100%);
  animation: plSlide 1.3s var(--gx-ease) infinite;
}

@keyframes plSpin {
  to { transform: rotate(360deg); }
}
@keyframes plBreathe {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .65; transform: scale(.96); }
}
@keyframes plSlide {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@media (max-width: 575.98px) {
  .pl-mark { width: 56px; height: 56px; }
  .pl-ring { width: 145px; height: 145px; margin: -72px 0 0 -72px; }
  .pl-bar { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-ring, .pl-mark, .pl-bar-fill { animation: none !important; }
  .pl-bar-fill { transform: none; }
}
