:root {
  --bg-page: #f7faf8;
  --bg-white: #ffffff;
  --bg-card: #f4f7f5;
  --bg-card-hover: #eaf2ee;
  --bg-dark: #0b1f17;
  --bg-footer: #081710;
  --bg-trust: #e7f4ed;
  --text-primary: #0f221a;
  --text-muted: #4c5e56;
  --text-light: #999999;
  --red-primary: #1dbf73;
  --red-hover: #16a564;
  --blue-primary: var(--red-primary);
  --blue-dark: var(--red-hover);
  --green-accent: #1dbf73;
  --green-light: #e5f8ef;
  --border-light: #d8e7de;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --max-width: 1280px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.04);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
  gap: 8px;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--red-primary);
  color: #fff;
  border: 2px solid var(--red-primary);
}
.btn-primary:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}
.btn-secondary:hover {
  background-color: var(--text-primary);
  color: #fff;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 20px;
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
}

.btn-login {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-login:hover {
  background: var(--bg-card);
  border-color: var(--text-primary);
}

/* ===== 1. RISK DISCLAIMER BAR ===== */
.risk-bar {
  background-color: #1a1a1a;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 100;
}
.risk-bar p {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== 2. UTILITY BAR ===== */
.utility-bar {
  background-color: var(--bg-dark);
  padding: 6px 0;
  border-bottom: 1px solid #222;
  position: relative;
  z-index: 100;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility-bar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.utility-bar__label {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid var(--red-primary);
}
.utility-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.utility-bar__link {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.utility-bar__link:hover {
  color: #fff;
}
.utility-bar__login {
  font-size: 12px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.utility-bar__login:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== 3. MAIN HEADER ===== */
.main-header {
  background-color: var(--bg-white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid #d6e8de;
}
.main-header .container {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  height: 64px;
}
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo__img {
  height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-nav__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 20px 0;
  position: relative;
  transition: color 0.2s;
}
.header-nav__link:hover {
  color: var(--red-primary);
}
.header-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--red-primary);
  transition: width 0.2s ease;
}
.header-nav__link:hover::after {
  width: 100%;
}
.header-nav__link--active {
  color: var(--red-primary);
}
.header-nav__link--active::after {
  width: 100%;
}

.header-nav__dropdown {
  position: relative;
}
.header-nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-primary);
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.header-nav__dropdown-toggle:hover,
.header-nav__dropdown-toggle:focus-visible {
  color: var(--red-primary);
  outline: none;
}
.header-nav__dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--red-primary);
  transition: width 0.2s ease;
}
.header-nav__dropdown-toggle:hover::after,
.header-nav__dropdown:focus-within .header-nav__dropdown-toggle::after {
  width: 100%;
}
.header-nav__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
@media (min-width: 769px) {
  .header-nav__dropdown:hover .header-nav__chevron,
  .header-nav__dropdown:focus-within .header-nav__chevron {
    transform: rotate(180deg);
  }
}
@media (max-width: 768px) {
  body.mobile-nav-open {
    overflow: hidden;
  }
  .header-nav__dropdown--open .header-nav__chevron {
    transform: rotate(180deg);
  }
}
.header-nav__dropdown-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 200px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
@media (min-width: 769px) {
  .header-nav__dropdown:hover .header-nav__dropdown-menu,
  .header-nav__dropdown:focus-within .header-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.header-nav__dropdown-link {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 0.15s, color 0.15s;
}
.header-nav__dropdown-link:hover {
  background: var(--bg-card);
  color: var(--red-primary);
}
.header-nav__dropdown-link--active {
  color: var(--red-primary);
  font-weight: 600;
}
.header-nav__dropdown--current .header-nav__dropdown-toggle {
  color: var(--red-primary);
}
.header-nav__dropdown--current .header-nav__dropdown-toggle::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
/* Temporary: language selector hidden until replacement is ready. */
.header-lang {
  display: none !important;
}
.header-lang:hover {
  background: var(--bg-card);
}
.header-lang__flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  overflow: hidden;
}
.header-lang__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 150px;
  z-index: 120;
  overflow: hidden;
}
.header-lang--open .header-lang__menu {
  display: block;
}
.header-lang__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 0.15s;
}
.header-lang__option:hover {
  background: var(--bg-card);
}
.header-lang__option--active {
  font-weight: 700;
  color: var(--red-primary);
}
.header-lang__option svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}
.header-search {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: var(--text-primary);
  border-radius: 50%;
  transition: background 0.2s;
}
.header-search:hover {
  background: var(--bg-card);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== 4. HERO SECTION ===== */
.hero {
  background: #ffffff;
  padding: 0 0 8px;
  overflow: hidden;
}
.hero .container {
  max-width: 1920px;
  padding: 0 40px;
}
.hero__shell {
  background: #ffffff;
  border-radius: 0;
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 56px;
  padding: 56px 56px 44px;
}
.hero__top {
  text-align: left;
  max-width: 520px;
  margin: 0;
  padding: 0;
}
.hero__eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.hero__heading {
  font-size: 64px;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -1.6px;
  color: var(--text-primary);
  margin-bottom: 18px;
  text-transform: none;
}
.hero__subheading {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.45;
}
.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.hero__support {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
}
.hero__support a {
  color: var(--blue-primary);
  text-decoration: underline;
}
.hero__support a:hover {
  color: var(--blue-dark);
}

.hero__visual {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__image {
  width: 100%;
  max-width: 740px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 18px;
  will-change: transform;
  transition: transform 0.1s linear;
}

@keyframes hero-pill-drift-right {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

@keyframes hero-pill-drift-left {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-10px);
  }
}

.hero__pill {
  position: absolute;
  left: -39px;
  background: #ffffff;
  color: #1a1f24;
  border-radius: 14px;
  padding: 14px 24px;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(15,34,26,0.14);
}
.hero__pill strong {
  color: var(--green-accent);
  font-weight: 800;
}
.hero__pill--top {
  top: 36px;
  animation: hero-pill-drift-right 4.5s ease-in-out infinite;
}
.hero__pill--bottom {
  bottom: 44px;
  left: -69px;
  animation: hero-pill-drift-left 5.5s ease-in-out infinite;
  animation-delay: -1.4s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__pill--top,
  .hero__pill--bottom {
    animation: none;
  }
}

/* ===== FEES SECTION ===== */
.fees-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(460px 260px at 76% 56%, rgba(18, 192, 120, 0.16), transparent 70%),
    radial-gradient(520px 280px at 18% 72%, rgba(18, 192, 120, 0.14), transparent 72%),
    radial-gradient(920px 620px at 50% 120%, rgba(0, 48, 58, 0.55), transparent 70%),
    linear-gradient(180deg, #020515 0%, #020516 58%, #030818 100%);
  min-height: 534px;
  padding: 36px 0 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.fees-section::before,
.fees-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.fees-section::before {
  inset: 0;
  background:
    radial-gradient(ellipse at 51% 20%, rgba(31, 230, 125, 0.42) 0 1px, transparent 2px),
    linear-gradient(90deg, transparent 0 41%, rgba(36, 245, 134, 0.65) 50%, transparent 59%),
    repeating-radial-gradient(ellipse at 116% 71%, rgba(65, 151, 255, 0.18) 0 1px, transparent 1px 6px);
  mask:
    linear-gradient(#000 0 0) center 106px / 164px 2px no-repeat,
    linear-gradient(#000 0 0) right bottom / 470px 260px no-repeat;
  opacity: 0.75;
}
.fees-section::after {
  right: -170px;
  bottom: -210px;
  width: 720px;
  height: 420px;
  border: 1px solid rgba(42, 82, 160, 0.18);
  border-radius: 50%;
  box-shadow:
    -42px -24px 0 -1px rgba(0, 0, 0, 0),
    -42px -24px 0 0 rgba(42, 82, 160, 0.12),
    -84px -48px 0 -1px rgba(0, 0, 0, 0),
    -84px -48px 0 0 rgba(42, 82, 160, 0.08);
}
.fees-panel {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  padding: 0 24px;
}
.fees-panel__head {
  text-align: center;
  margin-bottom: 56px;
}
.fees-panel__title {
  position: relative;
  display: inline-block;
  font-size: clamp(36px, 4.1vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.4px;
  color: #fff;
  text-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.fees-panel__title::after {
  content: none;
}
.fees-panel__title span {
  color: #26d967;
  text-shadow: 0 0 18px rgba(38, 217, 103, 0.38);
}
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 902px;
  margin: 0 auto;
}
.fee-card {
  --fee-card-bg: linear-gradient(180deg, rgba(18, 33, 51, 0.92) 0%, rgba(8, 17, 34, 0.96) 56%, rgba(5, 14, 29, 0.98) 100%);
  position: relative;
  min-height: 339px;
  height: 339px;
  background:
    linear-gradient(rgba(2, 9, 27, 0.7), rgba(2, 9, 27, 0.7)),
    var(--fee-card-bg);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(190, 216, 236, 0.42);
  border-radius: 20px;
  padding: 30px 18px 34px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(97, 255, 169, 0.42),
    0 20px 42px rgba(0, 0, 0, 0.44),
    0 18px 28px -26px rgba(69, 255, 162, 0.9);
}
.fee-card--stock {
  --fee-card-bg: url("public/images/feecardsbg3.png");
}
.fee-card--etf {
  --fee-card-bg: url("public/images/feecardsbg2.png");
}
.fee-card--crypto {
  --fee-card-bg: none;
}
.fee-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 24%),
    linear-gradient(0deg, rgba(2, 9, 27, 0.3) 0%, rgba(2, 9, 27, 0) 48%);
  pointer-events: none;
}
.fee-card::after {
  display: none;
}
.fee-card--crypto::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background: url("public/images/feecardsbg.png") center / cover no-repeat;
  opacity: 0.3;
  transform: scaleX(-1);
  transform-origin: center;
  pointer-events: none;
}
.fee-card__value {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  min-height: 0;
  font-size: 200px;
  font-weight: 900;
  line-height: 0.82;
  color: #ffffff;
  margin: 0;
  padding-top: 18px;
  letter-spacing: -5px;
  text-shadow: 0 7px 22px rgba(0,0,0,0.5);
}
.fee-card__currency,
.fee-card__percent {
  font-size: 0.42em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
  align-self: flex-end;
}
.fee-card__currency {
  margin-top: 0;
  margin-bottom: 0.08em;
  margin-right: 0.03em;
}
.fee-card__percent {
  margin-top: 0;
  margin-bottom: 0.07em;
  margin-left: 0.08em;
}
.fee-card--stock .fee-card__value {
  padding-top: 20px;
}
.fee-card--etf .fee-card__value,
.fee-card--crypto .fee-card__value {
  padding-top: 18px;
}
.fee-card__label {
  position: relative;
  z-index: 2;
  min-height: 76px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.38;
  text-transform: uppercase;
  color: #24d978;
  text-shadow: 0 0 16px rgba(36, 217, 120, 0.36);
}
.fees-panel__note {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}
.fees-panel__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .fees-section { min-height: auto; padding: 44px 0; }
  .fees-panel__head { margin-bottom: 48px; }
  .fees-grid { max-width: 860px; gap: 18px; }
  .fee-card { min-height: 286px; height: 286px; }
  .fee-card__value { font-size: 108px; }
  .fee-card__label { font-size: 14px; letter-spacing: 0.2em; }
  .fees-panel__note { font-size: 13px; }
}

@media (max-width: 768px) {
  .fees-section { min-height: auto; padding: 34px 0; }
  .fees-panel {
    padding: 0 16px;
  }
  .fees-panel__head { margin-bottom: 42px; }
  .fees-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .fee-card {
    min-height: 270px;
    height: 270px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .fee-card__value { font-size: 104px; }
  .fee-card__label { font-size: 14px; line-height: 1.35; }
}

@media (max-width: 480px) {
  .fees-panel__title { font-size: 31px; }
  .fee-card {
    min-height: 244px;
    height: 244px;
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
    margin: 0 auto;
  }
  .fee-card__value {
    font-size: 88px;
    height: 132px;
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }
  .fee-card--stock .fee-card__value,
  .fee-card--etf .fee-card__value,
  .fee-card--crypto .fee-card__value {
    padding-top: 0;
  }
  .fee-card__label {
    font-size: 12px;
    min-height: 84px;
    line-height: 1.25;
    align-items: center;
    justify-content: center;
  }
}

/* Phone mockups */
.hero__phone-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 240px;
  height: 480px;
  z-index: 10;
}
.phone-mockup {
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  border-radius: 36px;
  border: 3px solid #333;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.phone-mockup__notch {
  width: 100%;
  height: 36px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.phone-mockup__notch-pill {
  width: 80px;
  height: 20px;
  background: #1a1a1a;
  border-radius: 20px;
  position: absolute;
  top: 8px;
}
.phone-mockup__time {
  position: absolute;
  left: 20px;
  top: 10px;
  font-size: 11px;
  color: #fff;
  font-weight: 600;
}
.phone-mockup__status {
  position: absolute;
  right: 16px;
  top: 12px;
  display: flex;
  gap: 4px;
}
.phone-mockup__status span {
  width: 14px;
  height: 10px;
  background: #fff;
  border-radius: 2px;
  opacity: 0.6;
}

.phone-screen {
  flex: 1;
  background: #fff;
  padding: 12px;
  overflow: hidden;
}
.phone-screen__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
}
.phone-screen__brand {
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-screen__brand-dot {
  width: 16px;
  height: 16px;
  background: var(--red-primary);
  border-radius: 4px;
}
.phone-screen__brand-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
}
.phone-screen__tab-type {
  font-size: 9px;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 3px 8px;
  border-radius: 4px;
}
.phone-screen__tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
}
.phone-screen__tab {
  font-size: 8px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 6px;
  border-radius: 4px;
}
.phone-screen__tab--active {
  color: var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
}
.phone-screen__title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-screen__title svg {
  width: 14px;
  height: 14px;
}

