/* TradingBox layout changes (Nov 2026). Remove a rule to bring that part back. */

/* 1. Supported Platforms: remove the MetaTrader 5 logo; the TradingView logo centres itself. */
.framer-6bdtc4 { display: none !important; }

/* 2. Remove the "Expert Advisor (EA)" section (MetaTrader 5 logo + Ultra / Ultimate EA cards). */
section.framer-1n6l6t7 { display: none !important; }

/* 3. Remove the "MetaTrader 5 Platform" pricing (heading + Ultra / Ultimate pricing cards). */
.framer-tqr6jp, .framer-zc2mm { display: none !important; }

/* 4. TradingView pricing cards: each card is as tall as its own content (as in the original design). */
/* Remove the first feature line ("Intelligent Algorithm Signals / 智能算法信号") from all three cards. */
.framer-bzg4qq, .framer-1l2mpyo, .framer-1cf55z0 { display: none !important; }
/* Feature lines whose text has been emptied are hidden completely, arrow included (marked by site-custom.js). */
[data-framer-name="Check items"][data-tbx-empty] { display: none !important; }
/* remove "全自动化交易系统MAX+ ✔️" from the right-hand card. */
.framer-vndiag .framer-14jjp93 { display: none !important; }
/* all feature lines in the pricing cards use the same plain text colour (no pink / blue). */
.framer-9axh4b [data-framer-name="Check items"] .framer-text,
.framer-9slmhx [data-framer-name="Check items"] .framer-text,
.framer-vndiag [data-framer-name="Check items"] .framer-text {
  --framer-text-color: rgb(55, 65, 81) !important;
  color: rgb(55, 65, 81) !important;
}
/* Annual card: the added "精英私享资管自动化系统" line sits right under "精英私享日內自动化系统". */
.framer-9slmhx .framer-pu3wsq,
.framer-9slmhx .framer-1z0yr4f,
.framer-9slmhx .framer-16pju0u { order: 2; }
.framer-9slmhx .framer-16pju0u.tbx-row-am { order: 1; }

/* ---------- Header (all pages) ---------- */
/* Menu is now Home · Pricing · Product Manual · Contact Support: the old "MetaTrader5 Pricing" slot is hidden. */
.framer-1eozg5t { display: none !important; }
/* Remove the far-right "Contact Support / 联系客服" header button. */
.framer-vhldzu-container { display: none !important; }

