/* ============================================================
   ZERO MARKETS - Pixel-Perfect Clone CSS
   Design System extracted from original site styles.min.css
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Brand Colors */
  --color-green:        #FF4521;
  --color-orange:       #FF4521;
  --color-dark:         #2c393e;
  --color-dark-deep:    #222c30;
  --color-dark-text:    #3e5a61;
  --color-mid:          #4c575c;
  --color-mid-light:    #616b6e;
  --color-border:       #ced4d7;
  --color-border-light: rgba(58,84,95,.5);
  --color-text:         #2e3642;
  --color-text-light:   #7c898d;
  --color-white:        #ffffff;
  --color-bg-light:     #f9f9f9;
  --color-gold:         #c9a84c;
  --color-red:          #c84e4f;

  /* Typography */
  --font-primary:  'Catamaran', sans-serif;
  --font-secondary: 'Work Sans', sans-serif;

  /* Spacing */
  --section-padding: var(--space-xxl) 0;
  --section-padding-mobile: var(--space-xl) 0;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 28px;
  color: var(--color-text);
  background: #fff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all .3s ease; }
a:hover { text-decoration: none; }

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

p {
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 28px;
  color: var(--color-text);
  margin-bottom: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.1;
}

.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.white { color: #fff !important; }
.green { color: var(--color-green) !important; }
.underline { text-decoration: underline !important; }

/* ---- UTILITY CLASSES ---- */
.mitigated-block { margin-left: auto; margin-right: auto; }
.max-550 { max-width: 550px; }
.max-595 { max-width: 595px; }
.desktop-only { display: block; }
.mobile-only { display: none; }

/* ---- SECTION BASE ---- */
section { padding: 95px 0; }

/* ---- TYPOGRAPHY ---- */
.section-header {
  color: var(--color-dark-text);
  font-size: 42px;
  line-height: 46px;
  margin-bottom: 30px;
  font-family: var(--font-primary);
  font-weight: 300;
}
.section-header strong { font-weight: 700; }
.section-header.white { color: #fff; }

.section-subheader {
  color: var(--color-mid);
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-subheader.white { color: rgba(255,255,255,0.7); }

.subheader {
  font-size: 14px !important;
  width: 100%;
  display: inline-block;
  line-height: 1em;
  letter-spacing: .7px;
}

.work-sans {
  font-family: var(--font-secondary);
  color: var(--color-text);
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0.7px;
}
.work-sans.extra-light { font-weight: 200; }
.work-sans.thin { font-weight: 300; }

/* ---- BUTTONS ---- */
.btn {
  font-family: var(--font-secondary);
  font-weight: 300;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all .5s ease-in-out;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
}

.btn:hover { text-decoration: none; }

.button-small {
  min-height: 24px;
  height: 24px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--color-mid);
  letter-spacing: 1.2px;
  padding: 0 12px;
  border: 1px solid rgba(44,57,62,.3);
  background: transparent;
  transition: all .5s ease-in-out;
}
.button-small:hover {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}

.button-middle {
  min-height: 40px;
  height: 40px;
  border-radius: 20px;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 0 20px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  transform: scale(1);
  -webkit-font-smoothing: antialiased;
  transition: transform .3s ease-in-out, background .3s ease, border-color .3s ease;
}
.button-middle:hover {
  transform: scale(1.05);
  -webkit-font-smoothing: antialiased;
}

/* button-big: min-height:56px;font-size:21px from styles.min.css */
.button-big {
  min-height: 56px;
  border-radius: 28px;
  padding-left: 32px;
  padding-right: 32px;
  font-size: 21px;
  letter-spacing: 1.5px;
  transform: scale(1);
  -webkit-font-smoothing: antialiased;
  transition: transform .3s ease-in-out, background .3s ease;
  font-weight: 500;
}
.button-big:hover {
  transform: scale(1.05);
  -webkit-font-smoothing: antialiased;
}

.green-bg {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: #fff !important;
}
.green-bg:hover {
  background-color: #e03a1a;
  border-color: #e03a1a;
  color: #fff !important;
}

.dark-bg {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff !important;
}
.dark-bg:hover {
  background-color: #1e2a2e;
  border-color: #1e2a2e;
  color: #fff !important;
}

/* ---- HEADER ---- */
.header.header-normal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: all .3s ease;
}

.header.header-normal.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}

.header.header-normal.dark-mode {
  background: var(--color-dark-deep);
}

/* header-top: padding:14px 0 from styles.min.css */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(44,57,62,.08);
  flex-wrap: nowrap;
}

.header-top .left,
.header-top .right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.header-top .right { justify-content: flex-end; }

