/* ==========================================================
   Velexa OMS – trading-oms.php
   Loaded after oms-trading.css; only styles this page.
   ========================================================== */

:root {
  --vx-bg: #050b14;
  --vx-bg-2: #08121f;
  --vx-surface: rgba(255, 255, 255, 0.04);
  --vx-surface-hover: rgba(255, 255, 255, 0.07);
  --vx-border: rgba(255, 255, 255, 0.09);
  --vx-primary: #10b981;
  --vx-accent: #14d3b5;
  --vx-primary-ink: #04120d;
  --vx-text: #e6edf5;
  --vx-muted: #93a4b8;
  --vx-ink: #0b1624;
  --vx-ink-muted: #526175;
  --vx-light: #f5f8fb;
  --vx-light-border: #e3e9f0;
  --vx-radius: 20px;
  --vx-radius-sm: 14px;
  --vx-font: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --vx-gradient: linear-gradient(100deg, #34f5c5 0%, #10b981 55%, #7dd3fc 100%);
}

body.vx-page {
  background: var(--vx-light);
}

/* ---------- Typography ---------- */
.vx-hero__body,
.vx-stats,
.vx {
  font-family: var(--vx-font);
}

.vx-display {
  font-family: var(--vx-font);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}
.vx-display .vx-gradient-text {
  display: block;
  margin-top: 0.6rem;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.vx-h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--vx-ink);
  margin-bottom: 1rem;
}
.vx-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.vx-h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.vx-h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--vx-ink);
}

.vx-lead {
  font-size: 1.06rem;
  line-height: 1.75;
  color: #b8c6d6;
  max-width: 560px;
}
.vx-lead b {
  color: #fff;
}
.vx-muted {
  color: var(--vx-muted);
}

.vx-gradient-text {
  background: var(--vx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vx-link {
  color: var(--vx-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vx-link:hover {
  color: #fff;
}

.vx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 211, 181, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: var(--vx-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vx-eyebrow--dark {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}
.vx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vx-accent);
  box-shadow: 0 0 0 4px rgba(20, 211, 181, 0.2);
  animation: vx-pulse 2s infinite;
}
@keyframes vx-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(20, 211, 181, 0);
  }
}

/* ---------- Buttons ---------- */
.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--vx-font);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.vx-btn:hover {
  transform: translateY(-2px);
}
.vx-btn--primary {
  background: var(--vx-gradient);
  color: var(--vx-primary-ink);
  box-shadow: 0 10px 30px -8px rgba(16, 185, 129, 0.6);
}
.vx-btn--primary:hover {
  color: var(--vx-primary-ink);
  box-shadow: 0 14px 36px -8px rgba(16, 185, 129, 0.75);
}
.vx-btn--dark {
  background: var(--vx-ink);
  color: #fff;
}
.vx-btn--dark:hover {
  color: #fff;
  background: #13243a;
}

/* ---------- Hero ---------- */
.vx-hero {
  background: radial-gradient(1200px 600px at 85% 10%, rgba(16, 185, 129, 0.22), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(56, 189, 248, 0.1), transparent 60%), var(--vx-bg);
  padding-bottom: 72px;
  isolation: isolate;
}
.vx-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.vx-hero__glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: 6%;
  top: 22%;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.35);
  filter: blur(140px);
}
.vx-hero__body {
  padding: 72px 0 56px;
}
.vx-hero__media {
  position: relative;
}
.vx-hero__media > img {
  border-radius: 24px;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}

.vx-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(8, 18, 31, 0.72);
  border: 1px solid var(--vx-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  animation: vx-float 6s ease-in-out infinite;
}
.vx-float strong {
  display: block;
  font-size: 0.92rem;
}
.vx-float small {
  color: var(--vx-muted);
  font-size: 0.78rem;
}
.vx-float--a {
  left: -4%;
  bottom: 12%;
}
.vx-float--b {
  right: -2%;
  top: 6%;
  animation-delay: -3s;
}
.vx-float__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(20, 211, 181, 0.15);
  color: var(--vx-accent);
}
.vx-float__icon--up {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
}
@keyframes vx-float {
  50% {
    transform: translateY(-10px);
  }
}