.phone-screen__table-head {
  display: grid;
  grid-template-columns: 1fr 50px 50px 50px;
  gap: 2px;
  font-size: 7px;
  color: var(--text-light);
  margin-bottom: 4px;
  padding: 2px 0;
}
.phone-screen__row {
  display: grid;
  grid-template-columns: 1fr 50px 50px 50px;
  gap: 2px;
  font-size: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: center;
}
.phone-screen__row-name {
  font-weight: 600;
  font-size: 9px;
}
.phone-screen__row-sub {
  font-size: 7px;
  color: var(--text-light);
}
.phone-screen__row-val {
  font-size: 8px;
  text-align: right;
}
.phone-screen__row-change {
  font-size: 8px;
  text-align: right;
  font-weight: 600;
}
.phone-screen__row-change.positive { color: var(--green-accent); }
.phone-screen__row-change.negative { color: var(--red-primary); }

/* Left phone */
.hero__phone-left {
  position: absolute;
  top: 55%;
  left: 8%;
  transform: translate(0, -50%) rotate(-5deg);
  width: 200px;
  height: 400px;
  z-index: 5;
}
.phone-mockup--chart {
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  border-radius: 30px;
  border: 3px solid #333;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.chart-screen {
  width: 100%;
  height: 100%;
  background: #111;
  display: flex;
  flex-direction: column;
  padding: 40px 12px 20px;
}
.chart-screen__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.chart-screen__pair {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.chart-screen__price {
  font-size: 10px;
  color: var(--green-accent);
}
.chart-screen__graph {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.chart-screen__graph svg {
  width: 100%;
  height: 100%;
}

/* Award badge */
.hero__badge {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 140px;
  height: 160px;
  background: var(--blue-primary);
  border-radius: var(--radius-lg);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero__badge-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.hero__badge-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

/* Active clients pill */
.hero__clients-pill {
  position: absolute;
  bottom: 15%;
  left: 15%;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 10px 20px 10px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 15;
  box-shadow: var(--shadow-lg);
}
.hero__avatars {
  display: flex;
}
.hero__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
}
.hero__avatar:first-child {
  margin-left: 0;
}
.hero__clients-info {
  display: flex;
  flex-direction: column;
}
.hero__clients-count {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}
.hero__clients-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== TICKER ROW ===== */
.ticker-row {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}
.ticker-row::before,
.ticker-row::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.ticker-row::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}
.ticker-row::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}
.ticker-row__inner {
  display: flex;
  gap: 0;
  min-width: max-content;
  animation: tickerScroll 35s linear infinite;
}
.ticker-row__inner:hover {
  animation-play-state: paused;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-right: 1px solid var(--border-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-card:last-child {
  border-right: none;
}
.ticker-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.ticker-card__icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
.ticker-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.ticker-card__value {
  font-size: 13px;
  color: var(--text-primary);
  margin-left: 4px;
}
.ticker-card__delta {
  font-size: 12px;
  font-weight: 600;
  margin-left: 4px;
}
.ticker-card__delta.positive { color: var(--green-accent); }
.ticker-card__delta.negative { color: var(--red-primary); }

.ticker-card__value.flash-up {
  animation: flashUp 0.6s ease;
}
.ticker-card__value.flash-down {
  animation: flashDown 0.6s ease;
}
@keyframes flashUp {
  0% { color: var(--text-primary); }
  30% { color: var(--green-accent); }
  100% { color: var(--text-primary); }
}
@keyframes flashDown {
  0% { color: var(--text-primary); }
  30% { color: var(--red-primary); }
  100% { color: var(--text-primary); }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 80px 0;
}
.section--white {
  background: var(--bg-white);
}
.section-heading {
  text-align: center;
  margin-bottom: 16px;
}
.section-heading__title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.section-heading__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}
.section-heading__subtitle a {
  color: var(--blue-primary);
  text-decoration: underline;
}

/* ===== 5. MARKETS SECTION ===== */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.market-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.25s ease;
  overflow: hidden;
}
.market-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.market-card__illustration {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 18px;
  overflow: hidden;
}
.market-card__illustration img,
.market-card__illustration svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(9, 20, 35, 0.14);
}
.market-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.market-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== 6. REWARDS SECTION ===== */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.reward-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.reward-card:hover {
  transform: translateY(-2px);
}
.reward-card__visual {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.reward-card__visual--cashback {
  background: linear-gradient(135deg, #0f3023, #165438, #1e7e52);
}
.reward-card__visual--referral {
  background: linear-gradient(135deg, #eef6f2, #e6f4ed, #f3faf6);
}
.reward-card__visual--volume {
  background: linear-gradient(135deg, #0f3023, #1a6b45, #1dbf73);
}

.reward-card__visual-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reward-card__visual--cashback .reward-card__visual-inner {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.28), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    url("public/images/cashback.png");
  background-size: auto, auto, cover;
  background-position: 20% 20%, 0 0, center;
  background-repeat: no-repeat;
}
.reward-card__visual--referral .reward-card__visual-inner {
  background-image:
    radial-gradient(circle at 80% 30%, rgba(29,191,115,0.16), transparent 40%),
    linear-gradient(160deg, rgba(255,255,255,0.55), rgba(229,248,239,0.35)),
    url("public/images/refer.png");
  background-size: auto, auto, cover;
  background-position: 80% 30%, 0 0, center;
  background-repeat: no-repeat;
}
.reward-card__visual--volume .reward-card__visual-inner {
  background-image:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,0.22), transparent 45%),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0)),
    url("public/images/volume.png");
  background-size: auto, auto, cover;
  background-position: 75% 25%, 0 0, center;
  background-repeat: no-repeat;
}

