/* ==========================================================================
   Power Trading — Demo 1 (Pepperstone Institutional Portal Design System)
   Brand VI: Official Power Trading Orange (#E94917), Obsidian (#0B0E14),
             Crisp Paper (#FFFFFF / #F5F6F8), Official Orbital Logos & Motifs
   ========================================================================== */

:root {
  --pt-orange: #E94917;
  --pt-orange-hover: #D23C0E;
  --pt-orange-soft: rgba(233, 73, 23, 0.10);
  --pt-orange-glow: rgba(233, 73, 23, 0.28);

  --pt-ink: #0B0E14;
  --pt-ink-2: #121722;
  --pt-ink-3: #1A2130;
  --pt-slate: #334155;
  --pt-muted: #64748B;
  --pt-muted-dark: #94A3B8;

  --pt-bg: #FFFFFF;
  --pt-surface: #F6F7F9;
  --pt-surface-2: #EEF1F5;
  --pt-border: rgba(15, 23, 42, 0.10);
  --pt-border-dark: rgba(255, 255, 255, 0.11);

  --pt-up: #10B981;
  --pt-down: #EF4444;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(11, 14, 20, 0.05);
  --shadow-md: 0 12px 34px rgba(11, 14, 20, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 14, 20, 0.14);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Inter", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--pt-ink);
  background: var(--pt-bg);
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.pt-container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}
@media (max-width: 768px) {
  .pt-container { width: calc(100% - 32px); }
}

/* ---------- Buttons ---------- */
.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease-out), background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.pt-btn:active { transform: translateY(1px) scale(0.985); }
.pt-btn-primary {
  background: var(--pt-orange);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(233, 73, 23, 0.28);
}
.pt-btn-primary:hover {
  background: var(--pt-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(233, 73, 23, 0.36);
}
.pt-btn-dark {
  background: var(--pt-ink);
  color: #FFFFFF;
}
.pt-btn-dark:hover {
  background: #1E2536;
  transform: translateY(-2px);
}
.pt-btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}
.pt-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}
.pt-btn-outline-dark {
  background: transparent;
  border-color: rgba(11, 14, 20, 0.20);
  color: var(--pt-ink);
}
.pt-btn-outline-dark:hover {
  border-color: var(--pt-orange);
  color: var(--pt-orange);
  transform: translateY(-2px);
}
.pt-btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Sticky Pepperstone-Style Frosted Header & Mega-Menu ---------- */
.pt-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.pt-header.is-light {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--pt-border);
  color: var(--pt-ink);
  box-shadow: 0 4px 24px rgba(11, 14, 20, 0.06);
}
.pt-header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pt-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.pt-brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.pt-brand .logo-dark { display: none; }
.pt-header.is-light .pt-brand .logo-white { display: none; }
.pt-header.is-light .pt-brand .logo-dark { display: block; }

.pt-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pt-nav-item { position: relative; }
.pt-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: inherit;
  background: transparent;
  border: 0;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.pt-nav-trigger:hover, .pt-nav-trigger.is-active, .pt-nav-item.is-open > .pt-nav-trigger {
  background: rgba(255, 255, 255, 0.10);
}
.pt-header.is-light .pt-nav-trigger:hover,
.pt-header.is-light .pt-nav-trigger.is-active,
.pt-header.is-light .pt-nav-item.is-open > .pt-nav-trigger {
  background: var(--pt-surface);
  color: var(--pt-orange);
}
.pt-nav-caret {
  width: 12px; height: 12px;
  transition: transform 0.22s var(--ease-out);
}
.pt-nav-item.is-open .pt-nav-caret { transform: rotate(180deg); }

/* Mega Menu Dropdown Panel */
.pt-mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #FFFFFF;
  color: var(--pt-ink);
  border-radius: 20px;
  border: 1px solid var(--pt-border);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  min-width: 240px;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0.22s;
}
.pt-mega-wide {
  width: min(860px, 92vw);
  left: -120px;
  transform: translateY(8px);
}
.pt-nav-item.is-open .pt-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.pt-nav-item.is-open .pt-mega.pt-mega-wide {
  transform: translateY(0);
}
.pt-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.pt-mega-col-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-muted);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pt-border);
}
.pt-mega-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-mega-links a {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pt-ink);
  transition: background 0.16s ease, color 0.16s ease;
}
.pt-mega-links a span {
  font-size: 12px;
  font-weight: 400;
  color: var(--pt-muted);
  margin-top: 2px;
}
.pt-mega-links a:hover {
  background: var(--pt-orange-soft);
  color: var(--pt-orange);
}

