/* ===== WHY CHOOSE OUR TRADING DIVISION ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.tw {
  --navy: #0b1a4a;
  --text: #4b5675;
  --red: #e3121b;
  --blue: #1660f0;
  --green: #12a150;
  --orange: #f07d16;

  position: relative;
  overflow: hidden;
  padding: 60px 0 40px;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--navy);
  background:
    radial-gradient(circle at 15% 10%, #ffffff 0%, transparent 50%),
    linear-gradient(180deg, #f4f8ff 0%, #eef4fd 100%);
}

/* header picture (top right) with soft fade */
.tw__art {
  position: absolute;
  top: 0; right: 0;
  width: 56%;
  height: 300px;
  background: url('images/header-art.jpg') right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 60%, transparent 100%);
          mask-composite: intersect;
  pointer-events: none;
}

.tw__wrap {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Heading ---------- */
.tw__head { max-width: 860px; margin-bottom: 34px; }
.tw__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.tw__eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--navy);
}
.tw__title {
  margin: 14px 0 16px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
}
.tw__title span {
  background: linear-gradient(90deg, #1660f0, #2f8bff, #1660f0);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: twFlow 5s linear infinite;
}
.tw__lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------- Cards ---------- */
.tw__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tw-card {
  --c: var(--blue);
  position: relative;
  min-height: 335px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 40, 100, .10), 0 2px 6px rgba(17, 40, 100, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.tw-card::before {                /* the picture on the right */
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 52%;
  background: var(--bg) 45% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  transition: transform .6s ease;
}
.tw-card:hover::before { transform: scale(1.04); transform-origin: right center; }
.tw-card::after {                 /* colored glow line at the bottom */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
}
.tw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(17, 40, 100, .16), 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent);
}
.tw-card:hover::after { opacity: 1; }
.tw-card--red   { --c: var(--red); }
.tw-card--blue  { --c: var(--blue); }
.tw-card--green { --c: var(--green); }

/* slanted number badge */
.tw-card__num {
  position: absolute;
  z-index: 2;
  top: 0; left: 0;
  padding: 8px 26px 8px 16px;
  background: var(--c);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  border-bottom-right-radius: 6px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 40%, transparent);
}

.tw-card__body {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 55%;
  padding: 16px 0 24px 24px;
}
.tw-card__tag {
  display: block;
  margin-left: 58px;
  color: var(--c);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tw-card__title {
  position: relative;
  margin: 14px 0 22px 58px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.4px;
  color: var(--navy);
}
.tw-card__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -12px;
  width: 38px; height: 3px;
  border-radius: 3px;
  background: var(--c);
}
.tw-card__text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
}
.tw-card__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.tw-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.tw-card__list i { color: var(--c); font-size: 18px; }

.tw-card__btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--c);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent);
  transition: transform .3s, box-shadow .3s;
}
.tw-card__btn::before {           /* light sweep */
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: twShine 3.5s ease-in-out infinite;
}
.tw-card__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px color-mix(in srgb, var(--c) 50%, transparent); }
.tw-card__btn i { transition: transform .3s; }
.tw-card__btn:hover i { transform: translateX(4px); }

