/* AURUM OTC — v5 visual layer (brand imagery: globe skyline, devices, particle waves, metallic logo) */

/* ---------------------------------------------------------------- nav */
.nav .logo-full { height: 34px; }
@media (max-width: 600px) { .nav .logo-full { height: 26px; } }

/* ---------------------------------------------------------------- hero */
.hero-v5 { min-height: min(860px, 100vh); }
.hero-v5 .hero-bg { background: #050507; }
.hero-v5 .hero-photo { position: absolute; inset: 0; background: url('/assets/img/globe-city.webp') right center / cover no-repeat; opacity: .95; }
.hero-v5 .hero-photo::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, #050507 0%, rgba(5,5,7,.94) 34%, rgba(5,5,7,.55) 56%, rgba(5,5,7,.05) 78%),
  linear-gradient(0deg, #050507 0%, rgba(5,5,7,0) 30%), linear-gradient(180deg, rgba(5,5,7,.65) 0%, rgba(5,5,7,0) 22%); }
[dir=rtl] .hero-v5 .hero-photo { transform: scaleX(-1); }
.hero-v5 .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.hero-v5 .eyebrow { margin-bottom: 18px; }
.h5-title { font-size: clamp(36px, 4.2vw, 62px) !important; line-height: 1.04 !important; }
.hero-v5 .hero-lead { max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-badges > div { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); line-height: 1.35; }
.hb-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(233,196,126,.45); color: var(--gold); background: radial-gradient(circle, rgba(233,196,126,.12), transparent 70%); }
.hb-ic svg { width: 19px; height: 19px; }
.play-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #120d04; margin-inline-start: 6px; }
.play-ic svg { width: 12px; height: 12px; }
@media (max-width: 1000px) {
  .hero-v5 .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-v5 .hero-inner > div { min-width: 0; }
  .hero-v5 .hero-photo { background-position: 70% center; opacity: .55; }
  .hero-v5 .hero-photo::after { background: linear-gradient(180deg, rgba(5,5,7,.55), #050507 92%); }
  .hero-visual { display: none; }
}

/* ---------------------------------------------------------------- market ticker */
.market-ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10,10,14,.9); }
.market-ticker .tk { gap: 9px; }
.market-ticker .tk b { font-family: var(--mono); font-weight: 600; }
.market-ticker .tk span.up, .market-ticker .tk span.down { font-family: var(--mono); font-size: 12px; }

/* ---------------------------------------------------------------- split section with devices */
.v5-split { padding: 90px 0 40px; position: relative; overflow: hidden; }
.v5-split::before { content: ''; position: absolute; inset: 0; background: url('/assets/img/particle-waves.webp') center 70% / cover no-repeat; opacity: .28; pointer-events: none; }
.v5-split-in { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.v5-h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; margin: 16px 0 18px; }
.v5-h2 em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v5-lead { color: var(--text-2); font-size: 16px; line-height: 1.7; margin: 0 0 22px; max-width: 560px; }
.v5-checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.v5-checks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.v5-checks li > span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: #120d04; flex: none; }
.v5-checks li svg { width: 14px; height: 14px; }
/* devices artwork as the section background: anchored right, fading out of black on the left (no visible edge) */
.v5-split { min-height: max(640px, 40vw); display: flex; align-items: center; padding: 110px 0 90px; }
.v5-split::before { opacity: .14; }
.v5-split-in { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.v5-split-photo { position: absolute; top: 50%; right: -1%; width: 82%; aspect-ratio: 1983 / 793; transform: translateY(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 34%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 34%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); mask-composite: intersect; }
.v5-split-img { position: absolute; inset: 0; background: url('/assets/img/dashboard-devices.webp') center / cover no-repeat;
  transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -12px + var(--sp, 0) * 30px), 0) scale(1.03); transition: transform .2s linear; }
