/* ============================================================================
   PLATFORM PAGES · animated heroes + interactive sections
   Scope: platforms/index.html, mt5.html, web-trader.html, anax-app.html
   Loaded AFTER brand-sections.css. Mobile-first, responsive 4 breakpoints.
   ============================================================================ */

/* ---------- 1 · SHARED PLATFORM-HERO SHELL ---------- */
.platform-hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(31,95,168,0.10), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(179,154,126,0.12), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%);
  overflow: hidden;
  color: #002531;
}
.platform-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,  rgba(31,95,168,0.04) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(31,95,168,0.04) 0 1px, transparent 1px 96px);
  mask: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.platform-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .platform-hero .container { grid-template-columns: 1fr; }
}
.platform-hero .ph-text { display: flex; flex-direction: column; gap: 14px; }
.platform-hero .breadcrumbs { margin-bottom: 4px; }
.platform-hero .ph-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1F5FA8;
  padding: 6px 12px;
  border: 1px solid rgba(31,95,168,0.20);
  border-radius: 999px;
  background: rgba(31,95,168,0.06);
}
.platform-hero .ph-eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #1F5FA8;
  position: relative;
}
.platform-hero .ph-eyebrow .pulse-dot::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: #1F5FA8;
  animation: ph-ping 1.8s ease-out infinite;
}
@keyframes ph-ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}
.platform-hero h1 {
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 6px 0 8px;
  color: #002531;
}
.platform-hero h1 .accent {
  background: linear-gradient(135deg, #1F5FA8 0%, #B39A7E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.platform-hero .ph-lead {
  font-size: clamp(15px, 1.5vw, 18.5px);
  line-height: 1.55;
  color: #2F4856;
  max-width: 52ch;
  margin: 0;
}
.platform-hero .ph-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 4px;
}
.platform-hero .ph-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 6px 11px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.16);
  border-radius: 999px;
  color: #1F5FA8;
}
.platform-hero .ph-chip svg { width: 13px; height: 13px; }
.platform-hero .ph-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 18px;
}
.platform-hero .ph-cta-row .btn { white-space: nowrap; }

/* ---------- 2 · HERO RIGHT-SIDE ANIM STAGE ---------- */
.platform-hero .ph-stage {
  position: relative;
  min-height: clamp(280px, 38vw, 460px);
  display: grid;
  place-items: center;
}
@media (max-width: 900px) {
  .platform-hero .ph-stage { min-height: 320px; margin-top: 12px; }
}

/* ---------- 3 · INDEX PAGE · TRI-DEVICE SYNC ANIM ---------- */
.ph-tri {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
}
.ph-tri .pt-monitor,
.ph-tri .pt-browser,
.ph-tri .pt-phone {
  position: absolute;
  background: linear-gradient(160deg, #FFFFFF 0%, #F4F8FD 100%);
  border: 1.5px solid rgba(31,95,168,0.18);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0,37,49,0.10);
  overflow: hidden;
}
.ph-tri .pt-monitor {
  top: 8%; left: 0;
  width: 56%; height: 60%;
  border-radius: 12px 12px 4px 4px;
  animation: pt-float 6s ease-in-out infinite;
}
.ph-tri .pt-monitor::after {
  content: ''; position: absolute;
  left: 35%; bottom: -10px;
  width: 30%; height: 8px;
  background: rgba(31,95,168,0.20);
  border-radius: 0 0 8px 8px;
}
.ph-tri .pt-browser {
  top: 22%; right: 0;
  width: 50%; height: 50%;
  animation: pt-float 6s ease-in-out -2s infinite;
}
.ph-tri .pt-phone {
  bottom: 0; left: 28%;
  width: 18%; height: 50%;
  border-radius: 18px;
  animation: pt-float 6s ease-in-out -4s infinite;
}
@keyframes pt-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
/* Window chrome bar */
.ph-tri .pt-bar {
  display: flex; gap: 4px; padding: 6px 8px;
  background: rgba(31,95,168,0.06);
  border-bottom: 1px solid rgba(31,95,168,0.10);
}
.ph-tri .pt-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(31,95,168,0.30);
}
/* Inner mini chart */
.ph-tri .pt-chart {
  position: absolute;
  inset: 24px 12px 12px;
}
.ph-tri .pt-chart svg { width: 100%; height: 100%; }
.ph-tri .pt-chart .pt-line {
  fill: none;
  stroke: #1F5FA8;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: pt-draw 3.4s ease-in-out infinite;
}
@keyframes pt-draw {
  0%   { stroke-dashoffset: 360; }
  60%  { stroke-dashoffset: 0; }
  85%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 360; opacity: 0; }
}
.ph-tri .pt-phone .pt-chart { inset: 14px 6px 8px; }
.ph-tri .pt-phone .pt-bar { padding: 4px 4px; }
/* Sync beams */
.ph-tri .pt-beam {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(31,95,168,0.55), transparent);
  height: 1.5px;
  border-radius: 1px;
  pointer-events: none;
}
.ph-tri .pt-beam.b1 { top: 38%; left: 50%; width: 14%; animation: pt-pulse 2.2s linear infinite; }
.ph-tri .pt-beam.b2 { top: 60%; left: 30%; width: 24%; animation: pt-pulse 2.2s -0.7s linear infinite; }
.ph-tri .pt-beam.b3 { top: 70%; right: 18%; width: 18%; animation: pt-pulse 2.2s -1.4s linear infinite; }
@keyframes pt-pulse {
  0%,100% { opacity: 0; }
  50%     { opacity: 1; }
}