.header-top .btn.button-small {
  margin-right: 4px;
  color: var(--color-mid);
}

.competition-btn {
  background: rgba(201,168,76,0.1) !important;
  border-color: rgba(201,168,76,0.5) !important;
  color: var(--color-gold) !important;
}
.competition-btn:hover {
  background: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: #fff !important;
}

.lang-menu-btn {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-mid);
  background: transparent;
  border: 1px solid rgba(44,57,62,.3);
  border-radius: 12px;
  padding: 0 10px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 2px;
}

/* Main Nav */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo-container { flex-shrink: 0; }
.logo-link { display: inline-block; }
.logo-white { display: block; }
.logo-dark { display: none; }

/* When header is on white bg, show dark logo */
.header.header-normal .logo-white { display: none; }
.header.header-normal .logo-dark { display: block; }

/* Dark mode header (over dark hero) */
.header.header-normal.dark-mode {
  background: rgba(13,27,34,0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header.header-normal.dark-mode .logo-white { display: block; }
.header.header-normal.dark-mode .logo-dark { display: none; }
.header.header-normal.dark-mode .link-normal { color: rgba(255,255,255,0.85) !important; }
.header.header-normal.dark-mode .link-normal:hover { color: var(--color-green) !important; }
.header.header-normal.dark-mode .button-small { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.header.header-normal.dark-mode .button-small:hover { color: #fff; }
.header.header-normal.dark-mode .lang-menu-btn { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.header.header-normal.dark-mode .header-top { border-bottom-color: rgba(255,255,255,0.08); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

/* link-normal: font-size:16px;letter-spacing:2.35px from styles.min.css */
.main-nav .link-normal,
a.link-normal {
  color: #4c575c !important;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2.35px;
  text-decoration: none !important;
  margin-right: 30px;
  display: inline !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  position: relative;
  transition: color .3s ease;
}
.main-nav .link-normal::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-green);
  transition: width .3s ease;
}
.main-nav .link-normal:hover { color: var(--color-green) !important; }
.main-nav .link-normal:hover::after { width: 100%; }

.main-nav .open-account-btn {
  margin-left: 8px;
  font-size: 14px;
  letter-spacing: 1.2px;
  min-height: 40px;
  border-radius: 20px;
  padding: 0 22px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: all .3s ease;
}

/* Sticky header adjustment */
.header.header-normal.scrolled {
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}
.header.header-normal.scrolled.dark-mode {
  background: rgba(13,27,34,0.98) !important;
}

/* Mobile Header */
.header-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  background: var(--color-dark-deep);
  padding: 12px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-mobile .logo-white { display: block; }
.header-mobile .logo-dark { display: none; }
.header-mobile .lang-text {
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 13px;
  letter-spacing: 1px;
}
.header-mobile .mobile-menu-toggle span { background: #fff; }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel {
  /* LAYOUT SYSTEM: margin-top = var(--carousel-margin-top) from layout-system.css */
  /* TRANSITION: was 150px (magic number) — now token-driven */
  margin-top: var(--carousel-margin-top, 170px);
  position: relative;
  /* CAROUSEL BG: dark fallback prevents any sub-pixel gap from showing the white body */
  background-color: #000;
}

.carousel-item {
  /* HEIGHT CONSTRAINT MODEL v44 — NO aspect-ratio
     Scales with viewport width, hard-capped at 680px
     580px floor ensures content is never cramped */
  height: min(56vw, 680px);
  min-height: 580px;
  max-height: 680px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

/* Carousel indicators */
.carousel-indicators {
  bottom: 20px;
}
.carousel-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  margin: 0 4px;
  transition: all .3s ease;
}
.carousel-indicators .active {
  background: var(--color-green);
  width: 24px;
  border-radius: 4px;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: all .3s ease;
}
.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }
.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: rgba(255,255,255,0.3);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

/* ============================================================
   HERO SLIDES - New Trading Theme Banners
   ============================================================ */

/* Shared slide base */
.slide-1-hero, .slide-2-hero, .slide-3-hero, .slide-4-hero, .slide-5-hero {
  /* HEIGHT CONSTRAINT MODEL v44 — mirrors .carousel-item exactly */
  height: min(56vw, 680px);
  min-height: 580px;
  max-height: 680px;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Shared dark overlay for text readability */
.slide-1-hero::before, .slide-2-hero::before, .slide-3-hero::before,
.slide-4-hero::before, .slide-5-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}
.slide-1-hero .container, .slide-2-hero .container, .slide-3-hero .container,
.slide-4-hero .container, .slide-5-hero .container { position: relative; z-index: 2; }

/* Individual slide backgrounds */
.slide-1-hero { background-image: url('../images/banner-slide1.webp'); }
.slide-2-hero { background-image: url('../images/banner-slide2.webp'); }
.slide-3-hero { background-image: url('../images/banner-slide3.webp'); }
.slide-4-hero { background-image: url('../images/banner-slide4.webp'); }
.slide-5-hero { background-image: url('../images/banner-slide5.webp'); }

/* Slide 1 - eyebrow label */
.slide-eyebrow {
  color: var(--color-orange);
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Slide 1 - h1 headings */
.slide-1-hero h1 {
  font-size: 62px;
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font-primary);
}
.slide-1-hero h1.no-mb { margin-bottom: 0; }

/* Orange text utility */
.orange-text { color: var(--color-green) !important; }
.gold-text { color: #c9a84c !important; }

/* Slide 1 - tags */
.slide-1-hero .tags {
  margin-top: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.slide-1-hero .tags span {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.slide-1-hero .tags .divider { color: rgba(255,255,255,0.4); }

/* Slide 2 - text styles (reuse t-d / s1 / s2 / b-d) */
.t-d {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-secondary);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.slide-2-hero h2 {
  font-size: 64px;
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
}
.slide-2-hero h2 .s1 {
  font-size: 72px;
  color: var(--color-green);
  font-weight: 900;
  letter-spacing: -2px;
  display: block;
}
.slide-2-hero h2 .s2 {
  font-size: 72px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -2px;
  display: block;
}
.b-d {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-secondary);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Slides 3-5 - h2 headings */
.slide-3-hero h2, .slide-4-hero h2, .slide-5-hero h2 {
  font-size: 60px;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
}
.slide-3-hero h2 strong, .slide-4-hero h2 strong, .slide-5-hero h2 strong {
  color: var(--color-green);
}
.slide-5-hero h2.m-t { color: rgba(255,255,255,0.5); }

/* Orange button variant */
.orange-bg {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}
.orange-bg:hover {
  background-color: #e03a1a;
  border-color: #e03a1a;
  color: #fff;
}

/* Download buttons */
.download-btns-wrapper { gap: 12px; flex-wrap: wrap; }
.download-btns img {
  height: 48px;
  width: auto;
  transition: transform .3s ease;
}
.download-btns:hover img { transform: scale(1.05); }

/* ============================================================
   CONFIDENCE SECTION - Exact values from styles.min.css
   Original uses .confidence .leverage structure
   ============================================================ */
.confidence.white-bg {
  background: #fff;
  padding: 80px 0;
  overflow-x: hidden;
}

/* Stats Box - Leverage Grid (matches original .confidence .leverage) */
.stats-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

/* Each stat item = .leverage-item in original */

/* Dividers between items (right border) */
/* Bottom border for first row */

/* Number = .green in original */

/* Label = .smaller in original */

.stat-divider { display: none; }

/* Confidence Text */
.confidence-content { padding-left: 40px; }
.confidence-content .section-subheader { margin-bottom: 8px; }
.confidence-content .section-header { margin-bottom: 20px; }
.confidence-content p { font-size: 19px; line-height: 30px; color: #4c575c; }
.confidence-content a.green { color: var(--color-green) !important; text-decoration: underline; }

/* ============================================================
   TRADING SECTION
   ============================================================ */
.trade {
  background-color: var(--color-dark);
  background-image: url('../images/trade-bg.png');
  background-repeat: no-repeat;
  background-position: right bottom 50%;
  background-size: 72% auto;
  padding: 95px 0 55px;
}

.trade .section-subheader { color: rgba(255,255,255,0.65); }
.trade .section-header { color: #fff; }
.trade .section-header strong { color: var(--color-green); }

/* Products Grid */
.products-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 45px auto 62px;
  max-width: 895px;
  text-align: center;
  flex-wrap: nowrap;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  transition: transform .3s ease;
}
.product-item:hover { transform: translateY(-4px); }

.product-item img {
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1);
}

.product-item p {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin: 0;
}

.ipad-img {
  display: block;
  margin: 0 auto;
  max-width: 900px;
}

/* ============================================================
   START TRADING BANNER
   ============================================================ */
.start-trading {
  background: url('../images/start.jpg') no-repeat center;
  background-size: cover;
  padding: 45px 0;
}

.start-trading .section-header {
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 0;
}
.start-trading .section-header strong { color: var(--color-green); }

/* ============================================================
   PLATFORMS SECTION
   ============================================================ */
.powerful {
  background: url('../images/power.png') no-repeat center;
  background-size: cover;
  padding: 95px 0;
}

.powerful .section-header strong { color: var(--color-green); }

.devices-container {
  margin-left: -15px;
  margin-right: -15px;
  text-align: center;
}
.devices-container img { max-width: 100%; }

.icons-container img {
  height: 48px;
  width: auto;
  margin: 0 8px;
}

/* ============================================================
   ACCOUNTS SECTION
   ============================================================ */
.accounts {
  padding: 95px 0;
  background: var(--color-bg-light);
}

.accounts .section-header strong { color: var(--color-green); }

/* Account Cards */
.round-container {
  border-radius: 30px;
  border: 1px solid var(--color-border);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  background: #fff;
  transition: all .5s ease-in-out;
}
.round-container:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

/* Price Container - exact from styles.min.css */
.price-container,
.support-container {
  align-items: stretch;
  justify-content: flex-start;
  background: #fff;
}
.price-container {
  flex-direction: column;
}

.price-container .icon-container,
.support-container .icon-container {
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}
.price-container .icon-container img {
  width: 64px;
  height: auto;
  /* Convert green icon to orange-red #FF4521 */
  filter: invert(37%) sepia(93%) saturate(1200%) hue-rotate(349deg) brightness(105%) contrast(101%);
}

/* h4 in price-container: font-size:36px;line-height:36px */
.price-container h4,
.support-container h4 {
  width: 100%;
  font-size: 36px;
  line-height: 36px;
  margin-top: 12px;
  margin-bottom: 20px;
  color: var(--color-dark-text);
  text-align: center;
}

/* p in price-container: font-size:32px;letter-spacing:-.8px */
.price-container p,
.support-container p {
  width: 100%;
  font-size: 32px;
  letter-spacing: -.8px;
  color: #4c575c;
  line-height: 1em;
}

.price-container p.normal-paragraph,
.support-container p.normal-paragraph {
  font-size: 19px;
  line-height: 30px;
  font-weight: 300;
}

/* subheader in price-container */
.price-container p.subheader,
.price-container p .subheader,
.support-container p.subheader,
.support-container p .subheader {
  font-size: 14px !important;
  width: 100%;
  display: inline-block;
  line-height: 1em;
  letter-spacing: .7px;
}

/* line-bottom separator */
.price-container p.line-bottom,
.support-container p.line-bottom {
  position: relative;
  margin-bottom: 20px;
}
.price-container p.line-bottom::after,
.support-container p.line-bottom::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 130px;
  height: 1px;
  background-color: #3a545f;
  opacity: .5;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
}

.price-container h4.line-bottom,
.support-container h4.line-bottom {
  position: relative;
  margin-bottom: 38px;
}
.price-container h4.line-bottom::after,
.support-container h4.line-bottom::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 130px;
  height: 1px;
  background-color: #3a545f;
  opacity: .5;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
}

/* lighter variant */
.price-container p .lighter,
.support-container p .lighter {
  font-weight: 300;
  font-size: 22px;
  letter-spacing: .7px;
  line-height: .85em;
}

.big-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-green);
  font-family: var(--font-primary);
  letter-spacing: -.8px;
}

.small-note {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  text-align: center;
  width: 100%;
  font-size: 14px;
  font-weight: 300;
}
.small-note a { color: var(--color-green); text-decoration: underline; }

/* ============================================================
   TYPICAL SPREADS SECTION
   ============================================================ */
.typical {
  background-color: var(--color-dark);
  background-image: url('../images/typical1.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
  padding: 95px 0 120px;
}

.typical .section-header { color: #fff; }
.typical .section-header strong { color: var(--color-green); }

/* table-wrapper: max-width:812px from styles.min.css */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 885px; /* app.css override: 885px */
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 16px;
  margin-top: 40px;
}
.table-wrapper::-webkit-scrollbar { width: 1px; }
.table-wrapper::-webkit-scrollbar-track { background-color: #2c393e; }

table#spreads-forex {
  border-collapse: collapse;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #fff;
  width: 100%;
}

table#spreads-forex th,
table#spreads-forex td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

table#spreads-forex th {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

table#spreads-forex th .green { color: var(--color-green) !important; }

table#spreads-forex td:first-child {
  text-align: left;
  font-weight: 600;
  color: #fff;
}
table#spreads-forex td:nth-child(2) {
  text-align: left;
  color: rgba(255,255,255,0.7);
}

table#spreads-forex tr:hover td {
  background: rgba(255,255,255,0.05);
}