.pt-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pt-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.pt-header.is-light .pt-lang-btn {
  border-color: var(--pt-border);
  background: var(--pt-surface);
}
.pt-lang-btn:hover { border-color: var(--pt-orange); color: var(--pt-orange); }

.pt-login-link {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  transition: color 0.16s ease;
}
.pt-header.is-light .pt-login-link { color: var(--pt-ink); }
.pt-login-link:hover,
.pt-header.is-light .pt-login-link:hover { color: var(--pt-orange); }

.pt-burger {
  display: none;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
}
.pt-header.is-light .pt-burger { border-color: var(--pt-border); }

@media (max-width: 1024px) {
  .pt-nav, .pt-login-link { display: none; }
  .pt-burger { display: inline-flex; }
}
@media (max-width: 640px) {
  .pt-header-inner { height: 66px; gap: 8px; }
  .pt-brand img { height: 24px; }
  .pt-header-actions { gap: 6px; }
  .pt-lang-btn { padding: 6px 10px; font-size: 12px; }
  .pt-header-actions .pt-btn-sm { padding: 8px 12px; font-size: 12.5px; }
  .pt-burger { width: 38px; height: 38px; }
}

/* Mobile Drawer */
.pt-drawer-backdrop {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(11, 14, 20, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.pt-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.pt-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101;
  width: min(360px, 90vw);
  background: #FFFFFF;
  color: var(--pt-ink);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px 22px 32px;
}
.pt-drawer.is-open { transform: translateX(0); }
.pt-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--pt-border);
}
.pt-drawer-close {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--pt-border);
  background: var(--pt-surface); font-size: 20px; line-height: 1;
}
.pt-drawer-group { border-bottom: 1px solid var(--pt-border); padding: 12px 0; }
.pt-drawer-group summary {
  font-weight: 700; font-size: 15px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; padding: 6px 0;
}
.pt-drawer-group a {
  display: block; padding: 8px 12px; font-size: 14px; color: var(--pt-slate); border-radius: 8px;
}
.pt-drawer-group a:hover { background: var(--pt-orange-soft); color: var(--pt-orange); }
.pt-drawer-ctas { margin-top: 20px; display: grid; gap: 10px; }

/* ---------- Hero Section (Pepperstone Dark Luxury + Official PT VI) ---------- */
.pt-hero {
  position: relative;
  padding: 136px 0 88px;
  background: radial-gradient(circle at 78% 24%, rgba(233, 73, 23, 0.22) 0%, rgba(233, 73, 23, 0.04) 36%, transparent 62%),
              linear-gradient(155deg, #090C12 0%, #101522 52%, #131115 100%);
  color: #FFFFFF;
  overflow: hidden;
}
.pt-hero-motif {
  position: absolute;
  right: -120px;
  bottom: -40px;
  width: 780px;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  filter: blur(0.3px);
}
.pt-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: center;
}
.pt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(233, 73, 23, 0.14);
  border: 1px solid rgba(233, 73, 23, 0.36);
  color: #FF8C66;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.pt-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pt-orange);
  box-shadow: 0 0 10px var(--pt-orange);
  animation: ptPulse 2s infinite;
}
@keyframes ptPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}
.pt-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.pt-hero-slogan {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  margin: 0 0 18px;
}
.pt-hero-lead {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
}
.pt-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}
.pt-hero-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pt-hero-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px 14px;
}
.pt-hero-badge strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}
.pt-hero-badge span {
  display: block;
  font-size: 12px;
  color: var(--pt-muted-dark);
  margin-top: 2px;
}