.vx-compliance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.vx-compliance__label {
  color: var(--vx-muted);
  font-size: 0.85rem;
  margin-right: 0.35rem;
}
.vx-chip {
  padding: 0.35rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--vx-border);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe5ef;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Stats strip ---------- */
.vx-stats {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.vx-stats > * {
  padding: 1.6rem 1.75rem;
}
.vx-stats > * + * {
  border-left: 1px solid var(--vx-border);
}
.vx-stats__intro {
  display: flex;
  align-items: center;
  color: var(--vx-muted);
  font-weight: 600;
}
.vx-stat strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.4rem;
}
.vx-stat span {
  color: var(--vx-muted);
  font-size: 0.9rem;
}

/* ---------- Sections ---------- */
.vx-section {
  padding: 104px 0;
  position: relative;
}
.vx-section--light {
  background: var(--vx-light);
  color: var(--vx-ink-muted);
}
.vx-section--soft {
  background: #fff;
  color: var(--vx-ink-muted);
}
.vx-section--dark {
  background: radial-gradient(900px 500px at 50% 0%, rgba(16, 185, 129, 0.14), transparent 70%), var(--vx-bg-2);
  color: var(--vx-muted);
}
.vx-section--light + .vx-section--light.pt-0 {
  padding-top: 0;
}
.vx-heading {
  max-width: 780px;
  margin-bottom: 3.5rem;
}
.vx-heading .vx-eyebrow {
  margin-bottom: 1rem;
}
.vx-heading p {
  font-size: 1.04rem;
  line-height: 1.75;
}

.vx-showcase {
  position: relative;
  border-radius: 28px;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: radial-gradient(800px 300px at 50% 0%, rgba(16, 185, 129, 0.25), transparent 70%), var(--vx-bg);
  box-shadow: 0 40px 80px -30px rgba(5, 11, 20, 0.45);
}

/* ---------- Cards ---------- */
.vx-card {
  border-radius: var(--vx-radius);
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.vx-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}
.vx-card:hover {
  transform: translateY(-4px);
}
.vx-card--light {
  background: #fff;
  border: 1px solid var(--vx-light-border);
  color: var(--vx-ink-muted);
}
.vx-card--light h3 {
  color: var(--vx-ink);
}
.vx-card--light:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 24px 48px -24px rgba(11, 22, 36, 0.25);
}
.vx-card--glass {
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
  color: var(--vx-muted);
}
.vx-card--glass h3 {
  color: #fff;
}
.vx-card--glass:hover {
  background: var(--vx-surface-hover);
  border-color: rgba(20, 211, 181, 0.4);
}

.vx-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(52, 245, 197, 0.18), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(20, 211, 181, 0.3);
  color: var(--vx-primary);
  font-size: 1.05rem;
}
.vx-section--dark .vx-icon,
.vx-why .vx-icon {
  color: var(--vx-accent);
}
.vx-icon--lg {
  width: 56px;
  height: 56px;
  font-size: 1.3rem;
  border-radius: 16px;
}
.vx-icon--sm {
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
  border-radius: 12px;
  margin-bottom: 0;
}

.vx-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.vx-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #dbe5ef;
  font-weight: 500;
}
.vx-checklist i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(20, 211, 181, 0.15);
  color: var(--vx-accent);
  font-size: 0.7rem;
  flex-shrink: 0;
}
.vx-checklist--dark li {
  color: var(--vx-ink);
}
.vx-checklist--dark i {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

/* ---------- Multi-tenant diagram ---------- */
.vx-tenancy {
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid var(--vx-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.vx-tenancy__core {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 440px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(20, 211, 181, 0.45);
  box-shadow: 0 0 40px -10px rgba(16, 185, 129, 0.55);
  color: #fff;
}
.vx-tenancy__core small {
  display: block;
  color: var(--vx-muted);
  font-size: 0.8rem;
}
.vx-tenancy__logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--vx-gradient);
  color: var(--vx-primary-ink);
  font-weight: 800;
  font-size: 1.3rem;
}
.vx-tenancy__lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 44px;
}
.vx-tenancy__lines span {
  justify-self: center;
  width: 2px;
  background: linear-gradient(180deg, rgba(20, 211, 181, 0.8), rgba(20, 211, 181, 0.1));
  background-size: 100% 200%;
  animation: vx-flow 2.4s linear infinite;
}
@keyframes vx-flow {
  to {
    background-position: 0 -200%;
  }
}
.vx-tenancy__tenants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.vx-tenant {
  padding: 1rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--vx-border);
  text-align: center;
  color: #fff;
}
.vx-tenant strong {
  display: block;
  font-size: 0.92rem;
}
.vx-tenant small {
  color: var(--vx-muted);
  font-size: 0.76rem;
}
.vx-tenant__badge {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
  color: var(--c);
  font-weight: 800;
}

