:root {
  --bg: #050816;
  --surface: rgba(10, 16, 38, 0.76);
  --surface-strong: rgba(14, 22, 52, 0.92);
  --line: rgba(154, 176, 255, 0.18);
  --text: #f8fbff;
  --muted: #9aa8c7;
  --blue: #3772ff;
  --violet: #8b5cf6;
  --cyan: #20d6c7;
  --green: #22c55e;
  --red: #f87171;
  --amber: #fbbf24;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --pointer-x: 50%;
  --pointer-y: 20%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(140deg, #040611 0%, #071124 42%, #120a28 100%);
  overflow-x: hidden;
}

body.has-open-popup {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(68% 52% at var(--pointer-x) var(--pointer-y), rgba(32, 214, 199, 0.16), transparent 62%),
    linear-gradient(125deg, rgba(55, 114, 255, 0.26), transparent 31%, rgba(139, 92, 246, 0.24) 66%, transparent 100%);
  transition: background-position 200ms ease;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-light {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0 18%, rgba(59, 130, 246, 0.12) 28%, transparent 44%),
    linear-gradient(260deg, transparent 0 42%, rgba(168, 85, 247, 0.12) 58%, transparent 74%);
  animation: lightShift 14s ease-in-out infinite alternate;
}

.language-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 42;
}

.language-switcher select {
  min-height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  outline: 0;
  background: rgba(8, 14, 34, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
}

.language-switcher select:focus {
  border-color: rgba(32, 214, 199, 0.68);
  box-shadow: 0 0 0 4px rgba(32, 214, 199, 0.12);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 42px;
  align-items: center;
  min-height: min(860px, calc(100vh - 36px));
  padding: 42px 0 36px;
}

.hero__copy,
.hero__media {
  min-width: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 12px 36px rgba(55, 114, 255, 0.28);
  font-size: 0.78rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #b8c7ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.14);
  animation: pulse 1.9s ease-in-out infinite;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero__text,
.section-heading p,
.feature-card p,
.testimonial-card p,
.cta-panel > p,
.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.7;
}

.hero__text {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 42px rgba(55, 114, 255, 0.28);
}

.button--ghost {
  color: #dfe7ff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.button--ghost:hover {
  border-color: rgba(32, 214, 199, 0.58);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.trust-strip > span,
.trust-strip > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #cfdaef;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.84rem;
}

.trust-strip i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.glow-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(73, 128, 255, 0.18), transparent 44%),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.glow-card:hover {
  border-color: rgba(32, 214, 199, 0.54);
  transform: translateY(-5px);
}

.stat-card {
  display: block;
  min-height: 98px;
  padding: 18px 16px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1.38rem, 2.6vw, 2rem);
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.terminal-frame {
  position: relative;
  padding: 10px;
  overflow: visible;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.12), transparent 32%),
    rgba(6, 10, 26, 0.82);
}

.terminal-frame img {
  width: 100%;
  border-radius: 6px;
  filter: saturate(1.08) contrast(1.03);
}

.terminal-frame__image-link {
  display: block;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 142px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 14, 34, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.74rem;
}

.floating-card strong {
  color: #ffffff;
  font-size: 1.26rem;
}

.floating-card--top {
  top: 8%;
  right: -18px;
}

.floating-card--bottom {
  left: -20px;
  bottom: 10%;
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading--left {
  max-width: none;
  margin: 0;
  text-align: left;
}

.market-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.market-card {
  display: block;
  min-height: 244px;
  padding: 18px;
  overflow: hidden;
}

.market-card__top,
.market-card__body,
.market-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pair {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  color: #b9fbe7;
  background: rgba(34, 197, 94, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
}

.market-card__body {
  margin: 24px 0 18px;
}

.market-card__body strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.market-change {
  font-size: 0.9rem;
  font-weight: 900;
}

.positive {
  color: var(--green);
}

.negative {
  color: var(--red);
}

.sparkline {
  width: 100%;
  height: 58px;
  margin-bottom: 18px;
}

.sparkline polyline {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(32, 214, 199, 0.54));
}

.market-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.market-meta b {
  color: #ffffff;
}

.promo-carousel-section {
  padding-top: 44px;
}

.carousel-shell {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 62px 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(55, 114, 255, 0.18), rgba(139, 92, 246, 0.12)),
    rgba(8, 14, 34, 0.82);
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  transition: transform 420ms ease;
  will-change: transform;
}

.carousel-slide {
  display: flex;
  flex: 0 0 calc((100% - 54px) / 4);
  flex-direction: column;
  min-width: 0;
  min-height: 372px;
  padding: 10px;
  border: 1px solid rgba(154, 176, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(20, 31, 70, 0.72), rgba(4, 8, 22, 0.82)),
    rgba(3, 7, 18, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.carousel-slide:hover {
  border-color: rgba(32, 214, 199, 0.42);
  background:
    linear-gradient(180deg, rgba(38, 54, 115, 0.78), rgba(5, 10, 26, 0.88)),
    rgba(3, 7, 18, 0.8);
  transform: translateY(-4px);
}

.carousel-slide__image {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #030712;
}

.carousel-slide__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.carousel-slide:hover .carousel-slide__image img {
  transform: scale(1.04);
}

.carousel-slide__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 16px 4px 2px;
}

.carousel-slide__copy strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1rem, 1vw, 1.18rem);
  line-height: 1.22;
}