/* Hero Live Terminal Depth Card */
.pt-depth-card {
  background: linear-gradient(165deg, rgba(24, 31, 46, 0.94), rgba(13, 17, 26, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}
.pt-depth-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 18px;
}
.pt-depth-sym {
  display: flex; align-items: center; gap: 10px;
}
.pt-depth-sym img { width: 28px; height: 28px; border-radius: 7px; }
.pt-depth-sym strong { font-size: 17px; display: block; }
.pt-depth-sym small { font-size: 12px; color: var(--pt-muted-dark); }
.pt-live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7; font-size: 12px; font-weight: 600;
}
.pt-depth-price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.pt-depth-price {
  font-family: var(--font-mono);
  font-size: 34px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pt-depth-chg {
  font-family: var(--font-mono);
  font-size: 13.5px; font-weight: 600;
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.14);
  padding: 4px 10px; border-radius: 8px;
}
.pt-depth-bars { display: grid; gap: 6px; margin-bottom: 18px; }
.pt-depth-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.pt-depth-row::before {
  content: "";
  position: absolute; top: 0; bottom: 0; right: 0;
  width: var(--bar, 40%);
  opacity: 0.16;
  transition: width 0.6s var(--ease-out);
}
.pt-depth-row.ask::before { background: var(--pt-down); }
.pt-depth-row.bid::before { background: var(--pt-up); }
.pt-depth-row.ask .p { color: #FCA5A5; font-weight: 600; }
.pt-depth-row.bid .p { color: #6EE7B7; font-weight: 600; }
.pt-depth-row span:nth-child(2) { text-align: center; color: rgba(255,255,255,0.75); }
.pt-depth-row span:nth-child(3) { text-align: right; color: var(--pt-muted-dark); }
.pt-depth-foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.09);
}
.pt-mini-quote {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 10px 12px;
}
.pt-mini-quote small { display: block; font-size: 11.5px; color: var(--pt-muted-dark); }
.pt-mini-quote strong { font-family: var(--font-mono); font-size: 16px; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.pt-mini-quote em { font-style: normal; font-size: 11.5px; color: #FF8C66; margin-left: 6px; }

@media (max-width: 1024px) {
  .pt-hero { padding: 112px 0 64px; }
  .pt-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .pt-hero-badges { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Live Ticker Tape ---------- */
.pt-ticker-strip {
  background: #0F131C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  overflow: hidden;
  padding: 12px 0;
}
.pt-ticker-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: ptMarquee 36s linear infinite;
}
.pt-ticker-strip:hover .pt-ticker-track { animation-play-state: paused; }
@keyframes ptMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.pt-tick-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.pt-tick-item b { font-family: var(--font-sans); font-weight: 700; color: #FFFFFF; }
.pt-tick-item .up { color: #6EE7B7; }
.pt-tick-item .dn { color: #FCA5A5; }
.pt-tick-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.22); }

/* ---------- Section Base & Scroll Reveal ---------- */
.pt-section { padding: 88px 0; position: relative; }
.pt-section-muted { background: var(--pt-surface); }
.pt-section-dark {
  background: linear-gradient(160deg, #0B0E14 0%, #121826 100%);
  color: #FFFFFF;
}
.pt-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.pt-sec-kicker {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pt-orange);
  margin: 0 0 10px;
}
.pt-sec-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.pt-sec-sub {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--pt-muted);
  max-width: 660px;
}
.pt-section-dark .pt-sec-sub { color: var(--pt-muted-dark); }

.pt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.pt-reveal.is-in { opacity: 1; transform: translateY(0); }

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

/* ---------- Pepperstone-Style Live 5-Category Market Quotes Card ---------- */
.pt-market-card {
  background: #FFFFFF;
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.pt-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 20px 0;
  border-bottom: 1px solid var(--pt-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.pt-tabs::-webkit-scrollbar { display: none; }
.pt-tab {
  position: relative;
  padding: 12px 20px 14px;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--pt-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.pt-tab:hover { color: var(--pt-ink); }
.pt-tab.is-active { color: var(--pt-orange); }
.pt-tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--pt-orange);
}

.pt-table-wrap { width: 100%; overflow-x: auto; }
.pt-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.pt-table th {
  text-align: left;
  padding: 14px 22px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pt-muted);
  background: var(--pt-surface);
  border-bottom: 1px solid var(--pt-border);
}
.pt-table td {
  padding: 16px 22px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--pt-border);
  vertical-align: middle;
}
.pt-table tbody tr { transition: background 0.15s ease; }
.pt-table tbody tr:hover { background: rgba(233, 73, 23, 0.035); }
.pt-table tbody tr:last-child td { border-bottom: 0; }
.pt-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; }
.pt-sym-cell strong { display: block; font-size: 15px; color: var(--pt-ink); }
.pt-sym-cell span { font-size: 12.5px; color: var(--pt-muted); }
.pt-chg-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
}
.pt-chg-pill.up { background: rgba(16, 185, 129, 0.12); color: #059669; }
.pt-chg-pill.dn { background: rgba(239, 68, 68, 0.12); color: #DC2626; }
.pt-market-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 22px;
  background: var(--pt-surface);
  border-top: 1px solid var(--pt-border);
  font-size: 13px;
  color: var(--pt-muted);
}

/* ---------- Cards Grid (Platform Advantages / Infrastructure / Features) ---------- */
.pt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pt-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 1080px) {
  .pt-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .pt-grid-4, .pt-grid-3, .pt-grid-2 { grid-template-columns: 1fr; }
}