.reward-card__content {
  padding: 24px 28px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.reward-card__visual--cashback .reward-card__content,
.reward-card__visual--volume .reward-card__content {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reward-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.reward-card__visual--cashback .reward-card__title,
.reward-card__visual--volume .reward-card__title {
  color: #fff;
}
.reward-card__visual--cashback .reward-card__desc,
.reward-card__visual--volume .reward-card__desc {
  color: rgba(255,255,255,0.85);
}
.reward-card__visual--referral .reward-card__title {
  color: var(--text-primary);
}

.reward-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.rewards-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.rewards-ctas--single {
  justify-content: center;
}

/* ===== 7. PLATFORMS SECTION ===== */
.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}
.platforms__visual {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
  min-height: 360px;
  overflow: hidden;
}
.platforms__visual-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
  margin: 0;
}

.platforms__info h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
}
.platforms__checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.platforms__check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
}
.platforms__check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.platforms__check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--green-accent);
}

/* ===== 8. TRUST BLOCK ===== */
.trust-block {
  background: linear-gradient(140deg, #e8f5ee, #f4fbf7);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  margin-top: 80px;
  text-align: center;
}
.trust-block__heading {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 48px;
  color: var(--text-primary);
}
.trust-block__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-card {
  text-align: center;
}
.stat-card__number {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}
.stat-card__label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== 9. RESOURCES SECTION ===== */
.resources {
  padding: 80px 0;
}
.resources__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.resources__col-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.resources__image-card {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}
.resources__image-card--experienced {
  background: linear-gradient(135deg, #0a1628, #1a2d4f, #0d1f3a);
}
.resources__image-card--new {
  background: linear-gradient(135deg, #ff6b35, #ff8c42, #ffa856);
}
.resources__image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.resources__image-photo {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
}
.resources__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resources__link {
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.resources__link:hover {
  color: var(--red-primary);
}
.resources__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== 10. JOIN SECTION ===== */
.join-section {
  padding: 0 0 80px;
}
.join-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.join-card__heading {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}
.join-card__sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.join-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.join-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.join-step__number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.join-step__content h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.join-step__content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.join-card__image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #1a1040, #2d1b69, #0d0a2e);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.join-card__image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.join-card__image-photo {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ===== 11. FOOTNOTES ===== */
.footnotes {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}
.footnotes p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}
.footnotes sup {
  font-size: 9px;
  vertical-align: super;
}

/* ===== 12. MEGA FOOTER ===== */
.mega-footer {
  background: var(--bg-footer);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.7);
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-col__chevron {
  display: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.footer-col__links {
  display: block;
}
.footer-col__link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col__link:hover {
  color: #fff;
}

.footer-bottom {
  padding: 32px 0;
}
.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom__link {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-bottom__link:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-social__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-social__icon:hover {
  background: rgba(255,255,255,0.2);
}
.footer-social__icon svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.7);
}

.footer-legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-legal p {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ===== FLOATING CHAT BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}
.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
}
.floating-btn:hover {
  transform: scale(1.1);
}
.floating-btn--whatsapp {
  background: #25d366;
}
.floating-btn--chat {
  background: var(--red-primary);
}
.floating-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ===== CHAT WIDGET ===== */
.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.chat-overlay.active {
  opacity: 1;
  visibility: visible;
}
.chat-widget {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 10001;
  width: 370px;
  max-height: calc(100vh - 120px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s, visibility 0.3s;
  transform-origin: bottom right;
  display: flex;
  flex-direction: column;
}
.chat-widget.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}
.chat-header {
  background: var(--red-primary);
  padding: 20px 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  flex-shrink: 0;
}
.chat-header__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header__avatar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
}
.chat-header__info {
  flex: 1;
  min-width: 0;
}
.chat-header__name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.chat-header__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.chat-header__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s;
}
.chat-header__dot--online { background: #4ade80; }
.chat-header__dot--connecting { background: #fbbf24; animation: chat-pulse 1.2s infinite; }
.chat-header__dot--offline { background: #9ca3af; }
@keyframes chat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.chat-header__status-text {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.chat-header__close {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}
.chat-header__close:hover { opacity: 1; }
.chat-body {
  background: #f7f7f7;
  flex: 1;
  overflow-y: auto;
  min-height: 280px;
  padding: 20px;
}
.chat-bubble {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  margin-bottom: 12px;
  max-width: 92%;
  animation: chat-fadein 0.4s ease;
}
@keyframes chat-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-bubble__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}
.chat-bubble__text strong {
  font-weight: 600;
}
.chat-bubble__time {
  font-size: 12px;
  color: #bbb;
  margin-top: 8px;
}
.chat-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  max-width: 280px;
  animation: chat-fadein 0.4s ease;
}
.chat-dots__balls {
  display: flex;
  gap: 4px;
}
.chat-dots__ball {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-primary);
  animation: chat-bounce 1.4s infinite;
}
.chat-dots__ball:nth-child(2) { animation-delay: 0.2s; }
.chat-dots__ball:nth-child(3) { animation-delay: 0.4s; }
@keyframes chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}
.chat-dots__text {
  font-size: 14px;
  color: var(--text-muted);
}
.chat-form {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  animation: chat-fadein 0.4s ease;
}
.chat-form__field {
  margin-bottom: 14px;
}
.chat-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.chat-form__input,
.chat-form__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.chat-form__input:focus,
.chat-form__textarea:focus {
  border-color: var(--red-primary);
}
.chat-form__textarea {
  resize: vertical;
  min-height: 80px;
}
.chat-form__submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--red-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-form__submit:hover {
  background: var(--red-hover);
}
.chat-footer {
  background: #fff;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  color: #bbb;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.chat-success {
  text-align: center;
  padding: 40px 20px;
  animation: chat-fadein 0.4s ease;
}
.chat-success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6f7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.chat-success__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green-accent);
  fill: none;
}
.chat-success h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.chat-success p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}
.chat-hidden { display: none; }