.carousel-slide__copy span {
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.carousel-button {
  position: absolute;
  top: calc(50% - 12px);
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 20%, rgba(55, 114, 255, 0.44), transparent 52%),
    rgba(6, 10, 26, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.carousel-button:hover {
  border-color: rgba(32, 214, 199, 0.64);
  background: rgba(14, 22, 52, 0.92);
  transform: translateY(-50%) scale(1.04);
}

.carousel-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.carousel-button--prev {
  left: 14px;
}

.carousel-button--next {
  right: 24px;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  display: block;
  min-height: 284px;
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(55, 114, 255, 0.22), rgba(32, 214, 199, 0.12));
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #d7e4ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.copy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: center;
}

.segmented-control {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.segmented-control button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.segmented-control button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(55, 114, 255, 0.78), rgba(139, 92, 246, 0.78));
}

.trader-stack {
  display: grid;
  gap: 14px;
}

.trader-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  opacity: 0.76;
}

.trader-card.is-featured {
  opacity: 1;
  border-color: rgba(32, 214, 199, 0.58);
  transform: translateX(-10px);
}

.trader-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.trader-card h3 {
  margin-bottom: 4px;
}

.trader-card p,
.trader-card dl,
.trader-card dd {
  margin: 0;
}

.trader-card p {
  color: var(--muted);
}

.trader-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trader-card dl div {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.trader-card dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
}

.trader-card dd {
  color: #ffffff;
  font-weight: 900;
}

.security-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
}

.security-grid {
  display: grid;
  gap: 14px;
}

.security-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

a.security-item {
  color: inherit;
}

.security-item span {
  color: #d9e3f7;
}

.security-item strong {
  color: #ffffff;
}

.security-item i {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.security-item i::after {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  content: "";
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.testimonial-card {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.testimonial-card p {
  margin-bottom: 28px;
  color: #dbe6fb;
  font-size: 1rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: #ffffff;
  margin-bottom: 4px;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.final-cta {
  padding-bottom: 42px;
}

.cta-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(55, 114, 255, 0.22), rgba(139, 92, 246, 0.16)),
    var(--surface-strong);
}

.cta-panel h2 {
  margin-bottom: 14px;
}

.cta-panel > p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 620px;
  margin: 26px auto 0;
}

.signup-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
}

.signup-form input:focus {
  border-color: rgba(32, 214, 199, 0.7);
  box-shadow: 0 0 0 4px rgba(32, 214, 199, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: #b9fbe7;
  font-weight: 800;
}

.popup-overlay[hidden] {
  display: none;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(14px);
}

.promo-popup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1fr);
  gap: 22px;
  width: min(860px, 100%);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(55, 114, 255, 0.19), rgba(139, 92, 246, 0.16)),
    rgba(8, 14, 34, 0.96);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.popup-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.popup-image-link {
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.popup-image-link img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.popup-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px 14px 24px 0;
}

.popup-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.popup-copy p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.floating-widget {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: 178px;
  transform: translateY(-50%);
}

.floating-widget[hidden] {
  display: none;
}