.s-Symbol { width: 80px; }
.s-Description { min-width: 200px; }
.s-Min, .s-Avg { width: 80px; }

/* ============================================================
   SUCCESS TRADE AREA - Exact values from commstyle.css
   ============================================================ */
.success_trade_area {
  /* Updated to orange theme */
  background: linear-gradient(135deg, #1a0a05 0%, #2d1208 40%, #3d1a0a 70%, #1a0a05 100%);
  background-position: center;
  background-size: cover;
  padding: 100px 0;
  padding-bottom: 80px;
}

.success_top_content {
  text-align: center;
  margin-bottom: 100px;
}

.success_top_content > span {
  letter-spacing: 2.04px;
  color: #FF4521;
  text-transform: uppercase;
  font-size: 17px;
  margin-bottom: 20px;
  display: inline-block;
}

.success_top_content h2 {
  color: #FFFFFF;
  font-size: 42px;
  letter-spacing: .25px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}
.success_top_content h2 b { font-weight: 700; }

.succes_txt {
  max-width: 650px;
  margin: 0 auto;
}
.succes_txt p {
  color: #fff;
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 0;
}
.succes_txt a { color: #FF4521; text-decoration: none; }

.succes_trade_btn {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.start_btn, .free_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 0 7px;
  color: #fff;
  border-radius: 40px;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.22px;
  height: 50px;
  width: 240px;
  transition: .3s;
  text-decoration: none !important;
}

.start_btn {
  background: #FF4521;
}
.start_btn:hover {
  background: #cc3519;
  color: #fff !important;
}

.free_btn {
  background: #2c393e;
}
.free_btn:hover {
  background: #FF4521;
  color: #fff !important;
}

/* Success List */
.success_list { margin-top: 20px; }
.success_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}
.success_list ul li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 17px;
}
.success_list ul li::before { content: none; }
.success_list li img {
  max-width: 30px;
  margin-right: 15px;
}
.success_list li span {
  width: 34px;
  display: inline-block;
}
/* Override for clone layout */
.success_list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px;
  min-width: 100px;
}
.success_list li img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.success_list li span {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-mid);
  line-height: 1.3;
}