/* ---------- Why Velexa ---------- */
.vx-why {
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: 32px;
  background: radial-gradient(700px 400px at 100% 0%, rgba(16, 185, 129, 0.2), transparent 70%), var(--vx-bg);
  color: var(--vx-muted);
}
.vx-why__list {
  display: grid;
  gap: 0.75rem;
}
.vx-why__item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--vx-radius-sm);
  border: 1px solid var(--vx-border);
  background: var(--vx-surface);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.vx-why__item:hover {
  background: var(--vx-surface-hover);
  border-color: rgba(20, 211, 181, 0.4);
}
.vx-why__item .vx-icon {
  margin-bottom: 0;
}
.vx-why__item h3 {
  color: #fff;
}
.vx-why__item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ---------- Features (bento) ---------- */
.vx-terminal {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.vx-terminal img {
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.6));
}
.vx-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.vx-bento__wide {
  grid-column: span 2;
}

/* ---------- Reporting ---------- */
.vx-report-list {
  display: grid;
  gap: 1.1rem;
}
.vx-report {
  display: flex;
  gap: 1rem;
}
.vx-report p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- CTA ---------- */
.vx-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 28px;
  border: 1px solid rgba(20, 211, 181, 0.35);
  background: radial-gradient(600px 300px at 0% 0%, rgba(52, 245, 197, 0.22), transparent 70%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(56, 189, 248, 0.08));
}

/* ---------- FAQ ---------- */
.vx-accordion .accordion-item {
  margin-bottom: 0.75rem;
  border: 1px solid var(--vx-light-border) !important;
  border-radius: var(--vx-radius-sm) !important;
  background: var(--vx-light);
  overflow: hidden;
}
.vx-accordion .accordion-button {
  padding: 1.15rem 4.75rem 1.15rem 1.4rem;
  font-family: var(--vx-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--vx-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: var(--vx-radius-sm) !important;
}
.vx-accordion .accordion-button:not(.collapsed) {
  color: #047857 !important;
}
.vx-accordion .accordion-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--vx-ink-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.vx-accordion .accordion-body p:last-child,
.vx-accordion .accordion-body ul:last-child {
  margin-bottom: 0;
}
.vx-accordion .accordion-body a {
  color: #047857;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .vx-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991px) {
  .vx-hero__body {
    padding: 40px 0 32px;
  }
  .vx-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .vx-stats__intro {
    grid-column: 1 / -1;
    padding-bottom: 0 !important;
  }
  .vx-stats > .vx-stat:nth-child(2) {
    border-left: 0;
  }
  .vx-section {
    padding: 80px 0;
  }
  .vx-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .vx-float--a {
    left: 0;
  }
  .vx-float--b {
    right: 0;
  }
}
@media (max-width: 575px) {
  .vx-stats {
    grid-template-columns: 1fr;
  }
  .vx-stats > * + * {
    border-left: 0;
    border-top: 1px solid var(--vx-border);
  }
  .vx-stats__intro {
    padding-bottom: 1.6rem !important;
  }
  .vx-bento {
    grid-template-columns: 1fr;
  }
  .vx-bento__wide {
    grid-column: auto;
  }
  .vx-tenancy {
    padding: 1.1rem;
  }
  .vx-tenancy__tenants {
    gap: 0.5rem;
  }
  .vx-tenant small {
    display: none;
  }
  .vx-float {
    display: none;
  }
  .vx-section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vx-float,
  .vx-dot,
  .vx-tenancy__lines span {
    animation: none;
  }
}