.pt-card {
  background: #FFFFFF;
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}
.pt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 73, 23, 0.32);
}
.pt-section-dark .pt-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--pt-border-dark);
}
.pt-section-dark .pt-card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(233, 73, 23, 0.55);
}
.pt-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--pt-orange-soft);
  color: var(--pt-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 18px;
}
.pt-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}
.pt-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--pt-slate);
  line-height: 1.7;
}
.pt-section-dark .pt-card p { color: var(--pt-muted-dark); }

/* ---------- Side-by-Side STP vs ECN Account Cards ---------- */
.pt-acct-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  border: 1.5px solid var(--pt-border);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}
.pt-acct-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pt-acct-card.is-featured {
  background: linear-gradient(160deg, #0D111A 0%, #171E2E 100%);
  color: #FFFFFF;
  border-color: rgba(233, 73, 23, 0.55);
  box-shadow: 0 24px 56px rgba(11, 14, 20, 0.22);
}
.pt-acct-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 14px;
  background: var(--pt-surface-2);
  color: var(--pt-ink);
}
.pt-acct-card.is-featured .pt-acct-badge {
  background: var(--pt-orange);
  color: #FFFFFF;
}
.pt-acct-card h3 { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.pt-acct-desc { margin: 0 0 24px; font-size: 15px; color: var(--pt-muted); }
.pt-acct-card.is-featured .pt-acct-desc { color: var(--pt-muted-dark); }
.pt-spec-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--pt-border);
}
.pt-acct-card.is-featured .pt-spec-list { border-top-color: var(--pt-border-dark); }
.pt-spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--pt-border);
  font-size: 14.5px;
}
.pt-acct-card.is-featured .pt-spec-list li { border-bottom-color: var(--pt-border-dark); }
.pt-spec-list li span { color: var(--pt-muted); }
.pt-acct-card.is-featured .pt-spec-list li span { color: var(--pt-muted-dark); }
.pt-spec-list li strong { font-weight: 700; text-align: right; }
.pt-spec-highlight { color: var(--pt-orange); }
.pt-acct-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Stats Strip ---------- */
.pt-stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.pt-stat-tile {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--pt-border-dark);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}
.pt-stat-tile strong {
  display: block;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.pt-stat-tile strong em { font-style: normal; color: var(--pt-orange); }
.pt-stat-tile span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--pt-muted-dark);
}
@media (max-width: 900px) {
  .pt-stats-band { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Platform MT4/MT5 Download Hub ---------- */
.pt-download-box {
  background: linear-gradient(145deg, #0D111A 0%, #171D2C 100%);
  color: #FFFFFF;
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}
.pt-download-motif {
  position: absolute;
  right: -80px; top: -40px;
  width: 520px; opacity: 0.07;
  pointer-events: none;
}
.pt-qr-panel {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.pt-qr-img {
  width: 172px; height: 172px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: #FFFFFF;
  padding: 10px;
  object-fit: contain;
}
.pt-store-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 16px;
}
@media (max-width: 960px) {
  .pt-download-box { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- Inner Page Hero & Sub-Nav ---------- */
.pt-page-hero {
  position: relative;
  padding: 132px 0 64px;
  background: radial-gradient(circle at 85% 20%, rgba(233, 73, 23, 0.22), transparent 55%),
              linear-gradient(155deg, #0A0D14 0%, #131927 100%);
  color: #FFFFFF;
  overflow: hidden;
}
.pt-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--pt-muted-dark);
  margin-bottom: 18px;
}
.pt-breadcrumb a:hover { color: #FFFFFF; }
.pt-page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
}
.pt-page-hero p {
  margin: 0 0 26px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 700px;
}
.pt-subnav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.pt-subnav a {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}
.pt-subnav a:hover, .pt-subnav a.is-active {
  background: var(--pt-orange);
  border-color: var(--pt-orange);
  color: #FFFFFF;
}

/* ---------- Forms, FAQ, Calendar & Education ---------- */
.pt-input, .pt-select, .pt-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--pt-border);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--pt-ink);
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-input:focus, .pt-select:focus, .pt-textarea:focus {
  outline: none;
  border-color: var(--pt-orange);
  box-shadow: 0 0 0 4px var(--pt-orange-soft);
}
.pt-faq-group {
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  margin-bottom: 14px;
  overflow: hidden;
}
.pt-faq-head {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  background: transparent; border: 0;
  font-size: 16.5px; font-weight: 700; color: var(--pt-ink);
  text-align: left;
}
.pt-faq-body { padding: 0 22px 20px; display: none; }
.pt-faq-group.is-open .pt-faq-body { display: block; }
.pt-faq-item {
  padding: 14px 0;
  border-top: 1px solid var(--pt-border);
}
.pt-faq-item a { font-weight: 700; color: var(--pt-ink); display: block; margin-bottom: 6px; }
.pt-faq-item a:hover { color: var(--pt-orange); }
.pt-faq-item p { margin: 0; font-size: 14px; color: var(--pt-muted); }

.pt-impact {
  display: inline-block; padding: 3px 9px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
}
.pt-impact.high { background: rgba(239, 68, 68, 0.14); color: #DC2626; }
.pt-impact.med { background: rgba(245, 158, 11, 0.16); color: #B45309; }
.pt-impact.low { background: rgba(16, 185, 129, 0.14); color: #059669; }

/* Payment Logo Tiles */
.pt-pay-logo {
  height: 40px; width: auto; max-width: 130px;
  object-fit: contain;
  margin-bottom: 16px;
}

/* ---------- 4-Step Onboarding Strip ---------- */
.pt-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pt-step-card {
  background: #FFFFFF;
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.pt-step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pt-orange);
  color: #FFFFFF;
  font-weight: 800; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .pt-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pt-steps-grid { grid-template-columns: 1fr; }
}

/* ---------- Institutional Footer (Verbatim Legal Disclosure) ---------- */
.pt-footer {
  background: #090C12;
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 42px;
  position: relative;
  overflow: hidden;
}
.pt-footer-motif {
  position: absolute;
  right: -40px; top: 20px;
  width: 560px; opacity: 0.04;
  pointer-events: none;
}
.pt-footer-top {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--pt-border-dark);
}
.pt-footer-brand img { height: 34px; margin-bottom: 14px; }
.pt-footer-brand p { margin: 0; font-size: 13.5px; color: var(--pt-muted-dark); max-width: 280px; }
.pt-footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}
.pt-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pt-footer-col a { font-size: 13.5px; color: var(--pt-muted-dark); transition: color 0.18s ease; }
.pt-footer-col a:hover { color: var(--pt-orange); }

.pt-legal-blocks {
  position: relative; z-index: 2;
  padding: 32px 0;
  border-bottom: 1px solid var(--pt-border-dark);
  display: grid;
  gap: 16px;
  font-size: 12.2px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.56);
}
.pt-legal-blocks strong {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pt-footer-bottom {
  position: relative; z-index: 2;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--pt-muted-dark);
}
.pt-footer-pdfs { display: flex; flex-wrap: wrap; gap: 18px; }
.pt-footer-pdfs a { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.pt-footer-pdfs a:hover { color: var(--pt-orange); }

@media (max-width: 1024px) {
  .pt-footer-top { grid-template-columns: repeat(2, 1fr); }
  .pt-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .pt-footer-top { grid-template-columns: 1fr; }
}