/* ---------- Bottom features ---------- */
.tw__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
}
.tw-feat {
  --c: var(--blue);
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 16px;
}
.tw-feat + .tw-feat::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: #d5ddeb;
}
.tw-feat + .tw-feat { padding-left: 40px; }
.tw-feat--red    { --c: var(--red); }
.tw-feat--blue   { --c: var(--blue); }
.tw-feat--green  { --c: var(--green); }
.tw-feat--orange { --c: var(--orange); }
.tw-feat__icon {
  flex: 0 0 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 18%, transparent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
  font-size: 32px;
  transition: transform .35s;
}
.tw-feat:hover .tw-feat__icon { transform: translateY(-4px) scale(1.05); }
.tw-feat strong { display: block; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.tw-feat small  { display: block; font-size: 15px; line-height: 1.4; color: var(--text); }

/* ---------- Animations ---------- */
@keyframes twFlow  { to { background-position: -200% 0; } }
@keyframes twShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1250px) {
  .tw__cards { grid-template-columns: 1fr; max-width: 760px; }
  .tw-card { min-height: 320px; }
  .tw__features { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .tw-feat:nth-child(3)::before { display: none; }
  .tw-feat:nth-child(3) { padding-left: 16px; }
}
@media (max-width: 680px) {
  .tw { padding-top: 40px; }
  .tw__art { width: 100%; height: 200px; opacity: .25; }
  .tw__wrap { padding: 0 16px; }
  .tw-card::before { top: auto; width: 100%; height: 170px; background-position: 30% center; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%); mask-image: linear-gradient(180deg, transparent 0%, #000 25%); }
  .tw-card__body { width: 100%; padding: 16px 18px 190px; }
  .tw__features { grid-template-columns: 1fr; }
  .tw-feat, .tw-feat + .tw-feat { padding-left: 0; }
  .tw-feat + .tw-feat::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tw__title span, .tw-card__btn::before { animation: none; }
}

.tw .nowrap { white-space: nowrap; }

/* =====================================================
   TEXT ANIMATIONS + GLOWING BOXES
   ===================================================== */
@property --tw-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ---------- 1. Eyebrow: light running along the line + soft pulse ---------- */
.tw__eyebrow { position: relative; animation: twRedPulse 2.4s ease-in-out infinite; }
.tw__eyebrow::before {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 35%, var(--red) 50%, var(--navy) 65%, var(--navy) 100%);
  background-size: 300% 100%;
  animation: twFlow 2s linear infinite;
}

/* ---------- 2. Title: light beam sweeping across "More Than" ---------- */
.tw__title {
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy) 42%, #5f8dff 50%, var(--navy) 58%, var(--navy) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: twSweep 5s linear infinite;
}
/* "Product Supply": flowing blue + breathing glow */
.tw__title span {
  background: linear-gradient(90deg, #1660f0, #3b9bff, #7cc4ff, #3b9bff, #1660f0, #3b9bff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  animation: twFlow3 4s linear infinite, twBlueGlow 2.6s ease-in-out infinite;
}

/* ---------- 3. Card titles: colored shine passing through ---------- */
.tw-card__title {
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy) 40%, var(--c) 50%, var(--navy) 60%, var(--navy) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: twSweep 4.5s linear infinite;
}
.tw-card--blue  .tw-card__title { animation-delay: .7s; }
.tw-card--green .tw-card__title { animation-delay: 1.4s; }
.tw-card__title::after {            /* underline grows + glows */
  box-shadow: 0 0 8px var(--c);
  animation: twBar 2.8s ease-in-out infinite;
}

/* ---------- 4. Tags + check icons: soft glow pulse ---------- */
.tw-card__tag { animation: twTagGlow 2.6s ease-in-out infinite; }
.tw-card__list i { animation: twIconPop 3s ease-in-out infinite; }
.tw-card__list li:nth-child(2) i { animation-delay: .3s; }
.tw-card__list li:nth-child(3) i { animation-delay: .6s; }

/* ---------- 5. Number badge: glowing pulse ---------- */
.tw-card__num { animation: twBadge 2.4s ease-in-out infinite; }

/* ---------- 6. Cards: running glowing border ---------- */
.tw-card {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--tw-angle),
      color-mix(in srgb, var(--c) 15%, transparent) 0deg,
      var(--c) 60deg,
      #ffffff 90deg,
      var(--c) 120deg,
      color-mix(in srgb, var(--c) 15%, transparent) 180deg,
      color-mix(in srgb, var(--c) 15%, transparent) 360deg) border-box;
  animation: twSpin 5s linear infinite, twCardGlow 3s ease-in-out infinite;
}
.tw-card--blue  { animation-delay: -1.6s, -1s; }
.tw-card--green { animation-delay: -3.2s, -2s; }
.tw-card:hover {
  box-shadow: 0 18px 44px rgba(17,40,100,.16), 0 0 26px color-mix(in srgb, var(--c) 55%, transparent);
}
.tw-card::before { border-radius: 0 14px 14px 0; }