/* ---------- 4 · MT5 PAGE · LIVE CHART ANIM ---------- */
.ph-mt5 {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 5/4;
  background: linear-gradient(160deg, #FFFFFF 0%, #F4F8FD 100%);
  border: 1.5px solid rgba(31,95,168,0.18);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,37,49,0.12);
  overflow: hidden;
}
.ph-mt5 .pm-tab-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(31,95,168,0.06);
  border-bottom: 1px solid rgba(31,95,168,0.10);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2F4856;
}
.ph-mt5 .pm-tab-bar .pm-pip {
  width: 7px; height: 7px;
  background: #1F5FA8;
  border-radius: 50%;
  animation: ph-ping 1.6s ease-out infinite;
  position: relative;
}
.ph-mt5 .pm-tab-bar .pm-pip::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: #1F5FA8;
  animation: ph-ping 1.6s ease-out infinite;
}
.ph-mt5 .pm-tab-bar .pm-sym { font-weight: 800; color: #002531; }
.ph-mt5 .pm-tab-bar .pm-price {
  margin-left: auto;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 800;
  color: #1F5FA8;
}
.ph-mt5 .pm-chart {
  position: absolute;
  inset: 50px 14px 36px 14px;
}
.ph-mt5 .pm-chart svg { width: 100%; height: 100%; }
.ph-mt5 .pm-chart .pm-grid line { stroke: rgba(31,95,168,0.07); stroke-width: 1; }
.ph-mt5 .pm-chart .pm-area {
  fill: url(#pm-grad);
  opacity: 0;
  animation: pm-fade 4s ease-in-out infinite;
}
@keyframes pm-fade { 0%,100% { opacity: 0; } 40%,80% { opacity: 1; } }
.ph-mt5 .pm-chart .pm-line {
  fill: none;
  stroke: #1F5FA8;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: pm-draw 4s ease-in-out infinite;
}
@keyframes pm-draw {
  0%   { stroke-dashoffset: 800; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
.ph-mt5 .pm-chart .pm-candle {
  fill: #1F5FA8;
  opacity: 0;
  animation: pm-candle-pop 4s ease-out infinite;
}
@keyframes pm-candle-pop {
  0%,60% { opacity: 0; transform: scaleY(0); }
  70%   { opacity: 1; transform: scaleY(1); }
  100%  { opacity: 1; transform: scaleY(1); }
}
.ph-mt5 .pm-chart .pm-candle.up   { fill: #1F5FA8; }
.ph-mt5 .pm-chart .pm-candle.down { fill: #B39A7E; }
.ph-mt5 .pm-foot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(31,95,168,0.04);
  border-top: 1px solid rgba(31,95,168,0.08);
  font-size: 10.5px;
  color: #5A6B75;
  letter-spacing: 0.04em;
}
.ph-mt5 .pm-foot .pm-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 7px;
  background: rgba(31,95,168,0.10);
  color: #1F5FA8;
  border-radius: 4px;
  letter-spacing: 0.10em;
}

/* ---------- 5 · WEB-TRADER PAGE · BROWSER TYPING ANIM ---------- */
.ph-browser {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 5/4;
  background: #FFFFFF;
  border: 1.5px solid rgba(31,95,168,0.18);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0,37,49,0.12);
  overflow: hidden;
}
.ph-browser .pb-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(31,95,168,0.06);
  border-bottom: 1px solid rgba(31,95,168,0.10);
}
.ph-browser .pb-chrome .pb-dots { display: flex; gap: 5px; }
.ph-browser .pb-chrome .pb-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(31,95,168,0.28);
}
.ph-browser .pb-url {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.16);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #1F5FA8;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ph-browser .pb-url::before {
  content: '🔒 ';
  margin-right: 4px;
}
.ph-browser .pb-url .pb-type {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 1.5px solid #1F5FA8;
  animation: pb-typing 3s steps(28, end) infinite, pb-cursor 0.7s step-end infinite;
  max-width: 100%;
}
@keyframes pb-typing {
  0%    { width: 0; }
  60%   { width: 100%; }
  100%  { width: 100%; }
}
@keyframes pb-cursor {
  0%,100% { border-color: #1F5FA8; }
  50%     { border-color: transparent; }
}
.ph-browser .pb-loader {
  position: absolute;
  top: 39px; left: 0;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, #1F5FA8 0%, #B39A7E 50%, transparent 50%);
  background-size: 200% 100%;
  animation: pb-load 1.8s linear infinite;
}
@keyframes pb-load {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.ph-browser .pb-body {
  position: absolute;
  inset: 50px 0 0 0;
  display: grid;
  grid-template-rows: auto 1fr;
}
.ph-browser .pb-tabs {
  display: flex; gap: 4px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(31,95,168,0.08);
  font-size: 10.5px;
  font-weight: 700;
}
.ph-browser .pb-tabs span {
  padding: 5px 9px;
  border-radius: 6px;
  color: #5A6B75;
  background: rgba(31,95,168,0.04);
}
.ph-browser .pb-tabs span.active {
  background: rgba(31,95,168,0.14);
  color: #1F5FA8;
}
.ph-browser .pb-stage {
  position: relative;
  margin: 10px 14px 14px;
  background: linear-gradient(180deg, rgba(31,95,168,0.04), rgba(179,154,126,0.04));
  border-radius: 8px;
  overflow: hidden;
}
.ph-browser .pb-stage svg { width: 100%; height: 100%; }
.ph-browser .pb-stage .pb-line {
  fill: none; stroke: #1F5FA8; stroke-width: 2;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: pm-draw 3.6s ease-in-out infinite;
}

/* ---------- 6 · APP PAGE · ROTATING PHONE SCREENS ---------- */
.ph-phone {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9/19;
  background: linear-gradient(160deg, #002531 0%, #003A4A 100%);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 70px rgba(0,37,49,0.30), inset 0 0 0 2px rgba(255,255,255,0.06);
  margin: 0 auto;
}
.ph-phone::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 18px;
  background: #001821;
  border-radius: 12px;
  z-index: 3;
}
.ph-phone .pp-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #FFFFFF;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 42px 1fr 56px;
}
.ph-phone .pp-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 4px;
  font-size: 10px;
  font-weight: 700;
  color: #002531;
}
.ph-phone .pp-status .pp-dots { display: flex; gap: 2px; }
.ph-phone .pp-status .pp-dots i {
  width: 3px; height: 3px;
  background: #002531;
  border-radius: 50%;
}
.ph-phone .pp-frames {
  position: relative;
  overflow: hidden;
}
.ph-phone .pp-frame {
  position: absolute;
  inset: 0;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ph-phone .pp-frame.active {
  opacity: 1;
  transform: translateY(0);
}
.ph-phone .pp-frame h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #002531;
  letter-spacing: -0.01em;
}
.ph-phone .pp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
  background: rgba(31,95,168,0.06);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #002531;
}
.ph-phone .pp-row .pp-sym { color: #1F5FA8; font-weight: 800; }
.ph-phone .pp-row .pp-px-up { color: #1F8F4A; font-family: 'Courier New', monospace; }
.ph-phone .pp-row .pp-px-down { color: #B33A4A; font-family: 'Courier New', monospace; }
.ph-phone .pp-chart-mini {
  background: linear-gradient(180deg, rgba(31,95,168,0.10), rgba(31,95,168,0.02));
  border-radius: 8px;
  padding: 10px;
  flex: 1;
  display: grid;
  place-items: center;
}
.ph-phone .pp-chart-mini svg { width: 100%; height: 100%; }
.ph-phone .pp-chart-mini .pp-line {
  fill: none; stroke: #1F5FA8; stroke-width: 2.2;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: pm-draw 3s ease-in-out infinite;
}
.ph-phone .pp-bio {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.ph-phone .pp-bio-ring {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,95,168,0.20), transparent 70%);
  position: relative;
  display: grid; place-items: center;
}
.ph-phone .pp-bio-ring::before {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid #1F5FA8;
  border-radius: 50%;
  animation: ph-ping 2s ease-out infinite;
}
.ph-phone .pp-bio-ring svg { width: 36px; height: 36px; color: #1F5FA8; }
.ph-phone .pp-fund {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  text-align: center;
}
.ph-phone .pp-fund .pp-balance {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #002531;
  font-family: 'Courier New', monospace;
}
.ph-phone .pp-fund .pp-label { font-size: 10px; color: #5A6B75; letter-spacing: 0.10em; }
.ph-phone .pp-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid rgba(31,95,168,0.10);
  background: rgba(31,95,168,0.04);
}
.ph-phone .pp-tabbar span {
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700; color: #5A6B75;
  padding: 8px 4px;
  letter-spacing: 0.08em;
}
.ph-phone .pp-tabbar span.active { color: #1F5FA8; }
.ph-phone .pp-tabbar span::before {
  content: '';
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  mask-position: center;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  opacity: 0.4;
  margin-bottom: 2px;
}
.ph-phone .pp-tabbar span.active::before { opacity: 1; }

/* ---------- 7 · DEVICE-SWITCHER INTERACTIVE SECTION (index) ---------- */
.device-switch {
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%);
}
.device-switch .s-title { text-align: center; }
.device-switch .ds-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.16);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(31,95,168,0.06);
  margin: 24px auto 32px;
  width: max-content;
  max-width: 100%;
}
.device-switch .ds-toggle button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2F4856;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.device-switch .ds-toggle button svg { width: 16px; height: 16px; }
.device-switch .ds-toggle button:hover { background: rgba(31,95,168,0.06); }
.device-switch .ds-toggle button.active {
  background: linear-gradient(135deg, #1F5FA8 0%, #002531 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(31,95,168,0.30);
}
.device-switch .ds-panels {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 40px);
  box-shadow: 0 14px 40px rgba(0,37,49,0.06);
  min-height: 240px;
}
.device-switch .ds-panel {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.device-switch .ds-panel.active { display: grid; animation: ds-fade 0.4s ease-out; }
@media (max-width: 720px) {
  .device-switch .ds-panel.active { grid-template-columns: 1fr; }
}
@keyframes ds-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.device-switch .ds-panel h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  color: #002531;
}
.device-switch .ds-panel p { color: #2F4856; line-height: 1.55; margin: 0 0 14px; }
.device-switch .ds-panel ul {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: grid; gap: 6px;
}
.device-switch .ds-panel ul li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px;
  color: #2F4856;
}
.device-switch .ds-panel ul li::before {
  content: '✓';
  color: #1F5FA8;
  font-weight: 900;
}
.device-switch .ds-art {
  display: grid; place-items: center;
  min-height: 220px;
}

/* ---------- 8 · MT5 FEATURE-EXPLORER (interactive) ---------- */
.feature-explorer {
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #F4F8FD 0%, #FFFFFF 100%);
}
.feature-explorer .s-title { text-align: center; }
.feature-explorer .fe-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 24px 0 28px;
}
.feature-explorer .fe-tabs button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.16);
  border-radius: 999px;
  color: #2F4856;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}