.v5-split-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,236,190,.22) 50%, transparent 60%); background-size: 300% 100%; background-position: 120% 0; mix-blend-mode: screen; }
.v5-split::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #050507 0%, rgba(5,5,7,.92) 26%, rgba(5,5,7,.35) 46%, transparent 62%); }
[dir=rtl] .v5-split-photo { right: auto; left: -1%; -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 34%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); mask-image: linear-gradient(270deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 34%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); }
[dir=rtl] .v5-split::after { background: linear-gradient(270deg, #050507 0%, rgba(5,5,7,.92) 26%, rgba(5,5,7,.35) 46%, transparent 62%); }
.v5-split-in, .v5-split > .wrap { position: relative; z-index: 2; }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
@media (max-width: 1000px) {
  .v5-split { display: block; min-height: 0; padding: 70px 0 0; }
  .v5-split-in { grid-template-columns: minmax(0, 1fr); }
  .v5-split::after { background: linear-gradient(180deg, #050507 0%, rgba(5,5,7,.6) 40%, transparent 60%); }
  .v5-split-photo, [dir=rtl] .v5-split-photo { position: relative; top: auto; left: auto; right: auto; width: 150%; margin: -10px 0 0 -10%; transform: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 82%, transparent 100%); }
  [dir=rtl] .v5-split-photo { margin: -10px -10% 0 0; }
}
@media (max-width: 1000px) { .v5-split-photo { width: 120%; margin-inline-start: -14%; } }

/* ---------------------------------------------------------------- facts strip */
.v5-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 30px; }
.v5-facts > div { padding: 30px 16px; text-align: center; }
.v5-facts > div + div { border-inline-start: 1px solid var(--line); }
.v5-facts b { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.03em; }
.v5-facts span { color: var(--text-2); font-size: 14px; }
@media (max-width: 760px) { .v5-facts { grid-template-columns: 1fr 1fr; } .v5-facts > div:nth-child(3) { border-inline-start: 0; } .v5-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------------------------------------------------------------- feature cards */
.v5-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px 0 70px !important; }
.v5-feat { display: flex; gap: 14px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); transition: border-color .3s, transform .3s; }
.v5-feat:hover { border-color: rgba(233,196,126,.35); transform: translateY(-3px); }
.vf-ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(251,227,174,.18), rgba(184,137,59,.12)); color: var(--gold); border: 1px solid rgba(233,196,126,.3); }
.vf-ic svg { width: 22px; height: 22px; }
.v5-feat h4 { margin: 2px 0 6px; font-size: 15.5px; font-weight: 600; }
.v5-feat p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
@media (max-width: 1100px) { .v5-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .v5-features { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- about band */
.v5-about { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v5-about-img { position: relative; overflow: hidden; display: grid; place-items: center; background: url('/assets/img/particle-waves.webp') center 60% / cover no-repeat; }
.v5-about-img::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(233,196,126,.18), transparent 70%), linear-gradient(90deg, rgba(5,5,7,.2), rgba(5,5,7,.85)); }
.v5-about-img img { position: relative; width: min(46%, 300px); height: auto; filter: drop-shadow(0 30px 60px rgba(233,196,126,.25)); animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-12px); } }
.v5-about-txt { padding: 70px clamp(24px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(80% 80% at 100% 0%, rgba(233,196,126,.07), transparent 60%); }
@media (max-width: 900px) { .v5-about { grid-template-columns: minmax(0, 1fr); } .v5-about-img { min-height: 260px; } }

/* ---------------------------------------------------------------- 3 steps */
.v5-steps { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 26px; align-items: start; padding: 70px 0 30px !important; }
.v5-step { position: relative; padding-top: 6px; }
.v5-step:not(:last-child)::after { content: ''; position: absolute; top: 30px; inset-inline-end: -22px; width: 30px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.vs-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(233,196,126,.45); color: var(--gold); background: radial-gradient(circle, rgba(233,196,126,.14), transparent 70%); }
.vs-ic svg { width: 24px; height: 24px; }
.vs-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-gold); color: #120d04; font-weight: 700; font-size: 13px; margin: 14px 0 6px; }
.v5-step h4 { margin: 0 0 6px; font-size: 16px; }
.v5-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 1000px) { .v5-steps { grid-template-columns: 1fr 1fr 1fr; } .v5-steps > div:first-child { grid-column: 1 / -1; } .v5-step::after { display: none; } }
@media (max-width: 600px) { .v5-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- subpage heroes use the particle waves */
.page-hero .bg { background: url('/assets/img/particle-waves.webp') center 75% / cover no-repeat; }
.page-hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,7,.55), rgba(5,5,7,.35) 40%, #050507 96%); }
@media (max-width: 600px) { .h5-title { font-size: 8.4vw !important; } .hero-badges { gap: 16px; } }