/* 6-item 3-column layout for success list */
.success-list-3col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 40px;
  max-width: 700px;
  margin: 0 auto;
}
.success-list-3col li {
  min-width: unset !important;
  width: 100%;
}

/* ============================================================
   SUPPORT SECTION - Exact from styles.min.css
   ============================================================ */
.support {
  background: url('../images/support-bg.jpg') no-repeat 50%;
  background-size: cover;
  padding: 95px 0;
}

.support .icon-container,
.support h4 {
  margin-bottom: 25px;
}

.support .icon-container {
  text-align: center;
}
.support .icon-container img {
  width: 72px;
  height: auto;
  filter: invert(37%) sepia(93%) saturate(1200%) hue-rotate(349deg) brightness(105%) contrast(101%);
}

.support h4 {
  font-size: 24px;
  line-height: 1em;
  color: #fff;
  text-align: center;
}

.support p {
  font-size: 17px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.support a.green { color: var(--color-green) !important; }
.support a.green.underline { text-decoration: underline !important; }

/* ============================================================
   APP INVITATION / FOOTER TOP
   ============================================================ */
.app-invitation-btns {
  background: var(--color-dark-deep);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { opacity: 0.9; }
.footer-logo:hover { opacity: 1; }

.social-links { gap: 12px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: all .3s ease;
}
.social-link:hover {
  background: var(--color-green);
  color: #fff;
  transform: translateY(-2px);
}

.link-btn img { transition: transform .3s ease; }
.link-btn:hover img { transform: scale(1.05); }

/* ============================================================
   FOOTER - Exact from styles.min.css
   footer{background:#222c30;padding:70px 0}
   ============================================================ */
.site-footer {
  background: #222c30;
  padding: 70px 0;
}

.footer-disclaimer p {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.footer-disclaimer a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--color-green); }

/* footer-bottom: padding-top:38px */
.footer-bottom {
  padding-top: 38px;
}
.footer-bottom p {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin: 0;
}
.footer-bottom p:last-of-type { margin-bottom: 0; }

/* ============================================================
   FX EMPIRE FOOTER SECTION
   ============================================================ */
.new-fxe-footer {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}
.fxe-footer-img {
  display: block;
  width: 74%;
  margin: auto;
  max-width: 600px;
}

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

/* Large Desktop: 1200px+ */
@media (min-width: 1200px) {
  .section-header { font-size: 48px; line-height: 52px; }
  .confidence-content { padding-left: 50px; }
}

/* Desktop: 992px - 1199px */
@media (max-width: 1199px) {
  .section-header { font-size: 38px; line-height: 42px; }
  .wtc-qualifier-hero h1 { font-size: 44px; }
  .instant-funding h2, .instant-funding h2 .s1, .instant-funding h2 .s2 { font-size: 56px; }
}

/* Tablet: 768px - 991px */
@media (max-width: 991px) {



  /* LAYOUT SYSTEM: margin-top driven by --carousel-margin-top token (layout-system.css) */
  /* TRANSITION: was 97px (magic number) — now token-driven */
  .hero-carousel { margin-top: var(--carousel-margin-top, 68px); }

  /* HEIGHT CONSTRAINT MODEL v44 — tablet */
  .carousel-item,
  .slide-1-hero, .slide-2-hero, .slide-3-hero, .slide-4-hero, .slide-5-hero {
    height: auto;
    min-height: 480px;
    max-height: 560px;
    padding-bottom: 50px;
  }

  .wtc-qualifier-hero { padding: 60px 0 50px; }
  .wtc-qualifier-hero h1 { font-size: 36px; text-align: center; }
  .wtc-qualifier-hero .wtc-logo { margin: 0 auto 16px; }
  .cafu-col { display: none; }

  .instant-funding h2, .instant-funding h2 .s1, .instant-funding h2 .s2 { font-size: 48px; }

  .confidence-content { padding-left: 0; margin-top: 30px; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }

  .trade { background-position: 100% 100%; }
  .products-grid { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .product-item { width: 30%; }

  .mt-anywhere { background-size: 0; }

  section { padding: 65px 0; }

  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  section { padding: 50px 0; }

  /* LAYOUT SYSTEM: margin-top driven by --carousel-margin-top token (layout-system.css) */
  /* TRANSITION: was 97px (magic number) — now token-driven */
  .hero-carousel { margin-top: var(--carousel-margin-top, 68px); }

  /* HEIGHT CONSTRAINT MODEL v44 — mobile */
  .carousel-item,
  .slide-1-hero, .slide-2-hero, .slide-3-hero, .slide-4-hero, .slide-5-hero {
    height: auto;
    min-height: 380px;
    max-height: 480px;
    padding-bottom: 40px;
  }

  .wtc-qualifier-hero h1 { font-size: 28px; }
  .wtc-qualifier-hero .join-btn { font-size: 14px; padding: 0 24px; min-height: 44px; }

  .instant-funding h2 { font-size: 36px; }
  .instant-funding h2 .s1, .instant-funding h2 .s2 { font-size: 42px; }
  .instant-funding::before { width: 100%; opacity: 0.15; }

  .trade-anytime h2 { font-size: 40px; }
  .trade-anytime::before { opacity: 0.15; }

  .market-wherever h2 { font-size: 36px; }

  .mt-anywhere h2 { font-size: 36px; }

  .section-header { font-size: 28px; line-height: 34px; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }

  .confidence-content { padding-left: 0; }

  .products-grid { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .product-item { width: 28%; }
  .product-item img { width: 44px; }

  .start-trading .section-header { font-size: 24px; text-align: center; }
  .start-trading .col-lg-4 { text-align: center; margin-top: 20px; }

  .accounts .round-container { margin-bottom: 24px; }

  .success_top_content h2 { font-size: 28px; }

  .succes_trade_btn { flex-direction: column; align-items: center; }
  .start_btn, .free_btn { width: 100%; max-width: 280px; }

  .support .col-lg-4 { margin-bottom: 40px; }

  .app-invitation-btns .col-lg-4 { text-align: center; margin-bottom: 20px; }

  .desktop-only { display: none; }
  .mobile-only { display: block; }

  .table-wrapper { margin-left: -15px; margin-right: -15px; }
  table#spreads-forex th, table#spreads-forex td { padding: 10px 8px; font-size: 12px; }
}

/* Extra Small: < 480px */
@media (max-width: 480px) {
  .wtc-qualifier-hero h1 { font-size: 24px; }
  .section-header { font-size: 24px; line-height: 30px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { gap: 12px; }
  .product-item { width: 30%; }
}

/* ============================================================
   SCROLL ANIMATIONS - Simple, reliable
   All content always visible; subtle entrance on scroll
   ============================================================ */

/* All elements always visible */
.fade-in-up,
.fade-in-left,
.fade-in-right {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity .7s ease, transform .7s ease;
}

/* Stagger delays */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark-deep);
  z-index: 1010;
  overflow-y: auto;
  padding: 20px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu-overlay.open {
  display: block;
  transform: translateX(0);
}

.mobile-menu-overlay .mobile-nav-link {
  display: block;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: color .3s ease;
}
.mobile-menu-overlay .mobile-nav-link:hover { color: var(--color-green); }

.mobile-menu-overlay .mobile-open-account {
  display: block;
  margin-top: 24px;
  text-align: center;
}

/* ============================================================
   LANGUAGE DROPDOWN
   ============================================================ */
.langMenu1 {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 1050;
  min-width: 160px;
  padding: 8px 0;
}
.langMenu1.show { display: block; }
.langMenu1 ul { list-style: none; padding: 0; margin: 0; }
.langMenu1 li a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-secondary);
  font-size: 13px;
  color: var(--color-mid);
  transition: all .2s ease;
}
.langMenu1 li a:hover {
  background: var(--color-bg-light);
  color: var(--color-green);
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-mid-light); }

