/* ============================================================================
   FOREX VPS HOSTING: page-specific sections (loaded on top of vps-template.css)
   ----------------------------------------------------------------------------
   Namespace: .eug-fx-*  ·  reuses the shared tokens, surfaces and band rhythm
   from css/vps-template.css. Flat surfaces only: --eug-ink panels, --eug-border
   edges, blue/lime accents. No glass, no glow.

   Blocks:
     hero split + MT5 terminal illustration   .eug-gh-hero-split / .eug-fx-term
     why-a-VPS benefit grid                   .eug-fx-why
     broker latency table                     .eug-fx-lat
     platforms + operating system             .eug-fx-plat
     prop firm section                        .eug-fx-prop
     trader profiles                          .eug-fx-who
     long-form explainer                      .eug-fx-explain
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO: copy left, MetaTrader illustration right (landing.php $vps_hero_aside)
   -------------------------------------------------------------------------- */
.eug-gh-hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.eug-gh-hero-split .eug-gh-hero-inner { max-width: none; margin: 0; text-align: left; }
.eug-gh-hero-split .eug-gh-h2,
.eug-gh-hero-split .eug-gh-sub { margin-left: 0; margin-right: 0; max-width: 620px; }
.eug-gh-hero-split .eug-gh-h2 { white-space: normal; }
.eug-gh-hero-split .eug-hero-cta,
.eug-gh-hero-split .eug-hero-stats { justify-content: flex-start; }
.eug-gh-hero-split .eug-hero-social { justify-content: flex-start; }
.eug-gh-hero-split .eug-hchecks { justify-content: flex-start; }
/* A wall of game covers behind a trading headline is noise, and it forces a
   heavy scrim that muddies everything on top of it. Drop it here and use a
   quiet technical grid instead: nothing competes with the copy or the chart. */
.eug-fx-page .eug-gh-hexwall { display: none; }
.eug-fx-page .eug-gh-hero { padding-top: clamp(76px, 10vw, 128px); }
.eug-fx-page .eug-gh-hero::before {
  inset: 0;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(69, 199, 255, 0.075) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(69, 199, 255, 0.075) 0 1px, transparent 1px 92px);
  -webkit-mask-image: radial-gradient(ellipse 78% 86% at 50% 42%, #000 0%, rgba(0, 0, 0, 0.35) 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 78% 86% at 50% 42%, #000 0%, rgba(0, 0, 0, 0.35) 58%, transparent 82%);
}
.eug-fx-page .eug-gh-hero::after {
  background:
    radial-gradient(ellipse 58% 62% at 46% 40%, rgba(69, 199, 255, 0.11) 0%, rgba(69, 199, 255, 0) 72%),
    linear-gradient(180deg, rgba(7, 11, 18, 0) 58%, var(--eug-canvas) 100%);
}
/* the Trustpilot avatar cluster is game covers, so keep the rating, lose the row */
.eug-fx-page .eug-gh-hero .eug-avatars { display: none; }
@media (max-width: 1080px) {
  .eug-gh-hero-split { grid-template-columns: 1fr; gap: 40px; }
  .eug-gh-hero-split .eug-gh-hero-inner { text-align: center; max-width: 880px; margin: 0 auto; }
  .eug-gh-hero-split .eug-gh-h2,
  .eug-gh-hero-split .eug-gh-sub { margin-left: auto; margin-right: auto; }
  .eug-gh-hero-split .eug-hero-cta,
  .eug-gh-hero-split .eug-hero-stats,
  .eug-gh-hero-split .eug-hero-social,
  .eug-gh-hero-split .eug-hchecks { justify-content: center; }
  .eug-gh-hero-aside { max-width: 560px; margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   MT5 TERMINAL ILLUSTRATION
   -------------------------------------------------------------------------- */
.eug-fx-term {
  margin: 0;
  border-radius: var(--eug-radius-card);
  overflow: hidden;
  background: var(--eug-deep-navy);
  border: 1px solid var(--eug-border);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46);
}
.eug-fx-term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 15px;
  background: var(--eug-ink);
  border-bottom: 1px solid var(--eug-border);
}
.eug-fx-term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #33486A; }
.eug-fx-term-bar b {
  margin-left: 8px; font-family: var(--eug-font-display);
  font-size: 0.82rem; font-weight: 600; color: var(--eug-muted);
}
.eug-fx-term-body { display: flex; flex-direction: column; gap: 12px; padding: 14px; }