/* ---------- 7. Buttons: glowing pulse (shine already runs) ---------- */
.tw-card__btn { animation: twBtnGlow 2.6s ease-in-out infinite; }

/* ---------- 8. Bottom feature icons: glowing ring ---------- */
.tw-feat__icon {
  position: relative;
  animation: twFeatGlow 3s ease-in-out infinite;
}
.tw-feat__icon::after {             /* expanding ring */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--c);
  opacity: 0;
  animation: twRing 3s ease-out infinite;
}
.tw-feat:nth-child(2) .tw-feat__icon, .tw-feat:nth-child(2) .tw-feat__icon::after { animation-delay: .5s; }
.tw-feat:nth-child(3) .tw-feat__icon, .tw-feat:nth-child(3) .tw-feat__icon::after { animation-delay: 1s; }
.tw-feat:nth-child(4) .tw-feat__icon, .tw-feat:nth-child(4) .tw-feat__icon::after { animation-delay: 1.5s; }
.tw-feat strong {
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy) 40%, var(--c) 50%, var(--navy) 60%, var(--navy) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: twSweep 5s linear infinite;
}
.tw-feat:nth-child(2) strong { animation-delay: .6s; }
.tw-feat:nth-child(3) strong { animation-delay: 1.2s; }
.tw-feat:nth-child(4) strong { animation-delay: 1.8s; }

/* ---------- 9. Reveal on scroll (fade up) ---------- */
.tw.tw-js .tw__head > *,
.tw.tw-js .tw-card,
.tw.tw-js .tw-feat {
  opacity: 0;
  translate: 0 30px;
  transition: opacity .8s ease, translate .8s ease;
}
.tw.tw-js.tw-in .tw__head > *,
.tw.tw-js.tw-in .tw-card,
.tw.tw-js.tw-in .tw-feat { opacity: 1; translate: 0 0; }
.tw.tw-in .tw__head > :nth-child(2) { transition-delay: .15s; }
.tw.tw-in .tw__head > :nth-child(3) { transition-delay: .3s; }
.tw.tw-in .tw-card:nth-child(1) { transition-delay: .35s; }
.tw.tw-in .tw-card:nth-child(2) { transition-delay: .5s; }
.tw.tw-in .tw-card:nth-child(3) { transition-delay: .65s; }
.tw.tw-in .tw-feat:nth-child(1) { transition-delay: .8s; }
.tw.tw-in .tw-feat:nth-child(2) { transition-delay: .9s; }
.tw.tw-in .tw-feat:nth-child(3) { transition-delay: 1s; }
.tw.tw-in .tw-feat:nth-child(4) { transition-delay: 1.1s; }