/* ============================================================
   LOADING ANIMATION
   ============================================================ */
.pt-br-mask-loading {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-dark-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease;
}
.pt-br-mask-loading.hidden {
  opacity: 0;
  pointer-events: none;
}
.pt-br-mask-loading .loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: var(--color-green);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   MAU / NON-MAU CONTENT VISIBILITY
   ============================================================ */
/* Hide Mauritius-specific text, show standard text */
.for-mau { display: none !important; }
.not-for-mau { display: block !important; }

/* ============================================================
   ADDITIONAL PIXEL-PERFECT FIXES
   ============================================================ */
/* WTC Hero - ensure dark background matches original */
.wtc-qualifier-hero {
  background: radial-gradient(ellipse at 55% 50%, #1a0a05 0%, #0d0503 45%, #000 100%) !important;
}

/* Start-trading section - single line layout */
.start-trading .section-header {
  white-space: normal;
  font-size: 28px;
}

/* Carousel indicators - match original dash style */
.carousel-indicators .active {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
}
.carousel-indicators li {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  margin: 0 3px;
}

/* WTC Logo size - match original */
.wtc-qualifier-hero .wtc-logo {
  max-width: 320px;
}

/* WTC Hero h1 - match original font weight */
.wtc-qualifier-hero h1 {
  font-weight: 700;
  color: #fff;
}

/* Cafu image - full height like original */
.cafu-img {
  max-height: 560px;
  width: auto;
}

/* Support section - use darkbg.jpg as fallback */
.support {
  background: #2c393e url('../images/darkbg.jpg') no-repeat center !important;
  background-size: cover !important;
}

/* Footer logo size */
.footer-logo {
  width: 193px;
  height: auto;
  max-width: none;
  max-height: none;
}

/* ============================================================
   HOW TO START TRADING SECTION
   ============================================================ */
.how-to-start {
  background: #fff;
  padding: 90px 0 80px;
}

.how-to-start .section-header {
  font-size: 36px;
  margin-bottom: 60px;
}

.how-to-steps-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}