/* quote row */
.eug-fx-quote {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 13px 15px;
  background: var(--eug-ink); border: 1px solid var(--eug-border);
  border-radius: var(--eug-radius-sm);
}
.eug-fx-pair { display: flex; flex-direction: column; gap: 4px; margin-right: auto; }
.eug-fx-session {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--eug-font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--eug-muted);
}
.eug-fx-session i { width: 7px; height: 7px; border-radius: 50%; background: var(--eug-lime); }
.eug-fx-pair b {
  font-family: var(--eug-font-display); font-size: 1.18rem; font-weight: 700;
  letter-spacing: 0.02em; color: var(--eug-frost);
}
.eug-fx-px { display: flex; flex-direction: column; gap: 3px; text-align: right; }
.eug-fx-px b { font-family: var(--eug-font-display); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--eug-lime); }
.eug-fx-px span { font-size: 0.74rem; font-weight: 600; color: var(--eug-lime); }
.eug-fx-badge {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-end;
  padding: 8px 12px; border-radius: var(--eug-radius-sm);
  background: rgba(69, 199, 255, 0.1); border: 1px solid var(--eug-border-blue);
}
.eug-fx-badge span {
  font-family: var(--eug-font-display); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--eug-muted);
}
.eug-fx-badge b { font-family: var(--eug-font-display); font-size: 1.06rem; font-weight: 700; line-height: 1; color: var(--eug-blue); }

/* chart panel */
.eug-fx-chart {
  position: relative;
  padding: 12px 12px 6px;
  background: var(--eug-ink); border: 1px solid var(--eug-border);
  border-radius: var(--eug-radius-sm);
}
.eug-fx-chart-h {
  font-family: var(--eug-font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--eug-blue);
  margin: 0 0 6px;
}
.eug-fx-chart svg { display: block; width: 100%; height: auto; }

/* terminal status strip: says "this thing has been up for weeks", which is the
   actual product, rather than naming imaginary trading bots at the reader */
.eug-fx-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 12px 15px;
  background: var(--eug-ink); border: 1px solid var(--eug-border);
  border-radius: var(--eug-radius-sm);
}
.eug-fx-stats > div { display: flex; flex-direction: column; gap: 3px; padding-left: 14px; border-left: 1px solid var(--eug-border); }
.eug-fx-stats > div:first-child { padding-left: 0; border-left: 0; }
.eug-fx-stats span {
  font-family: var(--eug-font-display); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--eug-muted);
}
.eug-fx-stats b { font-family: var(--eug-font-display); font-size: 1.02rem; font-weight: 700; line-height: 1; color: var(--eug-frost); }
.eug-fx-stats > div:first-child b { color: var(--eug-lime); }

/* connection row */
.eug-fx-conn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px;
  background: var(--eug-ink); border: 1px solid var(--eug-border);
  border-radius: var(--eug-radius-sm);
}
.eug-fx-node { display: flex; flex-direction: column; gap: 2px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--eug-border-blue); background: rgba(69, 199, 255, 0.08); }
.eug-fx-node b { font-family: var(--eug-font-display); font-size: 0.86rem; font-weight: 700; color: var(--eug-frost); }
.eug-fx-node span { font-size: 0.68rem; color: var(--eug-muted); }
.eug-fx-node.is-broker { border-color: rgba(125, 255, 178, 0.42); background: rgba(125, 255, 178, 0.08); }
.eug-fx-wire { flex: 1; position: relative; height: 2px; background: linear-gradient(90deg, var(--eug-border) 0%, var(--eug-border-blue) 50%, var(--eug-border) 100%); }
.eug-fx-wire b {
  position: absolute; left: 50%; top: -22px; transform: translateX(-50%);
  font-family: var(--eug-font-display); font-size: 0.72rem; font-weight: 700; color: var(--eug-blue); white-space: nowrap;
}
.eug-fx-wire i {
  position: absolute; top: -2px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--eug-blue);
  animation: eug-fx-flow 2.6s linear infinite;
}
.eug-fx-wire i:nth-child(3) { animation-delay: 0.85s; }
.eug-fx-wire i:nth-child(4) { animation-delay: 1.7s; }
@keyframes eug-fx-flow { from { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .eug-fx-wire i { animation: none; left: 50%; } }

.eug-fx-term figcaption {
  padding: 10px 15px 13px;
  font-size: 0.72rem; color: var(--eug-muted); text-align: center;
}
@media (max-width: 460px) {
  .eug-fx-stats b { font-size: 0.92rem; }
  .eug-fx-stats > div { padding-left: 10px; }
  .eug-fx-quote { gap: 10px; }
  .eug-fx-px b { font-size: 1.28rem; }
}

/* --------------------------------------------------------------------------
   WHY A FOREX VPS: benefit grid
   -------------------------------------------------------------------------- */
.eug-fx-why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px;
  margin-top: 42px;
}
.eug-fx-card {
  padding: 26px 24px;
  background: var(--eug-ink); border: 1px solid var(--eug-border);
  border-radius: var(--eug-radius-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.eug-fx-card:hover { border-color: var(--eug-border-blue); transform: translateY(-3px); }
.eug-fx-card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 13px; background: rgba(69, 199, 255, 0.1); border: 1px solid var(--eug-border-blue);
  color: var(--eug-blue); font-size: 1.16rem;
}
.eug-fx-card h3 {
  margin: 0 0 8px;
  font-family: var(--eug-font-display); font-size: 1.16rem; font-weight: 700; color: var(--eug-frost);
}
.eug-fx-card p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--eug-muted); }