/* ---------------------------------------------------------------- header fit (desktop → phone) */
.nav { gap: 14px; }
.nav > a:first-child { flex: none; display: flex; align-items: center; }
.nav-links { flex: 1 1 auto; justify-content: center; min-width: 0; }
@media (max-width: 1280px) { .nav-links a { padding: 8px 9px; font-size: 13px; } }
@media (max-width: 1120px) { #navLogin { display: none; } }
@media (max-width: 600px) {
  .nav { padding-inline: 12px !important; gap: 8px; }
  .nav .logo-full { height: 22px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-sm { padding: 0 12px; height: 38px; font-size: 13px; }
  .nav-cta .btn-sm .arrow { display: none; }
  .nav-burger { width: 38px; height: 38px; }
  .nav .lang-switch button { padding: 0 9px; height: 38px; }
}
@media (max-width: 380px) { .nav .logo-full { height: 18px; } .nav-cta .btn-sm { padding: 0 10px; font-size: 12px; } }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .grad-text, .v5-h2 em, .v5-facts b { background-size: 220% 100%; animation: goldSheen 6s ease-in-out infinite; }
  @keyframes goldSheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
  .hero-v5 .hero-photo { animation: kenBurns 26s ease-in-out infinite alternate; transform-origin: 70% 50%; }
  @keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -1%); } }
  [dir=rtl] .hero-v5 .hero-photo { animation-name: kenBurnsRtl; }
  @keyframes kenBurnsRtl { from { transform: scaleX(-1) scale(1); } to { transform: scaleX(-1) scale(1.07); } }
  .hero-v5 .hero-bg::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image: radial-gradient(2px 2px at 20% 30%, #fbe3ae, transparent), radial-gradient(1.5px 1.5px at 70% 60%, #e9c47e, transparent), radial-gradient(1.5px 1.5px at 40% 80%, #fbe3ae, transparent), radial-gradient(2px 2px at 85% 20%, #e9c47e, transparent), radial-gradient(1px 1px at 55% 40%, #fff3d6, transparent);
    background-size: 600px 600px; animation: dust 40s linear infinite; }
  @keyframes dust { to { background-position: 600px -600px; } }
  .btn-gold { position: relative; overflow: hidden; }
  .btn-gold::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); transition: left .7s cubic-bezier(.22,1,.36,1); }
  .btn-gold:hover::after { left: 120%; }
  .v5-split-img { animation: devZoom 22s ease-in-out infinite alternate; }
  @keyframes devZoom { from { background-size: 100% auto; } to { background-size: 106% auto; } }
  .v5-split-sweep { animation: sweep 7s ease-in-out 1s infinite; }
  @keyframes sweep { 0% { background-position: 120% 0; } 55%, 100% { background-position: -20% 0; } }
  /* hero: pointer parallax, stronger drift, light sweep, glow breathing */
  .hero-v5 .hero-bg { transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -14px), 0) scale(1.04); transition: transform .25s linear; }
  .hero-v5 .hero-inner { transform: translate3d(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 6px), 0); }
  .hero-v5 .hero-photo { animation-duration: 18s; }
  .hero-v5 .hero-vignette { animation: none; }
  .hero-v5 .hero-vignette::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 42%, rgba(255,232,180,.13) 50%, transparent 58%); background-size: 320% 100%; mix-blend-mode: screen; animation: sweep 9s ease-in-out 2s infinite; }
  .hero-v5 .eyebrow, .hero-v5 .hero-lead, .hero-v5 .hero-cta, .hero-v5 .hero-badges > div, .hero-v5 .live-pill { opacity: 0; animation: heroUp 1s cubic-bezier(.22,1,.36,1) forwards; }
  .hero-v5 .eyebrow { animation-delay: .05s; } .hero-v5 .hero-lead { animation-delay: .45s; } .hero-v5 .hero-cta { animation-delay: .6s; }
  .hero-v5 .hero-badges > div:nth-child(1) { animation-delay: .75s; } .hero-v5 .hero-badges > div:nth-child(2) { animation-delay: .85s; } .hero-v5 .hero-badges > div:nth-child(3) { animation-delay: .95s; } .hero-v5 .live-pill { animation-delay: 1.1s; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
  .page-hero .bg { background-size: 112% auto; animation: pageDrift 24s ease-in-out infinite alternate; transform: translate3d(calc(var(--mx, 0) * -16px), calc(var(--my, 0) * -10px + var(--sp, 0) * -40px), 0); }
  @keyframes pageDrift { from { background-position: 40% 75%; } to { background-position: 60% 70%; } }
  .v5-about-img { background-size: 115% auto; animation: pageDrift 26s ease-in-out infinite alternate; }
  .fx-tilt { transition: transform .35s cubic-bezier(.22,1,.36,1); transform-style: preserve-3d; will-change: transform; }
  .fx-tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(251,227,174,.12), transparent 60%); opacity: 0; transition: opacity .3s; }
  .fx-tilt:hover::after { opacity: 1; }
  .hb-ic, .vs-ic { animation: ringPulse 3.2s ease-in-out infinite; }
  .hero-badges > div:nth-child(2) .hb-ic, .v5-step:nth-child(3) .vs-ic { animation-delay: .8s; }
  .hero-badges > div:nth-child(3) .hb-ic, .v5-step:nth-child(4) .vs-ic { animation-delay: 1.6s; }
  @keyframes ringPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(233,196,126,0); } 50% { box-shadow: 0 0 0 7px rgba(233,196,126,.08), 0 0 22px rgba(233,196,126,.25); } }
  .v5-feat { position: relative; overflow: hidden; }
  .v5-feat::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(233,196,126,.8) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; animation: spinAng 4s linear infinite; }
  .v5-feat:hover::before { opacity: 1; }
  @property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
  @keyframes spinAng { to { --ang: 360deg; } }
  .vs-n { animation: none; }
  .v5-step:hover .vs-ic { transform: translateY(-4px) rotate(-4deg); transition: transform .35s; }
}
.fx-tilt { position: relative; }
.page-hero .bg { inset: -60px -30px; }
.hero-v5 .hero-bg > .fx-canvas, .page-hero .bg > .fx-canvas { z-index: 1; }