.feature-explorer .fe-tabs button:hover {
  background: rgba(31,95,168,0.06);
  border-color: rgba(31,95,168,0.32);
  transform: translateY(-1px);
}
.feature-explorer .fe-tabs button.active {
  background: #1F5FA8;
  color: #FFFFFF;
  border-color: #1F5FA8;
  box-shadow: 0 12px 24px rgba(31,95,168,0.26);
}
.feature-explorer .fe-stage {
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.12);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 40px);
  box-shadow: 0 22px 60px rgba(0,37,49,0.06);
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.feature-explorer .fe-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.feature-explorer .fe-panel.active { display: grid; animation: ds-fade 0.4s ease-out; }
@media (max-width: 720px) {
  .feature-explorer .fe-panel.active { grid-template-columns: 1fr; }
}
.feature-explorer .fe-panel h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: #002531;
}
.feature-explorer .fe-panel p { color: #2F4856; line-height: 1.55; margin: 0 0 16px; }
.feature-explorer .fe-art {
  position: relative;
  background: linear-gradient(160deg, #F4F8FD 0%, #FFFFFF 100%);
  border-radius: 16px;
  padding: 18px;
  min-height: 240px;
  display: grid; place-items: center;
  border: 1px solid rgba(31,95,168,0.10);
}
.feature-explorer .fe-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 6px;
}
.feature-explorer .fe-stat {
  text-align: center;
  padding: 12px;
  background: rgba(31,95,168,0.04);
  border-radius: 12px;
}
.feature-explorer .fe-stat .num {
  font-size: 22px; font-weight: 900;
  color: #1F5FA8;
  font-family: 'Courier New', monospace;
}
.feature-explorer .fe-stat .lab {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #5A6B75;
  text-transform: uppercase;
}

/* ---------- 9 · WEB-TRADER · 3-STEP LAUNCH TIMELINE ---------- */
.launch-steps {
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%);
}
.launch-steps .s-title { text-align: center; }
.launch-steps .ls-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  position: relative;
}
@media (max-width: 720px) {
  .launch-steps .ls-row { grid-template-columns: 1fr; }
}
.launch-steps .ls-row::before {
  content: '';
  position: absolute;
  top: 38px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(31,95,168,0) 0, rgba(31,95,168,0.40) 20%, rgba(31,95,168,0.40) 80%, rgba(31,95,168,0) 100%);
  z-index: 0;
}
@media (max-width: 720px) {
  .launch-steps .ls-row::before { display: none; }
}
.launch-steps .ls-step {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 14px 36px rgba(0,37,49,0.05);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.launch-steps .ls-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(31,95,168,0.14);
}
.launch-steps .ls-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1F5FA8 0%, #002531 100%);
  color: #FFFFFF;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 900;
  font-family: 'Courier New', monospace;
  box-shadow: 0 10px 24px rgba(31,95,168,0.30);
}
.launch-steps .ls-step h4 {
  font-size: 17px;
  margin: 4px 0 0;
  color: #002531;
  letter-spacing: -0.01em;
}
.launch-steps .ls-step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #2F4856;
  margin: 0;
}
.launch-steps .ls-step .ls-tip {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1F5FA8;
  text-transform: uppercase;
}