/* Horizontal connecting line between steps */
.how-to-steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #FF4521 0%, #ff6b4a 50%, #FF4521 100%);
  opacity: 0.25;
  z-index: 0;
}

.how-to-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

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

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FF4521;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Catamaran', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(255,69,33,0.35);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-to-step:hover .step-number {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(255,69,33,0.5);
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,69,33,0.07);
  border: 2px solid rgba(255,69,33,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.how-to-step:hover .step-icon {
  background: rgba(255,69,33,0.14);
  border-color: rgba(255,69,33,0.45);
}

.step-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #2c393e;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.step-desc {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #6b7c82;
  line-height: 1.65;
  max-width: 180px;
  margin: 0 auto;
}

.how-to-cta {
  text-align: center;
  padding-top: 20px;
}

/* Platform icon centered */
.platform-icon-centered {
  display: block;
  margin: 0 auto;
}

/* Responsive: stack steps on mobile */
@media (max-width: 991px) {
  .how-to-steps-row {
    flex-wrap: wrap;
  }
  .how-to-steps-row::before {
    display: none;
  }
  .how-to-step {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    margin-bottom: 40px;
  }
}

@media (max-width: 575px) {
  .how-to-step {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 36px;
  }
  .how-to-start {
    padding: 60px 0 50px;
  }
}

