@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/gilroy-medium');

/* Falling lines animation */
.lines {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.line::after {
  content: '';
  display: block;
  position: absolute;
  height: 15vh;
  width: 100%;
  top: -50%;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #20F0FF 25%, #20F0FF 50%);
  animation: drop 7s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
  opacity: 0.5;
}

/* Line 1: container-fluid left edge */
.line:nth-child(1) { left: 20px; }
.line:nth-child(1)::after { animation-delay: 0s; }

/* Line 2: Bootstrap container left edge */
.line:nth-child(2) { left: calc(50% - 270px); }
.line:nth-child(2)::after { animation-delay: 2s; }

/* Line 3: Bootstrap container right edge */
.line:nth-child(3) { left: calc(50% + 270px); }
.line:nth-child(3)::after { animation-delay: 1.5s; }

/* Line 4: container-fluid right edge */
.line:nth-child(4) { right: 20px; left: auto; }
.line:nth-child(4)::after { animation-delay: 2.5s; }

@media (min-width: 768px) {
  .line:nth-child(2) { left: calc(50% - 360px); }
  .line:nth-child(3) { left: calc(50% + 360px); }
}
@media (min-width: 992px) {
  .line:nth-child(2) { left: calc(50% - 480px); }
  .line:nth-child(3) { left: calc(50% + 480px); }
}
@media (min-width: 1200px) {
  .line:nth-child(2) { left: calc(50% - 570px); }
  .line:nth-child(3) { left: calc(50% + 570px); }
}
@media (min-width: 1400px) {
  .line:nth-child(2) { left: calc(50% - 660px); }
  .line:nth-child(3) { left: calc(50% + 660px); }
}

@keyframes drop {
  0%   { top: -50%; }
  100% { top: 110%; }
}

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

a{text-decoration: none;}

/* Font utility classes */
.font-bai-jamjuree {
    font-family: 'Bai Jamjuree', sans-serif !important;
}

.font-instrument-sans {
    font-family: 'Instrument Sans', sans-serif !important;
}

.gradient-border {
   background:
    linear-gradient(#101628, #101628) padding-box,
    linear-gradient(180deg, #273E78 0%, rgba(39, 62, 120, 0.4) 100%) border-box;
border-radius: 20px;
overflow: hidden;
  border: 1px solid transparent;
}

.linear-border {
  position: relative;
  border-radius: 20px;
  padding: 2px; 
  overflow: hidden;

  background: linear-gradient(
    180deg,
    rgba(35, 44, 72, 1) 0%,
    rgba(35, 44, 72, 0) 100%
  );
}

.linear-border-inner {
  background: #0B1020; 
  border-radius: 18px; 
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.linear-border-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(39, 62, 120, 0) 10%, rgba(75, 43, 224, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.linear-border-inner:hover::before {
  opacity: 1;
}

:root {
    --page-gutter: 24px;
    --tt-nav-side-offset: var(--page-gutter);
}

body {
    font-family: 'Instrument Sans', 'Bai Jamjuree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0B1020;
    color: #333;
    overflow-x: hidden;
    padding: 0 var(--page-gutter) 40px;
}

.top-bar { background: #0B1020; padding: 8px 0; }

/* Honor Group Bar — full-bleed across body page-gutter.
   Inner content lines up with .top-bar (gutter + 40px strip padding). */
.hgb:not(.hgb--in-strip) {
    --hgb-strip-pad: 40px;
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
    width: calc(100% + 2 * var(--page-gutter));
}

@media (min-width: 992px) {
    .hgb:not(.hgb--in-strip) .hgb__inner,
    .hgb:not(.hgb--in-strip) .hgb__strap {
        max-width: none;
        padding-left: calc(var(--page-gutter) + var(--hgb-strip-pad));
        padding-right: calc(var(--page-gutter) + var(--hgb-strip-pad));
    }
}

.top-bar .container-fluid { display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left a { color: #AEACB3; text-decoration: none; font-size: 12px; display: flex; align-items: center; gap: 5px; }
.top-icon { width: 16px; height: 16px; filter: brightness(0.7); }
.top-bar-left a:hover { color: #fff; }
.top-bar-right { display: flex; gap: 15px; align-items: center; }
.lang-selector { background: transparent; border: 1px solid #AEACB3; border-radius: 20px; padding: 7px 12px; color: #fff; font-size: 12px; line-height: 16px; display: flex; align-items: center; gap: 5px; }

/* Site switch sits in the existing utility strip */
.top-bar:has(.hgb--in-strip) .container-fluid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.top-bar:has(.hgb--in-strip) .top-bar-right {
    justify-self: end;
}

.hgb--in-strip {
    background: transparent;
    z-index: 1;
    width: auto;
    margin: 0;
    font-size: inherit;
    justify-self: center;
}

.top-bar-left .hgb__brand {
    color: #fff;
    font-size: 12.5px;
    gap: 10px;
}

.top-bar-left .hgb__brand:hover {
    color: #fff;
}

.top-bar-left .hgb__mark {
    color: #ff5a1f;
}

@media (max-width: 991.98px) {
    .top-bar:has(.hgb--in-strip) {
        display: block;
    }

    .top-bar:has(.hgb--in-strip) .top-bar-left,
    .top-bar:has(.hgb--in-strip) .top-bar-right {
        display: none;
    }

    .top-bar:has(.hgb--in-strip) .container-fluid {
        display: flex;
        justify-content: center;
        padding: 6px 12px;
    }

    .hgb--in-strip .hgb__list {
        width: 100%;
    }
}

.home-page .tp {
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
    width: calc(100% + 2 * var(--page-gutter));
}

/* Offer promo strip (homepage first — reuse sitewide later) */
.offer-promo-strip {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: calc(100% + (var(--page-gutter) * 2));
    max-width: none;
    margin: 0 calc(var(--page-gutter) * -1);
    padding: 5px 10px;
    min-height: 41px;
    background: linear-gradient(90deg, #0B1020 11%, #ca3f07 30%, #ca3f07 73%, #0B1020 96%);
    box-sizing: border-box;
    color: #fff;
    text-decoration: none !important;
    cursor: pointer;
}

a.offer-promo-strip:hover,
a.offer-promo-strip:focus,
a.offer-promo-strip:active,
a.offer-promo-strip:visited {
    color: #fff;
    text-decoration: none !important;
}

a.offer-promo-strip:hover .offer-promo-btn {
    opacity: 0.9;
}

.offer-promo-text {
    margin: 0;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.24;
    text-align: center;
}

.offer-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 6px;
    background: #0b1020;
    color: #fff;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, opacity 0.2s ease;
    pointer-events: none;
}

.offer-promo-btn:hover {
    color: #fff;
    opacity: 0.9;
}

/* Homepage promo — mobile Figma layout (125:266); hidden on desktop */
.offer-promo-m {
    display: none;
}

/* Desktop: keep orange gradient even if purple utility class is present */
.offer-promo-strip.card-gradient-radial-purple {
    background: linear-gradient(90deg, #0B1020 11%, #ca3f07 30%, #ca3f07 73%, #0B1020 96%);
}

@media (max-width: 991.98px) {
    .offer-promo-strip {
        padding: 5px 10px;
        gap: 10px;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .offer-promo-strip {
        position: relative;
        z-index: 5;
        grid-column: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 1852px;
        margin: 20px auto;
        padding: 5px 10px;
        min-height: 41px;
        background: #ca3f07;
        border-radius: 20px;
        box-sizing: border-box;
        flex-direction: row !important;
        text-align: left;
    }

    .offer-promo-text {
        text-align: left;
    }

    /* Homepage mobile redesign */
    .offer-promo-strip.card-gradient-radial-purple {
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: calc(100% + (var(--page-gutter) * 2));
        max-width: none;
        margin: 20px calc(var(--page-gutter) * -1);
        padding: 8px 12px 8px 8px;
        min-height: 62px;
        background-color: #0B1020;
        background-image:
            radial-gradient(ellipse 30% 20% at 50% 0%, rgba(75, 43, 224, 0.3) 0%, rgba(75, 43, 224, 0) 100%),
            radial-gradient(ellipse 90% 40% at 50% 0%, rgba(75, 43, 224, 0.3) 0%, rgba(75, 43, 224, 0) 100%);
        border-radius: 20px;
        box-sizing: border-box;
    }

    .offer-promo-strip .offer-promo-text,
    .offer-promo-strip .offer-promo-btn {
        display: none;
    }

    .offer-promo-m {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .offer-promo-m__visual {
        flex-shrink: 0;
        width: 57px;
        height: 46px;
    }

    .offer-promo-m__visual img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        pointer-events: none;
    }

    .offer-promo-m__visual .offer-promo-m__img-gold,
    .offer-promo-m__visual img[hidden] {
        display: none !important;
    }

    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-m__visual .offer-promo-m__img-gold {
        display: block !important;
    }

    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-m__visual .offer-promo-m__img-equity {
        display: none !important;
    }

    .offer-promo-strip[data-hp-promo="ptl"] .offer-promo-m__visual {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 50px;
        overflow: visible;
    }

    .offer-promo-strip[data-hp-promo="ptl"] .offer-promo-m__visual .offer-promo-m__img-ptl {
        display: block !important;
        width: 54px;
        height: 50px;
        max-width: none;
        object-fit: contain;
        object-position: center;
    }

    .offer-promo-strip[data-hp-promo="ptl"] .offer-promo-m__visual .offer-promo-m__img-gold,
    .offer-promo-strip[data-hp-promo="ptl"] .offer-promo-m__visual .offer-promo-m__img-equity {
        display: none !important;
    }

    .offer-promo-strip[data-hp-promo="elite"] .offer-promo-m__visual {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 50px;
        overflow: visible;
    }

    .offer-promo-strip[data-hp-promo="elite"] .offer-promo-m__visual .offer-promo-m__img-elite {
        display: block !important;
        width: 54px;
        height: 50px;
        max-width: none;
        object-fit: contain;
        object-position: center;
    }

    .offer-promo-strip[data-hp-promo="elite"] .offer-promo-m__visual .offer-promo-m__img-gold,
    .offer-promo-strip[data-hp-promo="elite"] .offer-promo-m__visual .offer-promo-m__img-equity,
    .offer-promo-strip[data-hp-promo="elite"] .offer-promo-m__visual .offer-promo-m__img-ptl {
        display: none !important;
    }

    .offer-promo-strip[data-hp-promo="elite"] .offer-promo-m__accent {
        background-image: linear-gradient(113.96deg, #FFE3A8 1.27%, #FFB020 50%, #FF8301 98.72%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    .offer-promo-m__divider {
        flex-shrink: 0;
        width: 1px;
        height: 30px;
        background: rgba(255, 255, 255, 0.28);
    }

    .offer-promo-m__copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        min-width: 0;
        font-family: 'Bai Jamjuree', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 17px;
        letter-spacing: -0.32px;
        color: #fff;
        text-align: left;
    }

    .offer-promo-m__line {
        display: block;
    }

    .offer-promo-m__accent {
        background: linear-gradient(90deg, #20F0FF 0%, #A6F9FF 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    .offer-promo-m__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        margin-left: auto;
        border-radius: 100px;
        background: #FF4D01;
        color: #fff;
        text-decoration: none;
        transition: background-color 0.2s ease, transform 0.2s ease;
        pointer-events: none;
    }

    a.offer-promo-strip:hover .offer-promo-m__cta {
        background: #e64500;
        transform: translateX(1px);
    }
}

@media (max-width: 575.98px) {
    .offer-promo-strip {
        padding: 5px 10px;
        min-height: 0;
    }

    .offer-promo-strip.card-gradient-radial-purple {
        width: calc(100% + (var(--page-gutter) * 2));
        max-width: none;
        margin: 0 calc(var(--page-gutter) * -1);
        margin-top: 0;
        padding: 8px 28px 12px 28px;
        padding-top: 8px;
        box-sizing: border-box;
    }

    .offer-promo-strip[data-hp-promo="gold"].card-gradient-radial-purple {
        padding: 10px 20px 10px 14px;
    }
}

/* Promo 2 — weekend gold (homepage rotator). Same gradient, accent #FF8301. */
.offer-promo-strip[data-hp-promo="gold"],
.offer-promo-strip[data-hp-promo="gold"].card-gradient-radial-purple,
.offer-promo-strip[data-hp-promo="elite"],
.offer-promo-strip[data-hp-promo="elite"].card-gradient-radial-purple {
    background: linear-gradient(90deg, #0B1020 11%, #FF8301 30%, #FF8301 73%, #0B1020 96%);
    transition: opacity 0.28s ease, background 0.28s ease;
}

.offer-promo-strip[data-hp-promo-rotate] {
    transition: opacity 0.28s ease, background 0.28s ease;
    overflow-anchor: none;
}

.offer-promo-strip.is-promo-swap {
    opacity: 0;
}

@media (max-width: 768px) {
    .offer-promo-strip[data-hp-promo="gold"],
    .offer-promo-strip[data-hp-promo="gold"].card-gradient-radial-purple,
    .offer-promo-strip[data-hp-promo="elite"],
    .offer-promo-strip[data-hp-promo="elite"].card-gradient-radial-purple {
        justify-content: space-between;
        flex-wrap: nowrap;
        min-height: 68px;
        padding: 10px 16px 10px 12px;
        overflow: visible;
        background-color: #0B1020;
        background-image:
            radial-gradient(ellipse 30% 20% at 50% 0%, rgba(255, 131, 1, 0.3) 0%, rgba(255, 131, 1, 0) 100%),
            radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 131, 1, 0.3) 0%, rgba(255, 131, 1, 0) 100%);
    }

    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-m {
        display: flex;
    }

    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-text,
    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-btn {
        display: none;
    }

    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-m__visual {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 46px;
        overflow: visible;
    }

    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-m__img-gold {
        width: 54px;
        height: 46px;
        max-width: none;
        object-fit: contain;
        object-position: center;
    }

    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-m__accent {
        background-image: linear-gradient(113.96deg, #FFE3A8 1.27%, #FFB020 50%, #FF8301 98.72%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    .offer-promo-strip[data-hp-promo="gold"] .offer-promo-m__cta {
        width: 36px;
        height: 36px;
        background: linear-gradient(91deg, #FFE3A8 -47.53%, #FFB020 25.99%, #FF980F 65.26%, #FF8301 99.52%);
        color: #0b1020;
        box-shadow: 0 4px 12px rgba(255, 131, 1, 0.35);
    }

    a.offer-promo-strip[data-hp-promo="gold"]:hover .offer-promo-m__cta {
        background: linear-gradient(91deg, #FFE9BE -47.53%, #FFB82E 25.99%, #FF8F14 65.26%, #FF8F14 99.52%);
        color: #0b1020;
    }
}

.honor-elite-pill { position: relative; z-index: 1; border-radius: 20px; border: 1.5px solid #D6B365; background: #0D0B14 url('assets/btn-golden-shade.svg') no-repeat top left; box-shadow: 0 0 20px 0 rgba(214, 179, 101, 0.15); padding: 5.5px 12px; color: #FFC83D; font-family: "Bai Jamjuree", sans-serif; font-size: 14px; font-style: normal; font-weight: 600; line-height: 18px; letter-spacing: -0.28px; display: flex; align-items: center; gap: 8px; text-decoration: none; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.honor-elite-pill:hover { color: #FFC83D; box-shadow: 0 0 26px 0 rgba(214, 179, 101, 0.35); transform: translateY(-1px); }
.honor-elite-logo { height: 18px; width: auto; display: block; }
.navbar-honor-elite { display: none; }

.honor-elite-club-link {
    display: inline-block;
    margin-top: 12px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #FFC83D;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.honor-elite-club-link:hover {
    color: #ffd460;
    text-decoration: underline;
}

.account-card-wrapper.honor-elite-card .honor-elite-club-link {
    position: relative;
    z-index: 1;
    margin-top: 4px;
    margin-bottom: 0;
}

.account-card-wrapper.honor-elite-card .account-card-desc {
    margin-bottom: 0;
}

.gradient-border.honor-elite-card .honor-elite-club-link,
.gradient-border.honor-elite-card .honor-elite-pill {
    position: relative;
    z-index: 1;
    margin-top: 0;
    margin-bottom: 8px;
    width: fit-content;
}

.gradient-border.honor-elite-card .card-description {
    margin-bottom: 0;
    line-height: 1.4;
}

.navbar { padding: 20px 0; box-shadow: none; z-index: 1000; border-radius: 40px 40px 0 0; }
.navbar .container-fluid { padding: 0 50px; display: flex; justify-content: space-between; align-items: center; }
.navbar-brand { padding: 0; }
.navbar-brand img { height: 35px; width: auto; }
.navbar-nav { margin: auto; justify-content: center; align-items: center; gap: 10px; }
.navbar-nav .nav-link { color: #333333; font-size: 16px; font-weight: 400; font-family: 'Bai Jamjuree', sans-serif; padding: 8px 0; position: relative; }
.navbar-nav .nav-link:hover { color: #FF4D00; }
.navbar-right { display: flex; gap: 10px; align-items: center; }
.btn-login { background: transparent; border: none; color: #333333; font-size: 16px; font-weight: 400; padding: 8px 20px; font-family: 'Bai Jamjuree', sans-serif; }
.btn-register { background: #FF4D00; border: none; color: #fff; font-size: 16px; font-weight: 400; padding: 10px 25px; border-radius: 25px; transition: all 0.3s ease; font-family: 'Bai Jamjuree', sans-serif; }

.btn-register:hover { background: #e64a19; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3); }

.hero-section, .tt-card { position: relative;  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%); overflow: visible; border-radius: 0 0 30px 30px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABnSURBVHja7M5RDYAwDEXRDgmvEocnlrQS2SwUFST9uEfBGWs9c97nbGtDcquqiKhOImLs/UpuzVzWEi1atGjRokWLFi1atGjRokWLFi1atGjRokWLFi1af7Ukz8xWp8z8AAAA//8DAJ4LoEAAlL1nAAAAAElFTkSuQmCC") repeat 0 0; animation: bg-scrolling-reverse .92s infinite linear; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('assets/herobackpattern.svg') no-repeat center center; background-size: cover; opacity: 0.8; border-radius: 40px; z-index: 1; }
.hero-section::after,
.tt-card::after { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: url('assets/herowhiteback.svg') no-repeat right center; background-size: cover; border-radius: 40px; z-index: 2; }
@keyframes bg-scrolling-reverse {
    100% { background-position: 50px 50px; }
}
.hero-content { position: relative; z-index: 3; padding: 40px 0; }
.hero-row { display: flex; align-items: center; max-width: 1400px; margin: 0 auto; justify-content: space-between;}
.hero-text { flex: 1; max-width: 600px; }
.hero-badge { display: inline-block; color: #33C7C9; font-size: 24px; font-family: 'Bai Jamjuree', sans-serif; font-weight: 500; margin-bottom: 3px; }
.hero-title { font-size: 48px; font-family: 'Instrument Sans', sans-serif; font-weight: 700; line-height: 1.25; color: #333333; margin-bottom: 27px; }
.hero-description { font-size: 24px; font-family: 'Instrument Sans', sans-serif; color: #333333; margin-bottom: 35px; }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 16px; font-family: 'Bai Jamjuree', sans-serif; }
.btn-primary-hero { background: #FF4D00; border: none; color: #fff; font-size: 16px; font-weight: 600; padding: 14px 35px; border-radius: 30px; transition: all 0.3s ease; }
.btn-primary-hero:hover { background: #e64a19; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4); }

/* Homepage: lift hero LHS slightly vs phone (Figma 123:516) */
@media (min-width: 993px) {
    .home-page .hero-text {
        margin-top: -100px;
    }

    .home-page .hero-description {
        margin-bottom: 28px;
    }

    .home-page .hero-buttons {
        margin-bottom: 44px;
    }
}

/* Homepage hero LHS offer banner — Figma 123:516 */
.hp-hero-offer {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 560px;
    min-height: 100px;
    padding: 0 20px 0 12px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 40px;
    background: linear-gradient(90deg, rgba(255, 77, 0, 0.25) 0%, rgba(255, 77, 0, 0) 23.08%, rgba(255, 77, 0, 0) 58.17%, rgba(255, 77, 0, 0.5) 100%), #2F17A1;
    box-shadow: 0 20px 50px 0 rgba(49, 24, 160, 0.4);
    color: #fff;
    text-decoration: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hp-hero-offer:hover,
.hp-hero-offer:focus,
.hp-hero-offer:active,
.hp-hero-offer:visited {
    color: #fff;
    text-decoration: none !important;
}

.hp-hero-offer:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 56px 0 rgba(49, 24, 160, 0.48);
}

.hp-hero-offer:focus-visible {
    outline: 2px solid #FF4D00;
    outline-offset: 3px;
}

.hp-hero-offer__visual {
    flex-shrink: 0;
    width: 132px;
    height: 100px;
}

.hp-hero-offer__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.hp-hero-offer__body {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.hp-hero-offer__divider {
    flex-shrink: 0;
    width: 1px;
    align-self: stretch;
    min-height: 56px;
    max-height: 72px;
    margin: 12px 0;
    background: rgba(255, 255, 255, 0.28);
}

.hp-hero-offer__title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
    letter-spacing: -0.44px;
    color: #fff;
}

.hp-hero-offer__line {
    display: block;
    white-space: nowrap;
}

.hp-hero-offer__accent {
    background: linear-gradient(90deg, #20F0FF 0%, #A6F9FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hp-hero-offer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 138px;
    height: 48px;
    margin-left: 12px;
    border: 1px solid transparent;
    border-radius: 40px;
    background: #FF4D00;
    box-shadow: 0 25px 30px 0 rgba(255, 77, 0, 0.25);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #fff;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hp-hero-offer:hover .hp-hero-offer__cta {
    background: #e64500;
}

.hp-hero-offer__title[hidden],
.hp-hero-offer__visual img[hidden] {
    display: none !important;
}

.hp-hero-offer[data-hp-promo-rotate] {
    transition: opacity 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow-anchor: none;
}

.hp-hero-offer.is-promo-swap {
    opacity: 0;
}

/* Promo 2 — weekend gold header (Figma 160:280) */
.hp-hero-offer[data-hp-promo="gold"] {
    gap: 12px;
    min-height: 0;
    max-width: 580px;
    padding: 10px 20px 10px 0;
    overflow: hidden;
    border: 1px solid #824607;
    border-radius: 40px;
    background:
        linear-gradient(90deg, rgba(255, 152, 15, 0.25) 0%, rgba(255, 152, 15, 0) 27.32%, rgba(255, 152, 15, 0) 56.13%, rgba(255, 152, 15, 0.5) 100%),
        #1A1A46;
    box-shadow: 0 20px 50px 0 rgba(254, 151, 15, 0.22);
}

.hp-hero-offer[data-hp-promo="gold"]:hover {
    box-shadow: 0 24px 56px 0 rgba(254, 151, 15, 0.32);
}

.hp-hero-offer[data-hp-promo="gold"]:focus-visible {
    outline-color: #FF8301;
}

.hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__visual {
    position: relative;
    align-self: stretch;
    width: 195px;
    height: auto;
    margin: -20px 0;
    overflow: hidden;
}

.hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__img-gold {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 77%;
    max-width: none;
    object-fit: cover;
    object-position: left center;
    image-rendering: auto;
    margin: 18px 0 0;
}

.hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__body {
    gap: 12px;
}

.hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__title--gold {
    gap: 9px;
}

.hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__headline {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: -0.52px;
    white-space: nowrap;
    background-image: linear-gradient(111.34deg, #FFE3A8 1.27%, #FFB020 50%, #FF8301 98.72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__sub {
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: -0.3px;
    color: #fff;
    -webkit-text-fill-color: #fff;
    white-space: nowrap;
}

.hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__cta {
    width: 124px;
    height: 54px;
    margin-left: auto;
    border: 0;
    background: linear-gradient(180deg, #FFE3A8 0%, #FFB020 42%, #FF8301 100%);
    box-shadow: 0 25px 30px 4px rgba(254, 151, 15, 0.25);
    color: #0b1020;
    font-size: 18px;
}

.hp-hero-offer[data-hp-promo="gold"]:hover .hp-hero-offer__cta {
    background: linear-gradient(180deg, #FFE9BE 0%, #FFB82E 42%, #FF8F14 100%);
}
.btn-secondary-hero { background: transparent; border: 1.5px solid #333333; color: #333333; font-size: 16px; font-weight: 600; padding: 12px 35px; border-radius: 30px; transition: all 0.3s ease; }
.btn-secondary-hero:hover { background: #333; color: #fff; }
.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; z-index: 5; max-width: 500px; margin-bottom: 30px;}
.hero-phone-mockup {
    position: relative;
    max-width: 400px;
    width: 100%;
    animation: float 3s ease-in-out infinite;
}
.hero-phone-mockup .mobile-mockup {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
    animation: none;
}
.hero-phone-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    font-family: 'Bai Jamjuree', sans-serif;
}
.hero-phone-overlay .hp-val {
    position: absolute;
    line-height: 1.1;
    white-space: nowrap;
}
.hero-phone-overlay .hp-holding-row {
    position: static;
    display: contents;
}
.hero-phone-overlay .hp-holding-value {
    top: 21.8%;
    left: 6.5%;
    font-size: clamp(18px, 6.5vw, 32px);
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}
.hero-phone-overlay .hp-holding-change {
    top: 24%;
    left: 46%;
    font-size: clamp(12px, 2.4vw, 15px);
    font-weight: 500;
    color: var(--accent-cyan, #20F0FF);
}
.hero-phone-overlay .hp-instruments {
    position: absolute;
    top: 49.3%;
    right: 12%;
    left: 48%;
    height: 41.5%;
    padding: 0;
    pointer-events: none;
    display: block;
}
.hero-phone-overlay .hp-instruments .hp-val {
    position: static;
}
.hero-phone-overlay .hp-inst-row {
    position: absolute;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: minmax(2.4em, max-content) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: 0.7em;
    row-gap: 0.15em;
    width: 100%;
    min-width: 0;
}
.hero-phone-overlay .hp-inst-row:nth-child(1) { top: 0%; }
.hero-phone-overlay .hp-inst-row:nth-child(2) { top: 24.5%; }
.hero-phone-overlay .hp-inst-row:nth-child(3) { top: 47%; }
.hero-phone-overlay .hp-inst-row:nth-child(4) { top: 69.5%; }
.hero-phone-overlay .hp-inst-title {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    font-size: clamp(8px, 2.75vw, 11px);
    font-weight: 700;
    color: #111;
    text-align: left;
    line-height: 1.1;
}
.hero-phone-overlay .hp-instruments .hp-inst-change {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    font-size: clamp(7px, 2.5vw, 10px);
    font-weight: 500;
    text-align: right;
    line-height: 1.15;
}
.hero-phone-overlay .hp-instruments .hp-inst-spread {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    font-size: clamp(8px, 2.75vw, 11px);
    font-weight: 500;
    color: #9ca3af;
    text-align: left;
    line-height: 1.1;
}
.hero-phone-overlay .hp-inst-bid-row {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    min-width: 0;
}
.hero-phone-overlay .hp-inst-ask-row {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    align-self: center;
    min-width: 0;
}
.hero-phone-overlay .hp-inst-price-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.3em;
    white-space: nowrap;
    max-width: 100%;
}
.hero-phone-overlay .hp-inst-label {
    font-size: clamp(7px, 2.2vw, 9px);
    font-weight: 500;
    color: #9ca3af;
    line-height: 1.1;
    flex-shrink: 0;
}
.hero-phone-overlay .hp-instruments .hp-inst-bid,
.hero-phone-overlay .hp-instruments .hp-inst-ask {
    font-size: clamp(7px, 2.4vw, 11px);
    font-weight: 700;
    color: #111;
    text-align: right;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.hero-phone-overlay .hp-instruments .hp-inst-change.positive { color: #0BE36C; }
.hero-phone-overlay .hp-instruments .hp-inst-change.negative { color: #F87171; }
.hero-phone-overlay .hp-instruments .hp-inst-change.is-tick,
.hero-phone-overlay .hp-instruments .hp-inst-spread.is-tick {
    animation: hpInstPulse 0.4s ease;
}
@keyframes hpInstPulse {
    0% { opacity: 1; transform: scale(1); }
    40% { opacity: 0.75; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}
.mobile-mockup { max-width: 500px; width: 100%; height: auto; filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15)); animation: float 3s ease-in-out infinite; }

.stats-widget { position: relative; margin-top: -120px; background: #33c6c9d4; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 30px; padding: 40px 60px; box-shadow: 0 20px 60px rgba(38, 198, 218, 0.3); display: flex; gap: 80px; align-items: center; justify-content: space-between; z-index: 100;  }
.stat-item { text-align: center; color: #fff; }
.stat-value { font-size: 45px; font-weight: 600; line-height: 60px; font-family: 'Bai Jamjuree', sans-serif; display: block; margin-bottom: 5px; }
.stat-label { font-size: 16px; font-family: 'Instrument Sans', sans-serif; }

@media (max-width: 992px) {
    .hero-row { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; }
    .hero-title { font-size: 40px; }
    .hero-buttons {
        justify-content: center;
        margin-bottom: 32px;
    }
    .hp-hero-offer {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
        max-width: 520px;
        text-align: left;
    }
    .stats-widget { flex-wrap: wrap; gap: 40px; padding: 25px 40px; align-items: center; justify-content: center; margin-top: -60px; }
    .hero-image { width: 100%; margin-top: 0; margin-bottom: 10px; }
    .hero-phone-mockup { max-width: 350px; width: 100%; margin: 0 auto; }
    .hero-phone-mockup .mobile-mockup { max-width: 100%; width: 100%; }
    .mobile-mockup { max-width: 350px; }
}
@media (max-width: 768px) {
    .top-bar .container-fluid, .navbar .container-fluid, .hero-content { padding-left: 20px; padding-right: 20px; }
    .navbar-nav { margin-left: 0; gap: 15px; }
    .hero-title { font-size: 32px; }
    .stats-widget { gap: 30px; padding: 20px 30px; }
    .stat-value { font-size: 32px; }
    .stat-label { font-size: 12px; }
    .btn-primary-hero, .btn-secondary-hero{
        font-size: 14px;
        padding: 14px 20px;
    }
    .hp-hero-offer {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 8px;
        padding: 12px 14px;
        border-radius: 28px;
    }
    .hp-hero-offer__visual {
        width: 88px;
        height: 66px;
    }
    .hp-hero-offer__divider {
        min-height: 44px;
        margin: 6px 0;
    }
    .hp-hero-offer__title {
        font-size: 18px;
        line-height: 22px;
    }
    .hp-hero-offer__cta {
        width: 100%;
        margin-left: 0;
        height: 46px;
        font-size: 15px;
    }

    .hp-hero-offer[data-hp-promo="gold"] {
        padding: 14px 14px 14px 10px;
        border-radius: 28px;
        min-height: 0;
        overflow: hidden;
    }

    .hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__visual {
        width: 120px;
        height: auto;
        align-self: stretch;
        margin: -14px 0;
        border-radius: 0;
    }

    .hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__img-gold {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 70%;
        max-width: none;
        object-fit: cover;
        object-position: left center;
        image-rendering: auto;
        margin: 16px 0 0;
    }

    .hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__headline {
        font-size: 20px;
        line-height: 22px;
        letter-spacing: -0.4px;
    }

    .hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__sub {
        font-size: 13px;
        letter-spacing: -0.26px;
        white-space: normal;
    }

    .hp-hero-offer[data-hp-promo="gold"] .hp-hero-offer__cta {
        width: 100%;
        height: 46px;
        font-size: 16px;
    }
    .hero-badge{
        font-size: 20px;
    }
    .hero-title{
        font-size: 28px;
    }
    .hero-description{
        font-size: 18px;
    }
    .hero-phone-overlay .hp-instruments {
        height: 40%;
        left: 47%;
        right: 11%;
    }
    .hero-phone-overlay .hp-inst-row {
        column-gap: 0.55em;
    }
    .hero-phone-overlay .hp-instruments .hp-inst-bid,
    .hero-phone-overlay .hp-instruments .hp-inst-ask {
        font-size: clamp(7px, 2.1vw, 10px);
    }
    .hero-phone-overlay .hp-inst-label {
        font-size: clamp(6px, 2vw, 8px);
    }
}


/* Footer Styles */
.footer {
    background: #0A0E19;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    color: #fff;
    padding: 80px 0 40px;
    margin-top: 100px;
    background-image: radial-gradient(ellipse 30% 20% at 50% 0%, rgba(75, 43, 224, 0.1) 0%, rgba(75, 43, 224, 0) 100%),
                      radial-gradient(ellipse 80% 40% at 50% 0%, rgba(75, 43, 224, 0.1) 0%, rgba(75, 43, 224, 0) 100%);
}

@media (min-width: 992px) {
    .footer {
        padding: 120px 0 40px;
        position: relative;
        z-index: 10;
    }
}

.footer-top {
    margin-bottom: 60px;
    padding-bottom: 0;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.footer-brand {
    /* max-width: 600px; */
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 25px;
}

.footer-tagline {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    max-width: 476px;
    line-height: 1.6;
    color: #AEACB3;
    margin-bottom: 30px;
}

.join-community {
    background: #FF4D00;
    text-decoration: underline;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.footer-copyright {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    color: #AEACB3;
    margin: 0;
}

.footer-line {
    flex: 1;
    height: 1px;
    background: #ffffff6d;
    margin-left: 15px; /* thoda gap ke liye */
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    color: #AEACB3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #33C7C9;
}

/* Footer sub-groups — mirror top nav Platforms / Tools dropdown headers */
.footer-column .footer-link-group-label {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(174, 172, 179, 0.75);
    margin: 0 0 10px;
    padding-top: 2px;
    pointer-events: none;
}

.footer-column .footer-link-group-label:first-of-type {
    margin-top: 4px;
}

.footer-column .footer-link-group-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 16px 0 14px;
    opacity: 1;
}

.footer-regulations {
    display: flex;
    gap: 20px; 
    grid-template-columns: repeat(2, 1fr);
}

.footer-regulations a {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    transition: all ease 0.5s;
}

.footer-regulations a:hover, .footer-regulations a:active{
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-regulations img {
    width: 30px;
    height: auto;
}

.footer-regulations a h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
    margin-top: 10px;
}

.footer-regulations span {
    color: #AEACB3;
    font-size: 0.8rem;
}

.footer-bar {
    gap: 0;
    flex-wrap: wrap;
}

.footer-bar .footer-line {
    margin-right: 15px;
}

.footer-stores {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.footer-store {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 8px 16px;
    border: 1px solid #232C48;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    text-decoration: none;
    transition: border-color .25s, background-color .25s, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.footer-store:hover,
.footer-store:focus-visible {
    border-color: rgba(32, 240, 255, 0.55);
    background: rgba(32, 240, 255, 0.06);
    color: #fff;
    transform: translateY(-1px);
}

.footer-store:focus-visible {
    outline: 2px solid #20F0FF;
    outline-offset: 3px;
}

.footer-store-ic {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
}

.footer-store-ic svg {
    display: block;
    width: 22px;
    height: 22px;
}

.footer-store-t {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer-store-s {
    font-family: 'Instrument Sans', system-ui, sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.1;
    color: #8F8C9D;
    white-space: nowrap;
}

.footer-store-b {
    margin: 3px 0 0;
    font-family: 'Instrument Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

.footer-social {
    display: flex;
    gap: 15px;
    /* margin-bottom: 50px; */
    /* padding-bottom: 50px; */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #AEACB3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: #33C7C9;
    color: #33C7C9;
    background: rgba(51, 199, 201, 0.1);
}

.footer-disclaimers {
    margin-top: 40px;
}

.disclaimer-text {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    line-height: 1.8;
    color: #AEACB3;
    margin-bottom: 20px;
}

.disclaimer-text strong {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
        margin-top: 60px;
        border-radius: 20px;
    }

    .footer-top {
        margin-bottom: 40px;
        padding-bottom: 0;
    }

    .footer-brand .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .footer-logo {
        height: 35px;
        width: auto;
        margin-bottom: 15px;
    }

    .footer-tagline {
        font-size: 13px;
        max-width: 100%;
        line-height: 1.5;
    }

    .footer-brand .w-full {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }

    .footer-line {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 10px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-column ul li a {
        font-size: 12px;
    }

    .footer-bar {
        align-items: flex-start !important;
    }

    .footer-social {
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .footer-stores {
        width: 100%;
        margin-left: 0;
    }

    .footer-store {
        flex: 1 1 0;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .disclaimer-text {
        font-size: 11px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
        border-radius: 15px;
    }

    .footer-top {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .footer-logo {
        height: 30px;
        width: auto;
        margin-bottom: 12px;
    }

    .footer-tagline {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-column h4 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-column ul li a {
        font-size: 11px;
    }

    .footer-stores {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-social {
        gap: 10px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .disclaimer-text {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* Phone: no divider, both store buttons on one row. */
@media (max-width: 768px) {
    .footer-bar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 18px;
    }

    .footer-bar .footer-line {
        display: none;
    }

    .footer-stores {
        flex-direction: row;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .footer-store {
        flex: 1 1 0;
        min-width: 0;
        gap: 8px;
        padding: 8px 10px;
    }
}

/* Trading Cards Section */
.trading-cards-section {
    padding: 100px 0;
    /* background: #0B1020; */
}

.trading-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.trading-card-parent {
    border-top-left-radius: 16px;
    overflow: hidden;
    margin-top: auto;
     border: 1px solid #232C48;
}

.trading-card-top {
    width: 100%;
    height: 13px;
    background-color: #4B2BE0;
}

.trading-card {
    position: relative;
    background: #0B1020;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
   
    height: 100%;
    /* border-radius: 16px; */
    padding: 30px 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.trading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/Svg/squarePattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.trading-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/Svg/slidePattern.svg');
    background-size: cover;
    background-position: bottom right;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.trading-card-parent:nth-child(1) .trading-card::after {
    transform: rotate(45deg);
}

/* Card 2 */
.trading-card-parent:nth-child(2) .trading-card::after {
    transform: rotate(15deg);
}

/* Card 3 */
.trading-card-parent:nth-child(3) .trading-card::after {
    transform: rotate(135deg);
}

/* Card 4 */
.trading-card-parent:nth-child(4) .trading-card::after {
    transform: rotate(0deg);
}

/* Card 5 */
.trading-card-parent:nth-child(5) .trading-card::after {
    transform: rotate(0deg);
}

.trading-card > * {
    position: relative;
    z-index: 1;
}

.trading-card:hover {
    background: #4B2BE0;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(107, 79, 224, 0.4);
}

.trading-card:hover::before {
    opacity: 0;
}

.trading-card:hover::after {
    opacity: 0;
}

.trading-card:hover .card-description {
    color: rgba(255, 255, 255, 0.85);
}

.trading-card:hover .card-icon img {
    filter: brightness(0) invert(1);
}

.trading-card:hover .card-btn {
    background: linear-gradient(90deg, #FF4D00 0%, #FF6B35 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    font-weight: 600;
}

.trading-card:hover .card-btn:hover {
    background: linear-gradient(90deg, #FF6B35 0%, #FF4D00 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
}

.trading-card-featured {
    background: linear-gradient(135deg, #6B4FE0 0%, #5B3FD0 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trading-card-featured::before {
    opacity: 0.2;
}

.trading-card-featured::after {
    opacity: 0.15;
}

.trading-card-featured:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(107, 79, 224, 0.4);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-title {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    /* margin-bottom: 12px; */
}

.card-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    /* margin-bottom: 24px; */
    min-height: 84px;
}

.trading-card-featured .card-description {
    color: rgba(255, 255, 255, 0.85);
}

.card-btn {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    width: 166px;
    font-weight: 500;
    color: #fff;
    background: #04091E;
    border: 1px solid #434B6D;
    border-radius: 40px;
    padding: 7px 17px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.card-btn-featured {
    background: linear-gradient(90deg, #FF4D00 0%, #FF6B35 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.card-btn-featured:hover {
    background: linear-gradient(90deg, #FF6B35 0%, #FF4D00 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
}

@media (max-width: 1400px) {
    .trading-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .trading-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trading-cards-section {
        padding: 60px 0;
    }
    .trading-card-parent{
        height: fit-content !important;
    }

    .trading-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trading-card {
        padding: 24px 20px;
    }

    .card-description {
        min-height: auto;
    }
}



/* Cryptocurrency Section */

.crypto-container {
    display: flex;
    gap: 30px;
    padding: 21px;
    border-radius: 40px;
    margin: 0 auto;
    border: 1px solid #232C48;
}

.crypto-sidebar {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crypto-category-btn {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid #434B6D;
    border-radius: 50px;
    padding: 14px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.crypto-category-btn:hover {
    background: #232A45;
    border-color: #3A4360;
}

.crypto-category-btn.active {
    background: #FF4D00;
    border-color: #FF4D00;
    font-weight: 600;
}

.crypto-disclaimer {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    color: rgba(107, 114, 128, 0.688);
    margin-top: 20px;
    padding: 0 8px;
}

.crypto-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.crypto-account-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 6px;
    border-radius: 999px;
    background: rgba(8, 12, 28, 0.75);
    border: 1px solid rgba(66, 102, 187, 0.35);
}

.crypto-account-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.crypto-account-tab:hover {
    color: #fff;
}

.crypto-account-tab.active {
    background: #20F0FF;
    color: #08101F;
    box-shadow: 0 8px 24px rgba(32, 240, 255, 0.28);
}

.crypto-cards-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.crypto-card {
    background: #0B1020;
    border: 1px solid #2A3350;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
}

.crypto-card:hover {
    border-color: #3A4360;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Promo 2 ticker card — Figma 160:461 */
.crypto-card--promo2 {
    height: 100%;
    padding: 21px 46px;
    overflow: hidden;
    border: 1.2px solid #824607;
    border-radius: 24px;
    background-color: #1A1A46;
    background-image: linear-gradient(
        159.23deg,
        rgba(255, 152, 15, 0.25) 7.6%,
        rgba(255, 152, 15, 0) 28.1%,
        rgba(255, 152, 15, 0) 74.6%,
        rgba(255, 152, 15, 0.5) 104.27%
    );
    color: inherit;
    text-decoration: none;
}

.crypto-card--promo2:hover,
.crypto-card--promo2:focus,
.crypto-card--promo2:active,
.crypto-card--promo2:visited {
    border-color: #824607;
    color: inherit;
}

.crypto-card--promo2:hover {
    border-color: #a35c0c;
    box-shadow: 0 8px 30px rgba(254, 151, 15, 0.18);
}

.crypto-card--promo2:focus-visible {
    outline: 2px solid #FF8301;
    outline-offset: 3px;
}

.crypto-card--promo2__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    height: 100%;
    min-height: 0;
}

.crypto-card--promo2__title {
    flex-shrink: 0;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.48px;
    text-align: center;
    background-image: linear-gradient(113.96deg, #FFE3A8 1.27%, #FFB020 50%, #FF8301 98.72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.crypto-card--promo2__visual {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 217 / 179;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
}

.crypto-card--promo2__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
}

.crypto-card--promo2__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 173px;
    height: 45px;
    border-radius: 40px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #0b1020;
    background: linear-gradient(92.81deg, #FFE3A8 0%, #FFB020 26%, #FF980F 65%, #FF8301 100%);
    box-shadow: 0 25px 30px 4px rgba(254, 151, 15, 0.25);
}

.crypto-card--promo2:hover .crypto-card--promo2__cta {
    background: linear-gradient(92.81deg, #FFE9BE 0%, #FFB82E 26%, #FF8F14 65%, #FF8F14 100%);
}

@media (max-width: 768px) {
    .crypto-card--promo2 {
        padding: 21px 28px;
    }

    .crypto-card--promo2__visual {
        flex: 0 1 auto;
        max-height: 200px;
    }
}

.crypto-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.crypto-icon {
    flex-shrink: 0;
}

.crypto-info {
    flex: 1;
}

.crypto-name {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.crypto-pair {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: #9CA3AF;
    margin: 0;
}

.crypto-chart {
    display: none;
}

.crypto-chart img {
    width: 100%;
    height: auto;
    /* max-height: 66px; */
    object-fit: contain;
}

.crypto-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.crypto-stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border-top: 1px solid #ffffff30;
    padding-top: 20px;
    min-width: 0;
}

.crypto-stat .stat-label {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #A8A8A8;
}

.crypto-stat .stat-value {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    color: #ffffff80;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

.crypto-stat .stat-value.price {
    color: #0BE36C;
}

.crypto-stat:nth-child(2) .stat-value.price {
    color: #E03528;
}

.crypto-stat .stat-value.negative {
    color: #E03528;
}

.crypto-stat .stat-value.positive {
    color: #0BE36C;
}

.crypto-stat .stat-value.price.tick-up,
.crypto-stat .stat-value.price.tick-flash,
.crypto-stat .stat-value.tick-flash {
    animation: tickFlashUp 0.45s ease;
}

.crypto-stat .stat-value.price.tick-down {
    animation: tickFlashDown 0.45s ease;
}

@keyframes tickFlashUp {
    0% { color: #ffffff; }
    100% { color: #0BE36C; }
}

@keyframes tickFlashDown {
    0% { color: #ffffff; }
    100% { color: #E03528; }
}

@media (max-width: 1200px) {
    .crypto-container {
        flex-direction: column;
    }

    .crypto-sidebar {
        flex: 1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .crypto-category-btn {
        flex: 0 0 auto;
        padding: 10px 20px;
    }

    .crypto-disclaimer {
        flex: 1 1 100%;
        margin-top: 10px;
    }

    .crypto-account-tab {
        font-size: 16px;
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
    .crypto-section {
        padding: 60px 0;
    }

    .crypto-cards-grid {
        grid-template-columns: 1fr;
    }

    .crypto-sidebar {
        gap: 8px;
    }

    .crypto-category-btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    .crypto-account-tabs {
        padding: 4px;
    }

    .crypto-account-tab {
        font-size: 14px;
        padding: 11px 10px;
    }
}

/* Accounts Section */
.accounts-section {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}



.accounts-section .container {
    position: relative;
    z-index: 2;
}

.accounts-header {
    text-align: left;
    margin-bottom: 50px;
}

.accounts-subtitle {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #8F8C9D;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    margin: 0 0 16px 0;
}

.accounts-title {
    font-family: 'Instrument Sans', sans-serif;
    text-align: left;
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    line-height: 50px;
    max-width: 896px;
    letter-spacing: -2%;
    /* margin: 0 auto; */
}

.accounts-tabs {
    display: flex;
    justify-content: start;
    text-align: left;
    gap: 21px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.account-tab {
    font-family: 'Instrument Sans', sans-serif;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid #2A3350;
    border-radius: 40px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: start;
    /* gap: 4px; */
}

.account-tab:hover {
    border-color: #3A4360;
    background: rgba(255, 77, 0, 0.05);
}

.account-tab.active {
    background: #ff4d00e8;
    border-color: #FF4D00;
}

.tab-deposit {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.account-tab.active .tab-deposit {
    color: rgba(255, 255, 255, 0.8);
}

/* Animation wrapper */
.accounts-cards-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.accounts-cards {
    display: flex;
    gap: 24px;
    position: relative;
    width: fit-content;
    animation: continuousScroll 10s linear infinite;
}

@keyframes continuousScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Custom Animation Properties */
.accounts-cards.slow {
    animation-duration: 30s;
}

.accounts-cards.fast {
    animation-duration: 10s;
}

.accounts-cards.paused {
    animation-play-state: paused;
}

.accounts-cards:hover {
    animation-play-state: paused;
}

/* Unique Gradient Borders for Each Card */
.gradient-border {
    border-radius: 24px;
    padding: 2px;
    background: #0B1020;
    transition: all 0.4s ease;
    flex: 0 0 auto;
    min-width: 300px;
}

.prime-gradient {
    background: linear-gradient(180deg, #273E78 0%, rgba(39, 62, 120, 0.4) 100%);
}

.standard-gradient {
    background: linear-gradient(180deg, #4B2BE0 0%, rgba(75, 43, 224, 0.4) 100%);
}

. {
    background: linear-gradient(180deg, #4B2BE0 0%, rgba(75, 43, 224, 0.4) 100%);
}

.custom-gradient {
    background: linear-gradient(180deg, #4B2BE0 0%, rgba(75, 43, 224, 0.4) 100%);
}

/* Hover Effects - Orange Theme */
.gradient-border:hover {
    background: linear-gradient(135deg, #FF4D00 0%, rgba(255, 77, 0, 0.7) 50%, #FF4D00 100%);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 77, 0, 0.3);
}

.gradient-border:hover .union-svg {
    filter: brightness(0) saturate(100%) invert(39%) sepia(90%) saturate(2513%) hue-rotate(356deg) brightness(101%) contrast(101%);
}

.gradient-border:hover .card-btn {
    background: #FF4D00;
}

.gradient-border:hover .card-gradient-radial-purple {
    background-image: radial-gradient(
        ellipse 30% 20% at 50% 0%, 
        rgba(255, 77, 0, 0.3) 0%, 
        rgba(255, 77, 0, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 40% at 50% 0%, 
        rgba(255, 77, 0, 0.3) 0%, 
        rgba(255, 77, 0, 0) 100%
    );
}

.gradient-border:hover .card-gradient-radial-blue {
    background-image: radial-gradient(
        ellipse 30% 20% at 50% 0%, 
        rgba(255, 77, 0, 0.3) 0%, 
        rgba(255, 77, 0, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 40% at 50% 0%, 
        rgba(255, 77, 0, 0.3) 0%, 
        rgba(255, 77, 0, 0) 100%
    );
}

.gradient-border:hover .card-gradient-radial-green {
    background-image: radial-gradient(
        ellipse 30% 20% at 50% 0%, 
        rgba(255, 77, 0, 0.3) 0%, 
        rgba(255, 77, 0, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 40% at 50% 0%, 
        rgba(255, 77, 0, 0.3) 0%, 
        rgba(255, 77, 0, 0) 100%
    );
}

.gradient-border:hover .card-gradient-radial-orange {
    background-image: radial-gradient(
        ellipse 30% 20% at 50% 0%, 
        rgba(255, 77, 0, 0.3) 0%, 
        rgba(255, 77, 0, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 40% at 50% 0%, 
        rgba(255, 77, 0, 0.3) 0%, 
        rgba(255, 77, 0, 0) 100%
    );
}

/* ===== Honor Elite card — gold accent (matches honor-elite.html box) ===== */
.gradient-border.honor-elite-card {
    border-radius: 32px;
    background: linear-gradient(180deg, #D6B365 0%, rgba(112, 94, 53, 0.9) 45%, rgba(112, 94, 53, 0) 100%);
}

.gradient-border.honor-elite-card .account-card,
.gradient-border.honor-elite-card:hover .card-gradient-radial-purple {
    border-radius: 30px;
    background-color: #12101c;
    background-image:
        radial-gradient(
            ellipse 30% 20% at 50% 0%,
            rgba(255, 200, 61, 0.30) 0%,
            rgba(255, 200, 61, 0) 100%
        ),
        radial-gradient(
            ellipse 90% 40% at 50% 0%,
            rgba(255, 200, 61, 0.22) 0%,
            rgba(255, 200, 61, 0) 100%
        ),
        url('assets/Svg/bg-golden5.svg'),
        radial-gradient(
            120% 90% at 0% 100%,
            rgba(255, 200, 61, 0.10) 0%,
            rgba(255, 200, 61, 0) 45%
        );
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: top center, top center, top right, 0% 100%;
}

.gradient-border.honor-elite-card .union-svg {
    filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1000%) hue-rotate(340deg) brightness(103%) contrast(101%);
}

.gradient-border.honor-elite-card .card-btn {
    position: relative;
    overflow: visible;
    border: 1px solid #FFC83D;
    background-color: transparent;
}

.gradient-border.honor-elite-card .card-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 100px;
    background: url('assets/Svg/bg-silver1.svg') no-repeat center bottom;
    background-size: 100% 100%;
    opacity: 1;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
    bottom: -49px;
}

/* Hover — gold accent instead of orange */
.gradient-border.honor-elite-card:hover {
    background: linear-gradient(135deg, #FFC83D 0%, rgba(214, 179, 101, 0.7) 50%, #FFC83D 100%);
    box-shadow: 0 12px 40px rgba(255, 200, 61, 0.3);
}

.gradient-border.honor-elite-card:hover .card-btn {
    border-color: #FFC83D;
    background-color: rgba(255, 200, 61, 0.12);
    color: #ffffffe8;
}

.gradient-border.honor-elite-card:hover .union-svg {
    filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1000%) hue-rotate(340deg) brightness(103%) contrast(101%);
}

/* Honor Elite — trading-accounts page (full-width card layout) */
.account-card-wrapper.honor-elite-card {
    border-radius: 32px;
    background: linear-gradient(180deg, #D6B365 0%, rgba(112, 94, 53, 0.9) 45%, rgba(112, 94, 53, 0) 100%);
    box-shadow: none;
}

.account-card-wrapper.honor-elite-card:hover {
    background: linear-gradient(135deg, #FFC83D 0%, rgba(214, 179, 101, 0.7) 50%, #FFC83D 100%);
    box-shadow: 0 12px 40px rgba(255, 200, 61, 0.3);
}

.account-card-wrapper.honor-elite-card .account-card-inner {
    border-radius: 30px;
    background-color: #12101c;
    background-image:
        radial-gradient(
            ellipse 30% 20% at 50% 0%,
            rgba(255, 200, 61, 0.30) 0%,
            rgba(255, 200, 61, 0) 100%
        ),
        radial-gradient(
            ellipse 90% 40% at 50% 0%,
            rgba(255, 200, 61, 0.22) 0%,
            rgba(255, 200, 61, 0) 100%
        ),
        url('assets/Svg/bg-golden5.svg'),
        radial-gradient(
            120% 90% at 0% 100%,
            rgba(255, 200, 61, 0.10) 0%,
            rgba(255, 200, 61, 0) 45%
        );
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: top center, top center, top right, 0% 100%;
}

.account-card-wrapper.honor-elite-card .account-card-inner::before {
    display: none;
}

.account-card-wrapper.honor-elite-card .union-svg {
    filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1000%) hue-rotate(340deg) brightness(103%) contrast(101%);
}

.account-card-wrapper.honor-elite-card .cta-row {
    position: relative;
    overflow: visible;
    border: 1px solid #FFC83D;
    background-color: transparent;
}

.account-card-wrapper.honor-elite-card .cta-row::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 100px;
    background: url('assets/Svg/bg-silver1.svg') no-repeat center bottom;
    background-size: 100% 100%;
    opacity: 1;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
    bottom: -49px;
}

.account-card-wrapper.honor-elite-card .cta-row:hover {
    border-color: #FFC83D;
    background-color: rgba(255, 200, 61, 0.12);
    box-shadow: none;
}

.account-card-wrapper.honor-elite-card .account-card-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.account-card-wrapper.honor-elite-card .account-card-cta-group .cta-row {
    position: relative;
    z-index: 2;
}

.account-card-wrapper.honor-elite-card .account-card-cta-group .cta-text {
    position: relative;
    z-index: 2;
}




.account-card {
    border-radius: 22px;
    padding: 32px;
    transition: all 0.4s ease;
    background-color: #0B1020;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    height: 100%;
}

.union-svg{
    width: 194px;
    height: 151.36px;
    position: absolute;
    top: -30px;
    right: -10px;
    z-index: 0;
    filter: brightness(0) saturate(100%) 
        invert(27%) 
        sepia(28%) 
        saturate(1480%) 
        hue-rotate(199deg) 
        brightness(92%) 
        contrast(95%);

    transition: filter 0.4s ease;
}


.account-card:hover {
    border-color: #3A4360;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Unique Radial Gradients for Each Card */
.card-gradient-radial-purple{
    background-image: radial-gradient(
        ellipse 30% 20% at 50% 0%, 
        rgba(75, 43, 224, 0.3) 0%, 
        rgba(75, 43, 224, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 40% at 50% 0%, 
        rgba(75, 43, 224, 0.3) 0%, 
        rgba(75, 43, 224, 0) 100%
    );
}

.card-gradient-radial-blue{
    background-image: radial-gradient(
        ellipse 30% 20% at 50% 0%, 
        rgba(75, 43, 224, 0.3) 0%, 
        rgba(75, 43, 224, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 40% at 50% 0%, 
        rgba(75, 43, 224, 0.3) 0%, 
        rgba(75, 43, 224, 0) 100%
    );
}

.card-gradient-radial-green{
    background-image: radial-gradient(
        ellipse 30% 20% at 50% 0%, 
        rgba(75, 43, 224, 0.3) 0%, 
        rgba(75, 43, 224, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 40% at 50% 0%, 
        rgba(75, 43, 224, 0.3) 0%, 
        rgba(75, 43, 224, 0) 100%
    );
}

.card-gradient-radial-orange{
    background-image: radial-gradient(
        ellipse 30% 20% at 50% 0%, 
        rgba(75, 43, 224, 0.3) 0%, 
        rgba(75, 43, 224, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 40% at 50% 0%, 
        rgba(75, 43, 224, 0.3) 0%, 
        rgba(75, 43, 224, 0) 100%
    );
}

.prime-card:hover {
    border-color: rgba(255, 77, 0, 0.5);
}


.card-title {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
}

.card-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    max-width: 250px;
    font-weight: 400;
    color: #9CA3AF;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.accounts-section .card-slogan {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.35;
    margin: 0 0 12px 0;
    max-width: 280px;
}


.card-deposit {
    display: flex;
    flex-direction: column;
    gap: 0px;
    /* margin-bottom: 24px; */
}

.deposit-amount {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.deposit-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #9CA3AF;
}

.card-btn {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid #3A4360;
    border-radius: 50px;
    padding: 14px 32px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 28px;
}

.card-btn:hover {
    background: #FF4D00;
    border-color: #FF4D00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
}

.card-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(42, 51, 80, 0.5);
}

.feature-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.account-feature-item {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.feature-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #9CA3AF;
}

.feature-value {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

@media (min-width: 1200px) {
    .accounts-cards-wrapper .row > [class*="col-"] {
        display: flex;
    }

    .accounts-cards-wrapper .gradient-border {
        flex: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .accounts-cards-wrapper .account-card {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .accounts-cards-wrapper .card-features {
        margin-top: auto;
    }

    .gradient-border.honor-elite-card .card-features {
        padding-top: 24px;
    }
}

@media (max-width: 1200px) {
    .accounts-cards-wrapper {
        overflow: hidden;
        width: 100%;
    }
    
    .accounts-cards {
        gap: 20px;
    }

    .accounts-title {
        font-size: 36px;
    }
    
    .gradient-border {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .accounts-section {
        padding: 60px 0 80px;
    }

    .accounts-section::before {
        width: 400px;
        height: 400px;
    }

    .accounts-title {
        font-size: 22px;
        line-height: 1.2;
        font-weight: 400;
    }

    .accounts-cards-wrapper {
        overflow: hidden;
        width: 100%;
        padding: 0 10px;
    } 
    
    .accounts-cards {
        gap: 16px;
        animation-duration: 15s; /* Slower on mobile */
    }

    .gradient-border {
        min-width: 260px;
        flex: 0 0 auto;
    }

    .accounts-tabs {
        gap: 8px;
    }

    .account-tab {
        font-size: 14px;
        padding: 10px 18px;
    }

    .card-title {
        font-size: 24px;
    }

    .deposit-amount {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .accounts-cards-wrapper {
        padding: 0 5px;
    }
    
    .accounts-cards {
        gap: 12px;
        animation-duration: 20s; /* Even slower on very small screens */
    }

    .gradient-border {
        min-width: 240px;
    }
    
    .card-title {
        font-size: 28px;
    }
    
    .deposit-amount {
        font-size: 26px;
    } 

    .hero-section, .tt-card {
        position: relative;
        background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
        overflow: visible;
        border-radius: 0 0 40px 40px;
        background: #fff;
        animation: none;
    }
}





.education-section {
  padding: 120px 0;
  position: relative;
}

.education-wrapper {
  /* width: 1320px; */
  margin: auto;
  position: relative;
}

/* ================= IMAGE ================= */

.education-image img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

/* ================= FLOATING TITLE ================= */

.education-floating-title {
  position: absolute;
  top: 10px;
  right: 4%;
  /* background: #0E1428; */
  padding: 30px 40px;
}

.education-floating-title h2 {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

/* ================= CARDS WRAPPER ================= */

.education-cards-wrapper {
  position: absolute;
  bottom: -180px;
  left: 60px;
  right: 60px;
  background-color: #0B1020;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #1F2947;
overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}



/* LEFT GLOW */
.education-cards-wrapper .left-gradient {
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, #4B2BE0 0%, transparent 60%);
  filter: blur(120px);
  opacity: 0.7;
  z-index: 0;
}

/* RIGHT GLOW */
.education-cards-wrapper .right-gradient {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, #4B2BE0 0%, transparent 60%);
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
}

/* ================= CARD BASE ================= */

.education-card {


  border: 1px solid transparent;

  
  padding: 30px;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  z-index: 1;
}



/* ================= LARGE CARD ================= */

.large-card {
    padding: 0px;
  /* justify-content: space-between; */
  background: transparent;
   border: none;
}

.large-card h3 {
  font-size: 24px;
  color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  width: 90%;
  font-weight: 600;
  margin: 20px 0;
}

/* ================= SMALL CARDS ================= */
.small-card{
    background-color: #0B1020 !important;
    z-index: 100;
    
}

.small-card .thumb {
  width: 100%;
  height: 130px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 16px;
}

.small-card h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}

.small-card p {
  font-size: 16px;
  color: #ffffffb6;
  /* flex: 1; */
}

/* ================= BUTTON ================= */

.card-btn {
  border: 1px solid #2A3350;
  background: transparent;
  color: #ffffffe8;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 10px 17px;
  font-weight: 100;
  font-family: 'Instrument Sans', sans-serif;
  border-radius: 40px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
  margin-bottom: 0;
  text-align: center;

  margin-top: 25px;
}

.card-btn:hover {
  background: rgba(59,130,246,0.2);
  border-color: #3B82F6;
}

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

/* ================= KEY ADVANTAGE SECTION ================= */
.key-advantage-section {
  padding: 120px 0;
  background: #0B1020;
  position: relative;
  overflow: hidden;
}

.key-advantage-header {
  text-align: left;
  margin-bottom: 60px;
}

.key-advantage-subtitle {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #6B7280;
  /* text-transform: uppercase; */
  /* letter-spacing: 1px; */
  margin: 0 0 20px 0;
}

.key-advantage-pretitle {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #20F0FF;
  margin: 0 0 16px 0;
}

.key-advantage-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  line-height: 50px;
  letter-spacing: -2%;
  /* max-width: 1000px; */
  /* margin: 0 auto; */
}

/* ================= HONOR PRO LOGO ================= */
.honor-pro-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px auto 80px;
  position: relative;
}

.logo-gradient-border {
  background: linear-gradient(90deg, #FF4C3F 0%, #008CFF 50%, #12FCFF 100%);
  padding: 7px;
  border-radius: 62px;
  position: relative;
  box-shadow: 0px 4px 40px #4c2be08a;
  z-index: 2;
}

.logo-content {
  background: #1A1F35;
  
  border-radius: 58px;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-content img {
    width: 212px;
    height: 53px;
    filter: brightness(0) invert(1);

}

.logo-text {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 2px;
}

.logo-arrows {
  width: 100%;
  max-width: 69%;
  /* margin-top: 20px; */
  position: absolute;
  top: 90px;
  z-index: 0;
}

.logo-arrows img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= ADVANTAGE CARDS GRID ================= */
.advantage-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /* max-width: 1200px; */
  margin: 0 auto;
  z-index: 2;
}

.advantage-card {
  /* background: #0B1020; */
  /* border: 1px solid #273E78; */
  /* border-radius: 20px; */
  padding: 42px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* .advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(39, 62, 120, 0) 0%, rgba(39, 62, 120, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
} */

.advantage-card:hover {
  border-color: #4B6FBF;
  /* transform: translateY(-8px); */
  /* box-shadow: 0 12px 40px rgba(39, 62, 120, 0.4); */
}

.advantage-card:hover::before {
  opacity: 1;
}
.advantage-card:hover .advantage-badge{
    background: #20f0ff5e;
}

.advantage-badge {
  display: inline-block;
  border: 1px solid #20F0FF;
  border-radius: 30px;
  padding: 8px 20px;
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #20F0FF;
  transition: all 0.4s ease;
  margin-bottom: 20px;
}

.advantage-card-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

.advantage-card-description {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .advantage-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .key-advantage-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .key-advantage-section {
    padding: 80px 0;
  }

  .advantage-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .key-advantage-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
}

.card-description { 
    max-width: auto; 
}

  .logo-text {
    font-size: 24px;
  }

  .advantage-card {
    padding: 24px 20px;
  }
}

/* ================= THREE STEPS SECTION ================= */
.three-steps-section {
  padding: 100px 0;
  background: #0B1020;
}

section.relative {
  position: relative;
  z-index: 1;
}

.steps-border-wrapper {
  /* border: 1px solid #232C48; */
  border-radius: 20px;
  padding: 60px 80px;
  background: #0B1020;
  position: relative;
  /* z-index: 10; */
}

.steps-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 42px;
  font-weight: 600;
  background-color: #0B1020;
  padding: 0px 20px;
  width: fit-content;
  color: #fff;
  text-align: center;
  position: absolute;
  top:-20px;
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto 60px auto;
  line-height: 1.3;

  z-index: 999;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon-wrapper {
  margin-bottom: 24px;
}

.step-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(75, 43, 224, 0.2);
  border: 1px solid #4B2BE0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.step-icon-circle img {
  width: 40px;
  height: 40px;
}

.step-item:hover .step-icon-circle {
  background: rgba(75, 43, 224, 0.4);
  border-color: rgba(51, 199, 201, 0.6);
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(75, 43, 224, 0.3);
}

.step-name {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px 0;
}

.step-description {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.steps-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.btn-get-started {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #FF4D00;
  border: none;
  border-radius: 50px;
  padding: 14px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-get-started:hover {
  background: #e64a19;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
}

.btn-find-more {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid #3A4360;
  border-radius: 50px;
  padding: 14px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-find-more:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

/* ================= TRADING PLATFORMS SECTION ================= */
.trading-platforms-section {
  padding: 100px 0;
  background: #0B1020;
}

.platforms-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.platforms-left {
  max-width: 600px;
}

.platforms-label {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #8F8C9D;
  margin: 0 0 12px 0;
}



.platforms-subtitle {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #20F0FF;
  margin: 0 0 16px 0;
}

.platforms-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 42px;
  max-width: 950px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 32px 0;
}

.platform-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .platform-tab {
    padding: 10px 18px;
  }
}

.platform-tab {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFF;
  background: transparent;
  border: 1px solid #3A4360;
  border-radius: 50px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.platform-tab .tab-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.platform-tab .tab-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.platform-tab.active.is-running .tab-progress i {
  animation: platformTabProgress 4s linear forwards;
}

@keyframes platformTabProgress {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .platform-tab.active.is-running .tab-progress i {
    animation: none;
    width: 100%;
  }
}

.platform-tab .tab-label {
  font-size: 12px;
  font-weight: 400;
  color: #ffffff92;
}

.platform-tab.active {
  background: #FF4D00;
  border-color: #FFAE4C;
  color: #fff;
}

.platform-tab.active .tab-label {
  color: rgba(255, 255, 255, 0.8);
}

.platform-tab:hover:not(.active) {
  border-color: #fff;
  color: #fff;
}

.metatrader-card {
  background: #101628;
  border: 1px solid #2A3350;
  border-radius: 20px;
  padding: 32px;
 
}

.metatrader-icon {
  width: 60px;
  height: 60px;
  /* background: rgba(51, 199, 201, 0.1); */
  /* border: 1px solid rgba(51, 199, 201, 0.3); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.metatrader-icon img {
  width: 50px;
  height: 50px;
}

.metatrader-title {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px 0;
}

.metatrader-description {
    font-family: 'Bai Jamjuree', sans-serif;
  font-size: 18px;
  color: #FFFF;
  margin: 0 0 24px 0;
}

.metatrader-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.metatrader-features li {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: #D1D5DB;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.metatrader-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.download-btn {
  background: #1A1F35;
  border: 1px solid #2A3350;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.download-btn img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  flex-shrink: 0;
}

.download-btn:hover {
  background: #232C48;
  border-color: #3A4360;
}

.download-btn svg {
  flex-shrink: 0;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  color: #FFFF;
  text-transform: uppercase;
line-height: 17px;
}

.btn-platform {
  font-family: 'Gilroy-Medium', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.platforms-right {
  position: relative;
   grid-row: span 2;
}

.trading-laptop-image {
  width: 100%;
  height: auto;
  /* max-width: 600px; */
  display: block;
}

.trading-hptrader-image {
  border-radius: 16px;
  border: 1px solid #2A3350;
}

/* ================= AWARDS & RECOGNITION SECTION ================= */
.awards-section {
 border-radius: 20px;
  background-color: #0B1020;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  padding: 1px; 
  overflow: hidden;

  background: linear-gradient(
    180deg,
    rgba(35, 44, 72, 1) 0%,
    rgba(35, 44, 72, 0.4) 100%
  );
  z-index: 2;
}

.awards-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 300px;
    background: radial-gradient(
        ellipse, 
        rgba(75, 43, 224, 0.5) 0%,
        rgba(75, 43, 224, 0) 100%
    );
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;

}

.awards-section .container-fluid {
    background-color: #0B1020;
    border-radius: 20px;
    padding: 40px 0;
    z-index: 2;
}

.awards-header {
  text-align: left;
  margin-bottom: 60px;
  z-index: 2;
}

.awards-label {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #8F8C9D;
  margin: 0 0 12px 0;
}

.awards-subtitle {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #20F0FF;
  margin: 0 0 16px 0;
}

.awards-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  max-width: 800px;
  margin: 0;
}

.awards-cards-wrapper {
    padding: 25px;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.awards-cards {
  display: flex;
  gap: 24px;
  animation: scroll-awards 30s linear infinite;
  width: max-content;
}

@keyframes scroll-awards {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.awards-cards:hover {
  animation-play-state: paused;
}

.award-gradient-blue {
  background: linear-gradient(135deg, rgba(75, 43, 224, 0.3) 0%, rgba(39, 62, 120, 0.3) 100%);
  padding: 2px;
  border-radius: 20px;
  position: relative;
}

.award-gradient-orange {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.4) 0%, rgba(255, 77, 0, 0.4) 100%);
  padding: 2px;
  border-radius: 20px;
  position: relative;
}

.award-card {
  border-radius: 18px;
  padding: 32px 24px;
  min-width: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  background-color: #0B1020;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.award-card:hover {
  transform: translateY(-8px);
  border-color: #3A4360;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.award-card .union-svg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    object-fit: cover;
}



.award-card:hover .award-category {
  color: #FF4D00;
}

.award-card:hover .award-category-orange {
  color: #FF4D00;
}

.award-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.award-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.award-category {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #20F0FF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px 0;
}

.award-category-orange {
  color: #FF8C00;
}

.award-title { 
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.award-year {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #9CA3AF;
  margin: 0;
}

.awards-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* ================= EBOOKS PAGE (award-card structure + hover) ================= */
.ebooks-section {
  padding: 48px 0 60px;
}

.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ebook-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.ebook-card-link:hover {
  color: inherit;
}

.ebook-card-link:focus-visible {
  outline: 2px solid #ff4d00;
  outline-offset: 4px;
  border-radius: 24px;
}

.ebooks-section .ebook-card-link .gradient-border {
  min-width: 0;
  width: 100%;
  flex: none;
  height: 100%;
}

.ebooks-section .ebook-card-inner.award-card {
  min-width: 0;
  width: 100%;
  min-height: 420px;
  padding: 48px 24px 32px;
  box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.08);
}

.ebooks-section .ebook-card-inner .union-svg {
  height: 52%;
  opacity: 0.95;
}

.ebooks-section .ebook-cover {
  height: 220px;
  margin-bottom: 20px;
  z-index: 1;
}

.ebooks-section .ebook-cover img {
  width: 186px;
  max-width: 100%;
  height: 248px;
  object-fit: cover;
  border-radius: 10px; 
}

.ebook-level {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #33c7c9;
  text-transform: none;
  letter-spacing: 0;
  z-index: 1;
}

.ebook-card-title {
  z-index: 1;
}

.ebook-date {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.ebook-card-link:hover .ebook-level,
.ebook-card-link:hover .award-category.ebook-level {
  color: #ff4d00;
}

.ebook-card-link .award-card:hover {
  transform: none;
  box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 992px) {
  .ebooks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ebooks-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .awards-title {
    font-size: 36px;
  }

  .platforms-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .platforms-right {
    order: -1;
  }

  .platforms-title {
    font-size: 36px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-border-wrapper {
    padding: 50px 40px;
  }

  .steps-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .three-steps-section {
    padding: 60px 0;
  }

  .steps-border-wrapper {
    padding: 40px 24px;
  }

  .steps-title {
    font-size: 28px;
    margin-bottom: 40px;
  }


 .platforms-title, .awards-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
}

  .steps-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-get-started,
  .btn-find-more {
    width: 100%;
    padding: 12px 32px;
  }

  .hero-section, .tt-card{
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 1200px) {
  .education-wrapper {
    width: 95%;
  }

  .education-cards-wrapper {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 40px;
    grid-template-columns: 1fr;
  }

  .education-floating-title {
    position: absolute;
    top: -10px;
  right: -30px;
  /* background-color: red; */
    /* margin-bottom: 30px; */
  }
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 992px) {
  /* Topbar Responsive */
  .top-bar {
    padding: 6px 0;
  }
  
  .top-bar .container-fluid {
    padding: 0 20px;
  }
  
  .top-bar-left {
    gap: 12px;
  }
  
  .top-bar-left a {
    font-size: 11px;
    gap: 4px;
  }
  
  .top-icon {
    width: 14px;
    height: 14px;
  }
  
  .lang-selector {
    font-size: 11px;
    padding: 3px 10px;
  }
  
  /* Navbar Responsive */
  .navbar {
    padding: 15px 0;
  }
  
  .navbar .container-fluid {
    padding: 0 20px;
  }
  
  .navbar-brand img {
    height: 30px;
  }
  
  .navbar-nav {
    gap: 8px;
  }
  
  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 6px 0;
  }
  
  .navbar-right {
    gap: 8px;
  }
  
  .btn-login, .btn-register {
    font-size: 14px;
    padding: 8px 20px;
  }
  
  /* Education Section Responsive */
  .education-section {
    padding: 80px 0;
  }
  
  .education-floating-title h2 {
    font-size: 32px;
  }
  
  .education-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 20px;
  }
  
  .large-card h3 {
    font-size: 20px;
    width: 100%;
  }
  
  .small-card .thumb {
    height: 120px;
  }
  
  .small-card h4 {
    font-size: 18px;
  }
  
  .small-card p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  /* Topbar Mobile */
  .top-bar {
    padding: 4px 0;
  }
  
  .top-bar .container-fluid {
    padding: 0 15px;
  }
  
  .top-bar-left {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .top-bar-left a {
    font-size: 10px;
  }
  
  .top-bar-left a span {
    display: none;
  }
  
  .top-icon {
    width: 12px;
    height: 12px;
  }
  
  .lang-selector {
    font-size: 10px;
    padding: 2px 8px;
  }
  
  /* Navbar Mobile */
  .navbar {
    padding: 10px 0;
    border-radius: 20px 20px 0 0;
  }
  
  .navbar .container-fluid {
    padding: 0 15px;
  }
  
  .navbar-brand img {
    height: 28px;
  }
  
  .navbar-toggler {
    padding: 4px 8px;
    font-size: 14px;
  }
  
  .navbar-nav {
    gap: 5px;
    margin-top: 15px;
  }
  
  .navbar-nav .nav-link {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .navbar-right {
    margin-top: 15px;
    gap: 10px;
    text-align: center;
    margin: 10px auto;
    justify-content: center;
    align-items: center;
}
  
  .btn-login, .btn-register {
    font-size: 13px;
    padding: 8px 16px;
  }
  
  .btn-register {
    border-radius: 20px;
  }
  
  /* Education Section Mobile */
  .education-section {
    padding: 60px 0;
  }
  
  .education-image img {
    border-radius: 16px;
  }
  
  .education-floating-title {
    padding: 0px;
    top: 5px;
    right: 10px;
    margin-bottom: 20px;
  }
  
  .education-floating-title h2 {
    font-size: 20px;
    line-height: 1.3;
  }
  
  .education-cards-wrapper {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    border-radius: 16px;
    gap: 16px;
  }
  
  .large-card {
    order: -1;
  }
  
  .large-card h3 {
    font-size: 18px;
    margin: 15px 0;
    line-height: 1.4;
  }
  
  .small-card .thumb {
    height: 100px;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  
  .small-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .small-card p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .card-btn {
    font-size: 14px;
    padding: 8px 16px;
    margin-top: 15px;
  }
  
  /* Hide gradient effects on mobile for better performance */
  .left-gradient, .right-gradient {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Topbar Small Mobile */
  .top-bar-left {
    gap: 6px;
  }
  
  .top-bar-left a {
    font-size: 9px;
  }
  
  .lang-selector {
    font-size: 9px;
    padding: 2px 6px;
  }
  
  /* Navbar Small Mobile */
  .navbar-brand img {
    height: 24px;
  }
  
  .btn-login, .btn-register {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  /* Education Section Small Mobile */
  .education-section {
    padding: 40px 0;
  }
  
  .education-floating-title {
    padding: 0px;
  }
  .awards-buttons{
    flex-direction: column;
    padding: 0px 10px;
  }
  
  .education-floating-title h2 {
    font-size: 14px;
  }
  
  .education-cards-wrapper {
    padding: 15px 10px;
    gap: 12px;
  }
  
  .large-card h3 {
    font-size: 16px;
  }
  
  .small-card .thumb {
    height: 80px;
  }
  
  .small-card h4 {
    font-size: 14px;
  }
  
  .small-card p {
    font-size: 12px;
  }
  
  .card-btn {
    font-size: 13px;
    padding: 6px 12px;
  }
}










/* ============================================================= */
/* TRADING TOOLS PAGE STYLES                                     */
/* ============================================================= */

:root {
    --bg-page: #080C18;
    --bg-card: #0B1020;
    --bg-panel: #0B1020;
    --bg-input: #080C18;
    --border-input: rgba(255, 255, 255, 0.15);
    --border-divider: #383839;
    --text-primary: #FFFFFF;
    --text-secondary: #8F8C9D;
    --text-label: #8F8C9D;
    --text-muted: #6B6780;
    --accent-cyan: #20F0FF;
    --btn-orange: #FF4D00;
    --accent-purple: #4B2BE0;
    --accent-blue: #0052B4;
    --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --card-radius: 20px;
    --input-radius: 8px;
}

.tt-card { /*background: #FFFFFF;*/ border-radius: 40px; overflow: visible; position: relative; }
.tt-card .container{position: relative; z-index: 3; }
.tt-navbar { background: transparent; border-radius: 0; padding: 20px 0; }
.tt-navbar .container-fluid { padding: 0 50px; }
.tt-navbar .navbar-nav { margin:  auto; justify-content: center; align-items: center; gap: 4px;  }
.tt-navbar .navbar-nav .nav-link { color: #333333; font-size: 14px; font-weight: 500; font-family: 'Bai Jamjuree', sans-serif; padding: 8px 16px; border-radius: 6px; transition: background 0.2s ease, color 0.2s ease; }
.tt-navbar .navbar-nav .nav-link:hover { background: #F0EFED; color: #333333; }
.tt-navbar .navbar-nav .nav-link:focus,
.tt-navbar .navbar-nav .nav-link:active,
.tt-navbar .navbar-nav .nav-item.show .nav-link { background: #F0EFED; color: #333333; }

.tt-navbar .navbar-nav .nav-item.tt-nav-parent-active > .nav-link.dropdown-toggle {
    background: rgba(255, 77, 0, 0.07);
    color: #ff4d00 !important;
}

.tt-navbar .navbar-nav .nav-link.active { background: #FF4D00; color: #fff; }
.tt-navbar .navbar-nav .dropdown-item.active { background: #FF4D00; color: #fff; }
.tt-login { color: #333333 !important; }

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        /* margin-top: 30px; */
    }
    
    .tt-navbar .navbar-toggler {
        --bs-navbar-toggler-focus-width: 0.05rem;
    }
    
    .tt-navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 20px; 
    }
    
    .tt-navbar .navbar-nav .nav-item {
        width: 100%;
    }
    
    .tt-navbar .nav-link {
        width: 100%;
    }
    
    .tt-navbar .nav-link.dropdown-toggle::after {
        margin-left: 8px;
    }
}

/* Animated Hamburger Menu */
.tt-navbar .navbar-toggler {
    border: none;
    padding: 10px;
    background: transparent;
}

.tt-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animate to X when menu is open */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.tt-hero { padding: 40px 0px 50px; margin: 0 auto; }
.tt-hero-title { font-family: 'Instrument Sans', sans-serif; font-size: 38px; font-weight: 700; color: #333333; margin-bottom: 10px; line-height: 1.2; }
.tt-hero-desc { font-family: 'Instrument Sans', sans-serif; font-size: 16px; color: #202121; line-height: 1.6; margin: 0; max-width: 750px; }

.trading-tools { margin: 0 auto; padding: 40px 0px 60px; }
.section-eyebrow { font-size: 15px; color: var(--text-muted); margin-bottom: 18px; }
.section-divider { border: none; border-top: 2px solid var(--border-divider); margin-bottom: 28px; }
.section-label { font-size: 14px; font-weight: 600; color: var(--accent-cyan); margin-bottom: 14px; }
.section-heading { font-size: 34px; font-weight: 600; line-height: 1.25; margin-bottom: 40px; max-width: 1000px; color: var(--text-primary); }

.glow-card { position: relative; background: var(--bg-card); border-radius: var(--card-radius); isolation: isolate; }
.glow-card::before { content: ''; position: absolute; inset: 0; border-radius: var(--card-radius); padding: 1.5px; background: linear-gradient(160deg, rgba(75,43,224,0.85) 0%, rgba(60,80,220,0.6) 20%, rgba(0,82,180,0.5) 35%, rgba(143,140,157,0.15) 50%, rgba(0,82,180,0.5) 65%, rgba(60,80,220,0.6) 80%, rgba(75,43,224,0.85) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; }
.glow-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--card-radius); box-shadow: inset 0 0 40px 0 rgba(75,43,224,0.06); pointer-events: none; z-index: 2; }

.calc-card { display: flex; background: radial-gradient(160% 120% at 50% 0%, rgba(75,43,224,0.15) 0%, rgba(60,80,220,0.10) 30%, rgba(0,82,180,0.06) 50%, rgba(11,16,32,0.92) 80%), linear-gradient(180deg, rgba(75,43,224,0.05) 0%, rgba(11,16,32,0.98) 70%); }
.calc-form { flex: 1; padding: 28px 32px; display: flex; gap: 20px; }
.calc-col { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 11.5px; color: var(--text-label); }
.input-wrap { position: relative; display: flex; align-items: center; font-family: 'Bai Jamjuree', sans-serif; }
.input-wrap select, .input-wrap input { width: 100%; height: 42px; background: var(--bg-input); border: 1px solid var(--border-input); border-radius: 4px; color: #fff; font-size: 14px; font-family: 'Bai Jamjuree', sans-serif; padding: 0 38px 0 16px; outline: none; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.input-wrap select::-ms-expand { display: none; }
.input-wrap.has-flag select { padding-left: 46px; }
.input-wrap .flag { position: absolute; left: 16px; width: 22px; height: 16px; border-radius: 2px; pointer-events: none; object-fit: cover; }
.input-wrap .chevron { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; color: white; display: flex; align-items: center; justify-content: center; }
.input-wrap .chevron svg { width: 16px; height: 16px; }
.btn-calculate { margin-top: auto; width: 100%; height: 44px; background: var(--btn-orange); border: none; border-radius: 24px; color: #fff; font-weight: 600; cursor: pointer; transition: 0.2s; }

.calc-panel { width: 260px; background: linear-gradient(180deg, rgba(75,43,224,0.03) 0%, rgba(11,16,32,0.98) 70%); padding: 24px 28px; border-left: 1px solid var(--border-divider); display: flex; flex-direction: column; position: relative; z-index: 1; }
.panel-row { display: flex; color: var(--text-primary); justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border-divider); }
.panel-title { font-size: 13px; color: var(--text-label); }
.panel-row:last-child { border-bottom: none; }
.panel-divider { height: 24px; }
.currency-section { margin-top: 56px; }
.currency-section.currency-section--lead { margin-top: 0; }
#trading-calculator { scroll-margin-top: 96px; }
#currency-conversion { scroll-margin-top: 96px; }

/* Trading Tools — World Clock */
.world-clock-section {
    margin-top: 56px;
    scroll-margin-top: 96px;
}
.world-clock-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.world-clock-card {
    position: relative;
    z-index: 1;
    padding: 24px 22px;
    background: radial-gradient(140% 120% at 10% 0%, rgba(75,43,224,0.14) 0%, rgba(11,16,32,0.96) 65%), linear-gradient(180deg, rgba(75,43,224,0.06) 0%, rgba(11,16,32,1) 70%);
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 168px;
}
.world-clock-city {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.world-clock-status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.world-clock-status.is-open {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
}
.world-clock-status.is-closed {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-muted);
}
.world-clock-time {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.world-clock-session {
    font-size: 13px;
    color: var(--text-label);
    line-height: 1.45;
    margin: 0;
}
.world-clock-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 920px;
}

.calc-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.calc-tools-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(66, 102, 187, 0.35);
    background: linear-gradient(145deg, rgba(11, 16, 32, 0.95) 0%, rgba(20, 28, 52, 0.85) 100%);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.15s ease;
}
.calc-tools-card:hover {
    border-color: rgba(255, 90, 31, 0.55);
    transform: translateY(-2px);
}
.calc-tools-card-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}
.calc-tools-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

@media (max-width: 991px) {
    .world-clock-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .world-clock-grid {
        grid-template-columns: 1fr;
    }
}

.converter-card { display: flex; align-items: center; padding: 0; min-height: 160px; background: radial-gradient(140% 160% at 0% 0%, rgba(75,43,224,0.20) 0%, rgba(0,82,180,0.14) 35%, rgba(11,16,32,0.95) 70%), linear-gradient(180deg, rgba(75,43,224,0.10) 0%, rgba(11,16,32,1) 65%); }
.converter-side { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 40px; position: relative; z-index: 2; min-width: 0; }
.converter-side.right { align-items: flex-end; text-align: right; }
.converter-currency-label { font-size: 15px; color: var(--text-label); }
.converter-amount-row { display: flex; color: var(--text-primary); align-items: center; width: 100%; gap: 20px; }
.converter-side.left .converter-amount-row { justify-content: flex-start; }
.converter-side.left .currency-badge { margin-left: auto; }
.converter-side.right .converter-amount-row { flex-direction: row-reverse; justify-content: flex-start; }
.converter-side.right .currency-badge { margin-right: auto; }
.converter-amount { font-size: 40px; font-weight: 600; font-family: 'Bai Jamjuree', sans-serif; line-height: 1; white-space: nowrap; color: #fff; }
input.converter-amount { background: transparent; border: none; outline: none; width: 200px; }
.currency-badge { display: inline-flex; align-items: center; gap: 10px; background: #080C18; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 100px; padding: 8px 18px; cursor: pointer; transition: 0.2s; position: relative; }
.currency-badge:hover { border-color: rgba(255,255,255,0.25); }
.currency-badge .badge-flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.currency-badge .badge-code { font-size: 14px; font-weight: 600; color: #fff; font-family: 'Bai Jamjuree', sans-serif; }
.currency-badge .badge-chevron { transition: transform 0.3s; }
.currency-badge.open .badge-chevron { transform: rotate(180deg); }

.badge-dropdown {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  background: #0a0f1e;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 20;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.currency-badge.open .badge-dropdown { opacity: 1; visibility: visible; }

.badge-dropdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-family: 'Bai Jamjuree', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.badge-dropdown li:hover { background: rgba(255,255,255,0.07); }
.badge-dropdown li img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

.swap-center { display: flex; flex-direction: column; align-items: center; align-self: stretch; width: 60px; position: relative; z-index: 2; padding: 0; margin: 0; }
.swap-divider { flex: 1; width: 1px; border: none; margin: 0; padding: 0; background: rgba(110,110,110,0.6); }
.swap-icon-wrap { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1.5px solid rgba(255,255,255,0.15); border-radius: 50%; margin: 0; flex-shrink: 0; }
.swap-icon-wrap img { width: 22px; height: 22px; object-fit: contain; }

@media (max-width: 900px) {
    .trading-tools { padding: 32px 24px; }
    .calc-card { flex-direction: column; }
    .calc-panel { width: 100%; border-left: none; border-top: 1px solid var(--border-divider); }
    .calc-form { flex-direction: column; }
    .converter-card { flex-direction: column; padding: 40px 20px; min-height: auto; }
    .converter-side { padding: 20px; width: 100%; align-items: center !important; text-align: center !important; }
    .converter-amount-row { flex-direction: column !important; gap: 15px; }
    .currency-badge { margin: 0 !important; }
    .swap-center { flex-direction: row; width: 100%; height: auto; margin: 0; align-self: center; }
    .swap-divider { flex: 1; height: 1.5px; width: auto; }
    .tt-hero { padding: 30px 24px 40px; }
    .tt-navbar .container-fluid { padding: 0 24px; }
    .tt-card { border-radius: 20px; }
}
@media (max-width: 768px) {
    .tt-hero-title { font-size: 28px; }
    .tt-hero-desc { font-size: 14px; }
}

/* ============================================================= */
/* GLOSSARY PAGE (Figma: Terms of Business Glossary)               */
/* ============================================================= */

.page-glossary .glossary-hero .tt-hero-desc {
    max-width: min(100%, 960px);
}

.glossary-main {
    padding: 36px 0 80px;
    /* background: var(--bg-page); */
}

.glossary-container {
    max-width: 1140px;
}

.glossary-toolbar-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0 16px;
    margin: 0 0 40px;
    background: #0b1020;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.glossary-toolbar {
    margin-bottom: 0;
}

.glossary-search-wrap {
    position: relative;
    margin-bottom: 18px;
}

.glossary-search-input {
    width: 100%;
    height: 60px;
    padding: 0 52px 0 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0e1428;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Bai Jamjuree', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.glossary-search-input::placeholder {
    color: var(--text-muted);
}

.glossary-search-input:focus {
    border-color: rgba(91, 76, 230, 0.65);
    box-shadow: 0 0 0 3px rgba(75, 43, 224, 0.2);
}

.glossary-search-icon {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.45);
    font-size: 18px;
    pointer-events: none;
}

.glossary-alpha-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}

.glossary-alpha-pill {
    height: 32px;
    padding: 0 9px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(14, 20, 40, 0.9);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Bai Jamjuree', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.glossary-alpha-pill:hover:not(:disabled) {
    border-color: rgba(91, 76, 230, 0.55);
    background: rgba(75, 43, 224, 0.15);
}

.glossary-alpha-pill.is-active {
    background: linear-gradient(135deg, #5b4ce6 0%, var(--accent-purple) 100%);
    border-color: transparent;
    color: #fff;
}

.glossary-alpha-pill--disabled,
.glossary-alpha-pill:disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.glossary-no-results {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin: -12px 0 32px;
}

.glossary-letter-block {
    scroll-margin-top: 24px;
    margin-bottom: 48px;
}

.glossary-letter-heading {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 16px;
}

.glossary-letter-rule {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 28px;
}

.glossary-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glossary-card {
    position: relative;
    border-radius: 16px;
    padding: 28px 28px 28px;
    background: linear-gradient(180deg, rgba(14, 20, 40, 0.95) 0%, rgba(11, 16, 32, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.glossary-card-accent {
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    height: 5px;
    /* border-radius: 0 0 3px 3px; */
    background: linear-gradient(90deg, #6f5cff 0%, var(--accent-purple) 50%, #3d5ae8 100%);
}

.glossary-card-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    margin: 20px 0 16px;
    line-height: 1.25;
}

.glossary-card-def {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    font-family: 'Bai Jamjuree', sans-serif;
    margin: 0;
}

@media (max-width: 576px) {
    .glossary-main {
        padding: 24px 0 60px;
    }

    .glossary-alpha-row {
        gap: 8px;
    }

    .glossary-alpha-pill {
        height: 30px;
        font-size: 13px;
    }

    .glossary-card {
        padding: 22px 20px;
    }

    .glossary-card-accent {
        left: 18px;
        right: 18px;
    }
}


/* ============================================================= */
/* TRADING CENTRAL PAGE STYLES                                   */
/* ============================================================= */

.page-wrap { margin: 0 auto; padding: 40px 0px 80px; }
.page-eyebrow { font-size: 13px; font-weight: 400; color: var(--text-muted); font-family: 'Bai Jamjuree', sans-serif; margin-bottom: 18px; letter-spacing: 0.02em; }
.page-divider { border: none; border-top: 1px solid var(--text-muted); margin-bottom: 0; }
.tc-section { padding-top: 48px; margin-bottom: 60px; }
.tc-section + .tc-section { margin-top: 8px; }
.tc-section .section-label { margin-top: 20px; }
.tc-section .section-heading { font-size: 33px; margin-bottom: 36px; max-width: 900px; }
.tc-desc { font-size: 15px; font-weight: 400; color: var(--text-label); line-height: 1.7; }
.tc-desc--limit { max-width: 700px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item { position: relative; background: var(--bg-card); border: none; border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.feature-item::before { content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1.2px; background: linear-gradient(to bottom, rgba(66,102,187,0.45) 0%, rgba(35,52,102,0.25) 35%, rgba(20,30,60,0.1) 60%, transparent 85%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 3; }
.feature-item::after { content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 80px; background: radial-gradient(ellipse at top center, rgba(66,102,187,0.08) 0%, transparent 80%); pointer-events: none; z-index: 1; }
.feature-item-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 35px; margin-top: 10px; position: relative; z-index: 2; }
.feature-item-icon.cyan { background: #10162A; box-shadow: 0 0 0 2px rgba(66,102,187,0.6), 0 0 12px 2px rgba(66,102,187,0.2); }
.feature-item-icon img { width: 20px; height: 20px; }
.feature-item-title { font-size: 24px; max-width: 285px; font-weight: 600; color: var(--text-primary); line-height: 1.35; position: relative; z-index: 2; }
.feature-item-desc { font-size: 13px; font-weight: 400; color: var(--text-label); line-height: 1.6; position: relative; z-index: 2; }

.cta-row { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 6px 20px 6px 6px; width: fit-content; border-radius: 100px; background-color: var(--btn-orange); cursor: pointer; transition: box-shadow 0.2s ease, transform 0.1s ease; }
.cta-row:hover { box-shadow: 0 6px 24px rgba(255,77,0,0.3); }
.cta-row:active { transform: scale(0.98); }
.cta-circle { width: 34px; height: 34px; border-radius: 50%; background: #0C0625; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-circle img, .cta-circle svg { width: 16px; height: 16px; color: #FFFFFF; }
.cta-text { font-size: 14px; font-weight: 600; color: #FFFFFF; letter-spacing: 0.01em; }

@media (max-width: 900px) { .page-wrap { padding: 32px 24px 60px; } .tc-section .section-heading { font-size: 26px; } .features-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 600px) { .page-wrap { padding: 24px 16px 48px; } .tc-section .section-heading { font-size: 22px; } }


/* ============================================================= */
/* Trading conditions PAGE                                          */
/* ============================================================= */

.page-container { margin: 0 auto;}

.section-header { margin-bottom: 40px; }
.eyebrow { color: #8a94a6; font-size: 14px; margin-bottom: 10px; margin-top: 50px;}
.eyebrow-2 { color: #8a94a6; font-size: 20px; margin-bottom: 10px; font-weight: 600; }
hr.divider { border: none; height: 1px; background: #8a94a6; margin-bottom: 50px; }
.sub-label { color: var(--accent-cyan); font-family: 'Bai Jamjuree'; font-size: 20px; margin-bottom: 15px; }
.main-title { font-size: 33px; font-weight: 700; max-width: 1000px; color: var(--text-primary); }

.feature-card { background: var(--bg-card); padding: 40px; border-radius: 24px; position: relative; border: 1px solid rgba(255,255,255,0.05); box-shadow: inset 0 1px 1px rgba(255,255,255,0.1); }
.icon-circle { width: 60px; height: 60px; background: linear-gradient(135deg, #1e2a5e, #0b1222); border: 2px solid #3c4ba0; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; }
.inner-icon { color: var(--accent-cyan); font-size: 20px; }
.feature-card h3 { font-size: 24px; margin-bottom: 15px; font-weight: 500; }
.feature-card p { color: #8a94a6; font-size: 15px; }

.table-container {
    background: #0B1020;
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 10px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 0 0 1px rgba(66,102,187,0.6);
    overflow: hidden;
}

/* Subtle bottom-left inner glow - soft and smooth like the reference */
.table-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 20px;
    background: radial-gradient(
    ellipse 40% 40% at 0% 100%,
    rgba(75, 43, 224, 0.1) 0%,
    rgba(75, 43, 224, 0) 100%
  ),
  radial-gradient(
    ellipse 90% 90% at 0% 100%,
    rgba(75, 43, 224, 0.1) 0%,
    rgba(75, 43, 224, 0) 100%
  );
}

.table-header { display: flex; justify-content: space-between; }
.tabs .tab { margin-right: 25px; color: #8a94a6; cursor: pointer; font-size: 25px; font-weight: 600; }
.tabs .tab.active { color: var(--btn-orange); font-weight: bold; font-size: 25px; }

.trading-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 13px; font-weight: 600; }
.trading-table1 { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 13px; font-weight: 600; }
.trading-table1 th { text-align: left; color: #8a94a6; padding: 15px 10px; border-bottom: 1px solid rgba(255,255,255,0.103); }
.trading-table1 td { padding: 15px 10px; border-bottom: 1px solid rgba(255,255,255,0.103); text-align: left; color: #8a94a6; }
.tb-heading { border: 1px solid rgba(255,255,255,0.103); }
.trading-table th { text-align: center; color: #8a94a6; padding: 15px 10px; border-bottom: 1px solid rgba(255,255,255,0.103); }
.trading-table td { padding: 15px 10px; border-bottom: 1px solid rgba(255,255,255,0.103); text-align: center; color: #8a94a6; }
.trading-table .ticker-symbol { color: #ffffff; font-weight: 700; text-align: left; }
.trading-table th:first-child { text-align: left; }
.trading-table .ticker-bid,
.trading-table .ticker-ask,
.trading-table .ticker-spread,
.trading-table .ticker-change {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    padding-left: 12px;
    padding-right: 12px;
}
.ticker-live-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #888;
    margin-left: 12px;
    vertical-align: middle;
    white-space: nowrap;
}
.table-header .ticker-live-status {
    margin-left: auto;
    margin-right: 16px;
}
.ticker-up   { color: #00ff66 !important; }
.ticker-down { color: #ff4444 !important; }

.search-bar { padding: 10px 20px; padding-right: 140px; border-radius: 30px; box-shadow: 0 0 0 1px rgba(66,102,187,0.6), 0 0 12px 2px rgba(66,102,187,0.2); display: flex; align-items: center; }
.search-bar img { display: block; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

.info-card { background: #01061D; border-radius: 20px; display: flex; overflow: hidden; padding: 0; border: 1px solid rgba(66,102,187,0.6); position: relative; min-height: 320px; border-top: 20px solid #4B2BE0; }
.info-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 39px, rgba(255,255,255,0.04) 39px, rgba(255,255,255,0.04) 40px); pointer-events: none; border-radius: 20px; }
.info-content { padding: 35px 30px; flex: 1; position: relative; z-index: 1; }
.info-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 18px; color: #fff; line-height: 1.2; }
.info-card p { font-size: 13.5px; color: #8a94a6; line-height: 1.7; }
.info-image { position: relative; z-index: 1; display: flex; align-items: center; justify-content: end; padding: 10px 0 10px 0; flex-shrink: 0; width: 180px; }
.info-image img { max-height: 300px; width: auto; object-fit: contain; }

.calc-info-card { background: #01061D; border-radius: 20px; display: flex; overflow: visible; padding: 0; border: 1px solid rgba(66,102,187,0.6); position: relative; margin-top: 100px; min-height: 300px; border-image-slice: 1; border-top: 20px solid #4B2BE0; }
.calc-info-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(to bottom, transparent 0px, transparent 39px, rgba(255,255,255,0.04) 39px, rgba(255,255,255,0.04) 40px); pointer-events: none; border-radius: 20px; }
.calc-info-content { padding: 40px 35px; flex: 1; position: relative; z-index: 1; }
.calc-info-content h3 { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: #fff; line-height: 1.2; max-width: 450px; }
.calc-info-content p { font-size: 13.5px; color: #8a94a6; line-height: 1.7; max-width: 500px; }
.formula { margin-top: 25px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.formula .label { color: var(--btn-orange); font-weight: 600; font-size: 14px; }
.formula .equals { color: var(--btn-orange); font-weight: 700; font-size: 16px; }
.formula .value { color: #fff; font-weight: 700; font-size: 14px; }
.calc-info-image { position: relative; overflow: visible; flex-shrink: 0; width: 380px; }
.calc-info-image img { position: absolute; bottom: 0; right: 20px; height: 125%; width: auto; z-index: 10; object-fit: contain; }

/* ==========================================
   DOUBLE BOTTOM BORDER + PAGINATION
   ========================================== */

.table-bottom-border {
    margin: 0px -20px -20px -20px;
    padding: 0;
    padding-top: 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.table-bottom-border .border-line {
    display: block;
    width: 100%;
    height: 22px;
    overflow: visible;
}

.table-bottom-border .pagination-row { padding: 12px 0 16px; }

.pagination-row { display: flex; justify-content: center; align-items: center; gap: 6px; }
.page-btn { color: rgba(85,126,222,0.6); height: 30px; min-width: 30px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; font-family: 'Instrument Sans', sans-serif; background: #0B1020; border: 1px solid rgba(66,102,187,0.6); }
.page-btn:hover { border-color: rgba(255,255,255,0.2); color: #fff; }

/* ============================================================= */
/* ACCOUNT CARDS SECTION - Trading Account Page                 */
/* ============================================================= */

.account-cards-section {
    padding: 80px 0;
    background: #0B1020;
}

.account-cards-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
    max-width: 1400px;
}

/* Each tier (Standard, Zero, Black — ascending minimum deposit) in its own full-width row wrapper. */
.account-cards-row-full {
    width: 100%;
}

.account-cards-row-full .instruments-list {
    max-width: none;
}

.account-card-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(180deg, rgba(39, 62, 120, 0.4) 0%, rgba(39, 62, 120, 1) 100%);
    box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.account-card-wrapper.standard-card {
    background: linear-gradient(180deg, rgba(39, 62, 120, 0.4) 0%, rgba(39, 62, 120, 1) 100%);
    box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.15);
}

.account-card-wrapper.premium-card {
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.8) 0%, rgba(139, 69, 19, 0.3) 100%);
    box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.15);
}

.account-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(75, 43, 224, 0.3);
}

.account-card-wrapper.standard-card:hover,
.account-card-wrapper.ecn-card:hover {
    box-shadow: 0 12px 40px rgba(75, 43, 224, 0.3);
}

.account-card-wrapper.premium-card:hover {
    box-shadow: 0 12px 40px rgba(255, 77, 0, 0.3);
}

.account-card-wrapper.premium-card .cta-row{
    background-color: #4B2BE0;
}
.account-card-wrapper.premium-card .cta-row:hover{
    box-shadow: 0 12px 40px  rgba(75, 43, 224, 0.3);
}

.account-card-inner {
    background: #0B1020;
    border-radius: 22px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.account-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
    ellipse 40% 40% at 100% -10%,
    rgba(75, 43, 224, 0.5) 0%,
    rgba(75, 43, 224, 0) 100%
  ),
  radial-gradient(
    ellipse 90% 90% at 100% -10%,
    rgba(75, 43, 224, 0.5) 0%,
    rgba(75, 43, 224, 0) 100%
  );
    pointer-events: none;
    z-index: 0;
}

.standard-card .account-card-inner::before {
    background: radial-gradient(
    ellipse 40% 40% at 0% -10%,
    rgba(75, 43, 224, 0.5) 0%,
    rgba(75, 43, 224, 0) 100%
  ),
  radial-gradient(
    ellipse 90% 90% at 0% -10%,
    rgba(75, 43, 224, 0.5) 0%,
    rgba(75, 43, 224, 0) 100%
  );
}

.premium-card .account-card-inner::before {
    background: radial-gradient(
    ellipse 40% 40% at 100% -10%,
    rgba(255, 77, 0, 0.5) 0%,
    rgba(255, 77, 0, 0) 100%
  ),
  radial-gradient(
    ellipse 90% 90% at 100% -10%,
    rgba(255, 77, 0, 0.5) 0%,
    rgba(255, 77, 0, 0) 100%
  );
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    gap: 20px;
}

.account-card-header > div:first-of-type {
    flex: 1;
    min-width: 0;
}

.account-card-title {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    margin: 0;
}

.account-card-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0 0;
}

.account-card-desc {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 8px 0 0;
    max-width: 420px;
}

.account-card-body {
    position: relative;
    z-index: 1;
}

.account-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.account-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.info-value {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.account-deposit-section {
    display: flex;
    align-items: center;
    gap: 35px;
}

.deposit-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.deposit-amount {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
}

.deposit-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.account-instruments {
    margin-bottom: 0;
}

.account-card-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 10px;
}

.account-card-footer .cta-row {
    margin-top: 0;
}

.instruments-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 10px 0;
}

.instruments-list {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    line-height: 1.6;
    max-width: 660px;
    margin: 0;
}

.account-open-btn {
    width: 100%;
    background: linear-gradient(90deg, #FF4D00 0%, #FF6B35 100%);
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.account-open-btn:hover {
    background: linear-gradient(90deg, #FF6B35 0%, #FF4D00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
}

.account-open-btn svg {
    transition: transform 0.3s ease;
}

.account-open-btn:hover svg {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .account-cards-container {
        gap: 24px;
    }
    
    .account-card-inner {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .account-cards-section {
        padding: 60px 0;
    }
    
    .account-info-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .account-card-inner {
        padding: 24px;
    }
    
    .account-card-title {
        font-size: 28px;
    }

    .account-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .account-card-header > div:first-of-type {
        width: 100%;
    }
    
    .deposit-amount {
        font-size: 24px;
    }
    
    .account-deposit-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
}
.page-btn.active { background: #202841; border: 1px solid rgba(255,255,255,0.121); color: #576387; font-weight: 600; }









@media (max-width: 1024px) {
    .main-title {
        font-size: 28px;
    }

    .info-grid {
        grid-template-columns: 1fr; /* Stack the two cards */
        margin-top: 40px;
    }

    .calc-info-image {
        width: 300px;
    }

    .calc-info-image img {
        height: 110%;
    }
}

/* Standard Mobile Devices */
@media (max-width: 768px) {
    .page-container {
        padding: 0;
    }

    /* Make tables scrollable horizontally so they don't squish */
    .table-container {
        overflow-x: auto;
    }

    .trading-table, .trading-table1 {
        min-width: 600px; /* Ensures table content remains readable */
    }

    .table-header {
        flex-direction: column;
        gap: 20px;
    }

    .tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .search-bar {
        padding-right: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Stack the Info Cards Content */
    .info-card {
        flex-direction: column;
        height: auto;
    }

    .info-image {
        width: 100%;
        justify-content: center;
        padding: 20px 0;
    }

    .info-image img {
        max-height: 200px;
    }

    /* Fix Calculator Card Layout */
    .calc-info-card {
        flex-direction: column;
        margin-top: 60px;
    }

    .calc-info-image {
        width: 100%;
        height: 200px;
        order: -1; /* Move image to top on mobile for better flow */
    }

    .calc-info-image img {
        position: relative;
        right: 0;
        height: 200px;
        margin: 0 auto;
        display: block;
    }

    .calc-info-content h3 {
        font-size: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .main-title {
        font-size: 22px;
    }

    .feature-card {
        padding: 20px;
    }

    .eyebrow-2 {
        font-size: 18px;
    }

    .tabs .tab, .tabs .tab.active {
        font-size: 18px;
    }
    
    .formula {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* =================================================
                SOCIAL TRADING PAGE
==================================================== */

.copy-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-top: 80px; 
}

.copy-card { 
    background: #01061D; 
    border-radius: 20px; 
    display: flex; 
    overflow: hidden; 
    padding: 0; 
    border: 1px solid rgba(66,102,187,0.6); 
    position: relative; 
    min-height: 320px; 
    border-top: 20px solid #4B2BE0; 
}

.copy-card::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: repeating-linear-gradient(to bottom, transparent 0px, transparent 39px, rgba(255,255,255,0.04) 39px, rgba(255,255,255,0.04) 40px); 
    pointer-events: none; 
    border-radius: 20px; 
}


.copy-content { 
    padding: 35px 85px 35px 45px; 
    flex: 1; 
    position: relative; 
    z-index: 1; 
}

.copy-card h3 { 
    font-size: 30px; 
    font-weight: 600; 
    font-family: 'Bai Jamjuree', sans-serif;
    margin-bottom: 18px; 
    color: #fff; 
    line-height: 1.2; 
}

.copy-card p { 
    font-size: 13.5px; 
    color: #8a94a6; 
    line-height: 1.7; 
}

.copy-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 10px 0 10px 0;
    flex-shrink: 0;
    width: 180px;
}

.copy-image img { 
    max-height: 300px; 
    width: auto; 
    object-fit: contain; 
}

/* NDD hero: 3-up copy-grid (Figma node 2-2107, Honor Pro file) */
.copy-grid.copy-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 80px;
}

.copy-card.copy-card--ndd {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-top: none;
    background: #0b1020;
    border: 1px solid #273e78;
}

.copy-card-ndd-accent {
    height: 13px;
    width: 100%;
    flex-shrink: 0;
    background: #4b2be0;
    position: relative;
    z-index: 2;
}

/* Match .feature-item padding, gap, and icon spacing (trading-central.html) */
.copy-card-ndd-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px;
    position: relative;
    z-index: 1;
}

.copy-card.copy-card--ndd .feature-item-title {
    max-width: none;
    margin: 0;
}

.copy-card.copy-card--ndd .feature-item-desc {
    margin: 0;
}

@media (max-width: 1100px) {
    .copy-grid.copy-grid--three {
        grid-template-columns: 1fr;
    }
}

/* TABLE SECTION */
.st-section {
    padding: 0px 20px;
}

.social-label { 
    margin-top: 60px; 
    color: #4ed9e6; 
    font-family: 'Bai Jamjuree', sans-serif; 
    font-size: 14px; 
    font-weight: 600; 
    margin-bottom: 15px; 
    text-transform: uppercase;
}

.social-heading { 
    font-size: 35px; 
    margin-bottom: 36px; 
    max-width: 1000px; 
    color: var(--text-primary, #ffffff); 
    font-weight: 600; 
    line-height: 1.3;
}

.st-table-container {
    background: #0B1020; 
    border-radius: 12px;
    padding: 10px 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border: none; 
}

.st-table-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25px; 
    padding: 1px; 
    background: linear-gradient(to bottom, 
        rgba(76, 102, 187, 0.8) 0%,  
        rgba(76, 102, 187, 0.3) 30%,  
        transparent 70%               
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.st-table-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        circle 500px at 0% 100%, 
        rgba(76, 43, 224, 0.15) 0%, 
        rgba(76, 43, 224, 0.05) 40%, 
        transparent 100%
    );
    z-index: 1;
}

.st-trading-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    z-index: 3; 
}

.st-trading-table th {
    text-align: left;
    color: #8a94a6;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
}

.st-trading-table thead {
    border-radius: 12px;
}

.st-heading {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #0B1020;
    padding: 5px 0;
}

.st-trading-table td {
    padding: 5px 10px;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    color: #e2e4e8;
    font-size: 16px;
    font-weight: 600;
    vertical-align: middle;
}

.st-trading-table th:nth-child(2), 
.st-trading-table td:nth-child(2),
.st-trading-table th:nth-child(3), 
.st-trading-table td:nth-child(3) {
    width: 150px;
    text-align: center;
}

.icon-circle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 10px;
    border-radius: 50% !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    -webkit-appearance: none;
    font-family: Arial, sans-serif; 
}

.icon-circle.check {
    background: #0BE36C !important; 
    background-color: #0BE36C !important;
    color: #0b1226 !important;
    border: none !important;
}

.icon-circle.cross {
    background: #E03528 !important; 
    background-color: #E03528 !important;
    color: #0b1226 !important;
    border: none !important;
}




/* STRATEGY MARKETPLACE CAROUSEL */

.st-label {
    color: var(--text-label);
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
    padding: 50px 85px 0 85px;
}

.sub-label-4 {
    color: var(--accent-cyan);
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
    padding: 30px 85px 0 85px;
}

.social-heading-4 {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 35px;
  padding: 5px 85px 0px 85px;
}
.st-4-divider {
    margin: 5px 85px 20px 85px;
    border: 1px solid var(--text-label);
}

.st-section-3 {
  border: 1px solid rgba(66, 102, 187, 0.6);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.st-section-3::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(
        ellipse, 
        rgba(75, 43, 224, 0.5) 0%,
        rgba(75, 43, 224, 0) 100%
    );
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.marketplace-section {
    overflow: hidden;
    padding-bottom: 100px;
}

.marketplace-content {
    text-align: left;
    margin-top: -20px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollInfinite 20s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stats-grid {
    margin-bottom: 25px;
}

.trader-card {
    width: 350px;
    background: #1D1F2E;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.448);
    transition: all 0.3s ease;
    flex-shrink: 0; 
     overflow: hidden;   
    position: relative;
    z-index: 1;
}

.trader-card::after{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(
        ellipse, 
        rgba(106, 111, 152, 0.5) 0%,
        rgba(106, 111, 152, 0) 100%
    );
    filter: blur(40px);
    pointer-events: none;
   z-index: -1; 
}

.trader-card:hover {
    border-color: rgba(76, 102, 187, 0.6);
    background: #0d142b;
    transform: translateY(-8px);
    box-shadow: 0 10px 15px #ff5403;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 18px;
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.card-header p {
    font-size: 13px;
    color: #8a94a6;
    margin: 4px 0 0 0;
}

.flag {
    width: 22px;
    height: auto;
    border-radius: 3px;
}


/* Simulated graph wave */
.graph-animation-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(11, 227, 108, 0.15), transparent);
    border-top: 2px solid rgba(11, 227, 108, 0.4);
}
.graph-container {
    width: 100%;
    height: 120px;
    background: #0B1020; /* Dark background inside the graph area */
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

/* STATS */
.stats-grid {
    margin-bottom: 25px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #8a94a6;
    font-weight: 500;
}
.stat-row span{
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-row:last-child {
    border-bottom: none;
}

.val-green { color: #0BE36C; font-weight: 700; }
.val-red { color: #E03528; font-weight: 700; }

.btn-invest {
    width: 100%;
    background: #ff5403;
    border: none;
    color: #fff;
    padding: 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-invest:hover {
    background: #ff6a20;
    transform: scale(1.02);
}


/* FAQ ACCORDION SECTION*/

.faq-section {
    padding: 80px 20px 60px;
}

.faq-label {
    color: #4ed9e6;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.faq-heading {
    font-size: 35px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 48px;
    max-width: 900px;
}

/* Accordion items */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

/* Question row */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    gap: 20px;
    -webkit-user-select: none;
    user-select: none;
}

.faq-question-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.25s ease;
    line-height: 1.4;
}

.faq-item.active .faq-question-text {
    color: #4ed9e6;
    font-weight: 600;
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: transform 0.3s ease, color 0.25s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #4ed9e6;
}

/* Answer panel */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
    padding: 0 0 22px 0;
    font-size: 14px;
    color: #8a94a6;
    line-height: 1.7;
    max-width: 800px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}


@media (max-width: 768px) {
    .faq-heading {
        font-size: 26px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-answer-inner {
        font-size: 13px;
    }

    .faq-section {
        padding: 50px 15px 40px;
    }
}

@media (max-width: 480px) {
    .faq-heading {
        font-size: 22px;
    }
}


   /* GLOBAL RESPONSIVENESS */

@media (max-width: 1024px) {
    .copy-grid { grid-template-columns: 1fr; }
    .copy-content { padding: 35px 45px 5px 35px; }
}

@media (max-width: 768px) {
    .st-table-container { overflow-x: auto; }
    .st-trading-table { min-width: 600px; }
    .social-heading { font-size: 26px; }
    
    .copy-card { flex-direction: column; height: auto; }
    .copy-image { width: 100%; justify-content: center; padding: 20px 0; }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .header-wrapper {
        padding: 0 10px;
        margin-top: -75px; 
    }
    .journey-title {
        font-size: 20px;
        margin-top: 40px;
    }
    .step-item { 
        margin-top: 20px;
    }
}

/* 
   ENHANCED RESPONSIVENESS
 */

@media (max-width: 768px) {
    .st-section {
        padding: 15px;
    }

    .social-heading {
        font-size: 24px !important;
        margin-bottom: 24px;
        line-height: 1.4;
    }

    .st-table-container {
        padding: 5px 15px;
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
    }

    .st-trading-table {
        min-width: 580px; 
    }

    .st-trading-table td {
        padding: 12px 8px;
        font-size: 14px;
    }

    .st-trading-table th {
        padding: 15px 8px;
        font-size: 12px;
    }

    .st-trading-table th:nth-child(2), 
    .st-trading-table td:nth-child(2),
    .st-trading-table th:nth-child(3), 
    .st-trading-table td:nth-child(3) {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .social-heading {
        font-size: 20px !important;
    }
    
    .social-label {
        margin-top: 30px;
        font-size: 12px;
    }
    .header-wrapper {
        margin-top: -70px;
    }
}

@media (max-width: 768px) {
    .trader-card {
        width: 280px;
        padding: 20px;
    }
    .carousel-track {
        animation-duration: 20s; 
    }
    .st-label {
    color: var(--text-label);
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
    padding: 50px 85px 0 85px;
}

.sub-label{
    padding: 20px 25px 0 25px;
}

.social-heading-4 {
  font-size: 25px;
  padding: 5px 25px 0px 25px;
}
.st-4-divider {
    margin: 5px 25px 20px 25px;
}
}

/* ==========================================
   TRADING PLATFORM PAGE
   ========================================== */

.tp-page-container {
    margin: 0 auto;
    padding: 40px 20px ;
}

.tp-header {
    margin-bottom: 48px;
}

.tp-eyebrow {
    color: #8a94a6;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 16px;
    font-family: 'Bai Jamjuree', sans-serif;
}

.tp-divider {
    border: none;
    border-top: 1px solid #8a94a6;
    margin-bottom: 0;
}

.tp-sub-label {
    color: #4ed9e6;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-top: 44px;
    margin-bottom: 14px;
}

.tp-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 34px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    max-width: 1000px;
}

.tp-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

.tp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 80px;
    background: radial-gradient(
        ellipse at top center,
        rgba(66, 102, 187, 0.06) 0%,
        transparent 80%
    );
    pointer-events: none;
    z-index: 2;
}

.tp-glow-bl {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 380px;
    height: 320px;
    background: radial-gradient(
        circle at center,
        rgba(75, 43, 224, 0.18) 0%,
        rgba(75, 43, 224, 0.08) 35%,
        transparent 70%
    );
    filter: blur(5px);
    pointer-events: none;
    z-index: 1;
}

/* ---- Card Inner Layout ---- */
.tp-card-inner {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 3;
    min-height: 480px;
}
.tp-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
   background: radial-gradient(
    ellipse 40% 40% at 0% 100%,
    rgba(75, 43, 224, 0.2) 0%,
    rgba(75, 43, 224, 0) 100%
  ),
  radial-gradient(
    ellipse 90% 90% at 0% 100%,
    rgba(75, 43, 224, 0.2) 0%,
    rgba(75, 43, 224, 0) 100%
  );

    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

/* ---- Left Column ---- */
.tp-left {
    flex: 0 0 420px;
    padding: 50px 40px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---- Feature List ---- */
.tp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.tp-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tp-feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.tp-feature-icon img {
    width: 25px;
    height: 25px;
}

.tp-feature-text {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 1.45;
    padding-top: 4px;
}

/* ---- Download Buttons ---- */
.tp-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3;
}

.tp-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff4d00;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    padding:  10px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.tp-download-btn:hover {
    background: #e64500;
    box-shadow: 0 4px 18px rgba(255, 77, 0, 0.3);
    transform: translateY(-1px);
}

.tp-btn-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    background: var(--bg-page);
    padding: 7px;
    border-radius: 50%;
}

.tp-download-btn img {
    width: 40px;
    height: 40px;
}

/* ---- Right Column---- */
.tp-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 400px;
}

.tp-screenshots {
    position: relative;
    width: 100%;
    height: 100%;
}

.tp-screenshot-back {
    position: absolute;
    top: 20px;
    right: -10px;
    width: 480px;
    height: auto;
    border-radius: 8px;
    z-index: 1;
    object-fit: contain;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 900px) {
    .tp-card-inner {
        flex-direction: column;
        min-height: auto;
    }

    .tp-left {
        flex: none;
        padding: 40px 30px;
    }

    .tp-right {
        min-height: 320px;
        padding: 20px;
    }

    .tp-screenshot-back {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 400px;
    }

    .tp-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .tp-page-container {
        padding: 24px 12px 48px;
    }

    .tp-left {
        padding: 30px 20px;
    }

    .tp-title {
        font-size: 24px;
    }

    .tp-feature-list {
        gap: 22px;
    }

    .tp-feature-text {
        font-size: 14px;
    }

    .tp-download-btn {
        font-size: 12.5px;
        padding: 10px 18px;
    }
}

   /* FEATURES GRID */

.mt5-features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 48px;
}

.mt5-features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mt5-feat-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0B1020;
    min-height: 280px;
}

.mt5-feat-card-full {
    width: 100%;
}

.mt5-feat-top-bar {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, #4B2BE0 0%, #6B4FE0 50%, #4B2BE0 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2; 
}


.mt5-lines-horizontal {
    position: relative;
}

.mt5-lines-horizontal::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: none;
    pointer-events: none;
    z-index: 1;
}

.mt5-feat-inner {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 3; 
    min-height: 260px;
    padding-top: 12px; /* Offset for the top bar */
}

.mt5-feat-text {
    flex: 1;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mt5-feat-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.mt5-feat-desc {
    font-size: 14px;
    color: #8a94a6;
    line-height: 1.7;
    max-width: 320px;
}

.mt5-feat-image {
    flex-shrink: 0;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 5; /* Above top bar */
}

/* Image Container */
.mt5-feat-image-mobile {
    flex-shrink: 0;
    width: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    z-index: 10; 
}

.mt5-feat-image-mobile img {
    max-height: 300px; 
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: -1px; 
    transform: translateY(-10px); 
}

.mt5-feat-buttons {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* --- Product / partnership landings (BalanceGuard, Why Honor, Ambassadors, Representatives) --- */
.mt5-feat-desc--wide { max-width: none; }

.mt5-section-kicker {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a94a6;
    margin-bottom: 16px;
}

.mt5-section-kicker--accent {
    color: #FF4D00;
    margin-bottom: 14px;
}

.mt5-feat-text--lead { color: #fff; }

.mt5-feat-image--stack {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.mt5-feat-caption {
    font-size: 13px;
    color: #8a94a6;
    text-align: center;
    margin: 0;
}

.mt5-feat-caption strong { color: #FF4D00; }

.mt5-feat-image--keyfacts {
    width: 380px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 24px;
}

.mt5-keyfacts-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mt5-keyfacts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mt5-keyfacts-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8a94a6;
    font-size: 13px;
}

.mt5-keyfacts-list li:last-child { border-bottom: none; }

.mt5-keyfacts-list .fa-check {
    color: #FF4D00;
    flex-shrink: 0;
}

.mt5-feat-text--callout {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
}

.mt5-feat-callout-icon {
    font-size: 44px;
    color: #FF4D00;
    opacity: 0.85;
    flex-shrink: 0;
    margin-top: 4px;
}

.mt5-feat-title--compact {
    font-size: 20px;
    margin-bottom: 12px;
}

.mt5-feat-title--cyan { color: #33C7C9; }

.mt5-feat-title--danger { color: #FF6B6B; }

.mt5-icon-row-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: none;
}

.mt5-icon-row-list > li {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #aeb8c5;
    font-size: 14px;
    line-height: 1.7;
}

.mt5-icon-row-list > li:last-child { border-bottom: none; }

.mt5-icon-row-list--tight > li { padding: 5px 0; }

.mt5-icon-row-list .list-icon-ok { color: #33C7C9; margin-top: 3px; flex-shrink: 0; }

.mt5-icon-row-list .list-icon-no { color: #FF6B6B; margin-top: 3px; flex-shrink: 0; }

.mt5-icon-row-list--accent .list-icon-ok { color: #FF4D00; }

.section-my-60 { margin: 60px 0; }

.mt5-step-num {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1;
    color: #FF4D00;
}

.mt5-step-num--cyan { color: #33C7C9; }

/* Step cards: circled number left (reuses .ib-step-number) + title/copy */
.mt5-feat-step-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.mt5-feat-step-row .ib-step-number {
    margin-bottom: 0;
}

.mt5-feat-step-row__body {
    flex: 1;
    min-width: 0;
}

.mt5-feat-highlight-icon {
    font-size: 72px;
    line-height: 1;
    opacity: 0.85;
}

.mt5-feat-highlight-icon--orange { color: #FF4D00; }

.mt5-feat-highlight-icon--cyan { color: #33C7C9; }

.mt5-feat-highlight-tagline {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.mt5-feat-highlight-accent--orange { color: #FF4D00; }

.mt5-feat-highlight-accent--cyan { color: #33C7C9; }

.bg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,77,0,0.08);
    color: #FF4D00;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Bai Jamjuree', sans-serif;
    margin-bottom: 20px;
    border: 1px solid rgba(255,77,0,0.15);
}

.bg-zero-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    background: #FF4D00;
    border-radius: 50%;
    color: #fff;
    font-family: 'Bai Jamjuree', sans-serif;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(255,77,0,0.35);
}

.bg-zero-badge .zero-num {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
}

.bg-zero-badge .zero-label {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
    letter-spacing: 0.04em;
}

.wh-reg-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.wh-reg-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(51,199,201,0.1);
    border: 1px solid rgba(51,199,201,0.25);
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #8a94a6;
    font-family: 'Bai Jamjuree', sans-serif;
}

.wh-reg-pill i { color: #33C7C9; }

.amb-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.amb-tier {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.2s ease;
}

.amb-tier.featured {
    border: 2px solid #FF4D00;
    box-shadow: 0 12px 40px rgba(255,77,0,0.15);
}

.amb-tier-badge {
    font-size: 12px;
    font-weight: 600;
    color: #FF4D00;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Bai Jamjuree', sans-serif;
    margin-bottom: 12px;
}

.amb-tier h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.amb-tier-desc {
    font-size: 14px;
    color: #8a94a6;
    margin-bottom: 24px;
}

.amb-tier ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}

.amb-tier ul li {
    font-size: 14px;
    color: #8a94a6;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.amb-tier ul li:last-child { border-bottom: none; }

.amb-tier ul li i { color: #FF4D00; margin-right: 8px; }

.trading-table.rep-compare th:first-child { text-align: left; }

.rep-compare td:first-child { text-align: left; color: #fff; }

.rep-compare td i.fa-check { color: #FF4D00; }

.rep-compare td i.fa-minus { color: rgba(255,255,255,0.2); }

.why-honor-page .tt-card > .tt-hero { padding-bottom: 120px; }

/* MT4 / MT5: keep hero copy clear of the overlapping stats bar */
.tt-hero--stats-offset {
    min-height: 280px;
    height: auto;
    padding-bottom: 140px;
    align-items: flex-start;
}
.tt-hero--stats-offset > div {
    padding-bottom: 32px;
}
@media (max-width: 992px) {
    .tt-hero--stats-offset {
        padding-bottom: 80px;
    }
}

.step-icon-circle > i.fa-solid,
.step-icon-circle > i.fa-regular {
    font-size: 28px;
    color: #33C7C9;
}

@media (max-width: 991px) {
    .amb-tier-grid { grid-template-columns: 1fr; }
}

.mt5-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff4d00;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'bai jamjuree', sans-serif;
    padding: 10px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.mt5-store-btn:hover {
    background: #e64500;
    box-shadow: 0 4px 18px rgba(255, 77, 0, 0.3);
    transform: translateY(-1px);
}

.mt5-store-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    background: var(--bg-page);
    padding: 6px;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 900px) {
    .mt5-features-row {
        grid-template-columns: 1fr;
    }

    .mt5-feat-inner {
        flex-direction: column;
        min-height: auto;
    }

    .mt5-feat-image {
        width: 100%;
        height: auto;
        justify-content: center;
        margin-top: 30px;
    }
    .mt5-feat-image-mobile {
        width: 100%;
        height: 250px; 
        justify-content: center;
        margin-top: 50px;
    }

    .mt5-feat-image-mobile img {
        position: relative;
        right: auto;
        max-height: 280px;
        margin-top: -30px; 
    }

    .mt5-feat-title {
        font-size: 24px;
    }
}

:root {
    --mt5-bg: #0B1020;
    --mt5-border: rgba(66, 102, 187, 0.6);
    --mt5-text: #ffffff;
    --mt5-muted: #8a94a6;
}

.mt5-webtrader-section {
    padding: 80px 0px 0 0px;
    display: flex;
    justify-content: center;
}

.mt5-web-container {
    
    width: 100%;
    position: relative;
    background: var(--mt5-bg);
    border-radius: 20px;
    border: 1px solid var(--mt5-border);
    padding: 60px 0 60px 40px; 
    display: flex;
    flex-direction: column;
    overflow: visible; 
}

.mt5-integrated-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--mt5-bg); 
    padding: 10px 30px;
    border: 1px solid var(--mt5-border);
    border-radius: 12px;
    z-index: 10;
}

.mt5-web-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 20px;
    background: radial-gradient(
    ellipse 40% 40% at 0% 100%,
    rgba(75, 43, 224, 0.2) 0%,
    rgba(75, 43, 224, 0) 100%
  ),
  radial-gradient(
    ellipse 90% 90% at 0% 100%,
    rgba(75, 43, 224, 0.2) 0%,
    rgba(75, 43, 224, 0) 100%
  );
    z-index: 1;
}

.mt5-main-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
}

.mt5-web-content {
    display: flex;
    gap: 40px; 
    position: relative;
    z-index: 2;
    align-items: center;
}

.mt5-info-panel {
    flex: 0 1 480px;
}

.mt5-sub-headline {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #fff;
}

.mt5-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.mt5-feature-list li {
    color: var(--mt5-text);
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Buttons */
.mt5-btn-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.mt5-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mt5-text);
    padding: 12px 15px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.mt5-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--mt5-border);
}

.btn-icon {
    width: 20px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}

.mt5-requirements {
    font-size: 13px;
    color: var(--text-muted);
}

.mt5-requirements strong {
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}


.mt5-graph-panel {
    flex: 1; 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden; 
}

.graph-placeholder {
    width: auto;
    display: flex;
    justify-content: flex-end;
}

.graph-placeholder img {
    width: 540px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Tablet/Mobile Adjustments */
@media (max-width: 1100px) {
    .mt5-web-content {
        gap: 30px;
    }
    .graph-placeholder img {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 992px) {
    .mt5-web-container {
        padding: 60px 20px;
        /* Changed from overflow: hidden to visible to prevent heading cut */
        overflow: visible; 
    }
    .mt5-web-content {
        flex-direction: column;
        gap: 30px;
    }
    .mt5-info-panel {
        flex: 1;
        width: 100%;
    }
    .graph-placeholder img {
        width: 100%;
        height: auto;
    }

}



/* ========================================
   IB — HOW DOES IT WORK (4-column steps)
   ======================================== */
.ib-how-it-works {
    margin-bottom: 80px;
}

.ib-steps-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

.ib-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(32, 240, 255, 0.1);
    border: 1.5px solid #20F0FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #20F0FF;
    margin-bottom: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-item:hover .ib-step-number {
    background: rgba(32, 240, 255, 0.2);
    box-shadow: 0 0 18px rgba(32, 240, 255, 0.3);
}

@media (max-width: 992px) {
    .ib-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .ib-steps-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   IB — WHO CAN BENEFIT (6-item grid)
   ======================================== */

/* Scoped image size — only affects the "Who can benefit" section */
.ib-who-section .feature-item-icon img {
    width: 64px;
    height: 64px;
}

.ib-who-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 992px) {
    .ib-who-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .ib-who-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   IB BENEFITS — 5-ITEM GRID (3 + 2 centered)
   ======================================== */
.ib-benefits-section {
    margin-bottom: 80px;
}

.ib-benefits-grid {
    grid-template-columns: repeat(6, 1fr) !important;
}

.ib-benefits-grid .step-item {
    grid-column: span 2;
}

/* Center the 4th item: starts at col 2 (leaves col 1 empty, ends at col 4) */
.ib-benefits-grid .step-item:nth-child(4) {
    grid-column: 2 / span 2;
}

/* Center the 5th item: starts at col 4 */
.ib-benefits-grid .step-item:nth-child(5) {
    grid-column: 4 / span 2;
}

@media (max-width: 992px) {
    .ib-benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .ib-benefits-grid .step-item,
    .ib-benefits-grid .step-item:nth-child(4),
    .ib-benefits-grid .step-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .ib-benefits-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   PARTNERSHIP — INTRODUCING BROKER SECTION
   ======================================== */
.ib-section {
    padding: 80px 0px 0 0px;
    display: flex;
    justify-content: center;
}

.ib-container {
    width: 100%;
    position: relative;
    background: var(--mt5-bg);
    border-radius: 20px;
    border: 1px solid var(--mt5-border);
    padding: 60px 0 0 40px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.ib-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 20px;
    background: radial-gradient(
        ellipse 40% 40% at 0% 100%,
        rgba(75, 43, 224, 0.2) 0%,
        rgba(75, 43, 224, 0) 100%
    ),
    radial-gradient(
        ellipse 90% 90% at 0% 100%,
        rgba(75, 43, 224, 0.2) 0%,
        rgba(75, 43, 224, 0) 100%
    );
    z-index: 1;
}

.ib-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--mt5-bg);
    padding: 10px 30px;
    border: 1px solid var(--mt5-border);
    border-radius: 12px;
    z-index: 10;
}

.ib-main-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
}

.ib-content {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 2;
    align-items: flex-end;
}

.ib-info-panel {
    flex: 0 1 480px;
    padding-bottom: 50px;
}

.ib-sub-headline {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #fff;
}

.ib-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.ib-feature-list li {
    color: var(--mt5-text);
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.ib-feature-list li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color, #4b2be0);
    margin-right: 12px;
    flex-shrink: 0;
}

.ib-btn-group {
    display: flex;
    gap: 15px;
}

.ib-graph-panel {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.ib-graph-placeholder {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

.ib-graph-placeholder img {
    width: 540px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* IB calculator — Figma 9:1904 spacing (1:1); shell uses .ib-container */
.introducing-broker-page .funding-methods-content-section .section-heading {
    margin-bottom: 48px;
}

.ib-container.ib-calc {
    --ib-calc-inputs-max: 600px;
    --ib-calc-payout-max: 620px;
    --ib-calc-grid-cols: minmax(0, var(--ib-calc-inputs-max)) 1fr minmax(0, var(--ib-calc-payout-max));
    padding: 27.5px;
    overflow: visible;
}

.ib-calc-tabs-wrap {
    border-bottom: 1px solid rgba(66, 102, 187, 0.35);
    margin-bottom: 22px;
    padding-bottom: 14px;
}

.ib-calc-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ib-calc-tabs .ib-calc-tab {
    border: 0;
    background: transparent;
    margin-right: 0;
    padding: 0;
    line-height: 1.2;
}

/* Inputs | flexible gutter | payout — wider columns shrink the middle gap */
.ib-calc__main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: var(--ib-calc-grid-cols);
    align-items: stretch;
    min-height: 336px;
}

.ib-calc__inputs {
    grid-column: 1;
    max-width: var(--ib-calc-inputs-max);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-calc-card {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(33, 33, 33, 0.15) 100%);
    border: 1px solid #1f2038;
    border-radius: 20px;
    padding: 21px 27px 20px;
    min-height: 158px;
    position: relative;
    box-sizing: border-box;
}

.ib-calc-card__label {
    font-family: "Instrument Sans", "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 6px;
    line-height: normal;
    letter-spacing: -0.02em;
}

.ib-calc-card__value {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 27px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}

.ib-calc-card__value span {
    font-weight: 700;
}

.ib-calc-slider {
    --ib-fill: 2%;
    position: relative;
    padding-top: 8px;
}

.ib-calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 16px;
    margin: 0 0 6px;
    background: transparent;
    cursor: pointer;
}

.ib-calc-range:focus {
    outline: none;
}

.ib-calc-range:focus-visible {
    outline: 2px solid rgba(32, 240, 255, 0.6);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Track */
.ib-calc-range::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 100px;
    background: linear-gradient(
        90deg,
        #1f67f4 0%,
        #489bf4 var(--ib-fill),
        rgba(255, 255, 255, 0.12) var(--ib-fill),
        rgba(255, 255, 255, 0.12) 100%
    );
}

.ib-calc-range::-moz-range-track {
    height: 5px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
}

.ib-calc-range::-moz-range-progress {
    height: 5px;
    border-radius: 100px 0 0 100px;
    background: linear-gradient(90deg, #1f67f4, #489bf4);
}

/* Thumb */
.ib-calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -5.5px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #20f0ff;
    box-shadow: 0 4px 20px rgba(39, 45, 255, 0.5);
    box-sizing: border-box;
}

.ib-calc-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #20f0ff;
    box-shadow: 0 4px 20px rgba(39, 45, 255, 0.5);
    box-sizing: border-box;
}

.ib-calc-scale {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: -0.02em;
}

.ib-calc__payout-col {
    grid-column: 3;
    max-width: var(--ib-calc-payout-max);
    width: 100%;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.ib-calc-payout {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(33, 33, 33, 0.15) 100%);
    border: 1px solid #1f2038;
    border-radius: 20px;
    padding: 0;
    min-height: 336px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.ib-calc-payout__center {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 0;
}

.ib-calc-payout__label {
    font-family: "Instrument Sans", "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: normal;
}

.ib-calc-payout__amount {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.ib-calc-payout__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    width: 100%;
    margin-top: 0;
    font-family: "Instrument Sans", "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: -0.02em;
    text-align: left;
    border-top: 1px solid #ffffff10;
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ib-calc-payout__meta span:last-child {
    margin-left: auto;
    text-align: right;
}

.ib-calc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 54px;
    width: 100%;
    max-width: var(--ib-calc-payout-max, 620px);
    padding: 7px 15px;
    border-radius: 40px;
    background: #ff4d00;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "Instrument Sans", "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, transform 0.15s ease;
    flex: 0 0 auto;
}

.ib-calc-cta:hover {
    background: #ff6a26;
    color: #fff;
}

.ib-calc__footer {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: var(--ib-calc-grid-cols);
    align-items: end;
    margin-top: 34px;
    width: 100%;
}

.ib-calc-disclaimer {
    grid-column: 1;
    font-family: "Instrument Sans", "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
    max-width: 416px;
    letter-spacing: -0.02em;
}

.ib-calc__footer .ib-calc-cta {
    grid-column: 3;
    justify-self: stretch;
}

@media (max-width: 1100px) {
    .ib-content {
        gap: 30px;
    }
    .ib-graph-placeholder img {
        width: 420px;
    }
}

@media (max-width: 992px) {
    .ib-container:not(.ib-calc) {
        padding: 60px 20px 0;
        overflow: visible;
    }

    .ib-container.ib-calc {
        padding: 20px;
        --ib-calc-grid-cols: 1fr;
    }

    .ib-calc__main {
        min-height: 0;
        row-gap: 20px;
    }

    .ib-calc__inputs,
    .ib-calc__payout-col {
        grid-column: 1;
        max-width: none;
        justify-self: stretch;
    }

    .ib-calc-payout {
        min-height: 280px;
    }

    .ib-calc__footer {
        margin-top: 28px;
        row-gap: 16px;
    }

    .ib-calc-disclaimer {
        grid-column: 1;
        max-width: none;
    }

    .ib-calc__footer .ib-calc-cta {
        grid-column: 1;
        max-width: none;
    }

    .ib-content {
        flex-direction: column;
        align-items: stretch;
    }

    .ib-info-panel {
        flex: 1;
        width: 100%;
        padding-bottom: 30px;
    }

    .ib-graph-placeholder img {
        width: 100%;
        height: auto;
    }
}

/* ========================================
   AUTO-SCROLLING TICKER BANNER
   ======================================== */
.ticker-wrapper {
    width: 100%;
    background: transparent;
    padding: 15px 0;
    overflow: hidden;
    position: relative;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 20px;
    animation: scroll 60s linear infinite;
    width: fit-content;
    
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #05061F;
    border: 1px solid #273E78;
    border-radius: 50px;
    min-width: fit-content;
    transition: all 0.3s ease;
}

.ticker-item:hover {
    background: rgba(16, 22, 42, 0.9);
    border-color: rgba(66, 102, 187, 0.6);
    transform: translateY(-2px);
}

.ticker-icon {
    width:40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ticker-icon.up {
    background: #91E8B8;
    color: #19A357;
}

.ticker-icon.down {
    background: #DD756D;
    color: #831F18;
}

.ticker-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* background-color: yellow; */
    min-width: 140px;
}

.ticker-pair {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-family: 'Instrument', sans-serif;
    line-height: 1;
}

.ticker-price {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'DM Sans', sans-serif;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ticker-price .ticker-bid.up,
.ticker-price .ticker-ask.up {
    color: #00cc55;
}

.ticker-price .ticker-bid.down,
.ticker-price .ticker-ask.down {
    color: #ff4444;
}

.ticker-trade-btn {
    background: #fff;
    color: #083BFB;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Bai Jamjuree', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ticker-trade-btn:hover {
    background: var(--btn-orange);
    color: #fff;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ticker-wrapper {
        padding: 12px 0;
    }
    
    .ticker-track {
        gap: 20px;
    }
    
    .ticker-item {
        gap: 8px;
        padding: 6px 14px;
    }
    
    .ticker-icon {
        width: 28px;
        height: 28px;
    }
    
    .ticker-pair {
        font-size: 12px;
    }
    
    .ticker-price {
        font-size: 10px;
    }
    
    .ticker-trade-btn {
        padding: 5px 12px;
        font-size: 11px;
    }
}

/* Forex Trading Page */
.market-item {
    display: flex;
    align-items: start;
    justify-content: start;
    text-align: start;
    gap: 10px;
    width: fit-content;
    /* padding: 10px; */
}

.market-item span {
    font-size: 16px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
    color: #fff;
}
.market-item p{
    font-size: 16px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.6;
}

.market-item img{
    width: 50px;
    height: 50px;
}

.market-item-sell{
    color: #E03528 !important;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.market-item-buy{
    color: #0BE36C !important;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.market-item-change{
    color: #FFFFFF !important;
    opacity: 0.8;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 16px;
    white-space: nowrap;
}

/* Company News Hero wrap (title + tabs) */
.company-news-hero-wrap {
    border-radius: 40px;
    border-bottom: 1px solid #E8E8E8;
    /* margin-left: 24px;
    margin-right: 24px; */
}

.company-news-hero-wrap .cc1 .tt-hero {
    padding-bottom: 0;
}

.company-news-hero-wrap .cc2 .tt-hero {
    padding: 0;
}

.cc1 {
    position: relative;
    border-radius: 40px;
    margin-bottom: 0;
    padding-bottom: 40px;
    /* background: #fff; */
    box-shadow: 0 1px 0 0 #E8E8E8;
}

/* Company News Header */
.company-news-container {
    background: #fff;
    margin: 0 calc(var(--page-gutter) * -1);
    width: calc(100% + (var(--page-gutter) * 2));
}

.company-news-header-section {
    background: #FFFFFF;
    padding: 40px 24px;
    border-bottom: 1px solid #E5E5E5;
}

.company-news-content-section {
    background: #0B1020;
    color: #fff;
    padding: 60px 24px;
}

.company-news-header {
    margin-bottom: 40px;
}

.company-news-header .main-title {
    font-size: 42px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    color: #1A1A1A;
    margin-bottom: 8px;
}

/* News Heading Section */
.news-heading-section {
    margin-bottom: 40px;
}

.news-sublabel {
    font-size: 14px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
    color: #20F0FF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.news-main-heading {
    font-size: 36px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

/* Company News Tabs */
.news-tabs-section {
    padding-bottom: 0;
    margin-bottom: 0px!important;
}

.news-tabs-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.news-tab {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: #999999;
    padding: 16px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.news-tab.active {
    color: #FF4D00;
    font-weight: 600;
}

.news-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FF4D00;
    border-radius: 2px;
}

.news-tab:hover {
    color: #555555;
}

/* Header Subtitle */
.header-subtitle {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: #666666;
    margin-top: 8px;
}

.news-section {
    color: #fff;
}
.video-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 77, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background: #FF4D00;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    text-align: left;
}

.section-subheading {
    font-size: 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: #FFFFFF;
    border-bottom: 1px solid #2D283F;
    padding-bottom: 16px;
}

.article-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 77, 0, 0.3);
}

/* Horizontal Article Cards */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-card-horizontal {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 12px;
    background: #0B1020;
    box-shadow: 0 0 0 1px rgba(66, 102, 187, 0.6);
    transition: all 0.3s ease;
}

.article-card-horizontal:hover {
    box-shadow: 0 0 0 1px rgba(66, 102, 187, 0.8);
    background: rgba(66, 102, 187, 0.05);
}

.article-image-left {
    position: relative;
    flex-shrink: 0;
    max-width: 310px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.article-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yellow-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    background: #FFEB3B;
    border-radius: 50%;
    display: none;
}

.article-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.article-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    padding: 20px 0;
}

.article-date {
    font-size: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: #999999;
    margin-bottom: 8px;
}

.article-title {
    font-size: 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-read-more {
    background: #FF4D00;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 99px;
    font-size: 18px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-read-more:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

/* License & Regulations Page */
.license-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0B1020;
    border: 1px solid rgba(66, 102, 187, 0.6);
    border-radius: 12px;
    padding: 40px;
    gap: 40px;
    margin: 30px 0;
}

.license-info {
    flex: 1;
}

.license-title {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
    font-family: 'DM Sans', sans-serif;
}

.license-desc {
    font-size: 14px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.btn-certificate {
    background: #FF4D00;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-certificate:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

.license-flag {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-intro {
    font-size: 42px;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 30px 0 40px 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.legal-documents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-document-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0B1020;
    border-bottom: 1px solid  #3a3a33;
    border-radius: 0px;
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.legal-document-item:hover {
    background: rgba(32, 240, 255, 0.05);
    box-shadow: 0 0 0 1px rgba(32, 240, 255, 0.3);
}

.document-icon {
    font-size: 24px;
    color: #FF4D00;
    flex: 0 0 auto;
}

.document-name {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
    flex: 1;
    font-family: 'DM Sans', sans-serif;
}

.document-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.btn-view,
.btn-download {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid #999999;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover,
.btn-download:hover {
    background: #FF4D00;
    border-color: #FF4D00;
    color: white;
}

@media (max-width: 768px) {
    .license-card {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .legal-document-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .document-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Funding Methods Page */
.funding-methods-container {
    background: #FFFFFF;
    /*margin: 0px -9999px;
    padding: 0px 9999px;*/
}

.funding-methods-content-section {
    background: #0B1020;
    padding: 60px 0;
    /*margin: 0px -9999px;
    padding-left: 9999px;
    padding-right: 9999px;*/
}

.funding-tabs-section {
    /* border-top: 1px solid #E5E5E5; */
    padding-bottom: 0;
    /* margin-top: 40px; */
    margin-bottom: 0px!important;
}

.funding-tabs-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.funding-tabs-picker {
    display: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    z-index: 50;
}

.funding-tabs-picker__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 44px 12px 16px;
    border: 1px solid rgba(255, 77, 0, 0.18);
    border-radius: 12px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23FF4D00' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    color: #0B1020;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(11, 16, 32, 0.08), 0 6px 20px rgba(255, 77, 0, 0.1);
}

.funding-tabs-picker__btn:focus,
.funding-tabs-picker.is-open .funding-tabs-picker__btn {
    border-color: #FF4D00;
    box-shadow: 0 4px 16px rgba(11, 16, 32, 0.1), 0 8px 24px rgba(255, 77, 0, 0.18), 0 0 0 3px rgba(255, 77, 0, 0.12);
}

.funding-tabs-picker.is-open .funding-tabs-picker__btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 10L8 6L12 10' stroke='%23FF4D00' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.funding-tabs-picker__label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.funding-tabs-picker__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px;
    list-style: none;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(255, 77, 0, 0.18);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(11, 16, 32, 0.12), 0 6px 20px rgba(255, 77, 0, 0.1);
    overflow: hidden;
    z-index: 60;
}

.funding-tabs-picker.is-open .funding-tabs-picker__menu {
    display: block;
}

.funding-tabs-picker__option {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 8px;
    color: #555555;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
}

.funding-tabs-picker__option:hover {
    background: rgba(255, 77, 0, 0.06);
    color: #0B1020;
}

.funding-tabs-picker__option.is-active {
    background: #FF4D00;
    color: #fff;
    font-weight: 600;
}

.funding-tab {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: #999999;
    padding: 16px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.funding-tab.active {
    color: #FF4D00;
    font-weight: 600;
}

.funding-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FF4D00;
    border-radius: 2px;
}

.funding-tab:hover {
    color: #555555;
}

.funding-section {
    margin-bottom: 60px;
}

.payment-card {
    background: #0B1020;
    border: 1px solid rgba(66, 102, 187, 0.6);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.payment-card:hover {
    background: rgba(32, 240, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(32, 240, 255, 0.4);
}

.payment-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32, 240, 255, 0.05);
    border-radius: 8px;
    flex-shrink: 0;
}

.payment-logo img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.payment-details {
    flex: 1;
    margin-bottom: 20px;
}

.payment-label {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.payment-name {
    font-size: 20px;
    color: #8F8C9D;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.payment-info {
    font-size: 16px;
    margin-bottom: 0;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    padding-top: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-info:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.38);
    font-size: 16px;
}

.info-value {
    color: #FFFFFF;
    margin-left: 0;
    font-weight: 600;
    font-size: 16px;
}

.btn-make-deposit {
    background: transparent;
    color: #FF4D00;
    border: 2px solid #FF4D00;
    padding: 8px 24px;
    border-radius: 99px;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    align-self: center;
    margin-top: 30px;
}

.btn-make-deposit:hover {
    background: rgba(255, 77, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

@media (max-width: 768px) {
    .funding-tabs-section.has-mobile-select {
        overflow: visible;
        position: relative;
        z-index: 40;
    }

    .funding-tabs-section.has-mobile-select .funding-tabs-wrapper {
        display: none;
    }

    .funding-tabs-section.has-mobile-select .funding-tabs-picker {
        display: block;
    }

    .company-news-hero-wrap:has(.has-mobile-select),
    .company-news-hero-wrap:has(.has-mobile-select) .cc2,
    .company-news-hero-wrap:has(.has-mobile-select) .tt-hero,
    .tt-card:has(.has-mobile-select) {
        overflow: visible !important;
    }

    .tt-card:has(.has-mobile-select) {
        position: relative;
        z-index: 30;
    }

    .tt-card:has(.funding-tabs-picker.is-open),
    html.funding-tabs-picker-open .tt-card:has(.has-mobile-select) {
        z-index: 80;
    }

    html.funding-tabs-picker-open .page-container {
        position: relative;
        z-index: 1;
    }

    .funding-tabs-wrapper {
        gap: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .funding-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    .funding-tab {
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .payment-card {
        padding: 16px;
        flex-direction: column;
    }

    .payment-logo {
        width: 100px;
        height: 100px;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .payment-name {
        font-size: 18px;
    }

    .payment-info {
        font-size: 14px;
    }
}

/* Register page styles (moved from register.html) */
body.register-page {
    background: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
}

.register-page .register-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
}

.register-page .register-header {
    padding: 30px 0;
    border-bottom: 1px solid #E5E5E5;
}

.register-page .register-header img {
    height: 40px;
}

.register-page .register-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.register-page .register-form-section {
    padding-right: 40px;
}

.register-page .register-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-page .register-image-section img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.register-page .register-form-section h1 {
    color: #0B1020;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Bai Jamjuree', sans-serif;
}

.register-page .register-form-section p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.register-page .form-group {
    margin-bottom: 20px;
}

.register-page .form-group label {
    color: #0B1020;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.register-page .form-group input,
.register-page .form-group select {
    width: 100%;
    background: #F7FBFF;
    border: 1px solid #D4D7E3;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #333333;
    transition: all 0.3s ease;
}

.register-page .form-group input:focus,
.register-page .form-group select:focus {
    outline: none;
    border-color: #FF4D00;
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.register-page .form-group input::placeholder {
    color: #999999;
}

.register-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.register-page .form-row .form-group {
    margin-bottom: 0;
}

.register-page .register-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.register-page .register-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #FF4D00;
}

.register-page .register-checkbox label {
    color: #666666;
    font-size: 14px;
    margin: 0;
    cursor: pointer;
}

.register-page .register-checkbox a {
    color: #FF4D00;
    text-decoration: none;
}

.register-page .register-checkbox a:hover {
    text-decoration: underline;
}

.register-page .btn-register {
    background: #FF4D00;
    color: #FFFFFF;
    border: none;
    width: 100%;
    padding: 14px 32px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.register-page .btn-register:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

.register-page .register-signin {
    text-align: center;
    margin-top: 24px;
    color: #666666;
    font-size: 14px;
}

.register-page .register-signin a {
    color: #FF4D00;
    text-decoration: none;
    font-weight: 600;
}

.register-page .register-signin a:hover {
    text-decoration: underline;
}

/* Register card layout matching design */
.register-page .register-wrapper {
    padding: 00px 0 80px;
}

.register-page .register-card {
    border-radius: 32px;
    overflow: hidden;
    /* box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18); */
    margin-top: 40px;
}

@media (min-width: 992px) {
    .register-page .register-card {
        min-height: 900px;
    }
}

.register-page .register-card .col-md-6 {
    display: flex;
}

.register-page .register-card .register-form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 64px 56px;
    background: #FFFFFF;
    max-width: 520px;
    margin: 0 auto;
}

.register-page .register-card .register-form-section h1 {
    font-size: 34px;
    font-weight: 600;
    color: #0C1421;
    margin-bottom: 12px;
    font-family: 'Instrument Sans', sans-serif;
}

.register-page .register-card .register-form-section p {
    font-size: 16px;
    color: #313957;
    margin-bottom: 32px;
}

.register-page .register-forgot {
    width: 100%;
    text-align: right;
    margin-bottom: 24px;
}

.register-page .register-forgot a {
    font-size: 16px;
    color: #1E4AE9;
    text-decoration: none;
}

.register-page .register-forgot a:hover {
    text-decoration: underline;
}

.register-page .register-card .register-image-section {
    width: 100%;
    height: 100%;
}

.register-page .register-card .register-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form field details matching design */
.register-page .register-card .form-group label {
    color: #0C1421;
    font-size: 16px;
    font-weight: 500;
}

.register-page .register-card .form-group input {
    width: 100%;
    font-size: 16px;
}

.register-page .register-card .register-form-section form {
    width: 100%;
}

.register-page .register-card .register-signin {
    font-size: 16px;
}

.register-page .register-card .register-signin a {
    color: #1E4AE9;
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .register-page .register-card {
        margin-top: 24px;
        border-radius: 24px;
    }

    .register-page .register-card .register-form-section {
        padding: 40px 24px;
    }
}

@media (max-width: 768px) {
    .register-page .register-wrapper {
        padding: 00px 0;
    }

    .register-page .register-form-section {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .register-page .register-form-section h1 {
        font-size: 28px;
    }

    .register-page .form-row {
        grid-template-columns: 1fr;
    }

    .register-page .register-image-section {
        margin-top: 20px;
    }
}

/* Contact page styles (moved from contact.html) */
.contact-page .contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.contact-page .contact-card {
    background: #0B1020;
    border: 1px solid rgba(66, 102, 187, 0.6);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.contact-page .contact-card:hover {
    border-color: #20F0FF;
    box-shadow: 0 0 20px rgba(32, 240, 255, 0.1);
}

.contact-page .contact-icon {
    margin: 0 0 20px 0;
}

.contact-page .contact-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.contact-page .contact-card h3 {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
}

.contact-page .contact-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-page .contact-card p a {
    color: #FFFFFF;
    text-decoration: underline;
}

.contact-page .contact-btn {
    background: transparent;
    color: #FF4D00;
    border: 2px solid #FF4D00;
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    width: 100%;
    margin-top: 20px;
}

.contact-page .contact-btn:hover {
    background: rgba(255, 77, 0, 0.1);
}

.contact-page .message-section,
.ib-page .message-section {
    background: transparent;
    border: 1px solid rgba(66, 102, 187, 0.6);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 100px;
}

.contact-page .message-section h2,
.ib-page .message-section h2 {
    color: #20F0FF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-page .message-section h3,
.ib-page .message-section h3 {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    font-family: 'Bai Jamjuree', sans-serif;
}

.contact-page .form-group,
.ib-page .form-group {
    margin-bottom: 24px;
}

.contact-page .form-group.row,
.ib-page .form-group.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-page .form-group label,
.ib-page .form-group label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-page .form-group input,
.contact-page .form-group textarea,
.contact-page .form-group select,
.ib-page .form-group input,
.ib-page .form-group textarea,
.ib-page .form-group select {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #333333;
}

.contact-page .form-group textarea,
.ib-page .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-page .form-group select,
.ib-page .form-group select {
    cursor: pointer;
}

.contact-page .btn-send,
.ib-page .btn-send {
    background: #FF4D00;
    color: #FFFFFF;
    border: none;
    padding: 12px 32px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.contact-page .btn-send:hover,
.ib-page .btn-send:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

.contact-page .journey-section,
.partnership-page .journey-section {
    background: transparent;
    border: none;
    border-radius: 20px;    
    padding: 00px 0 60px 0;
    text-align: center;
    position: relative;
}

.contact-page .journey-section::before,
.partnership-page .journey-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(to bottom, #232C48, #0B1020);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}


    .contact-page .journey-section h2,
    .partnership-page .journey-section h2 {
        color: #FFFFFF;
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 40px;
        font-family: 'Bai Jamjuree', sans-serif;
        margin-top: -20px;
        background: #0B1020;
        width: fit-content;
        margin: -20px auto 40px auto;
        padding: 30px 20px 0px 20px;
    }

.contact-page .journey-steps,
.partnership-page .journey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.contact-page .journey-step,
.partnership-page .journey-step {
    text-align: center;
}

.contact-page .step-icon,
.partnership-page .step-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: #20F0FF;
}

.contact-page .step-icon.step2,
.partnership-page .step-icon.step2 {
    color: #20F0FF;
}

.contact-page .step-icon.step3,
.partnership-page .step-icon.step3 {
    background: rgba(32, 240, 255, 0.1);
    color: #20F0FF;
}

.contact-page .journey-step h3,
.partnership-page .journey-step h3 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-page .journey-step p,
.partnership-page .journey-step p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.contact-page .journey-buttons,
.partnership-page .journey-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-page .btn-started,
.partnership-page .btn-started,
.ib-page .btn-started {
    background: #FF4D00;
    color: #FFFFFF;
    border: none;
    padding: 12px 32px;
    height: 54px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-page .btn-started:hover,
.partnership-page .btn-started:hover,
.ib-page .btn-started:hover {
    background: #e64a19;
    transform: translateY(-2px);
}

.contact-page .btn-learn,
.partnership-page .btn-learn,
.ib-page .btn-learn {
    background: #1D1F2E;
    color: #FF4D00;
    border: 2px solid #333643;
    padding: 10px 32px;
    height: 54px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-page .btn-learn:hover,
.partnership-page .btn-learn:hover,
.ib-page .btn-learn:hover {
    background: rgba(255, 77, 0, 0.1);
}

.contact-page .contact-content-section {
    background: #0B1020;
    padding: 60px 0;
}

@media (max-width: 768px) {
    .contact-page .form-group.row,
    .ib-page .form-group.row {
        grid-template-columns: 1fr;
    }

    .contact-page .message-section,
    .ib-page .message-section {
        padding: 24px;
    }

    .contact-page .contact-hero h1 {
        font-size: 28px;
    }

    .contact-page .journey-section h2,
    .partnership-page .journey-section h2 {
        font-size: 24px;
    }
}

/* ===== Saphyte CRM form theming (contact + introducing-broker pages) ===== */
.contact-page #my-form-container,
.ib-page #my-form-container {
    width: 100%;
    color: #cccccc;
}

/* Hide Saphyte's own logo/header section */
.contact-page #my-form-container .sp-text-center.sp-form-section,
.ib-page #my-form-container .sp-text-center.sp-form-section {
    display: none !important;
}

/* Transparent card wrappers to blend into the bordered box */
.contact-page #my-form-container .sp-card,
.contact-page #my-form-container .sp-card-body,
.ib-page #my-form-container .sp-card,
.ib-page #my-form-container .sp-card-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Form group spacing */
.contact-page #my-form-container .sp-form-group,
.ib-page #my-form-container .sp-form-group {
    margin-bottom: 20px !important;
}

.contact-page #my-form-container .sp-margin-bottom,
.ib-page #my-form-container .sp-margin-bottom {
    margin-bottom: 0 !important;
}

/* Labels */
.contact-page #my-form-container label,
.ib-page #my-form-container label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* Inputs / select / textarea */
.contact-page #my-form-container input[type="text"],
.contact-page #my-form-container input[type="email"],
.contact-page #my-form-container input[type="tel"],
.contact-page #my-form-container input[type="password"],
.contact-page #my-form-container input[type="number"],
.contact-page #my-form-container input[type="date"],
.contact-page #my-form-container textarea,
.contact-page #my-form-container select,
.ib-page #my-form-container input[type="text"],
.ib-page #my-form-container input[type="email"],
.ib-page #my-form-container input[type="tel"],
.ib-page #my-form-container input[type="password"],
.ib-page #my-form-container input[type="number"],
.ib-page #my-form-container input[type="date"],
.ib-page #my-form-container textarea,
.ib-page #my-form-container select {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #4F5F88 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: #ffffff !important;
}

.contact-page #my-form-container input::placeholder,
.contact-page #my-form-container textarea::placeholder,
.ib-page #my-form-container input::placeholder,
.ib-page #my-form-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.contact-page #my-form-container input:focus,
.contact-page #my-form-container textarea:focus,
.contact-page #my-form-container select:focus,
.ib-page #my-form-container input:focus,
.ib-page #my-form-container textarea:focus,
.ib-page #my-form-container select:focus {
    border-color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

.contact-page #my-form-container textarea,
.ib-page #my-form-container textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Native select caret */
.contact-page #my-form-container select,
.ib-page #my-form-container select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.contact-page #my-form-container select option,
.ib-page #my-form-container select option {
    background: #0B1020 !important;
    color: #ffffff !important;
}

/* Select2 (dropdown is appended to <body>, so scope via the page body class) */
body.contact-page .select2-container--default .select2-selection--single,
body.ib-page .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #4F5F88 !important;
    border-radius: 8px !important;
    height: auto !important;
    padding: 10px 16px !important;
    box-shadow: none !important;
}

body.contact-page .select2-container--default .select2-selection--single .select2-selection__rendered,
body.ib-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    padding: 0 !important;
}

body.contact-page .select2-container--default.select2-container--focus .select2-selection--single,
body.contact-page .select2-container--default.select2-container--open .select2-selection--single,
body.ib-page .select2-container--default.select2-container--focus .select2-selection--single,
body.ib-page .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #ffffff !important;
    box-shadow: none !important;
}

body.contact-page .select2-dropdown,
body.ib-page .select2-dropdown {
    background: #0B1020 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
}

body.contact-page .select2-container--default .select2-results__option,
body.ib-page .select2-container--default .select2-results__option {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 16px !important;
}

body.contact-page .select2-container--default .select2-results__option--highlighted[aria-selected],
body.ib-page .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(75, 43, 224, 0.4) !important;
    color: #FFFFFF !important;
}

body.contact-page .select2-search--dropdown .select2-search__field,
body.ib-page .select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

/* Next / Submit buttons - orange pill to match site CTAs */
.contact-page #my-form-container .sp-btn--next,
.contact-page #my-form-container .sp-btn--submit,
.ib-page #my-form-container .sp-btn--next,
.ib-page #my-form-container .sp-btn--submit {
    background: #FF4D00 !important;
    background-color: #FF4D00 !important;
    border: none !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
    border-radius: 99px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'DM Sans', sans-serif !important;
    min-width: 120px !important;
}

.contact-page #my-form-container .sp-btn--next:hover,
.contact-page #my-form-container .sp-btn--submit:hover,
.ib-page #my-form-container .sp-btn--next:hover,
.ib-page #my-form-container .sp-btn--submit:hover {
    background: #e64a19 !important;
    background-color: #e64a19 !important;
}

.contact-page #my-form-container .sp-btn--next:disabled,
.contact-page #my-form-container .sp-btn--next.disabled,
.ib-page #my-form-container .sp-btn--next:disabled,
.ib-page #my-form-container .sp-btn--next.disabled {
    background: rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    cursor: not-allowed !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Back / Previous button - subtle outline pill */
.contact-page #my-form-container .sp-btn--back,
.ib-page #my-form-container .sp-btn--back {
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #333643 !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
    border-radius: 99px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'DM Sans', sans-serif !important;
    min-width: 120px !important;
}

.contact-page #my-form-container .sp-btn--back:hover,
.ib-page #my-form-container .sp-btn--back:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Error states */
.contact-page #my-form-container .has-error input,
.contact-page #my-form-container .has-error select,
.contact-page #my-form-container .has-error .select2-selection,
.ib-page #my-form-container .has-error input,
.ib-page #my-form-container .has-error select,
.ib-page #my-form-container .has-error .select2-selection {
    border-color: #ff6b6b !important;
}

.contact-page #my-form-container .has-error label,
.ib-page #my-form-container .has-error label {
    color: #ff6b6b !important;
}

.contact-page #my-form-container .help-block.form-error,
.contact-page #my-form-container .form-error,
.ib-page #my-form-container .help-block.form-error,
.ib-page #my-form-container .form-error {
    color: #ff6b6b !important;
    font-size: 12px !important;
}

.contact-page #my-form-container .sp-alert-danger,
.ib-page #my-form-container .sp-alert-danger {
    background: rgba(255, 77, 77, 0.15) !important;
    border: 1px solid rgba(255, 77, 77, 0.3) !important;
    border-radius: 8px !important;
    color: #ff6b6b !important;
}

/* Validation summary block at top of form - keep summary text light */
.contact-page #my-form-container .sp-alert,
.contact-page #my-form-container .sp-alert *,
.contact-page #my-form-container .sp-form-errors-summary,
.contact-page #my-form-container .sp-form-errors-summary p,
.contact-page #my-form-container .sp-form-errors-summary span,
.ib-page #my-form-container .sp-alert,
.ib-page #my-form-container .sp-alert *,
.ib-page #my-form-container .sp-form-errors-summary,
.ib-page #my-form-container .sp-form-errors-summary p,
.ib-page #my-form-container .sp-form-errors-summary span {
    color: #cccccc !important;
}

.contact-page #my-form-container .sp-alert a,
.contact-page #my-form-container .sp-form-errors-summary a,
.ib-page #my-form-container .sp-alert a,
.ib-page #my-form-container .sp-form-errors-summary a {
    color: #20F0FF !important;
}

/* Links inside the form */
.contact-page #my-form-container a,
.ib-page #my-form-container a {
    color: #20F0FF !important;
}

/* Trading page styles (moved from trading.html) */
.trading-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.trading-page {
    background: #0B1020;
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fff;
}

.trading-page .trading-cards-section {
    padding: 100px 0;
    background: #0B1020;
}

.trading-page .trading-cards-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.trading-page .trading-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.trading-page .trading-card {
    position: relative;
    background: rgba(15, 20, 35, 0.8);
    border: 1px solid rgba(75, 43, 224, 0.3);
    border-radius: 16px;
    padding: 30px 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.trading-page .trading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 79, 224, 0.1) 0%, rgba(107, 79, 224, 0.05) 100%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.trading-page .trading-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(107, 79, 224, 0.2) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.trading-page .trading-card > * {
    position: relative;
    z-index: 1;
}

.trading-page .trading-card:hover {
    border-color: rgba(75, 43, 224, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(75, 43, 224, 0.2);
}

.trading-page .trading-card-featured {
    background: linear-gradient(135deg, #6B4FE0 0%, #5B3FD0 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trading-page .trading-card-featured::before {
    opacity: 0.3;
}

.trading-page .trading-card-featured::after {
    opacity: 0.2;
}

.trading-page .trading-card-featured:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(107, 79, 224, 0.4);
    transform: translateY(-5px);
}

.trading-page .card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.trading-page .card-title {
    font-family: 'Bai Jamjuree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.trading-page .card-description {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    min-height: 84px;
    flex-grow: 1;
}

.trading-page .trading-card-featured .card-description {
    color: rgba(255, 255, 255, 0.9);
}

.trading-page .card-btn {
    font-family: 'Bai Jamjuree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.trading-page .card-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    text-decoration: none;
}

.trading-page .card-btn-featured {
    background: linear-gradient(90deg, #FF4D00 0%, #FF6B35 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    padding: 10px 20px;
    width: 100%;
}

.trading-page .card-btn-featured:hover {
    background: linear-gradient(90deg, #FF6B35 0%, #FF4D00 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1400px) {
    .trading-page .trading-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .trading-page .trading-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trading-page .trading-cards-section {
        padding: 60px 0;
    }

    .trading-page .trading-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trading-page .trading-card {
        padding: 24px 20px;
        min-height: auto;
    }

    .trading-page .card-description {
        min-height: auto;
    }
}

.trading-page .icon-forex::before {
    content: "💱";
}

.trading-page .icon-metals::before {
    content: "🪙";
}

.trading-page .icon-indices::before {
    content: "📊";
}

.trading-page .icon-crypto::before {
    content: "₿";
}

.trading-page .icon-stocks::before {
    content: "📈";
}

/* Cookies page */
body.cookies-page {
    background: #FFFFFF;
    color: #0C1421;
}

.cookies-page .tt-card {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #FFFFFF;
    border-bottom: 1px solid #DBDBDB;
    border-radius: 0;
    overflow: visible;
}

.cookies-main {
    padding: 00px 0 60px;
}

/* Cookies page LHS pill nav - keep Bootstrap .container */
.cookies-content-wrapper {
    padding: 0 12px;
}

.cookies-content-wrapper .row {
    margin: 0 -12px;
}

.cookies-lhs {
    padding: 32px 24px 24px 0;
    flex-shrink: 0;
    flex-grow: 0;
    width: 25%;
    min-width: 220px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

.cookies-nav-pills {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.cookies-pill {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Instrument Sans', sans-serif;
    color: #333333;
    background: #FFFFFF;
    border: 1px solid #DBDBDB;
    border-radius: 99px;
    text-align: left;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookies-pill:hover {
    border-color: #b0b0b0;
    color: #0C1421;
}

.cookies-pill.active {
    background: #FF4D00;
    border-color: #FF4D00;
    color: #FFFFFF;
}

.cookies-pill.active:hover {
    background: #e64a19;
    border-color: #e64a19;
    color: #FFFFFF;
}

/* Cookies page RHS content */
.cookies-rhs-wrap {
    padding: 0;
    border-left: 1px solid #DBDBDB;
}

.cookies-rhs {
    padding: 24px 0 40px 24px;
}

.cookies-section {
    margin-bottom: 48px;
    padding-top: 40px;
    scroll-margin-top: 100px;
}

.cookies-section:first-child {
    padding-top: 0;
}

.cookies-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #D8D8D8;
}

.cookies-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0C1421;
    margin: 0;
    line-height: 1.2;
}

/* Legal hub: no entrance / AOS fade — headings visible on first paint */
body.legal-page .cookies-title,
body.legal-page .cookies-subtitle,
body.legal-page [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.cookies-download-pdf {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Instrument Sans', sans-serif;
    color: #5C5C5C;
    background: #FFFFFF;
    border: 2px solid #333333;
    border-radius: 99px;
    height: 54px;
    padding: 0 24px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cookies-download-pdf:hover {
    border-color: #333333;
    color: #333;
}

.cookies-section p {
    font-size: 16px;
    line-height: 22px;
    color: #5C5C5C;
    margin: 0 0 16px 0;
}

.cookies-section p:last-of-type {
    margin-bottom: 0;
}

.cookies-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0C1421;
    margin: 24px 0 12px 0;
}

.cookies-subtitle:first-of-type {
    margin-top: 20px;
}

/* Terms of Business — entity tabs (desktop) / stacked (mobile) */
.tob-entity-switch {
    margin-top: 8px;
}

.tob-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.tob-tab {
    appearance: none;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #333333;
    background: #FFFFFF;
    border: 1px solid #DBDBDB;
    border-radius: 99px;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    max-width: 100%;
}

.tob-tab:hover {
    border-color: #b0b0b0;
    color: #0C1421;
}

.tob-tab.is-active {
    background: #FF4D00;
    border-color: #FF4D00;
    color: #FFFFFF;
}

.tob-tab.is-active:hover {
    background: #e64a19;
    border-color: #e64a19;
    color: #FFFFFF;
}

.tob-tab:focus-visible {
    outline: 2px solid #FF4D00;
    outline-offset: 2px;
}

.tob-panel-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 20px;
}

.tob-entity-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0C1421;
    margin: 0;
    line-height: 1.3;
    flex: 1 1 auto;
}

.tob-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #FF4D00;
    background: #FFFFFF;
    border: 1px solid #FF4D00;
    border-radius: 99px;
    padding: 10px 18px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tob-download:hover {
    background: #FF4D00;
    color: #FFFFFF;
    border-color: #FF4D00;
}

/* Match Word source spacing (~24pt before H1, ~10pt before H2, ~6pt after body) */
.tob-doc .cookies-subtitle {
    margin-top: 24px;
    margin-bottom: 8px;
}

.tob-doc .cookies-subtitle:first-child {
    margin-top: 0;
}

.tob-doc .tob-subhead {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0C1421;
    margin: 10px 0 6px;
}

.tob-doc .tob-subhead strong,
.tob-doc .cookies-subtitle strong {
    font-weight: 700;
}

.tob-doc p {
    font-size: 16px;
    line-height: 22px;
    color: #5C5C5C;
    margin: 0 0 12px;
}

.tob-doc ul li {
    font-size: 16px;
    line-height: 22px;
    color: #5C5C5C;
    margin: 0 0 12px;
}

.tob-doc p.tob-spacer {
    margin: 0 0 8px;
    line-height: 8px;
    min-height: 8px;
    color: transparent;
    user-select: none;
}

.tob-doc p strong {
    font-weight: 700;
    color: #0C1421;
}

@media (min-width: 992px) {
    /* Desktop: only the active tab panel is shown */
    .tob-panel:not(.is-active) {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .tob-tablist {
        display: none;
    }

    .tob-panel {
        display: block;
    }

    .tob-panel + .tob-panel {
        margin-top: 40px;
        padding-top: 32px;
        border-top: 1px solid #D8D8D8;
    }

    .tob-entity-title {
        font-size: 20px;
    }
}

@media (max-width: 991.98px) {
    body.cookies-page {
        overflow: auto;
        height: auto;
    }

    .cookies-lhs {
        position: static;
        padding: 0 0 24px 0;
        border-right: none;
        border-bottom: 1px solid #DBDBDB;
        margin-bottom: 24px;
        width: 100%;
        min-width: 0;
    }

    .cookies-rhs-wrap {
        overflow: visible;
        border-left: none;
    }

    .cookies-rhs {
        padding: 0;
    }

    .cookies-nav-pills {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cookies-pill {
        padding: 10px 18px;
        font-size: 14px;
        width: auto;
    }

    .cookies-title {
        font-size: 28px;
    }
}

/* ========================================
   LATEST NEWS / BLOG SECTION
   ======================================== */
.latest-news-section {
    padding: 80px 0;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.blog-view-all {
    text-align: center;
    margin-top: 40px;
}

/* Blog card container with gradient border */
.blog-gradient {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(32,240,255,0.3) 0%, rgba(139,92,246,0.2) 50%, rgba(32,240,255,0.1) 100%);
    padding: 1px;
}

.blog-card {
    background: #0a0a18;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(32, 240, 255, 0.15);
}

.blog-card-image-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.blog-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #20F0FF;
    background: rgba(32, 240, 255, 0.1);
    border: 1px solid rgba(32, 240, 255, 0.25);
    border-radius: 4px;
    padding: 3px 10px;
    width: fit-content;
}

.blog-card-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.blog-card-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    flex: 1;
}

.blog-read-more {
    align-self: flex-start;
    margin-top: auto;
}

/* Skeleton loaders */
.blog-card-skeleton {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.06) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s infinite;
}

.skeleton-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-line {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.06) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s infinite;
    width: 100%;
}

.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 70%; }

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 768px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }
    .blog-card-title {
        font-size: 16px;
    }
}


/* Blog post small-card skeleton loaders */
.blog-thumb-skeleton {
    width: 100%;
    aspect-ratio: 16 / 8;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.11) 50%, rgba(255,255,255,0.06) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s infinite;
    margin-bottom: 12px;
}

.blog-skeleton-line {
    height: 13px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.11) 50%, rgba(255,255,255,0.06) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s infinite;
    margin-bottom: 10px;
    width: 100%;
}

.blog-skeleton-line.blog-skeleton-title { height: 18px; width: 85%; }
.blog-skeleton-line.short { width: 55%; }

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Loaded blog post card image */
.blog-post-card .thumb {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}

.blog-post-card h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* NDD execution page — vertical rhythm follows honorfx_ndd.pdf section order (approx. px; PDF has no embedded measures) */
.ndd-page-inner {
    padding-bottom: 0;
}

.ndd-page .key-advantage-section.container {
    padding: 0;
}

/* Hero strip → cards: same as about-us (.copy-grid margin-top 80px); page-wrap keeps TC horizontal padding only */
.ndd-page .page-wrap {
    padding-top: 0;
    padding-bottom: 72px;
}

.ndd-page .page-wrap > .ndd-page-inner {
    padding-top: 40px;
}

.ndd-page .page-wrap .copy-grid.copy-grid--three {
    margin-top: 80px;
}

.ndd-page .ndd-stat-banner {
    margin-bottom: 0;
}

.ndd-page .key-advantage-section.container > .container {
    padding-top: 0;
    padding-bottom: 120px;
}

@media (max-width: 900px) {
    .ndd-page .page-wrap {
        padding: 0 24px 56px;
    }
}

@media (max-width: 768px) {
    .ndd-page .key-advantage-section.container > .container {
        padding-top: 0;
        padding-bottom: 80px;
    }

    .ndd-page .page-wrap > .ndd-page-inner {
        padding-top: 32px;
    }
}

@media (max-width: 600px) {
    .ndd-page .page-wrap {
        padding: 0 16px 48px;
    }

    .ndd-page .page-wrap .copy-grid.copy-grid--three {
        margin-top: 64px;
    }

    .ndd-page .page-wrap > .ndd-page-inner {
        padding-top: 24px;
    }
}

/* NDD stat banner — Figma node 2:1956 (Honor Pro) */
.ndd-stat-banner {
    position: relative;
    margin: 0 auto 56px;
    max-width: 1138px;
    padding: 56px 175px;
    background: #0b1020;
    border: 1px solid #0b1020;
    border-radius: 20px;
    overflow: hidden;
}

.ndd-stat-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.2px;
    background: linear-gradient(to top, rgba(66, 102, 187, 0.45) 0%, rgba(35, 52, 102, 0.25) 35%, rgba(20, 30, 60, 0.1) 60%, transparent 85%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.ndd-stat-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 80px;
    background: radial-gradient(ellipse at top center, rgba(66, 102, 187, 0.08) 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.ndd-stat-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    text-align: center;
}

.ndd-stat-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.ndd-stat-number {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: clamp(2.75rem, 14vw, 120px);
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ff7b00 14.286%, #ffffff 89.286%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.ndd-stat-headline {
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    color: #ff4d00;
    margin: 0;
}

.ndd-stat-label {
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #ffffff;
    margin: 27px 0 0;
    max-width: 42em;
}

@media (max-width: 992px) {
    .ndd-stat-banner {
        padding: 56px 48px;
    }
}

@media (max-width: 576px) {
    .ndd-stat-banner {
        padding: 40px 24px;
    }

    .ndd-stat-label {
        margin-top: 20px;
    }
}

/* NDD infrastructure — login.html auth-card shell inside container-fluid (Figma 5:2124) */
@keyframes ndd-auth-borderGlow {
    0%   { background-position: 0% 100%; opacity: 0; }
    8%   { background-position: 8% 92%;  opacity: 1; }
    80%  { background-position: 92% 8%;  opacity: 1; }
    95%  { background-position: 100% 0%; opacity: 0; }
    100% { background-position: 100% 0%; opacity: 0; }
}

.ndd-infra-auth-wrap {
    padding-left: 0;
    padding-right: 0;
}

/* Key Advantage → Infrastructure (PDF: next block after advantage copy) */
.ndd-page .ndd-infra-auth-wrap {
    padding-top: 56px;
    padding-bottom: 56px;
}

@media (max-width: 768px) {
    .ndd-page .ndd-infra-auth-wrap {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.ndd-infra-auth-wrap .auth-card-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 2px;
    background: #0b1020;
    box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.15);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ndd-infra-auth-wrap .auth-card-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(ellipse at center, rgba(75, 43, 224, 0.4), #0b1020);
    background-size: 300% 300%;
    animation: ndd-auth-borderGlow 10s linear infinite;
    z-index: 0;
}

.ndd-infra-auth-wrap .auth-card-inner {
    background: rgba(11, 16, 32, 0.5);
    border-radius: 22px;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.ndd-infra-auth-wrap .auth-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(ellipse at top, rgba(39, 62, 120, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.ndd-infra-auth-wrap .auth-card-inner .container {
    position: relative;
    z-index: 2;
}

.ndd-infra-figma {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    text-align: left;
}

.ndd-infra-eyebrow {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #8f8c9d;
    margin: 0;
}

.ndd-infra-rule {
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(143, 140, 157, 0.35);
    opacity: 1;
}

.ndd-infra-visual {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    line-height: 0;
}

.ndd-infra-hero-img {
    display: block;
    width: 100%;
    height: 377px;
    object-fit: cover;
    border-radius: 20px;
}

.ndd-infra-text-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1118px;
}

.ndd-infra-heading {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #20f0ff;
    margin: 0;
    line-height: normal;
}

.ndd-infra-body {
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.36px;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .ndd-infra-auth-wrap .auth-card-inner {
        padding: 28px 0;
    }

    .ndd-infra-hero-img {
        height: min(52vw, 280px);
    }

    .ndd-infra-body {
        font-size: 16px;
    }

    .ndd-infra-text-block {
        gap: 24px;
    }
}

/* NDD — two pillar cards below infrastructure (Figma: ~530×392, radius 40, gradient headings) */
.ndd-pillars-section {
    padding-top: 24px;
    padding-bottom: 48px;
}

.ndd-page .ndd-pillars-section {
    padding-top: 48px;
    padding-bottom: 56px;
}

@media (max-width: 768px) {
    .ndd-page .ndd-pillars-section {
        padding-top: 40px;
        padding-bottom: 48px;
    }
}

.ndd-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    max-width: 1059px;
    margin: 0 auto;
}

.ndd-pillar-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 36px;
    padding: 68px 72px 68px 46px;
    border: 1px solid transparent;
    border-radius: 40px;
    min-height: 0;
    background:
        linear-gradient(#0b1020, #0b1020) padding-box,
        linear-gradient(270deg, rgba(32, 240, 255, 0.5) 0%, rgba(12, 22, 29, 0) 100%) border-box;
    background-clip: padding-box, border-box;
}

.ndd-pillars-grid .ndd-pillar-card:nth-child(2) {
    background:
        linear-gradient(#0b1020, #0b1020) padding-box,
        linear-gradient(90deg, rgba(32, 240, 255, 0.5) 0%, rgba(12, 22, 29, 0) 100%) border-box;
    background-clip: padding-box, border-box;
}

.ndd-pillar-heading {
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    font-size: clamp(2rem, 6vw, 62px);
    font-weight: 600;
    line-height: 0.97;
    letter-spacing: -0.02em;
    margin: 0;
    max-width: 100%;
    background: linear-gradient(270deg, #ffffff 0%, #20f0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.ndd-pillar-details {
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 42em;
}

@media (max-width: 991px) {
    .ndd-pillars-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .ndd-pillar-card {
        padding: 48px 32px 48px 32px;
        gap: 28px;
    }
}

.ndd-primary-cta-section {
    display: flex;
    justify-content: center;
    padding: 48px 16px 56px;
    text-align: center;
}

.ndd-page .ndd-primary-cta-section {
    padding: 32px 0 72px;
}

@media (max-width: 768px) {
    .ndd-page .ndd-primary-cta-section {
        padding: 24px 0 56px;
    }
}

.ndd-primary-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff4d00;
    border: none;
    color: #fff;
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.ndd-primary-cta-btn:hover {
    background: #e64a19;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 77, 0, 0.35);
}

/* =========================================================
   Shared top navigation system (desktop + mobile)
   ========================================================= */
.tt-navbar-placeholder,
.tt-promo-placeholder {
    height: 0;
    transition: height 0.25s ease;
}

.tt-navbar {
    border-radius: 40px 40px 0 0;
    background: transparent;
    overflow: visible;
}

a.offer-promo-strip.is-sticky,
.offer-promo-strip.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1210 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    background: linear-gradient(90deg, #0B1020 11%, #ca3f07 30%, #ca3f07 73%, #0B1020 96%) !important;
}

a.offer-promo-strip.is-sticky[data-hp-promo="gold"],
.offer-promo-strip.is-sticky[data-hp-promo="gold"],
a.offer-promo-strip.is-sticky[data-hp-promo="gold"].card-gradient-radial-purple,
.offer-promo-strip.is-sticky[data-hp-promo="gold"].card-gradient-radial-purple,
a.offer-promo-strip.is-sticky[data-hp-promo="elite"],
.offer-promo-strip.is-sticky[data-hp-promo="elite"],
a.offer-promo-strip.is-sticky[data-hp-promo="elite"].card-gradient-radial-purple,
.offer-promo-strip.is-sticky[data-hp-promo="elite"].card-gradient-radial-purple {
    background: linear-gradient(90deg, #0B1020 11%, #FF8301 30%, #FF8301 73%, #0B1020 96%) !important;
}

@media (max-width: 768px) {
    a.offer-promo-strip.is-sticky,
    .offer-promo-strip.is-sticky,
    a.offer-promo-strip.is-sticky.card-gradient-radial-purple,
    .offer-promo-strip.is-sticky.card-gradient-radial-purple {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 8px 12px !important;
        padding-top: 8px !important;
        min-height: 0 !important;
    }

    a.offer-promo-strip.is-sticky[data-hp-promo="gold"],
    .offer-promo-strip.is-sticky[data-hp-promo="gold"],
    a.offer-promo-strip.is-sticky[data-hp-promo="gold"].card-gradient-radial-purple,
    .offer-promo-strip.is-sticky[data-hp-promo="gold"].card-gradient-radial-purple,
    a.offer-promo-strip.is-sticky[data-hp-promo="elite"],
    .offer-promo-strip.is-sticky[data-hp-promo="elite"],
    a.offer-promo-strip.is-sticky[data-hp-promo="elite"].card-gradient-radial-purple,
    .offer-promo-strip.is-sticky[data-hp-promo="elite"].card-gradient-radial-purple {
        padding: 10px 16px 10px 12px !important;
        background-color: #0B1020 !important;
        background-image:
            radial-gradient(ellipse 30% 20% at 50% 0%, rgba(255, 131, 1, 0.3) 0%, rgba(255, 131, 1, 0) 100%),
            radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 131, 1, 0.3) 0%, rgba(255, 131, 1, 0) 100%) !important;
    }
}

.tt-navbar.is-sticky {
    position: fixed;
    top: var(--tt-sticky-promo-offset, 0px);
    left: var(--tt-nav-side-offset);
    right: var(--tt-nav-side-offset);
    z-index: 1200;
    padding: 12px 0;
    background: rgba(245, 247, 250, 0.95);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.14);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-radius: 20px;
}

/* Sit flush under the sticky promo (no corner gap) */
.offer-promo-strip.is-sticky ~ * .tt-navbar.is-sticky,
body:has(.offer-promo-strip.is-sticky) .tt-navbar.is-sticky {
    border-radius: 0 0 20px 20px !important;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .offer-promo-strip.is-sticky ~ * .tt-navbar.is-sticky,
    body:has(.offer-promo-strip.is-sticky) .tt-navbar.is-sticky {
        top: var(--tt-sticky-promo-offset, 0px) !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
    }
}

.home-page .hero-section {
    border-radius: 25px;
    overflow: hidden;
}

.tt-navbar .navbar-nav .nav-link {
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.tt-navbar .navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle::after {
    display: none !important;
}

.tt-navbar .navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 5px;
    order: 2;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    opacity: 0.6;
    transition: transform 0.25s ease;
}

.tt-navbar .navbar-nav .nav-item.dropdown.show > .nav-link.dropdown-toggle::before {
    transform: rotate(-135deg) translate(-2px, -2px);
}

/* Login in navbar-right: same chevron + dropdown behavior as main nav */
.tt-navbar .navbar-right .tt-login-nav .tt-login-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Bai Jamjuree', sans-serif;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.tt-navbar .navbar-right .nav-item.dropdown.tt-login-nav > .nav-link.dropdown-toggle::after {
    display: none !important;
}

.tt-navbar .navbar-right .nav-item.dropdown.tt-login-nav > .nav-link.dropdown-toggle::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 5px;
    order: 2;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    opacity: 0.6;
    transition: transform 0.25s ease;
}

.tt-navbar .navbar-right .nav-item.dropdown.tt-login-nav.show > .nav-link.dropdown-toggle::before {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.tt-navbar .navbar-right .tt-login-nav .tt-login-nav-toggle:hover,
.tt-navbar .navbar-right .tt-login-nav.show > .tt-login-nav-toggle {
    color: #ff4d00 !important;
    background: rgba(255, 77, 0, 0.07);
}

.tt-navbar .navbar-nav .nav-link:hover,
.tt-navbar .navbar-nav .nav-item.show > .nav-link {
    color: #ff4d00 !important;
    background: rgba(255, 77, 0, 0.07);
}

/* Current section: child page open → parent label uses orange text (tt-nav-active.js) */
.tt-navbar .navbar-nav .nav-item.tt-nav-parent-active > .nav-link.dropdown-toggle {
    color: #ff4d00 !important;
    background: rgba(255, 77, 0, 0.07);
}

.tt-navbar .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 8px;
    min-width: 240px;
    margin-top: 10px !important;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2), 0 4px 12px -4px rgba(0, 0, 0, 0.08);
    animation: ttDropFade 0.22s cubic-bezier(.2, .8, .2, 1);
}

@keyframes ttDropFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tt-navbar .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.tt-navbar .dropdown-item:hover,
.tt-navbar .dropdown-item:focus {
    background: rgba(255, 77, 0, 0.08);
    color: #ff4d00;
    padding-left: 18px;
}

.tt-navbar .dropdown-item:active {
    background: #ff4d00;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    :root {
        --page-gutter: 20px;
    }

    .top-bar {
        display: none;
    }

    body {
        padding: 0 var(--page-gutter) 40px;
    }

    .tt-navbar .container-fluid {
        padding: 0 20px !important;
    }

    .tt-navbar .navbar-collapse {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 20px;
        padding: 0;
        box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.25);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .tt-navbar .navbar-collapse .navbar-nav {
        padding: 16px 20px 8px;
        gap: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .tt-navbar .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .tt-navbar .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .tt-navbar .navbar-nav .nav-link {
        font-size: 17px;
        padding: 8px 12px;
        justify-content: space-between;
        width: 100%;
        border-radius: 6px;
    }

    .tt-navbar .navbar-nav .nav-link:hover {
        background: transparent;
        padding-left: 10px !important;
    }

    .tt-navbar .navbar-nav .nav-item.tt-nav-parent-active > .nav-link.dropdown-toggle {
        color: #ff4d00 !important;
        background: rgba(255, 77, 0, 0.06);
    }

    .tt-navbar .navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle::before {
        margin-left: auto;
    }

    .tt-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        padding: 4px 0 12px 12px;
        margin: 0 !important;
        border-radius: 0;
        min-width: 0;
        background: transparent;
        animation: none;
    }

    .tt-navbar .dropdown-menu.show,
    .tt-navbar .nav-item.dropdown.show > .dropdown-menu {
        background: #f4f4f4 !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-radius: 12px !important;
        margin: 4px 0 10px !important;
        padding: 6px 10px 10px 12px !important;
        box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.28) !important;
    }

    .tt-navbar .dropdown-item {
        padding: 10px 4px;
        color: #666666;
    }

    .tt-navbar .dropdown-item:hover,
    .tt-navbar .dropdown-item:focus {
        background: transparent;
        padding-left: 8px;
    }

    .tt-navbar .navbar-right {
        flex-direction: column;
        gap: 10px;
        padding: 16px 20px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        margin-top: 8px;
    }

    .tt-navbar .navbar-right .btn-register {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 13px 20px;
        font-size: 15px;
    }

    .tt-navbar .navbar-right .navbar-honor-elite {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 15px;
        border-radius: 25px;
        box-sizing: border-box;
    }

    .tt-navbar .navbar-right .nav-item.dropdown.tt-login-nav {
        width: 100%;
        text-align: center;
    }

    .tt-navbar .navbar-right .tt-login-nav .tt-login-nav-toggle {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tt-navbar,
    .tt-navbar-placeholder,
    .tt-promo-placeholder {
        transition: none;
    }
}

/* --- Grouped dropdown headers & dividers (Platforms & Tools nav) --- */
.tt-navbar .dropdown-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    padding: 10px 14px 6px;
    font-family: 'Bai Jamjuree', sans-serif;
    pointer-events: none;
}

.tt-navbar .dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin: 6px 8px;
}

/* --- 30% Deposit Bonus landing (30-deposit-bonus.html) --- */
.deposit-bonus-page .bonus-hero-tight {
    padding-top: 10px;
    padding-bottom: 48px;
    position: relative;
    z-index: 3;
    overflow: visible;
}

.deposit-bonus-page .bonus-hero-lead {
    font-size: 18px;
    line-height: 1.55;
}

.deposit-bonus-page .bonus-hero-art {
    max-width: min(100%, 640px);
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.deposit-bonus-page .hero-row {
    overflow: visible;
}

.deposit-bonus-page .hero-image {
    overflow: visible;
    min-width: 0;
}

.deposit-bonus-page .deposit-bonus-body {
    padding-top: 48px;
    padding-bottom: 40px;
}

.deposit-bonus-page .stat-item .stat-label-line {
    display: block;
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 400;
}

.deposit-bonus-page .bonus-section-head {
    margin-bottom: 40px;
}

.deposit-bonus-page .bonus-section-head--align-start {
    text-align: left;
}

.deposit-bonus-page .bonus-section-head--align-start > .faq-label {
    color: #20f0ff;
    font-size: 20px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
}

.deposit-bonus-page .bonus-section-head--center > .faq-label {
    color: #20f0ff;
    font-size: 20px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
}

.deposit-bonus-page .bonus-section-head--center {
    text-align: center;
}

.deposit-bonus-page .bonus-section-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    max-width: 900px;
}

.deposit-bonus-page .bonus-section-head--center .bonus-section-title {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.02em;
}

.deposit-bonus-page .bonus-section-head--align-start .bonus-section-title,
.deposit-bonus-page .bonus-section-title--why {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.02em;
}

.deposit-bonus-page .bonus-features-row {
    grid-template-columns: repeat(3, 1fr);
}

.deposit-bonus-page .bonus-why-features .mt5-feat-card {
    border-color: #273e78;
    border-width: 1.5px;
    min-height: 375px;
}

.deposit-bonus-page .bonus-feat-compact {
    min-height: 320px;
    align-items: flex-start !important;
}

.deposit-bonus-page .bonus-feat-compact .mt5-feat-text {
    max-width: 100%;
}

.deposit-bonus-page .bonus-why-features .bonus-feat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(75, 43, 224, 0.2);
    border: 1px solid #4b2be0;
    box-shadow: inset 0 0 5px rgba(88, 116, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 16px;
}

.deposit-bonus-page .bonus-feat-compact .mt5-feat-desc {
    max-width: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.deposit-bonus-page .bonus-features-cta {
    justify-content: flex-start;
}

.deposit-bonus-page .bonus-cta-gap {
    margin: 44px 0 72px;
}

.deposit-bonus-page .bonus-process-section {
    margin-bottom: 80px;
}

.deposit-bonus-page .bonus-process-panel {
    background-color: #0b1020;
    border-radius: 20px;
    padding: 40px 24px 48px;
    z-index: 2;
    margin-bottom: 40px;
    border: 1px solid rgba(39, 62, 120, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.deposit-bonus-page .bonus-process-panel .bonus-section-head {
    margin-bottom: 28px;
}

.deposit-bonus-page .bonus-process-panel .bonus-video-placeholder {
    margin-bottom: 48px;
}

.deposit-bonus-page .bonus-video-placeholder-label {
    position: relative;
    z-index: 1;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #313d65;
}

.deposit-bonus-page .bonus-video-placeholder {
    min-height: 570px;
    height: 570px;
    border-radius: 20px;
    background: linear-gradient(145deg, #12182b 0%, #0b1020 50%, #141c30 100%);
    border: 1px solid rgba(66, 102, 187, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.deposit-bonus-page .bonus-video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(66, 102, 187, 0.15), transparent 70%);
    pointer-events: none;
}

.deposit-bonus-page .bonus-video-label {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.45);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.deposit-bonus-page .bonus-video-label .fa-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 77, 0, 0.2);
    color: #ff4d00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.deposit-bonus-page .bonus-step-card {
    text-align: center;
    padding: 24px 16px;
    border: none;
    border-radius: 0;
    background: transparent;
    height: 100%;
}

.deposit-bonus-page .bonus-step-card h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 14px 0 10px;
}

.deposit-bonus-page .bonus-step-card p {
    color: #8a94a6;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.deposit-bonus-page .bonus-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deposit-bonus-page .bonus-step-icon.bonus-step-icon--purple {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(75, 43, 224, 0.2);
    border: 1px solid #4b2be0;
    box-shadow: inset 0 0 6px rgba(88, 116, 246, 0.25);
    color: #fff;
    font-size: 26px;
}

.deposit-bonus-page .bonus-step-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
}

.deposit-bonus-page .bonus-text-link {
    color: #4ed9e6;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(78, 217, 230, 0.4);
    padding-bottom: 2px;
}

.deposit-bonus-page .bonus-text-link:hover {
    color: #7ae8f2;
}

.deposit-bonus-page .bonus-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 7px 28px;
    border-radius: 40px;
    border: 1px solid #232c48;
    color: #fff;
    font-size: 16px;
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.deposit-bonus-page .bonus-btn-outline:hover {
    border-color: #4b2be0;
    color: #fff;
}

.deposit-bonus-page .bonus-conversion-section {
    margin-bottom: 40px;
}

.deposit-bonus-page .bonus-promo-card {
    border-radius: 20px;
    padding: 32px 28px;
    min-height: 100%;
    overflow: hidden;
    background-color: #13182b;
    background-image: url('assets/bg-promo1.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    border: 1px solid rgba(138, 120, 255, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.deposit-bonus-page .bonus-promo-title-stack {
    max-width: 394px;
}

.deposit-bonus-page .bonus-promo-eyebrow {
    color: #20f0ff;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 12px;
}

.deposit-bonus-page .bonus-promo-heading-lines {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.18;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.deposit-bonus-page .bonus-promo-heading-lines span {
    display: block;
}

.deposit-bonus-page .bonus-countdown {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.deposit-bonus-page .bonus-countdown-unit {
    flex: 1;
    min-width: 72px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
}

.deposit-bonus-page .bonus-cd-val {
    display: block;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
}

.deposit-bonus-page .bonus-cd-lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    font-family: 'Bai Jamjuree', sans-serif;
}

.deposit-bonus-page .bonus-promo-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.deposit-bonus-page .bonus-promo-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    margin-bottom: 14px;
}

.deposit-bonus-page .bonus-promo-list li:last-child {
    margin-bottom: 0;
}

.deposit-bonus-page .bonus-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
}

.deposit-bonus-page .bonus-form-card {
    background: #0b1020;
    border-radius: 20px;
    border: 1px solid rgba(66, 102, 187, 0.45);
    padding: 32px 28px;
    height: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.deposit-bonus-page .bonus-form-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
}

.deposit-bonus-page .bonus-submit-btn {
    width: 100%;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 0;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.deposit-bonus-page .bonus-form-intro {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 1.55;
    margin: -8px 0 22px;
    max-width: 640px;
}

/* Match register.html / auth field styling — overrides .contact-page white inputs */
.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group:not(.bonus-checkbox-row) label {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Instrument Sans', sans-serif;
}

.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group input:not([type="checkbox"]):not([type="radio"]),
.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-family: 'Instrument Sans', sans-serif;
    color: #ffffff;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group input:not([type="checkbox"]):not([type="radio"])::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group select:focus {
    border-color: #20f0ff;
    background-color: rgba(255, 255, 255, 0.07);
}

.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group select {
    cursor: pointer;
    padding-right: 44px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.05);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    color: rgba(255, 255, 255, 0.92);
}

.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group select option {
    background: #0b1020;
    color: #ffffff;
}

.deposit-bonus-page .bonus-form-footnote {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 14px 0 0;
    line-height: 1.5;
}

.deposit-bonus-page .bonus-checkbox-row {
    margin-top: 8px;
}

/* Specificity beats .contact-page .form-group label { display: block } */
.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group.bonus-checkbox-row label.bonus-check-label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    margin: 0;
    text-align: left;
    font-family: 'Instrument Sans', sans-serif;
}

.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group.bonus-checkbox-row label.bonus-check-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    margin: 0.15em 0 0;
    flex-shrink: 0;
    padding: 0;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    accent-color: #ff4d00;
    box-sizing: border-box;
    align-self: flex-start;
}

.deposit-bonus-page .bonus-form-card .bonus-lead-form .form-group.bonus-checkbox-row label.bonus-check-label span {
    flex: 1 1 0;
    min-width: 0;
}

.deposit-bonus-page .bonus-check-label a {
    color: #4ed9e6;
}

.deposit-bonus-page .bonus-terms-banner-wrap {
    margin-bottom: 40px;
}

.deposit-bonus-page .bonus-why-features .mt5-feat-title {
    font-size: 27px;
    font-weight: 600;
}

.deposit-bonus-page .bonus-terms-banner--figma {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 20px;
    background: #13182b;
    border: 1.5px solid #273e78;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08);
}

.deposit-bonus-page .bonus-terms-copy {
    flex: 1;
    min-width: 240px;
    max-width: 780px;
}

.deposit-bonus-page .bonus-terms-heading {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
}

.deposit-bonus-page .bonus-terms-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 1.45;
}

.deposit-bonus-page .bonus-terms-btn-expand {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .deposit-bonus-page .bonus-features-row {
        grid-template-columns: 1fr;
    }
}

/* Home page — back to top */
.back-to-top-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(75, 43, 224, 0.25);
    border-radius: 50%;
    background: #ffffff20;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: #4b2be0;
    color: #fff;
    box-shadow: 0 10px 28px rgba(75, 43, 224, 0.35);
}

.back-to-top-btn:focus-visible {
    outline: 2px solid #4b2be0;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .back-to-top-btn {
        bottom: 24px;
        left: 16px;
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}

/* Homepage 30% offer overlay banner (Figma 103:177) */
.hp-offer-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 16px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.hp-offer-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.hp-offer-overlay:has([data-hp-promo="gold"]) {
    padding-top: 64px;
}

.hp-offer-overlay[hidden] {
    display: none !important;
}

.hp-offer-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(49, 45, 45, 0.38);
    backdrop-filter: blur(13.8px);
    -webkit-backdrop-filter: blur(13.8px);
    cursor: pointer;
}

body.hp-offer-overlay-open {
    overflow: hidden;
}

.hp-offer-banner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 21px;
    width: min(1060px, 100%);
    max-height: calc(100vh - 48px);
    padding: 40px;
    border-radius: 43px;
    border: 1px solid rgba(31, 107, 255, 0.4);
    background: linear-gradient(-22.65deg, #0c161d 27.09%, #4b2be0 191.94%);
    overflow: visible;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.28s ease;
    cursor: pointer;
}

.hp-offer-overlay.is-visible .hp-offer-banner {
    transform: translateY(0) scale(1);
}

.hp-offer-banner__content[hidden],
.hp-offer-banner__visual img[hidden] {
    display: none !important;
}

.hp-offer-banner[data-hp-promo="gold"] {
    border-radius: 43px;
    border: 1px solid rgba(31, 107, 255, 0.40);
    background: linear-gradient(295deg, #0F1224 31.51%, #1F1D55 120.59%);
}

.hp-offer-banner[data-hp-promo="gold"] .hp-offer-banner__accent {
    color: #FF8301;
}

.hp-offer-banner[data-hp-promo="gold"] .hp-offer-banner__cta {
    background: #FF8301;
    color: #0b1020;
    border: 1px solid transparent;
}

.hp-offer-banner[data-hp-promo="gold"]:hover .hp-offer-banner__cta {
    background: #ff941f;
    color: #0b1020;
    box-shadow: 0 8px 24px rgba(255, 131, 1, 0.35);
}

.hp-offer-banner[data-hp-promo="gold"] .hp-offer-banner__close:focus-visible {
    outline-color: #FF8301;
}

.hp-offer-banner[data-hp-promo="gold"] .hp-offer-banner__visual {
    top: -36px;
    right: 24px;
    width: min(460px, 46%);
}

/* Pick The Level pop-up (Figma 186:147, 1840×658 frame scaled to 1060px) */
.hp-offer-overlay:has([data-hp-promo="ptl"]) {
    padding-top: 64px;
}

.hp-offer-banner[data-hp-promo="ptl"] {
    align-items: stretch;
    gap: 0;
    min-height: 379px;
    padding: 52px 54px 54px;
    border-radius: 25px;
    border: 1px solid rgba(120, 160, 255, 0.22);
    background:
        radial-gradient(60% 70% at 78% 55%, rgba(31, 100, 240, 0.32) 0%, rgba(31, 100, 240, 0) 70%),
        radial-gradient(55% 60% at 5% 0%, rgba(76, 52, 190, 0.42) 0%, rgba(76, 52, 190, 0) 70%),
        linear-gradient(180deg, #0b1020 0%, #0a1330 60%, #0b1020 100%);
    overflow: hidden;
    isolation: isolate;
}

.hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__visual {
    top: -24px;
    right: auto;
    left: 39%;
    width: 74%;
    mix-blend-mode: lighten;
    z-index: 1;
}

.hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__content {
    gap: 0;
    width: min(470px, 100%);
    padding-right: 0;
}

.hp-offer-banner__pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 31px;
    margin: 0 0 14px;
    padding: 0 14px 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(31, 237, 255, 0.38);
    background: rgba(31, 237, 255, 0.06);
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 11.5px;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1fedff;
    white-space: nowrap;
}

.hp-offer-banner__pill-dot {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__title {
    margin: 0 0 10px;
    font-size: 57.6px;
    line-height: 1;
    letter-spacing: -2px;
}

.hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__accent {
    color: #7ff2ff;
}

.hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__desc {
    max-width: 438px;
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.45;
    color: #c3ccdd;
    opacity: 1;
}

.hp-offer-banner__gold {
    font-weight: 600;
    background: linear-gradient(180deg, #fff1cc 0%, #f2cf86 38%, #c9974e 62%, #f6dfa6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #f2cf86;
}

.hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__cta {
    gap: 8px;
    width: 248px;
    height: 56px;
    padding: 0 20px;
    border: 0;
    background: #ff9420;
    color: #0b1020;
    font-weight: 700;
    font-size: 18.4px;
    letter-spacing: -0.1px;
    box-shadow: 0 8px 12px rgba(255, 148, 32, 0.35);
}

.hp-offer-banner__cta-arrow {
    display: block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hp-offer-banner[data-hp-promo="ptl"]:hover .hp-offer-banner__cta {
    background: #ffa23a;
    color: #0b1020;
    box-shadow: 0 10px 20px rgba(255, 148, 32, 0.45);
}

.hp-offer-banner[data-hp-promo="ptl"]:hover .hp-offer-banner__cta-arrow {
    transform: translateX(3px);
}

.hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__close:focus-visible {
    outline-color: #1fedff;
}

.hp-offer-banner__grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: url('assets/ptl/popup-grain.png') top left / 256px 256px repeat;
    opacity: 0.07;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hp-offer-banner__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(12, 22, 29, 0.55);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.hp-offer-banner__close:hover {
    background: rgba(12, 22, 29, 0.85);
    transform: scale(1.05);
}

.hp-offer-banner__close:focus-visible {
    outline: 2px solid #20f0ff;
    outline-offset: 2px;
}

.hp-offer-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    width: min(510px, 100%);
    flex-shrink: 0;
    padding-right: 12px;
}

.hp-offer-banner__eyebrow {
    margin: 0;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: normal;
    color: #20f0ff;
}

.hp-offer-banner__title {
    margin: 0;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 43px;
    line-height: 52px;
    color: #fff;
}

.hp-offer-banner__desc {
    margin: 0;
    max-width: 349px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #fff;
    opacity: 0.6;
}

.hp-offer-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 258px;
    height: 54px;
    padding: 7px 10px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #ff4d00;
    color: #fff;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.hp-offer-banner:hover .hp-offer-banner__cta {
    background: #e64500;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 77, 0, 0.35);
}

.hp-offer-banner__visual {
    position: absolute;
    top: -150px;
    right: 60px;
    width: min(493px, 46%);
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.hp-offer-banner__visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

@media (max-width: 991px) {
    .hp-offer-overlay {
        padding: 24px 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hp-offer-overlay:has([data-hp-promo="gold"]) {
        padding-top: 56px;
    }

    .hp-offer-banner {
        flex-direction: column;
        padding: 32px 28px 28px;
        border-radius: 28px;
        overflow: visible;
        max-height: none;
    }

    .hp-offer-banner__content {
        width: 100%;
        padding-right: 36px;
        order: 1;
    }

    .hp-offer-banner__title {
        font-size: 32px;
        line-height: 40px;
    }

    .hp-offer-banner__visual,
    .hp-offer-banner[data-hp-promo="gold"] .hp-offer-banner__visual {
        position: relative;
        order: -1;
        top: auto;
        right: auto;
        width: min(360px, 100%);
        margin: -56px auto 0;
        align-self: center;
    }

    .hp-offer-banner[data-hp-promo="ptl"] {
        min-height: 0;
        padding: 28px 28px 32px;
        border-radius: 24px;
    }

    .hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__visual {
        position: relative;
        order: -1;
        top: auto;
        left: auto;
        width: calc(100% + 56px);
        margin: -28px -28px -24px;
        align-self: auto;
    }

    .hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__content {
        width: 100%;
        padding-right: 0;
    }

    .hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__title {
        font-size: 44px;
        letter-spacing: -1.5px;
    }

    .hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__desc {
        max-width: none;
        font-size: 17px;
    }
}

@media (max-width: 575px) {
    .hp-offer-banner {
        padding: 28px 20px 24px;
        border-radius: 24px;
        gap: 16px;
    }

    .hp-offer-banner__eyebrow {
        font-size: 16px;
    }

    .hp-offer-banner__title {
        font-size: 26px;
        line-height: 34px;
    }

    .hp-offer-banner__content {
        gap: 16px;
        padding-right: 0;
    }

    .hp-offer-banner__cta {
        width: 100%;
        /* max-width: 258px; */
    }

    .hp-offer-banner__visual,
    .hp-offer-banner[data-hp-promo="gold"] .hp-offer-banner__visual {
        width: min(280px, 90%);
        margin-top: -100px;
    }

    .hp-offer-banner[data-hp-promo="ptl"] {
        padding: 20px 20px 24px;
    }

    .hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__visual {
        width: calc(100% + 40px);
        margin: -20px -20px -16px;
    }

    .hp-offer-banner__pill {
        height: 28px;
        font-size: 10px;
        letter-spacing: 1.5px;
        white-space: normal;
        line-height: 1.2;
    }

    .hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__desc {
        font-size: 15px;
    }

    .hp-offer-banner[data-hp-promo="ptl"] .hp-offer-banner__cta {
        width: 100%;
        font-size: 17px;
    }

    .hp-offer-banner__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }
}

/* Homepage footer 30% offer banner — Figma 120:230, centered 1296px pill */
.home-page .education-section {
    /* Cards sit at bottom: -180px; section padding-bottom is 120px → 60px overhang */
    margin-bottom: 140px;
}

.hp-footer-offer {
    display: block;
    width: 100%;
    max-width: 1296px;
    margin-top: 100px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 99px;
    border: 1px solid #954CB8;
    background-color: #2F17A1;
    background-image: linear-gradient(
        90deg,
        rgba(255, 77, 0, 0.5) 0%,
        rgba(255, 77, 0, 0.25) 12%,
        rgba(255, 77, 0, 0) 25%,
        rgba(255, 77, 0, 0) 40%,
        rgba(255, 77, 0, 0.45) 55%,
        rgba(255, 77, 0, 0.15) 70%,
        rgba(255, 77, 0, 0) 82%,
        rgba(255, 77, 0, 0.5) 100%
    );
    background-size: 200% 100%;
    background-position: 0% 50%;
    box-shadow: 0 50px 100px 0 #120E29;
    color: #fff;
    text-decoration: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    animation: hpFooterOfferGradient 10s linear infinite;
}

@keyframes hpFooterOfferGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: -200% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-footer-offer {
        animation: none;
        background-image: linear-gradient(90deg, rgba(255, 77, 0, 0.25) 0%, rgba(255, 77, 0, 0) 23.08%, rgba(255, 77, 0, 0) 58.17%, rgba(255, 77, 0, 0.5) 100%);
        background-size: auto;
        background-position: 0 0;
    }
}

.hp-footer-offer:hover,
.hp-footer-offer:focus,
.hp-footer-offer:active,
.hp-footer-offer:visited {
    border: 1px solid #954CB8;
    color: #fff;
    text-decoration: none !important;
    outline: none;
    box-shadow: 0 50px 100px 0 #120E29;
}

.hp-footer-offer:hover {
    border-color: #b06ad4;
}

.hp-footer-offer:focus-visible {
    outline: 2px solid #FF4D00;
    outline-offset: 3px;
}

.hp-footer-offer[data-hp-promo-rotate] {
    transition: opacity 0.28s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 108px;
    overflow: hidden;
    overflow-anchor: none;
}

.hp-footer-offer[data-hp-promo-rotate] .hp-footer-offer__inner {
    min-height: 108px;
}

.hp-footer-offer.is-promo-swap {
    opacity: 0;
}

.hp-footer-offer__title-rest {
    color: inherit;
}

.hp-footer-offer__visual img[hidden] {
    display: none !important;
}

/* Pick The Level — same 30% footer/header-banner layout */
.hp-footer-offer[data-hp-promo="ptl"] .hp-footer-offer__visual {
    width: 168px;
    height: 108px;
    overflow: visible;
}

.hp-footer-offer[data-hp-promo="ptl"] .hp-footer-offer__img-ptl {
    object-fit: contain;
    object-position: center;
    transform: scale(1.12);
    transform-origin: center;
}

.hp-hero-offer[data-hp-promo="ptl"] .hp-hero-offer__visual {
    width: 150px;
    height: 100px;
    overflow: visible;
}

.hp-hero-offer[data-hp-promo="ptl"] .hp-hero-offer__img-ptl {
    object-fit: contain;
    object-position: center;
    transform: scale(1.12);
    transform-origin: center;
}

.hp-hero-offer[data-hp-promo="ptl"] .hp-hero-offer__title--ptl {
    gap: 6px;
}

.hp-hero-offer[data-hp-promo="ptl"] .hp-hero-offer__title--ptl .hp-hero-offer__line:not(.hp-hero-offer__accent) {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

/* Honor Elite Gold Card — 30% banner layout, gold accent */
.hp-footer-offer[data-hp-promo="elite"] .hp-footer-offer__visual {
    width: 132px;
    height: 108px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    box-sizing: border-box;
}

.hp-footer-offer[data-hp-promo="elite"] .hp-footer-offer__img-elite {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.hp-footer-offer[data-hp-promo="elite"] {
    border: 1px solid #824607;
    background-color: #1A1A46;
    background-image: linear-gradient(
        90deg,
        rgba(255, 152, 15, 0.50) 0%,
        rgba(255, 152, 15, 0.25) 12%,
        rgba(255, 152, 15, 0) 27.32%,
        rgba(255, 152, 15, 0) 56.13%,
        rgba(255, 152, 15, 0.45) 78%,
        rgba(255, 152, 15, 0.50) 100%
    );
    background-size: 200% 100%;
    background-position: 0% 50%;
    box-shadow: 0 50px 100px 0 rgba(26, 26, 70, 0.55);
}

.hp-footer-offer[data-hp-promo="elite"]:hover,
.hp-footer-offer[data-hp-promo="elite"]:focus,
.hp-footer-offer[data-hp-promo="elite"]:active,
.hp-footer-offer[data-hp-promo="elite"]:visited {
    border: 1px solid #824607;
    color: #fff;
    box-shadow: 0 50px 100px 0 rgba(26, 26, 70, 0.55);
}

.hp-footer-offer[data-hp-promo="elite"]:hover {
    border-color: #a35c0c;
}

.hp-footer-offer[data-hp-promo="elite"]:focus-visible {
    outline-color: #FF8301;
}

.hp-footer-offer[data-hp-promo="elite"] .hp-footer-offer__title-accent {
    background: linear-gradient(113.69deg, #FFE3A8 1.27%, #FFB020 50%, #FF8301 98.72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .hp-footer-offer[data-hp-promo="elite"] {
        animation: none;
        background-image: linear-gradient(90deg, rgba(255, 152, 15, 0.25) 0%, rgba(255, 152, 15, 0) 27.32%, rgba(255, 152, 15, 0) 56.13%, rgba(255, 152, 15, 0.50) 107.07%);
        background-size: auto;
        background-position: 0 0;
    }
}

.hp-hero-offer[data-hp-promo="elite"] .hp-hero-offer__visual {
    width: 150px;
    height: 100px;
    overflow: visible;
}

.hp-hero-offer[data-hp-promo="elite"] .hp-hero-offer__img-elite {
    object-fit: contain;
    object-position: center;
    transform: scale(1.18);
    transform-origin: center;
}

.hp-hero-offer[data-hp-promo="elite"] .hp-hero-offer__title--elite {
    gap: 6px;
}

.hp-hero-offer[data-hp-promo="elite"] .hp-hero-offer__title--elite .hp-hero-offer__accent {
    background: linear-gradient(113.69deg, #FFE3A8 1.27%, #FFB020 50%, #FF8301 98.72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hp-hero-offer[data-hp-promo="elite"] .hp-hero-offer__title--elite .hp-hero-offer__line:not(.hp-hero-offer__accent) {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

/* Promo 2 footer — Figma 160:452 */
.hp-footer-offer[data-hp-promo="gold"] {
    padding: 0 20px 0 0;
    overflow: hidden;
    border-radius: 83px;
    border: 1px solid #824607;
    background-color: #1A1A46;
    background-image: linear-gradient(
        90deg,
        rgba(255, 152, 15, 0.50) 0%,
        rgba(255, 152, 15, 0.25) 12%,
        rgba(255, 152, 15, 0) 27.32%,
        rgba(255, 152, 15, 0) 56.13%,
        rgba(255, 152, 15, 0.45) 78%,
        rgba(255, 152, 15, 0.50) 100%
    );
    background-size: 200% 100%;
    background-position: 0% 50%;
    box-shadow: 0 50px 100px 0 rgba(26, 26, 70, 0.55);
    animation: hpFooterOfferGradient 10s linear infinite;
}

.hp-footer-offer[data-hp-promo="gold"]:hover,
.hp-footer-offer[data-hp-promo="gold"]:focus,
.hp-footer-offer[data-hp-promo="gold"]:active,
.hp-footer-offer[data-hp-promo="gold"]:visited {
    border: 1px solid #824607;
    color: #fff;
    box-shadow: 0 50px 100px 0 rgba(26, 26, 70, 0.55);
}

.hp-footer-offer[data-hp-promo="gold"]:hover {
    border-color: #a35c0c;
}

.hp-footer-offer[data-hp-promo="gold"]:focus-visible {
    outline-color: #FF8301;
}

.hp-footer-offer[data-hp-promo="gold"] .hp-footer-offer__visual {
    width: 246px;
    height: 108px;
    overflow: hidden;
    align-self: stretch;
}

.hp-footer-offer[data-hp-promo="gold"] .hp-footer-offer__img-gold {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.hp-footer-offer[data-hp-promo="gold"] .hp-footer-offer__title {
    background-image: linear-gradient(113.69deg, #FFE3A8 1.27%, #FFB020 50%, #FF8301 98.72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hp-footer-offer[data-hp-promo="gold"] .hp-footer-offer__title-accent {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: inherit;
    -webkit-text-fill-color: inherit;
}

.hp-footer-offer[data-hp-promo="gold"] .hp-footer-offer__cta {
    background: linear-gradient(180deg, #FFE3A8 0%, #FFB020 42%, #FF8301 100%);
    box-shadow: 0 25px 30px 4px rgba(254, 151, 15, 0.25);
    color: #0b1020;
    border: 0;
}

.hp-footer-offer[data-hp-promo="gold"]:hover .hp-footer-offer__cta {
    background: linear-gradient(180deg, #FFE9BE 0%, #FFB82E 42%, #FF8F14 100%);
    color: #0b1020;
    box-shadow: 0 28px 34px 0 rgba(254, 151, 15, 0.32);
}

@media (prefers-reduced-motion: reduce) {
    .hp-footer-offer[data-hp-promo="gold"] {
        animation: none;
        background-image: linear-gradient(90deg, rgba(255, 152, 15, 0.25) 0%, rgba(255, 152, 15, 0) 27.32%, rgba(255, 152, 15, 0) 56.13%, rgba(255, 152, 15, 0.50) 107.07%);
        background-size: auto;
        background-position: 0 0;
    }
}

@media (min-width: 992px) {
    .hp-footer-offer {
        margin-bottom: -50px;
        position: relative;
        z-index: 20; /* above .footer (z-index: 10) */
    }
}

/* Mid-page offer banners: overlap (straddle) vs after white header */
.tt-card:has(+ .hp-footer-offer.hp-footer-offer--below-header) .tt-hero {
    padding-bottom: 110px;
}

.hp-footer-offer.hp-footer-offer--below-header {
    position: relative;
    z-index: 25;
    margin-top: -54px;
    margin-bottom: 0;
}

.hp-footer-offer.hp-footer-offer--below-header + .account-cards-section {
    padding-top: 48px;
}

.hp-footer-offer.hp-footer-offer--after-header {
    position: relative;
    z-index: 25;
    margin-top: 40px;
    margin-bottom: 24px;
}

/* When page already has overlapping stats bar, sit offer banner below it */
.stats-widget + .hp-footer-offer.hp-footer-offer--after-header {
    margin-top: 28px;
    margin-bottom: 28px;
}

/* Markets pages: sit offer banner below live ticker (no header overlap) */
.ticker-wrapper + .hp-footer-offer.hp-footer-offer--after-header {
    margin-top: 28px;
    margin-bottom: 28px;
}

@media (min-width: 992px) {
    .tt-card:has(+ .hp-footer-offer.hp-footer-offer--below-header) .tt-hero {
        padding-bottom: 120px;
    }

    .hp-footer-offer.hp-footer-offer--below-header {
        margin-top: -54px;
        margin-bottom: 0;
        z-index: 25;
    }

    .hp-footer-offer.hp-footer-offer--below-header + .account-cards-section {
        padding-top: 56px;
    }

    .hp-footer-offer.hp-footer-offer--after-header {
        margin-top: 48px;
        margin-bottom: 32px;
        z-index: 25;
    }
}

@media (max-width: 768px) {
    .tt-card:has(+ .hp-footer-offer.hp-footer-offer--below-header) .tt-hero {
        padding-bottom: 80px;
    }

    .hp-footer-offer.hp-footer-offer--below-header {
        margin-top: -36px;
        margin-bottom: 0;
    }

    .hp-footer-offer.hp-footer-offer--below-header + .account-cards-section {
        padding-top: 40px;
    }

    .hp-footer-offer.hp-footer-offer--after-header {
        margin-top: 28px;
        margin-bottom: 20px;
    }
}

.hp-footer-offer + .footer {
    margin-top: 0;
}

.hp-footer-offer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.hp-footer-offer__main {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.hp-footer-offer__visual {
    position: relative;
    flex-shrink: 0;
    width: 145px;
    height: 108px;
    overflow: visible;
}

.hp-footer-offer__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.hp-footer-offer__divider {
    flex-shrink: 0;
    width: 1px;
    height: 55px;
    background: rgba(255, 255, 255, 0.28);
}

.hp-footer-offer__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.hp-footer-offer__title {
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 700;
    font-size: 27px;
    line-height: 26px;
    letter-spacing: -0.54px;
    color: #fff;
    white-space: nowrap;
}

.hp-footer-offer__title-accent {
    background: linear-gradient(90deg, #20F0FF 0%, #A6F9FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hp-footer-offer__desc {
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.hp-footer-offer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 173px;
    height: 54px;
    padding: 7px 10px 7px 10px;
    border: 1px solid transparent;
    border-radius: 40px;
    background: #FF4D00;
    box-shadow: 0 25px 30px 0 rgba(255, 77, 0, 0.25);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-footer-offer:hover .hp-footer-offer__cta {
    background: #e64500;
    transform: translateY(-1px);
    box-shadow: 0 28px 34px 0 rgba(255, 77, 0, 0.32);
}

@media (max-width: 1200px) {
    .hp-footer-offer__title {
        font-size: 22px;
        line-height: 1.15;
        letter-spacing: -0.4px;
        white-space: normal;
    }

    .hp-footer-offer__desc {
        white-space: normal;
    }

    .hp-footer-offer__visual {
        width: 120px;
        height: 90px;
    }

    .hp-footer-offer[data-hp-promo-rotate],
    .hp-footer-offer[data-hp-promo-rotate] .hp-footer-offer__inner {
        min-height: 90px;
    }

    .hp-footer-offer[data-hp-promo="gold"] .hp-footer-offer__visual {
        width: 200px;
        height: 90px;
    }

    .hp-footer-offer[data-hp-promo="ptl"] .hp-footer-offer__visual {
        width: 132px;
        height: 90px;
    }

    .hp-footer-offer[data-hp-promo="elite"] .hp-footer-offer__visual {
        width: 112px;
        height: 90px;
        padding: 6px 4px;
    }
}

@media (max-width: 991px) {
    .home-page .education-section {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hp-footer-offer {
        margin-top: 60px;
        padding: 16px 18px;
        border-radius: 28px;
    }

    .hp-footer-offer[data-hp-promo-rotate] {
        min-height: 98px;
    }

    .hp-footer-offer[data-hp-promo-rotate] .hp-footer-offer__inner {
        min-height: 0;
    }

    .hp-footer-offer[data-hp-promo="gold"] {
        padding: 16px 18px;
        border-radius: 28px;
        min-height: 98px;
    }

    .hp-footer-offer[data-hp-promo="gold"] .hp-footer-offer__visual {
        width: 88px;
        height: 66px;
        overflow: visible;
        align-self: center;
    }

    .hp-footer-offer[data-hp-promo="gold"] .hp-footer-offer__img-gold {
        object-fit: cover;
        object-position: left center;
    }

    .hp-footer-offer[data-hp-promo="ptl"] .hp-footer-offer__visual {
        width: 96px;
        height: 72px;
        overflow: visible;
        align-self: center;
    }

    .hp-footer-offer[data-hp-promo="elite"] .hp-footer-offer__visual {
        width: 80px;
        height: 66px;
        padding: 4px 2px;
        overflow: hidden;
        align-self: center;
    }

    .hp-footer-offer + .footer {
        margin-top: 0;
    }

    .hp-footer-offer__inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 14px 16px;
    }

    .hp-footer-offer__visual {
        width: 88px;
        height: 66px;
    }

    .hp-footer-offer__divider {
        height: 44px;
    }

    .hp-footer-offer__main {
        flex: 1;
        min-width: 0;
        gap: 12px;
    }

    .hp-footer-offer__title {
        font-size: 18px;
        line-height: 1.25;
        white-space: normal;
    }

    .hp-footer-offer__desc {
        font-size: 14px;
        line-height: 1.35;
        white-space: normal;
    }

    .hp-footer-offer__cta {
        width: auto;
        min-width: 148px;
        height: 46px;
        margin-left: auto;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hp-footer-offer {
        margin-top: 40px;
        padding: 14px 14px;
        border-radius: 24px;
    }

    .hp-footer-offer[data-hp-promo-rotate] {
        min-height: 158px;
    }

    .hp-footer-offer[data-hp-promo="gold"] {
        padding: 14px 14px;
        border-radius: 24px;
        min-height: 158px;
    }

    .hp-footer-offer__divider {
        display: none;
    }

    .hp-footer-offer__title {
        font-size: 17px;
    }

    .hp-footer-offer__cta {
        width: 100%;
        margin-left: 0;
    }
}