/* ---------- 10 · ANAX APP · BUILD PROGRESS METER ---------- */
.build-progress {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(31,95,168,0.08), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(179,154,126,0.08), transparent 70%),
    linear-gradient(180deg, #F4F8FD 0%, #FFFCF6 100%);
  color: #002531;
  position: relative;
  overflow: hidden;
}
.build-progress::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(31,95,168,0.025) 0 1px, transparent 1px 80px),
              repeating-linear-gradient(90deg, rgba(31,95,168,0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.build-progress .container { position: relative; z-index: 1; }
.build-progress .s-title h2 { color: #002531; }
.build-progress .s-title p { color: #2F4856; }
.build-progress .s-title .eyebrow { color: #1F5FA8; }
.build-progress .bp-list {
  display: grid; gap: 12px;
  margin-top: 28px;
  max-width: 720px;
  margin-inline: auto;
}
.build-progress .bp-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(31,95,168,0.14);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,37,49,0.04);
}
.build-progress .bp-item .bp-tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900;
  color: #FFFFFF;
}
.build-progress .bp-item[data-status="done"] .bp-tick { background: #1F8F4A; }
.build-progress .bp-item[data-status="now"]  .bp-tick { background: #1F5FA8; }
.build-progress .bp-item[data-status="next"] .bp-tick { background: rgba(31,95,168,0.20); color: #1F5FA8; }
.build-progress .bp-item .bp-label {
  font-size: 14px; font-weight: 700; color: #002531;
}
.build-progress .bp-item .bp-sub {
  font-size: 12px; color: #5A6B75; margin-top: 2px;
}
.build-progress .bp-item .bp-pill {
  font-size: 10px; font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.build-progress .bp-item[data-status="done"] .bp-pill { background: rgba(31,143,74,0.12); color: #167539; }
.build-progress .bp-item[data-status="now"]  .bp-pill { background: rgba(31,95,168,0.16); color: #1F5FA8; animation: ph-ping 2s ease-out infinite; }
.build-progress .bp-item[data-status="next"] .bp-pill { background: rgba(127,97,75,0.10); color: #7F614B; }

/* ---------- 11 · WAITLIST FUNCTION BUTTON ---------- */
.waitlist-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #B39A7E 0%, #7F614B 100%);
  color: #FFFFFF;
  border: 0;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(127,97,75,0.36);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.waitlist-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(127,97,75,0.46);
}
.waitlist-cta svg { width: 16px; height: 16px; }
.waitlist-cta .wc-pos {
  font-family: 'Courier New', monospace;
  background: rgba(255,255,255,0.18);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* ---------- 12 · MT5 "LAUNCH CHART" BUTTON ---------- */
.chart-launch-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #1F5FA8 0%, #002531 100%);
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(31,95,168,0.30);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.chart-launch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(31,95,168,0.40);
}
.chart-launch-btn .clb-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6DD3A2;
  position: relative;
}
.chart-launch-btn .clb-pulse::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: #6DD3A2;
  animation: ph-ping 1.6s ease-out infinite;
}

/* ---------- 13 · RESPONSIVE FINE-TUNE ---------- */
@media (max-width: 540px) {
  .platform-hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .platform-hero .ph-cta-row .btn { flex: 1; min-width: 0; justify-content: center; }
  .platform-hero .ph-stage { min-height: 280px; }
  .ph-phone { max-width: 220px; }
  .ph-tri, .ph-mt5, .ph-browser { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-tri .pt-monitor, .ph-tri .pt-browser, .ph-tri .pt-phone,
  .ph-tri .pt-beam, .platform-hero .ph-eyebrow .pulse-dot::after,
  .ph-mt5 .pm-tab-bar .pm-pip::after,
  .ph-mt5 .pm-chart .pm-area, .ph-mt5 .pm-chart .pm-line, .ph-mt5 .pm-chart .pm-candle,
  .ph-browser .pb-loader, .ph-browser .pb-url .pb-type, .ph-browser .pb-stage .pb-line,
  .ph-phone .pp-bio-ring::before, .ph-phone .pp-chart-mini .pp-line,
  .build-progress .bp-item[data-status="now"] .bp-pill,
  .chart-launch-btn .clb-pulse::after {
    animation: none !important;
  }
  .ph-tri .pt-chart .pt-line { stroke-dashoffset: 0 !important; }
  .ph-mt5 .pm-chart .pm-line { stroke-dashoffset: 0 !important; }
  .ph-mt5 .pm-chart .pm-area { opacity: 1 !important; }
  .ph-mt5 .pm-chart .pm-candle { opacity: 1 !important; transform: none !important; }
  .ph-browser .pb-stage .pb-line { stroke-dashoffset: 0 !important; }
  .ph-phone .pp-chart-mini .pp-line { stroke-dashoffset: 0 !important; }
}

/* ============================================================================
   ICON SIZING SAFETY NET · all platform-page <svg> nested in buttons/chips
   without explicit width default to viewBox = oversized. Force constraints.
   ============================================================================ */
.platform-hero .ph-chip svg,
.platform-hero .ph-cta-row .btn svg,
.platform-hero .ph-cta-row .chart-launch-btn svg,
.platform-hero .ph-cta-row .waitlist-cta svg,
.device-switch .ds-toggle button svg,
.feature-explorer .fe-tabs button svg,
.launch-steps .ls-step svg,
.build-progress .bp-item svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}
.feature-explorer .fe-tabs button {
  white-space: nowrap;
  max-width: 100%;
}
.feature-explorer .fe-tabs {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center;
  width: 100%;
}
.feature-explorer .fe-tabs button > svg {
  display: inline-block;
  vertical-align: middle;
}

/* Per-section slight colour variation · light mix, brand-aligned */
/* Section 1 · platform-hero — cool aerial mix (existing kept) */
/* Section 2 · device-switch — sand warm wash */
.device-switch {
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(179,154,126,0.10), transparent 70%),
    linear-gradient(180deg, #FFFCF6 0%, #F9F5EC 100%) !important;
}
/* Section 3 · feature-explorer — cool aerial blue mix */
.feature-explorer {
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(31,95,168,0.08), transparent 70%),
    linear-gradient(180deg, #F4F8FD 0%, #ECF3FB 100%) !important;
}
.feature-explorer .fe-stage {
  background: #FFFFFF !important;
}
/* Section 4 · launch-steps — warm cream gradient */
.launch-steps {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(31,95,168,0.06), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F1E5 100%) !important;
}
/* Section 5 · build-progress kept dark navy (intentional contrast) */

/* MT5 page feature-explorer fe-art icons (SVGs without sizing) */
.feature-explorer .fe-art svg:not([width]) {
  width: 100%;
  height: auto;
  max-height: 240px;
}

/* Mobile fine tune — tabs should stack readable */
@media (max-width: 540px) {
  .feature-explorer .fe-tabs button {
    font-size: 12px;
    padding: 9px 14px;
  }
  .device-switch .ds-toggle button {
    font-size: 12.5px;
    padding: 9px 14px;
  }
}

/* ============================================================================
   PLATFORM PAGES · MOBILE OPTIMISE
   Device-switch + Feature-explorer + Launch-steps + Build-progress on phones.
   ============================================================================ */
@media (max-width: 768px) {

  /* ---------- DEVICE-SWITCH ---------- */
  .device-switch { padding: 48px 0 !important; }
  .device-switch .s-title h2 { font-size: clamp(22px, 6vw, 28px); }
  .device-switch .s-title p  { font-size: 13.5px; }

  /* Toggle pills · 3 across in equal-width grid */
  .device-switch .ds-toggle {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px !important;
    margin: 18px 0 22px !important;
    border-radius: 14px !important;
  }
  .device-switch .ds-toggle button {
    padding: 10px 6px !important;
    font-size: 11.5px !important;
    border-radius: 10px !important;
    gap: 4px !important;
    white-space: nowrap;
    min-width: 0 !important;
    justify-content: center !important;
  }
  .device-switch .ds-toggle button svg {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0;
  }
  /* Hide label, show only icon on extreme narrow */
  /* (keep label visible — user wants text visible) */

  /* Panel · stack content + art vertically with proper spacing */
  .device-switch .ds-panels {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }
  .device-switch .ds-panel.active {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .device-switch .ds-panel h3 {
    font-size: 19px !important;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
  }
  .device-switch .ds-panel p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin: 0 0 12px !important;
  }
  .device-switch .ds-panel ul {
    margin: 0 0 14px !important;
    gap: 4px !important;
  }
  .device-switch .ds-panel ul li {
    font-size: 12.5px !important;
    line-height: 1.5;
  }
  .device-switch .ds-panel .btn {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 4px !important;
  }
  .device-switch .ds-art {
    min-height: 200px !important;
    padding: 0 !important;
  }
  /* Art widgets shrink-to-fit */
  .device-switch .ds-art .ph-mt5,
  .device-switch .ds-art .ph-browser,
  .device-switch .ds-art .ph-phone {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: auto !important;
  }
  .device-switch .ds-art .ph-phone {
    max-width: 220px !important;
    aspect-ratio: 9/19;
  }
  .device-switch .ds-art .ph-mt5,
  .device-switch .ds-art .ph-browser {
    min-height: 220px;
  }

  /* ---------- FEATURE-EXPLORER (MT5 page) ---------- */
  .feature-explorer { padding: 48px 0 !important; }
  .feature-explorer .fe-tabs {
    gap: 6px !important;
    padding: 0 !important;
    margin: 18px 0 22px !important;
  }
  .feature-explorer .fe-tabs button {
    padding: 9px 12px !important;
    font-size: 11.5px !important;
    gap: 5px !important;
  }
  .feature-explorer .fe-tabs button svg {
    width: 13px !important;
    height: 13px !important;
  }
  .feature-explorer .fe-stage {
    padding: 18px 14px !important;
    min-height: 240px !important;
  }
  .feature-explorer .fe-panel.active {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .feature-explorer .fe-panel h3 { font-size: 19px !important; margin: 0 0 8px !important; }
  .feature-explorer .fe-panel p  { font-size: 13.5px !important; }
  .feature-explorer .fe-art {
    min-height: 180px !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }
  .feature-explorer .fe-stat-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    margin-top: 4px !important;
  }
  .feature-explorer .fe-stat { padding: 8px 4px !important; border-radius: 8px !important; }
  .feature-explorer .fe-stat .num { font-size: 16px !important; }
  .feature-explorer .fe-stat .lab { font-size: 8.5px !important; letter-spacing: 0.06em !important; }

  /* ---------- LAUNCH-STEPS (Web Trader page) ---------- */
  .launch-steps { padding: 48px 0 !important; }
  .launch-steps .ls-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 22px;
  }
  .launch-steps .ls-row::before { display: none !important; }
  .launch-steps .ls-step { padding: 18px !important; border-radius: 14px !important; }
  .launch-steps .ls-num { width: 44px !important; height: 44px !important; font-size: 17px !important; }
  .launch-steps .ls-step h4 { font-size: 15.5px !important; }
  .launch-steps .ls-step p  { font-size: 13px !important; }

  /* ---------- BUILD-PROGRESS (ANAX App page) ---------- */
  .build-progress { padding: 48px 0 !important; }
  .build-progress .bp-list { gap: 8px !important; margin-top: 20px; }
  .build-progress .bp-item {
    padding: 12px 14px !important;
    grid-template-columns: 22px 1fr auto !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }
  .build-progress .bp-item .bp-tick { width: 18px !important; height: 18px !important; font-size: 11px !important; }
  .build-progress .bp-item .bp-label { font-size: 13px !important; line-height: 1.3; }
  .build-progress .bp-item .bp-sub   { font-size: 11px !important; margin-top: 2px !important; }
  .build-progress .bp-item .bp-pill  { font-size: 8.5px !important; padding: 3px 7px !important; }

  /* ---------- FABs · don't cover content ---------- */
  .call-fab {
    padding: 10px 6px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.14em !important;
  }
  .wa-fab { padding: 10px !important; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  body.has-app-nav { padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important; }

  /* ---------- DS-PANEL ds-art container · prevent overflow ---------- */
  .ds-art .ph-mt5 .pm-chart svg,
  .ds-art .ph-browser .pb-stage svg {
    width: 100% !important;
    height: auto !important;
  }
}

/* < 380px stricter */
@media (max-width: 380px) {
  .device-switch .ds-toggle button { font-size: 10.5px !important; padding: 9px 4px !important; }
  .device-switch .ds-toggle button svg { display: none !important; }
  .feature-explorer .fe-tabs button { font-size: 10.5px !important; padding: 8px 10px !important; }
  .device-switch .ds-art .ph-phone { max-width: 200px !important; }
}

/* ============================================================================
   HERO ANIMATIONS · MOBILE PERFECT
   Each platform-hero animation (tri-device, MT5 chart, browser frame, phone)
   needs sized properly for mobile. Match desktop quality.
   ============================================================================ */
@media (max-width: 768px) {
  /* Hero stage container · full breathing room */
  .platform-hero {
    padding: 36px 0 32px !important;
    overflow: hidden;
  }
  .platform-hero .container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .platform-hero .ph-text {
    gap: 12px !important;
    text-align: left;
    align-items: flex-start;
  }
  .platform-hero h1 {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.1 !important;
  }
  .platform-hero .ph-lead {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
  }
  .platform-hero .ph-meta { gap: 6px !important; }
  .platform-hero .ph-chip {
    font-size: 11px !important;
    padding: 5px 9px !important;
  }
  .platform-hero .ph-stage {
    min-height: auto !important;
    margin-top: 6px !important;
    width: 100%;
    overflow: visible;
  }

  /* ---------- TRI-DEVICE (platforms/index) — keep proportions, fit width ---------- */
  .ph-tri {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 4/3 !important;
    margin: 0 auto;
  }

  /* ---------- MT5 CHART (platforms/mt5) — full-width frame ---------- */
  .ph-mt5 {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 5/4 !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 36px rgba(0,37,49,0.10) !important;
  }
  .ph-mt5 .pm-tab-bar {
    padding: 9px 12px !important;
    font-size: 10.5px !important;
  }
  .ph-mt5 .pm-tab-bar .pm-price {
    font-size: 13px !important;
  }
  .ph-mt5 .pm-chart { inset: 44px 10px 32px 10px !important; }
  .ph-mt5 .pm-foot { padding: 7px 12px !important; font-size: 9.5px !important; }
  .ph-mt5 .pm-foot .pm-tag { font-size: 8.5px !important; padding: 3px 6px !important; }

  /* ---------- BROWSER (platforms/web-trader) — full-width frame, all elements visible ---------- */
  .ph-browser {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 5/4 !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 36px rgba(0,37,49,0.10) !important;
    overflow: hidden;
  }
  .ph-browser .pb-chrome {
    padding: 8px 12px !important;
    gap: 6px !important;
  }
  .ph-browser .pb-chrome .pb-dots span {
    width: 8px !important;
    height: 8px !important;
  }
  .ph-browser .pb-url {
    padding: 4px 10px !important;
    font-size: 10.5px !important;
  }
  .ph-browser .pb-loader { top: 36px !important; height: 2px !important; }
  .ph-browser .pb-body { inset: 44px 0 0 0 !important; }
  .ph-browser .pb-tabs {
    padding: 7px 12px !important;
    font-size: 9.5px !important;
    gap: 3px !important;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .ph-browser .pb-tabs::-webkit-scrollbar { display: none; }
  .ph-browser .pb-tabs span {
    padding: 4px 7px !important;
    border-radius: 5px !important;
    flex-shrink: 0;
  }
  .ph-browser .pb-stage {
    margin: 8px 12px 12px !important;
    border-radius: 7px !important;
  }
  .ph-browser .pb-stage svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
  }

  /* ---------- PHONE (platforms/anax-app) ---------- */
  .ph-phone {
    max-width: 240px !important;
    width: 240px !important;
    margin: 0 auto;
  }

  /* ---------- CTA row inside hero — full-width stacked ---------- */
  .platform-hero .ph-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    gap: 10px !important;
  }
  .platform-hero .ph-cta-row > * {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ---------- CALL-FAB sidebar · narrower so doesn't cover hero ---------- */
  .call-fab {
    padding: 8px 5px !important;
    font-size: 9.5px !important;
    border-radius: 8px 0 0 8px !important;
  }
}

/* < 540px — tighter */
@media (max-width: 540px) {
  .ph-mt5, .ph-browser, .ph-tri {
    aspect-ratio: 4/3 !important;
  }
  .ph-browser .pb-url { font-size: 9.5px !important; }
  .ph-browser .pb-tabs span { font-size: 9px !important; padding: 3px 6px !important; }
  .ph-mt5 .pm-tab-bar { font-size: 10px !important; }
  .ph-phone { max-width: 220px !important; width: 220px !important; }
}