/* ---------- Hero (home pages) ---------- */
/* Remove the TradingBox → MetaTrader 5 / TradingView diagram card; the hero background image shows through. */
.framer-1uz9ywf { display: none !important; }
/* Centre the heading, description and buttons. */
.framer-13p4aeg { justify-content: center !important; }
.framer-v3evta { align-items: center !important; width: 100% !important; max-width: 1000px !important; flex: 0 1 auto !important; }
.framer-1iqfgea { align-items: center !important; width: 100% !important; }
.framer-1iqfgea > * { align-self: center !important; }
.framer-1iqfgea .framer-text { --framer-text-alignment: center !important; text-align: center !important; }
/* Two equal-size buttons, centred below the text. */
.framer-mxuok2 { justify-content: center !important; align-items: center !important; width: 100% !important; }
.framer-mxuok2 .framer-1d3ye4z-container,
.framer-mxuok2 .framer-1757k5v-container { flex: 0 0 auto !important; width: 250px !important; max-width: 100%; }
.framer-mxuok2 .framer-1d3ye4z-container > a,
.framer-mxuok2 .framer-1757k5v-container > a { width: 100% !important; }
@media (max-width: 809.98px) {
  .framer-mxuok2 .framer-1d3ye4z-container,
  .framer-mxuok2 .framer-1757k5v-container { width: 100% !important; }
}
/* Keep the description to a comfortable, centred line length. */
.framer-1iqfgea p.framer-text { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
/* Without the diagram card, tighten the hero on tablet and phone and let the background image fill it. */
@media (max-width: 1199.98px) {
  section.framer-16pr25x { padding-top: 56px !important; padding-bottom: 72px !important; }
  section.framer-16pr25x .framer-rtwx65 { top: 0 !important; bottom: 0 !important; height: auto !important; }
}
@media (max-width: 809.98px) {
  section.framer-16pr25x { padding-top: 40px !important; padding-bottom: 56px !important; }
}

/* Pricing: ✔️ marks line up in one vertical column per card (tab stop set by site-custom.js). */
.framer-9axh4b [data-framer-name="Check items"] p.framer-text,
.framer-9slmhx [data-framer-name="Check items"] p.framer-text,
.framer-vndiag [data-framer-name="Check items"] p.framer-text { white-space: pre !important; }
/* Right-hand card: one full-width "Contact Dedicated Support" button at the bottom. */
.framer-vndiag .framer-sayj54 { flex-direction: column !important; align-items: stretch !important; }
/* Its button uses the same white "Secondary" style as the Monthly card's Subscribe button. */
.framer-vndiag .framer-sayj54 .framer-14yyjkb-container { width: 100% !important; flex: none !important; }
.framer-vndiag .framer-sayj54 .framer-14yyjkb-container > a { width: 100% !important; }
/* Monthly (left) and right-hand cards share one size (set by site-custom.js); buttons sit at the bottom. */
[data-tbx-pair] > .framer-7k9ai, [data-tbx-pair] > .framer-sayj54 { margin-top: auto !important; }

/* right-hand card header: no colour, matching the Monthly card. */
.framer-vndiag [data-framer-name="Heading and price"] h4.framer-text {
  background-image: linear-gradient(0deg, rgb(56, 74, 99) 0%, rgba(27, 36, 48, 0.24) 100%, rgba(0, 0, 0, 0) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent !important;
}
.framer-vndiag [data-framer-name="Heading and price"] p.framer-styles-preset-1gjhuf7 {
  --framer-text-color: rgb(0, 0, 0) !important; color: rgb(0, 0, 0) !important;
}
/* Small grey description line under the price. */
.framer-vndiag .tbx-sub {
  margin: 0 auto; max-width: 100%; text-align: center;
  font-family: Inter, "Inter Placeholder", sans-serif; font-size: 13px; font-weight: 400; line-height: 1.6;
  color: rgb(107, 114, 128); --framer-text-color: rgb(107, 114, 128);
}

/* Hero background image: fill the entire hero area at every screen size. */
section.framer-16pr25x .framer-rtwx65 {
  top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
  width: auto !important; height: auto !important; aspect-ratio: auto !important;
}
section.framer-16pr25x .framer-rtwx65 img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center center !important;
}

/* Hero fills the whole screen under the menu bar (desktop and tablet); content stays centred. */
@media (min-width: 810px) {
  section.framer-16pr25x {
    min-height: calc(100vh - 61px) !important;
    min-height: calc(100svh - 61px) !important;
    justify-content: center !important;
    padding-top: 40px !important; padding-bottom: 40px !important;
  }
}
@media (min-width: 810px) and (max-width: 1199.98px) {
  section.framer-16pr25x { min-height: calc(100vh - 62px) !important; min-height: calc(100svh - 62px) !important; }
}

/* Hero text grows with the screen on desktop, in step with the full-screen background. */
@media (min-width: 1200px) {
  .framer-v3evta { max-width: clamp(1000px, 64vw, 1600px) !important; }
  .framer-1iqfgea h1.framer-text { --framer-font-size: clamp(54px, 4.3vw, 104px) !important; font-size: clamp(54px, 4.3vw, 104px) !important; }
  .framer-1iqfgea p.framer-text { --framer-font-size: clamp(17px, 1.2vw, 28px) !important; font-size: clamp(17px, 1.2vw, 28px) !important; max-width: clamp(760px, 48vw, 1200px); }
  /* the small badge above the heading */
  .framer-1iqfgea [data-framer-name="Badge"] p.framer-text,
  .framer-1iqfgea p.framer-text[style*="--framer-font-size:8px"] { --framer-font-size: clamp(8px, 0.62vw, 15px) !important; font-size: clamp(8px, 0.62vw, 15px) !important; line-height: 1.6 !important; max-width: none; }
}
/* Hero buttons grow a little with the screen too, so they stay in proportion with the text. */
@media (min-width: 1200px) {
  .framer-mxuok2 .framer-1d3ye4z-container,
  .framer-mxuok2 .framer-1757k5v-container { width: clamp(250px, 15.5vw, 380px) !important; }
  .framer-mxuok2 .framer-1d3ye4z-container > a,
  .framer-mxuok2 .framer-1757k5v-container > a { height: clamp(36px, 2.5vw, 58px) !important; }
  .framer-mxuok2 a p.framer-text { --framer-font-size: clamp(14px, 0.85vw, 20px) !important; font-size: clamp(14px, 0.85vw, 20px) !important; }
  .framer-mxuok2 { gap: clamp(16px, 1.1vw, 26px) !important; }
}
/* English hero: English words are wider than Chinese characters, so a slightly smaller size and wider text area keep each heading on one line, like the Chinese page. */
@media (min-width: 1200px) {
  html[data-language="en"] .framer-v3evta { max-width: clamp(1100px, 76vw, 1800px) !important; }
  html[data-language="en"] .framer-1iqfgea h1.framer-text { --framer-font-size: clamp(50px, 3.6vw, 88px) !important; font-size: clamp(50px, 3.6vw, 88px) !important; }
}