/* ---------------------------------------------------------------- past-performance note + why net */
.pp-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 auto 22px; max-width: 860px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(233,196,126,.3); background: rgba(233,196,126,.06); font-size: 13px; color: var(--text-2); line-height: 1.55; }
.pp-note b { color: var(--gold); }
.pp-note > i { flex: none; color: var(--gold); width: 18px; height: 18px; margin-top: 1px; } .pp-note > i svg { width: 18px; height: 18px; }
.net-why { margin-top: 34px; padding: 30px; border-radius: 26px; border: 1px solid rgba(233,196,126,.22); background: radial-gradient(90% 120% at 0% 0%, rgba(233,196,126,.09), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.net-why.in-app { margin-top: 0; }
.nw-head h3 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; font-weight: 600; margin: 12px 0 8px; }
.nw-head h3 em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nw-head p { margin: 0; color: var(--text-2); font-size: 14.5px; max-width: 720px; }
.nw-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.nw-step { position: relative; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 6px; }
.nw-step b { font-size: 15px; } .nw-step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }
.nw-step em { font-style: normal; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.nw-step.on { border-color: rgba(233,196,126,.5); background: linear-gradient(180deg, rgba(233,196,126,.12), rgba(233,196,126,.03)); }
.nw-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: #120d04; font-weight: 700; font-size: 13px; }
.nw-step:not(:last-child)::after { content: ''; position: absolute; top: 31px; inset-inline-end: -12px; width: 10px; height: 2px; background: var(--gold); opacity: .6; }
@media (max-width: 900px) { .nw-flow { grid-template-columns: 1fr 1fr; } .nw-step::after { display: none; } .net-why { padding: 20px; } }
@media (max-width: 520px) { .nw-flow { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) {
  .v5-split { display: flex; flex-direction: column; padding: 70px 0 10px; }
  .v5-split::after { display: none; }
  .v5-split-photo, [dir=rtl] .v5-split-photo { order: 2; width: 130%; margin: -6px 0 0 -15%; }
  [dir=rtl] .v5-split-photo { margin: -6px -15% 0 0; }
}