.floating-widget__title {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(8, 14, 34, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.floating-widget__item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(154, 176, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(8, 14, 34, 0.88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease;
}

.floating-widget__item:hover {
  border-color: rgba(32, 214, 199, 0.62);
  transform: translateX(-4px);
}

.floating-widget__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 0.72rem;
  font-weight: 900;
}

.floating-widget__label,
.floating-widget__text {
  display: block;
  min-width: 0;
}

.floating-widget__label {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-widget__text {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-widget__preview {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  width: 162px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 14, 34, 0.96);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-widget__preview img {
  width: 100%;
  border-radius: 6px;
}

.floating-widget__item:hover .floating-widget__preview {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 1320px) and (min-width: 721px) {
  .floating-widget {
    right: 12px;
    width: 78px;
  }

  .floating-widget__title,
  .floating-widget__text,
  .floating-widget__preview {
    display: none;
  }

  .floating-widget__item {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 58px;
    padding: 8px 6px;
  }

  .floating-widget__item:hover {
    transform: translateX(-2px);
  }

  .floating-widget__icon {
    width: 36px;
    height: 32px;
  }

  .floating-widget__label {
    width: 100%;
    font-size: 0.68rem;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
  }
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 34px;
  text-align: center;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0;
  font-size: 0.82rem;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.price-flash {
  animation: priceFlash 520ms ease;
}

@keyframes lightShift {
  from {
    transform: translate3d(-2%, -1%, 0);
  }
  to {
    transform: translate3d(2%, 1%, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.14);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 11px rgba(34, 197, 94, 0.04);
  }
}

@keyframes priceFlash {
  from {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(32, 214, 199, 0.82);
  }
  to {
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .hero,
  .copy-layout,
  .security-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero__media {
    max-width: 760px;
  }

  .market-board,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-shell {
    padding-right: 54px;
    padding-left: 54px;
  }

  .carousel-slide {
    flex-basis: calc((100% - 18px) / 2);
    min-height: 360px;
  }

  .trader-card.is-featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 28px;
    padding-top: 72px;
  }

  .language-switcher {
    top: 12px;
    right: 12px;
  }

  .language-switcher select {
    max-width: 150px;
    min-height: 38px;
    font-size: 0.78rem;
  }

  .brand-lockup {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions,
  .trust-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .trust-strip span {
    width: 100%;
  }

  .stats-grid,
  .market-board,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 86px;
  }

  .floating-card {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .market-card {
    min-height: 220px;
  }

  .promo-carousel-section {
    padding-top: 30px;
  }

  .carousel-shell {
    padding: 12px 46px 16px;
  }

  .carousel-slide {
    flex-basis: 100%;
    min-height: 352px;
  }

  .carousel-slide__image {
    aspect-ratio: 4 / 3.1;
  }

  .carousel-slide__copy {
    padding: 16px 2px 2px;
    text-align: center;
  }

  .carousel-slide__copy strong {
    font-size: 1.08rem;
  }

  .carousel-button {
    top: 50%;
    width: 36px;
    height: 36px;
  }

  .carousel-button--prev {
    left: 8px;
  }

  .carousel-button--next {
    right: 8px;
  }

  .security-panel,
  .cta-panel {
    padding: 24px;
  }

  .security-grid,
  .security-panel {
    min-width: 0;
  }

  .segmented-control {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .trader-card dl {
    grid-template-columns: 1fr;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .promo-popup {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 36px);
    overflow: auto;
  }

  .popup-copy {
    padding: 0 4px 8px;
  }

  .popup-actions {
    flex-direction: column;
  }

  .floating-widget {
    right: 12px;
    top: auto;
    bottom: 12px;
    width: min(360px, calc(100% - 24px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: none;
  }

  .floating-widget__title {
    display: none;
  }

  .floating-widget__item {
    grid-template-columns: 1fr;
    min-height: 66px;
    justify-items: center;
    gap: 4px;
    padding: 8px 6px;
  }

  .floating-widget__item:hover {
    transform: translateY(-2px);
  }

  .floating-widget__icon {
    width: 34px;
    height: 28px;
    font-size: 0.62rem;
  }

  .floating-widget__text,
  .floating-widget__preview {
    display: none;
  }

  .floating-widget__label {
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
  }

}

/* Campaign-style hero override */
.hero-promo {
  position: relative;
  display: grid;
  width: 100vw;
  height: min(860px, 56.25vw);
  min-height: 640px;
  margin-left: calc(50% - 50vw);
  padding: 0 24px 42px;
  place-items: end center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.hero-promo__media,
.hero-promo__shade {
  position: absolute;
  inset: 0;
}

.hero-promo__media {
  z-index: -3;
}

.hero-promo__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 42%, rgba(0, 0, 0, 0.68) 100%),
    radial-gradient(72% 42% at 50% 86%, rgba(0, 0, 0, 0.46), transparent 72%);
}

.hero-promo__picture,
.hero-promo__image {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-promo__image {
  object-fit: cover;
  object-position: center;
}

.hero-promo__content {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 1;
  width: min(1780px, calc(100vw - 48px));
  text-align: center;
  transform: translateX(-50%);
}

.hero-promo__brand {
  display: none;
}

.hero-promo h1 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 3.95vw, 5.2rem);
  font-weight: 500;
  line-height: 0.98;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.48);
  white-space: nowrap;
}

.hero-title-mobile,
.hero-mobile-subtitle {
  display: none;
}

.hero-bonus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.hero-bonus strong {
  color: #a4ff3f;
}

.hero-bonus svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #a4ff3f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (max-width: 720px) {
  .hero-promo {
    height: min(720px, 100svh);
    min-height: 560px;
    padding: 0 28px 40px;
  }

  .hero-promo__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 46%, rgba(0, 0, 0, 0.96) 78%, #000 100%),
      radial-gradient(120% 42% at 50% 78%, rgba(0, 0, 0, 0.62), transparent 70%);
  }

  .hero-promo__content {
    width: 100%;
    bottom: 40px;
    padding: 0 28px;
  }

  .hero-promo h1 {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.25rem, 9.8vw, 3.2rem);
    font-weight: 950;
    line-height: 1.03;
    letter-spacing: 0;
    white-space: normal;
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: grid;
    gap: 0;
  }

  .hero-title-mobile strong {
    color: #a4ff3f;
    font: inherit;
  }

  .hero-bonus {
    display: none;
  }

  .hero-mobile-subtitle {
    display: block;
    margin: 18px 0 0;
    color: #c9d4e7;
    font-size: clamp(0.96rem, 4.3vw, 1.1rem);
    font-weight: 800;
    line-height: 1.5;
  }
}