/* ===================== DROPDOWN NAVIGATION MENU ===================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

.nav-caret {
  font-size: 9px;
  transition: transform 0.25s ease;
  margin-left: 2px;
  opacity: 0.7;
}

.nav-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px;
  padding-top: 28px; /* visual gap from nav bar */
  z-index: 9999;
  border-top: 3px solid #FF4521;
  white-space: nowrap;
  flex-direction: row;
  gap: 0;
  min-width: 200px;
  /* Invisible bridge above the menu so mouse can travel from toggle to menu */
  margin-top: 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: flex;
}

/* Invisible bridge: fills gap between toggle and dropdown so mouse doesn't lose hover */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

/* Arrow pointer on dropdown */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #FF4521;
}

.nav-dropdown-section {
  flex: 1;
  padding: 0 14px;
  border-right: 1px solid #f0f0f0;
  min-width: 150px;
}

.nav-dropdown-section:first-child {
  padding-left: 0;
}

.nav-dropdown-section:last-child {
  border-right: none;
  padding-right: 0;
}

.nav-dropdown-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FF4521;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Work Sans', sans-serif;
}

.nav-dropdown-item {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  color: #2c393e !important;
  font-weight: 400;
  text-decoration: none !important;
  transition: color 0.18s ease, padding-left 0.18s ease;
  font-family: 'Work Sans', sans-serif;
  letter-spacing: 0.3px;
}