/* --------------------------------------------------------------------------
   BROKER LATENCY: table + explainer aside
   -------------------------------------------------------------------------- */
.eug-fx-lat-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 3.4vw, 48px);
  align-items: start; margin-top: 42px;
}
.eug-fx-tablewrap {
  overflow-x: auto;
  background: var(--eug-ink); border: 1px solid var(--eug-border);
  border-radius: var(--eug-radius-card);
}
.eug-fx-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.eug-fx-table caption { padding: 16px 20px 0; text-align: left; font-size: 0.85rem; color: var(--eug-muted); }
.eug-fx-table th, .eug-fx-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--eug-border); }
.eug-fx-table thead th {
  font-family: var(--eug-font-display); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--eug-muted);
}
.eug-fx-table tbody tr:last-child th, .eug-fx-table tbody tr:last-child td { border-bottom: 0; }
.eug-fx-table tbody th { font-weight: 600; color: var(--eug-frost); font-size: 0.97rem; }
.eug-fx-table tbody th small { display: block; margin-top: 3px; font-size: 0.8rem; font-weight: 400; color: var(--eug-muted); }
.eug-fx-table td { text-align: right; white-space: nowrap; }
.eug-fx-ms {
  display: inline-block; padding: 5px 12px; border-radius: var(--eug-pill);
  background: rgba(69, 199, 255, 0.1); border: 1px solid var(--eug-border-blue);
  font-family: var(--eug-font-display); font-size: 0.92rem; font-weight: 700; color: var(--eug-blue);
}
.eug-fx-ms.is-far { background: rgba(167, 184, 204, 0.08); border-color: var(--eug-border); color: var(--eug-muted); }
.eug-fx-lat-note { margin: 14px 2px 0; font-size: 0.84rem; line-height: 1.6; color: var(--eug-muted); }
.eug-fx-aside {
  padding: 28px 26px;
  background: var(--eug-ink); border: 1px solid var(--eug-border);
  border-radius: var(--eug-radius-card);
}
.eug-fx-aside h3 {
  margin: 0 0 12px;
  font-family: var(--eug-font-display); font-size: 1.24rem; font-weight: 700; color: var(--eug-frost);
}
.eug-fx-aside p { margin: 0 0 16px; font-size: 0.95rem; line-height: 1.62; color: var(--eug-muted); }
.eug-fx-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.eug-fx-aside li { display: flex; gap: 11px; font-size: 0.93rem; line-height: 1.55; color: var(--eug-muted); }
.eug-fx-aside li b { color: var(--eug-frost); }
.eug-fx-aside li i { flex: none; margin-top: 3px; color: var(--eug-blue); }
@media (max-width: 940px) { .eug-fx-lat-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   PLATFORMS + OPERATING SYSTEM
   -------------------------------------------------------------------------- */
.eug-fx-plat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 42px; }
.eug-fx-os {
  display: flex; flex-direction: column;
  padding: 28px 26px;
  background: var(--eug-ink); border: 1px solid var(--eug-border);
  border-radius: var(--eug-radius-card);
}
.eug-fx-os.is-pick { border-color: var(--eug-border-blue); }
.eug-fx-os-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.eug-fx-os-top i {
  width: 46px; height: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(69, 199, 255, 0.1); border: 1px solid var(--eug-border-blue);
  color: var(--eug-blue); font-size: 1.2rem;
}
.eug-fx-os-top h3 { margin: 0; font-family: var(--eug-font-display); font-size: 1.22rem; font-weight: 700; color: var(--eug-frost); }
.eug-fx-os-top span {
  margin-left: auto; padding: 5px 12px; border-radius: var(--eug-pill);
  background: rgba(182, 255, 46, 0.14); border: 1px solid rgba(182, 255, 46, 0.4);
  font-family: var(--eug-font-display); font-size: 0.74rem; font-weight: 700; color: var(--eug-accent);
}
.eug-fx-os p { margin: 0 0 16px; font-size: 0.95rem; line-height: 1.62; color: var(--eug-muted); }
.eug-fx-os ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.eug-fx-os li { display: flex; gap: 10px; font-size: 0.92rem; line-height: 1.5; color: var(--eug-muted); }
.eug-fx-os li i { flex: none; margin-top: 3px; color: var(--eug-accent); font-size: 0.85rem; }
.eug-fx-plat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.eug-fx-plat-chips span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px;
  border-radius: var(--eug-pill); background: var(--eug-ink); border: 1px solid var(--eug-border);
  font-family: var(--eug-font-display); font-size: 0.97rem; font-weight: 600; color: var(--eug-frost);
}
.eug-fx-plat-chips i { color: var(--eug-blue); }
@media (max-width: 860px) { .eug-fx-plat-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   PROP FIRM SECTION
   -------------------------------------------------------------------------- */
.eug-fx-prop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.4vw, 48px); align-items: start; margin-top: 42px; }
.eug-fx-prop-copy .eug-h2 { text-align: left; }
.eug-fx-prop-copy .eug-lead { text-align: left; margin-left: 0; max-width: none; }
.eug-fx-prop-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.eug-fx-prop-list li { display: flex; gap: 12px; font-size: 0.96rem; line-height: 1.55; color: var(--eug-muted); }
.eug-fx-prop-list li i { flex: none; margin-top: 3px; color: var(--eug-accent); }
.eug-fx-prop-list b { color: var(--eug-frost); }
.eug-fx-note {
  padding: 26px 24px;
  background: var(--eug-ink); border: 1px solid var(--eug-border); border-left: 3px solid var(--eug-accent);
  border-radius: var(--eug-radius-card);
}
.eug-fx-note h3 { margin: 0 0 10px; font-family: var(--eug-font-display); font-size: 1.14rem; font-weight: 700; color: var(--eug-frost); }
.eug-fx-note p { margin: 0 0 14px; font-size: 0.93rem; line-height: 1.6; color: var(--eug-muted); }
.eug-fx-note ul { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.eug-fx-note li { font-size: 0.92rem; line-height: 1.5; color: var(--eug-muted); }
.eug-fx-note li b { color: var(--eug-frost); }
@media (max-width: 900px) {
  .eug-fx-prop-grid { grid-template-columns: 1fr; }
  .eug-fx-prop-copy .eug-h2, .eug-fx-prop-copy .eug-lead { text-align: center; }
}

/* --------------------------------------------------------------------------
   TRADER PROFILES
   -------------------------------------------------------------------------- */
.eug-fx-who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 42px; }
.eug-fx-who {
  display: flex; flex-direction: column; padding: 26px 24px;
  background: var(--eug-ink); border: 1px solid var(--eug-border); border-radius: var(--eug-radius-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.eug-fx-who:hover { border-color: var(--eug-border-blue); transform: translateY(-3px); }
.eug-fx-who-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 15px;
  border-radius: 12px; background: rgba(69, 199, 255, 0.1); border: 1px solid var(--eug-border-blue);
  color: var(--eug-blue); font-size: 1.12rem;
}
.eug-fx-who h3 { margin: 0 0 8px; font-family: var(--eug-font-display); font-size: 1.14rem; font-weight: 700; color: var(--eug-frost); }
.eug-fx-who p { margin: 0 0 16px; font-size: 0.94rem; line-height: 1.58; color: var(--eug-muted); }
.eug-fx-who-pick {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 8px 14px; border-radius: var(--eug-pill);
  background: rgba(182, 255, 46, 0.12); border: 1px solid rgba(182, 255, 46, 0.36);
  font-family: var(--eug-font-display); font-size: 0.86rem; font-weight: 700; color: var(--eug-accent);
}

/* --------------------------------------------------------------------------
   LONG-FORM EXPLAINER
   -------------------------------------------------------------------------- */
.eug-fx-explain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: 42px; }
.eug-fx-explain-col h3 {
  margin: 0 0 12px;
  font-family: var(--eug-font-display); font-size: 1.28rem; font-weight: 700; color: var(--eug-frost);
}
.eug-fx-explain-col p { margin: 0 0 14px; font-size: 0.97rem; line-height: 1.68; color: var(--eug-muted); }
.eug-fx-explain-col p:last-child { margin-bottom: 0; }
.eug-fx-explain-col a { color: var(--eug-blue); text-decoration: underline; text-underline-offset: 3px; }
.eug-fx-explain-col a:hover { color: var(--eug-blue-glow); }