/* ===== COOKIE CONSENT ===== */
body.cookie-consent-open {
  overflow: hidden;
}
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  /* Let clicks reach the page (e.g. legal sidebar) while the banner is visible; the card below re-enables hits. */
  pointer-events: none;
}
.cookie-banner__content {
  pointer-events: auto;
  width: min(960px, 100%);
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-banner__text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
  max-width: 680px;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
}
.cookie-banner__link:hover {
  color: var(--text-primary);
}
.cookie-banner__accept {
  min-width: 160px;
}

/* ===== RESPONSIVE ===== */

/* ---------- Tablet landscape / small desktop ---------- */
@media (max-width: 1024px) {
  .hero .container {
    padding: 0 24px;
  }
  .hero__shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 26px;
  }
  .hero__eyebrow {
    font-size: 14px;
  }
  .hero__heading {
    font-size: 54px;
    letter-spacing: -1.2px;
  }
  .hero__subheading {
    font-size: 17px;
  }
  .hero__image {
    max-width: 100%;
  }
  .hero__pill {
    font-size: 18px;
    padding: 12px 18px;
  }
  .hero__phone-center {
    width: 200px;
    height: 400px;
  }
  .hero__phone-left {
    width: 170px;
    height: 340px;
    left: 5%;
  }
  .hero__badge {
    width: 120px;
    height: 136px;
    padding: 16px;
  }
  .hero__badge-text {
    font-size: 15px;
  }
  .hero__badge-icon {
    width: 32px;
    height: 32px;
  }
  .hero__clients-pill {
    padding: 8px 16px 8px 8px;
    left: 10%;
  }
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rewards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rewards-grid .reward-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
  .reward-card__visual {
    height: 340px;
  }
  .platforms {
    gap: 40px;
  }
  .trust-block__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
  .section-heading__title {
    font-size: 30px;
  }
  .resources__image-card {
    height: 220px;
  }
}