/* ---------- Keyframes ---------- */
@keyframes twSweep   { 0% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
@keyframes twFlow3   { to { background-position: 300% 0; } }
@keyframes twSpin    { to { --tw-angle: 360deg; } }
@keyframes twRedPulse {
  0%, 100% { text-shadow: 0 0 0 rgba(227,18,27,0); }
  50%      { text-shadow: 0 0 12px rgba(227,18,27,.45); }
}
@keyframes twBlueGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(22,96,240,.25)); }
  50%      { filter: drop-shadow(0 0 12px rgba(59,155,255,.65)); }
}
@keyframes twBar {
  0%, 100% { width: 38px; }
  50%      { width: 70px; }
}
@keyframes twTagGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; letter-spacing: 2px; }
  50%      { text-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); letter-spacing: 2.4px; }
}
@keyframes twIconPop {
  0%, 80%, 100% { transform: scale(1);   filter: none; }
  88%           { transform: scale(1.25); filter: drop-shadow(0 0 6px var(--c)); }
}
@keyframes twBadge {
  0%, 100% { box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 35%, transparent); filter: brightness(1); }
  50%      { box-shadow: 0 6px 26px color-mix(in srgb, var(--c) 75%, transparent); filter: brightness(1.12); }
}
@keyframes twCardGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(17,40,100,.10), 0 0 10px color-mix(in srgb, var(--c) 18%, transparent); }
  50%      { box-shadow: 0 12px 34px rgba(17,40,100,.12), 0 0 26px color-mix(in srgb, var(--c) 45%, transparent); }
}
@keyframes twBtnGlow {
  0%, 100% { box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent); }
  50%      { box-shadow: 0 8px 28px color-mix(in srgb, var(--c) 70%, transparent), 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); }
}
@keyframes twFeatGlow {
  0%, 100% { box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 15%, transparent); }
  50%      { box-shadow: 0 6px 24px color-mix(in srgb, var(--c) 35%, transparent), 0 0 22px color-mix(in srgb, var(--c) 35%, transparent); }
}
@keyframes twRing {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tw *, .tw *::before, .tw *::after { animation: none !important; }
  .tw.tw-js .tw__head > *, .tw.tw-js .tw-card, .tw.tw-js .tw-feat { opacity: 1; translate: none; }
}

/* keep the full title visible inside the shine effect */
.tw-card__title { display: inline-block; padding-right: 4px; }
.tw-feat strong { display: inline-block; padding-right: 2px; }
.tw-feat small  { display: block; }

/* =====================================================
   BOTTOM FEATURES — SEPARATE COLORED BOXES
   ===================================================== */
.tw__features {
  gap: 20px;
  margin-top: 30px;
}
.tw-feat,
.tw-feat + .tw-feat {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, var(--c) 30%, transparent);
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c) 18%, #fff) 0%, transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, #fff) 0%, #ffffff 100%);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 14%, transparent);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.tw-feat + .tw-feat::before { display: none; }       /* remove old dividers */
.tw-feat:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--c) 28%, transparent), 0 0 18px color-mix(in srgb, var(--c) 30%, transparent);
}
/* colored bar on the left */
.tw-feat::after {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}
/* solid colored icon circle */
.tw-feat__icon {
  flex: 0 0 68px;
  height: 68px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 55%, color-mix(in srgb, var(--c) 75%, #000) 100%);
  border: 0;
  color: #fff;
  font-size: 28px;
}
.tw-feat strong { font-size: 17px; }
.tw-feat small  { font-size: 14px; }

@media (max-width: 1250px) {
  .tw-feat:nth-child(3) { padding-left: 22px; }
}
@media (max-width: 680px) {
  .tw__features { gap: 14px; }
  .tw-feat, .tw-feat + .tw-feat { padding: 16px 18px; }
}

/* =====================================================
   BACKGROUND BAND BEHIND THE BOTTOM FEATURE BOXES
   (boxes themselves are unchanged)
   ===================================================== */
.tw { padding-bottom: 0; }
.tw__features {
  position: relative;
  isolation: isolate;
  margin-top: 40px;
  padding: 34px 0;
}
.tw__features::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; bottom: 0;
  left: 50%;
  width: calc(100vw / var(--site-zoom, 1));   /* full screen width, also when the site is zoomed */
  transform: translateX(-50%);
  background:
    radial-gradient(60% 120% at 85% 0%, rgba(120,170,255,.35) 0%, transparent 60%),
    linear-gradient(90deg, #0f1a45 0%, #1c2f80 40%, #2a52c4 75%, #4f80f0 100%);
  box-shadow: inset 0 2px 0 rgba(140,180,255,.6);
}
/* light beam moving slowly across the band */
.tw__features::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.10), transparent);
  transform: skewX(-20deg);
  animation: twBandBeam 8s linear infinite;
  pointer-events: none;
}
@keyframes twBandBeam { to { left: 130%; } }

@media (max-width: 680px) {
  .tw__features { padding: 24px 0; }
}
