/* ============ VOLX landing page ============ */

/* living aurora behind the whole page */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 620px; height: 620px; background: #5b3dff; top: -220px; inset-inline-start: -120px; }
.aurora i:nth-child(2) { width: 520px; height: 520px; background: #0ea5c6; top: 120px; inset-inline-end: -180px; opacity: .35; animation-duration: 28s; }
.aurora i:nth-child(3) { width: 460px; height: 460px; background: #8b3dff; bottom: -240px; left: 35%; opacity: .3; animation-duration: 32s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.12); }
  100% { transform: translate(-60px, 30px) scale(.95); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.landing { background: #05050a; overflow-x: hidden; }

/* floating glass nav */
.nav.float { background: transparent; border: 0; backdrop-filter: none; padding-top: 14px; }
.nav.float .nav-inner {
  height: 62px; padding: 0 10px 0 16px; padding-inline-start: 16px; border-radius: 18px;
  background: rgba(14, 13, 26, .62); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .6);
}

/* hero */
.hero2 { text-align: center; padding: 70px 0 40px; position: relative; }
.emblem { position: relative; width: 230px; height: 230px; margin: 0 auto 30px; display: grid; place-items: center; }
.emblem img { width: 150px; height: 150px; position: relative; z-index: 2; filter: drop-shadow(0 20px 50px rgba(124, 92, 255, .7)); animation: hover 6s ease-in-out infinite; }
.emblem .halo {
  position: absolute; inset: 22px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 20%, rgba(124, 92, 255, .9), rgba(46, 230, 255, .9), transparent 80%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 7s linear infinite;
}
.emblem .orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .12); animation: spin 26s linear infinite reverse; }
.emblem .orbit::before, .emblem .orbit::after {
  content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #2ee6ff; box-shadow: 0 0 14px #2ee6ff;
  top: 50%; left: -5px;
}
.emblem .orbit::after { background: #a78bfa; box-shadow: 0 0 14px #a78bfa; left: auto; right: -5px; top: 30%; }
.emblem .glow { position: absolute; inset: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .55), transparent 70%); filter: blur(20px); }
@keyframes hover { 50% { transform: translateY(-10px); } }

.hero2 .kicker { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.hero2 .kicker b { color: var(--cyan); }
.hero2 h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(56px, 10vw, 124px); line-height: .9; letter-spacing: -3px;
  margin: 22px 0 6px; direction: ltr;
  background: linear-gradient(180deg, #ffffff 30%, #a99bff 75%, #5b3dff 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero2 h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hero2 h2 { font-size: clamp(20px, 3vw, 28px); margin: 14px 0 12px; font-weight: 700; }
.hero2 p.lead { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 32px; }
.hero2 .hero-cta { justify-content: center; }

.trust {
  margin: 54px auto 0; max-width: 860px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 20px; background: rgba(14, 13, 26, .55); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(14px);
}
.trust div { padding: 20px 10px; position: relative; }
.trust div + div::before { content: ''; position: absolute; inset-block: 22%; inset-inline-start: 0; width: 1px; background: rgba(255,255,255,.08); }
.trust b { display: block; font-family: var(--display); font-size: 30px; line-height: 1.2; }
.trust span { color: var(--dim); font-size: 13px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  position: relative; padding: 32px 28px; border-radius: 22px; background: rgba(17, 17, 28, .7); border: 1px solid var(--border);
  overflow: hidden; isolation: isolate;
}
.pillar::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(160deg, var(--c, #7c5cff), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.pillar .num { font-family: var(--display); font-size: 13px; color: var(--c); font-weight: 700; letter-spacing: 2px; }
.pillar .pi {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin: 18px 0;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  box-shadow: 0 10px 40px -10px var(--c);
}
.pillar .pi svg { width: 28px; height: 28px; }
.pillar h4 { font-size: 24px; margin: 0 0 8px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
.pillar ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14px; color: #cfcfe0; }
.pillar li::before { content: '✦'; color: var(--c); margin-inline-end: 8px; }

/* marquee */
.marquee { overflow: hidden; padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .chip2 {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; white-space: nowrap;
  background: rgba(17, 17, 28, .8); border: 1px solid var(--border); font-weight: 600; font-size: 14px; direction: rtl;
}
.marquee .chip2 svg { width: 16px; height: 16px; color: var(--accent-hi); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.tile {
  position: relative; border-radius: 22px; padding: 26px; background: rgba(17, 17, 28, .78); border: 1px solid var(--border);
  overflow: hidden; isolation: isolate; transition: transform .3s, border-color .3s;
}
.tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(124, 92, 255, .16), transparent 60%);
}
.tile:hover { border-color: rgba(124, 92, 255, .45); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile .ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(124, 92, 255, .12); color: var(--accent-hi); border: 1px solid rgba(124, 92, 255, .28);
}
.tile .ic svg { width: 22px; height: 22px; }
.tile h4 { margin: 0 0 6px; font-size: 18px; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }
.tile .new { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 11px; font-weight: 700; color: var(--cyan); background: rgba(34, 211, 238, .1); padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(34, 211, 238, .25); }
.tile .mock { margin-top: 20px; box-shadow: none; background: #141424; }

/* timeline steps */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.flow::before {
  content: ''; position: absolute; top: 34px; inset-inline: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 255, .6), rgba(46, 230, 255, .6), transparent);
}
.flow-step { text-align: center; position: relative; }
.flow-step .n {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center;
  font-family: var(--display); font-size: 26px; font-weight: 700; background: #0e0d1a; border: 1px solid var(--border-2);
  box-shadow: 0 0 0 6px #05050a, 0 10px 30px -10px rgba(124, 92, 255, .7); position: relative;
}
.flow-step .n span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow-step h4 { margin: 0 0 6px; font-size: 18px; }
.flow-step p { margin: 0 auto; color: var(--muted); font-size: 14px; max-width: 280px; }

.cta2 { text-align: center; position: relative; padding: 70px 24px; border-radius: 30px; overflow: hidden; border: 1px solid rgba(124, 92, 255, .3);
  background: radial-gradient(700px 320px at 50% 0%, rgba(124, 92, 255, .35), transparent 70%), rgba(14, 13, 26, .85); }
.cta2 img { width: 84px; height: 84px; margin: 0 auto 20px; filter: drop-shadow(0 14px 40px rgba(124, 92, 255, .7)); }
.cta2 h3 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; }
.cta2 p { color: var(--muted); margin: 0 0 28px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pillars, .flow { grid-template-columns: 1fr; }
  .flow::before { display: none; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .tile.tall { grid-row: auto; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust div:nth-child(3)::before { display: none; }
  .emblem { width: 190px; height: 190px; }
  .emblem img { width: 124px; height: 124px; }
  .hero2 { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .emblem *, .marquee-track { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* short wide tiles read better side by side */
.tile.wide:not(.tall) { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-content: center; }
.tile.wide:not(.tall) .ic { grid-row: span 2; margin: 0; width: 64px; height: 64px; border-radius: 18px; }
.tile.wide:not(.tall) .ic svg { width: 28px; height: 28px; }
.tile.wide:not(.tall) h4 { align-self: end; font-size: 20px; }
.tile.wide:not(.tall) p { align-self: start; }