/* ---------- Tablet portrait ---------- */
@media (max-width: 768px) {
  .hero .container {
    padding: 0;
  }
  .hero__shell {
    padding: 28px 16px;
    border-radius: 0;
  }
  .container {
    padding: 0 16px;
  }

  /* Risk bar */
  .risk-bar {
    padding: 6px 12px;
  }
  .risk-bar p {
    font-size: 9px;
    line-height: 1.4;
  }

  /* Utility bar hidden */
  .utility-bar {
    display: none;
  }

  /* Header */
  .main-header .container {
    height: 60px;
    gap: 10px;
  }
  .header-nav {
    display: none;
  }
  .header-lang {
    display: none;
  }
  .header-logo__img {
    width: 128px;
    height: auto;
    max-width: 128px;
  }
  .header-logo {
    flex: 0 0 auto;
  }
  .header-actions {
    margin-left: auto;
    gap: 8px;
  }
  .btn-login {
    display: none;
  }
  .header-actions .btn.btn-primary.btn-sm {
    font-size: 11px;
    padding: 7px 12px;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .btn-sm {
    font-size: 12px;
    padding: 7px 16px;
  }
  .header-search {
    width: 36px;
    height: 36px;
  }

  /* Mobile nav open */
  .header-nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 16px;
    box-shadow: var(--shadow-md);
    gap: 0;
    z-index: 99;
    border-top: 1px solid var(--border-light);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .header-nav--open .header-nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    font-size: 15px;
  }
  .header-nav--open .header-nav__link:last-child {
    border-bottom: none;
  }
  .header-nav--open .header-nav__link::after {
    display: none;
  }
  .header-nav--open .header-nav__dropdown {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }
  .header-nav--open .header-nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }
  .header-nav--open .header-nav__dropdown-toggle::after {
    display: none;
  }
  .header-nav--open .header-nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 12px;
    display: none;
    background: transparent;
  }
  .header-nav--open .header-nav__dropdown--open .header-nav__dropdown-menu {
    display: block;
  }
  .header-nav--open .header-nav__dropdown-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .header-nav--open .header-nav__dropdown-menu li:last-child .header-nav__dropdown-link {
    border-bottom: none;
  }

  /* Hero */
  .hero { padding: 0; }
  .hero__top {
    padding: 0;
  }
  .hero__heading {
    font-size: 38px;
    letter-spacing: -0.7px;
  }
  .hero__eyebrow {
    font-size: 13px;
  }
  .hero__subheading {
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.45;
  }
  .hero__ctas {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__ctas--single {
    align-items: center;
  }
  .hero__ctas--single .btn {
    width: auto;
    min-width: min(100%, 280px);
  }
  .hero__support {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .hero__image {
    max-width: 100%;
  }
  .hero__pill {
    left: 14px;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 16px;
  }
  .hero__pill--top { top: 14px; }
  .hero__pill--bottom { bottom: 16px; }
  .hero__phone-center {
    width: 160px;
    height: 320px;
  }
  .hero__phone-left {
    display: none;
  }
  .hero__badge {
    width: 100px;
    height: 116px;
    padding: 12px;
    right: 4%;
    top: 10%;
    border-radius: var(--radius-md);
  }
  .hero__badge-text {
    font-size: 13px;
  }
  .hero__badge-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
  }
  .hero__clients-pill {
    padding: 6px 12px 6px 6px;
    gap: 8px;
    left: 5%;
    bottom: 10%;
  }
  .hero__avatar {
    width: 28px;
    height: 28px;
  }
  .hero__clients-count {
    font-size: 13px;
  }
  .hero__clients-label {
    font-size: 10px;
  }

  /* Sections */
  .section {
    padding: 48px 0;
  }
  .section-heading__title {
    font-size: 24px;
    line-height: 1.25;
  }
  .section-heading__subtitle {
    font-size: 14px;
  }

  /* Markets */
  .markets-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
  }
  .market-card {
    padding: 20px;
    border-radius: var(--radius-lg);
  }
  .market-card__illustration {
    height: 320px;
    margin-bottom: 16px;
  }
  .market-card__illustration img,
  .market-card__illustration svg {
    width: 100%;
    height: 100%;
  }
  .market-card__title {
    font-size: 17px;
    margin-bottom: 4px;
  }
  .market-card__desc {
    font-size: 12px;
    line-height: 1.4;
  }

  /* Rewards */
  .rewards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .rewards-grid .reward-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
  .reward-card__visual {
    height: 320px;
  }
  .reward-card__title {
    font-size: 18px;
  }
  .reward-card__desc {
    font-size: 13px;
  }
  .rewards-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
  }
  .rewards-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .rewards-ctas--single {
    align-items: center;
  }
  .rewards-ctas--single .btn {
    width: auto;
    min-width: min(100%, 280px);
  }

  /* Platforms */
  .platforms {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
  .platforms__visual {
    padding: 0;
    height: 260px;
    min-height: 260px;
    border-radius: var(--radius-lg);
  }
  .platforms__info h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .platforms__checklist {
    gap: 14px;
    margin-bottom: 24px;
  }
  .platforms__check-item {
    font-size: 14px;
  }

  /* Trust */
  .trust-block {
    padding: 40px 20px;
    margin-top: 48px;
    border-radius: var(--radius-lg);
  }
  .trust-block__heading {
    font-size: 22px;
    margin-bottom: 32px;
  }
  .trust-block__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-card__number {
    font-size: 26px;
  }
  .stat-card__label {
    font-size: 12px;
  }

  /* Resources */
  .resources__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 32px;
  }
  .resources__image-card {
    height: 200px;
    border-radius: var(--radius-lg);
  }
  .resources__image-photo,
  .join-card__image-photo,
  .hero__image {
    height: 100%;
    will-change: auto;
    transition: none;
    transform: none !important;
  }
  .resources__link {
    font-size: 14px;
  }

  /* Join */
  .join-section {
    padding: 0 0 48px;
  }
  .join-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
    border-radius: var(--radius-lg);
  }
  .join-card__heading {
    font-size: 26px;
  }
  .join-card__sub {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .join-steps {
    gap: 20px;
    margin-bottom: 24px;
  }
  .join-card__image {
    height: 240px;
    border-radius: var(--radius-lg);
  }

  /* Footnotes */
  .footnotes {
    padding: 24px 0;
  }
  .footnotes p {
    font-size: 11px;
  }

  /* Footer */
  .mega-footer {
    padding: 40px 0 0;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-bottom: 32px;
  }
  .footer-col__title {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .footer-col__link {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .footer-bottom__links {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .footer-bottom__link {
    font-size: 11px;
  }
  .footer-social {
    gap: 12px;
    margin-bottom: 20px;
  }
  .footer-legal p {
    font-size: 10px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  /* Floating buttons */
  .floating-buttons {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  .floating-btn {
    width: 44px;
    height: 44px;
  }
  .floating-btn svg {
    width: 22px;
    height: 22px;
  }
  .chat-widget {
    width: 350px;
    bottom: 80px;
    right: 16px;
  }
  .cookie-banner {
    padding: 12px;
    align-items: flex-end;
  }
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-radius: 12px;
  }
  .cookie-banner__text {
    max-width: none;
    font-size: 13px;
  }
  .cookie-banner__actions {
    justify-content: space-between;
  }
  .cookie-banner__accept {
    min-width: 140px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  /* Risk */
  .risk-bar p {
    font-size: 8px;
    line-height: 1.3;
  }

  /* Header */
  .main-header .container {
    gap: 8px;
  }
  .header-logo__img {
    width: 124px;
    height: auto;
    max-width: 124px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn.btn-primary.btn-sm {
    font-size: 10px;
    padding: 6px 10px;
  }

  /* Hero */
  .hero {
    padding: 24px 0 0;
  }
  .hero__eyebrow {
    font-size: 12px;
  }
  .hero__heading {
    font-size: 30px;
  }
  .hero__subheading {
    font-size: 14px;
  }
  .hero__pill {
    font-size: 14px;
    padding: 8px 12px;
  }
  .hero__image {
    max-width: 100%;
  }
  .hero__phone-center {
    width: 130px;
    height: 260px;
  }
  .hero__badge {
    width: 80px;
    height: 96px;
    padding: 10px;
    border-radius: var(--radius-sm);
  }
  .hero__badge-text {
    font-size: 11px;
  }
  .hero__badge-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
  }
  .hero__clients-pill {
    left: 2%;
    bottom: 8%;
  }

  /* Sections */
  .section {
    padding: 40px 0;
  }
  .section-heading__title {
    font-size: 21px;
  }
  .section-heading__subtitle {
    font-size: 13px;
    margin-top: 8px;
  }

  /* Markets */
  .markets-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .market-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .market-card__illustration {
    height: 320px;
    margin-bottom: 12px;
  }
  .market-card__illustration img,
  .market-card__illustration svg {
    width: 100%;
    height: 100%;
  }
  .market-card__title {
    font-size: 15px;
  }
  .market-card__desc {
    font-size: 11px;
  }

  /* Rewards */
  .reward-card__visual {
    height: 280px;
  }
  .reward-card__content {
    padding: 18px 20px;
  }
  .reward-card__title {
    font-size: 16px;
  }
  .reward-card__desc {
    font-size: 12px;
    margin-bottom: 8px;
  }

  /* Platforms */
  .platforms__visual {
    padding: 0;
    height: 220px;
    min-height: 220px;
  }
  .platforms__info h2 {
    font-size: 22px;
  }
  .platforms__check-item {
    font-size: 13px;
    gap: 10px;
  }
  .platforms__check-icon {
    width: 20px;
    height: 20px;
  }
  .platforms__check-icon svg {
    width: 12px;
    height: 12px;
  }

  /* Trust */
  .trust-block {
    padding: 32px 16px;
    margin-top: 40px;
  }
  .trust-block__heading {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .trust-block__stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-card__number {
    font-size: 22px;
  }
  .stat-card__label {
    font-size: 11px;
  }

  /* Resources */
  .resources__grid {
    gap: 32px;
  }
  .resources__col-heading {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .resources__image-card {
    height: 170px;
    margin-bottom: 16px;
  }
  .resources__links {
    gap: 10px;
  }
  .resources__link {
    font-size: 13px;
  }

  /* Join */
  .join-card {
    padding: 20px;
    gap: 24px;
  }
  .join-card__heading {
    font-size: 22px;
  }
  .join-step__content h4 {
    font-size: 14px;
  }
  .join-step__content p {
    font-size: 12px;
  }
  .join-card__image {
    height: 200px;
  }

  /* Footer */
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  /* Buttons full width on mobile */
  .btn {
    font-size: 14px;
    padding: 11px 24px;
  }
}

/* ---------- Footer accordion on small screens ---------- */
@media (max-width: 600px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .footer-col__title {
    margin-bottom: 0;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-col__chevron {
    display: block;
  }
  .footer-col__title[aria-expanded="true"] .footer-col__chevron {
    transform: rotate(180deg);
  }
  .footer-col__links {
    display: none;
    padding-bottom: 16px;
  }
  .footer-col__links--open {
    display: block;
  }
}

/* ---------- Very small screens ---------- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
  .hero__heading {
    font-size: 21px;
  }
  .section-heading__title {
    font-size: 19px;
  }
  .markets-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .market-card__illustration {
    height: 320px;
  }
  .market-card__illustration img,
  .market-card__illustration svg {
    width: 100%;
    height: 100%;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .trust-block__heading {
    font-size: 18px;
  }
  .stat-card__number {
    font-size: 20px;
  }
  .join-card {
    padding: 16px;
  }
  .join-card__heading {
    font-size: 20px;
  }
}

/* Chart line animation for phone */
@keyframes chartDraw {
  from {
    stroke-dashoffset: 500;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.chart-line {
  stroke-dasharray: 500;
  animation: chartDraw 3s ease-in-out forwards;
}

/* Illustrations styling */
.illustration-forex,
.illustration-indices,
.illustration-shares,
.illustration-commodities,
.illustration-crypto,
.illustration-etfs {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .floating-buttons {
    right: 12px;
    bottom: 12px;
  }
  .floating-btn {
    width: 42px;
    height: 42px;
  }
  .floating-btn svg {
    width: 20px;
    height: 20px;
  }
  .chat-widget {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 68px;
    max-height: calc(100vh - 100px);
  }
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__accept {
    width: 100%;
  }
}