.nav-dropdown-item:hover {
  color: #FF4521 !important;
  padding-left: 5px;
  text-decoration: none !important;
}

/* Dark mode dropdown toggle text */
.header.header-normal.dark-mode .nav-dropdown-toggle {
  color: rgba(255,255,255,0.85) !important;
}

/* ===================== LOGO SIZE FIXES ===================== */
.logo-white,
.logo-dark {
  height: 64px;
  width: auto;
  display: block;
}

.footer-logo {
  width: 193px;
  height: auto;
  max-width: none;
  max-height: none;
}

/* Success list: one row, 6 items evenly spaced */
.success-list-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 0 !important;
  width: 100%;
}
.success-list-row li {
  flex: 1 1 0;
  min-width: 0;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 8px;
}

/* ===================== BUTTON HOVER FIX ===================== */
.green-bg:hover {
  background-color: #e03a1a !important;
  border-color: #e03a1a !important;
}

/* ===================== ORANGE BG CLASS ===================== */
.orange-bg {
  background-color: #FF4521;
  border-color: #FF4521;
  color: #fff !important;
}
.orange-bg:hover {
  background-color: #e03a1a;
  border-color: #e03a1a;
  color: #fff !important;
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */

@media (max-width: 991.98px) {
  /* Hide desktop navigation, show mobile toggle */
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-main .header-cta { display: none; }

  /* Adjust header padding for mobile */
  .header.header-normal .header-main { padding: 10px 0; }

  /* Mobile menu styles */
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-dark-deep);
    z-index: 1010;
    padding-top: 80px;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .main-nav .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-nav .nav-dropdown-toggle {
    color: #fff !important;
    padding: 15px 20px !important;
    display: flex !important;
    justify-content: space-between;
    width: 100%;
    font-size: 18px;
    letter-spacing: 1px;
  }

  .main-nav .nav-dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 20px 10px;
    width: 100%;
    display: none; /* Hidden by default, toggled by JS */
  }

  .main-nav .nav-dropdown-menu.show { display: block; }

  .main-nav .nav-dropdown-section {
    padding: 10px 0;
    border-bottom: none;
  }

  .main-nav .nav-dropdown-label {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    padding: 5px 0;
  }

  .main-nav .nav-dropdown-item {
    color: rgba(255,255,255,0.8) !important;
    padding: 8px 0 !important;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: block !important;
  }

  .main-nav .nav-dropdown-item:hover { color: var(--color-green) !important; }

  .main-nav .open-account-btn {
    display: block !important;
    width: calc(100% - 40px);
    margin: 20px auto;
    text-align: center;
  }

  /* General mobile adjustments */
  h1 { font-size: 2.5rem; line-height: 1.2; }
  h2 { font-size: 2rem; line-height: 1.3; }
  .section-header { font-size: 32px; line-height: 38px; }
  section { padding: 60px 0; }

  /* Hero section adjustments */
  .partner-hero, .contact-hero, .legal-hero {
    /* LAYOUT SYSTEM: padding-top = var(--hero-padding-top) from layout-system.css */
    /* TRANSITION: was 100px (magic number) — now token-driven */
    padding: var(--hero-padding-top, 175px) 0 40px;
    text-align: center;
  }
  .partner-hero-visual, .contact-hero-visual { display: none; }
  .partner-hero-cta, .contact-hero-cta { justify-content: center; }

  /* Footer adjustments */
  .app-invitation-btns .row > div {
    text-align: center !important;
    margin-bottom: 20px;
  }
  .app-invitation-btns .btns { justify-content: center !important; }
}

@media (max-width: 767.98px) {
  /* Further adjustments for smaller mobile screens */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  .section-header { font-size: 28px; line-height: 34px; }
  .partner-hero-cta, .contact-hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .partner-hero-cta .btn, .contact-hero-cta .btn {
    width: 100%;
  }
}
