/* Virellixa — dark navy · neon blue + purple/magenta · signal-wave fintech */

:root {
  --bg-void: #050810;
  --bg-deep: #080C14;
  --bg-mid: #0C1220;
  --bg-surface: #111827;
  --bg-elevated: #161E2E;
  --blue: #00B4FF;
  --cyan: #22D3FF;
  --purple: #A855F7;
  --magenta: #E040FB;
  --blue-soft: rgba(0, 180, 255, 0.14);
  --purple-soft: rgba(168, 85, 247, 0.16);
  --grad-wave: linear-gradient(90deg, var(--blue) 0%, var(--purple) 55%, var(--magenta) 100%);
  --grad-text: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 40%, var(--purple) 100%);
  --white: #FFFFFF;
  --ink: #E4EAF4;
  --muted: #8892A8;
  --border: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 180, 255, 0.32);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1080px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--white); }
img { display: block; max-width: 100%; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5, 8, 16, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}
.brand:hover { color: var(--white); text-decoration: none; }
.brand-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.35));
}
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.brand-x {
  color: var(--blue);
  text-shadow: 0 0 12px rgba(0, 180, 255, 0.5);
}
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; font-weight: 500; }
.site-nav a:hover { color: var(--white); text-decoration: none; }
.nav-cta {
  background: var(--grad-wave) !important;
  color: var(--white) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { box-shadow: 0 4px 20px var(--purple-soft); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; }

/* ── Cinematic hero ── */
.hero-cinema {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg-void);
}
.hero-banner {
  position: absolute;
  inset: 0;
  background: url("hero-banner.png") center 35% / cover no-repeat;
  opacity: 0.72;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 55%, rgba(168, 85, 247, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 35% at 15% 80%, rgba(0, 180, 255, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(5, 8, 16, 0.15) 0%, rgba(5, 8, 16, 0.55) 45%, var(--bg-void) 92%);
}
.hero-radar {
  position: absolute;
  left: -2rem;
  bottom: 18%;
  width: 220px;
  height: 220px;
  opacity: 0.45;
  pointer-events: none;
}
.hero-cinema-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 0 2.5rem;
  text-align: center;
  max-width: 720px;
}
.hero-geo {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto 1.75rem;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.15s, filter 0.15s, border-color 0.15s;
}
.btn-glow {
  background: var(--grad-wave);
  color: var(--white);
}
.btn-glow:hover {
  color: var(--white);
  filter: brightness(1.08);
  box-shadow: 0 8px 28px var(--purple-soft);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid var(--border-glow);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--white); }

.hero-ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: rgba(5, 8, 16, 0.85);
  overflow: hidden;
  padding: 0.65rem 0;
}
.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--grad-wave);
  flex-shrink: 0;
  align-self: center;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Contact band (early — unique order) ── */
.contact-band {
  padding: 2.5rem 0;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
}
.contact-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.band-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.35rem;
}
.contact-band-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--white);
  font-weight: 600;
}
.contact-email {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  background: rgba(0, 180, 255, 0.06);
  color: var(--cyan) !important;
  transition: box-shadow 0.15s, background 0.15s;
}
.contact-email:hover {
  background: var(--blue-soft);
  box-shadow: 0 4px 20px rgba(0, 180, 255, 0.15);
  color: var(--white) !important;
  text-decoration: none;
}

/* ── Pipeline flow ── */
.section-pipeline {
  padding: 4.5rem 0;
  background: var(--bg-void);
}
.section-intro { margin-bottom: 2.5rem; }
.section-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
}
.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pipeline-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.pipeline-flow::before {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--grad-wave);
  opacity: 0.35;
  z-index: 0;
}
.pipeline-step {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--bg-elevated);
  border: 2px solid var(--blue);
  box-shadow: 0 0 16px rgba(0, 180, 255, 0.2);
  margin-bottom: 1rem;
}
.pipeline-step h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.pipeline-step p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 260px;
  margin: 0 auto;
}

/* ── Terminal / candlestick ── */
.section-terminal {
  padding: 0 0 4.5rem;
  background: var(--bg-void);
}
.terminal-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 60px var(--blue-soft);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}
.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-wave);
  box-shadow: 0 0 8px rgba(0, 180, 255, 0.4);
  flex-shrink: 0;
}
.terminal-title { flex: 1; }
.terminal-status {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(34, 211, 255, 0.3);
  border-radius: 4px;
}
.terminal-body { padding: 1.25rem; }
.chart-area {
  position: relative;
  height: 140px;
  margin-bottom: 1rem;
  border-radius: 6px;
  background: rgba(5, 8, 16, 0.6);
  overflow: hidden;
}
.candlestick-chart { width: 100%; height: 100%; }
.stardust span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--blue);
  animation: twinkle 3s ease-in-out infinite;
}
.stardust span:nth-child(2) { animation-delay: 0.5s; background: var(--purple); }
.stardust span:nth-child(3) { animation-delay: 1s; }
.stardust span:nth-child(4) { animation-delay: 1.5s; background: var(--magenta); }
.stardust span:nth-child(5) { animation-delay: 2s; }
.stardust span:nth-child(6) { animation-delay: 2.5s; background: var(--purple); }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.terminal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.terminal-stats div {
  text-align: center;
  padding: 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}
.terminal-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.terminal-stats span {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Bento grid ── */
.section-bento {
  padding: 4.5rem 0;
  background: var(--bg-mid);
  border-block: 1px solid var(--border);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.bento-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bento-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 24px var(--blue-soft);
}
.bento-wide { grid-column: 1 / -1; }
.bento-accent {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(145deg, rgba(0, 180, 255, 0.06) 0%, rgba(168, 85, 247, 0.08) 100%), var(--bg-elevated);
}
.bento-card h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.bento-card p { font-size: 0.88rem; color: var(--muted); }

/* ── About ── */
.section-about {
  padding: 4.5rem 0;
  background: var(--bg-void);
}
.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}
.about-main p { color: var(--muted); margin-bottom: 1rem; font-size: 0.92rem; }
.about-main h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.65rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.about-main address {
  font-style: normal;
  margin-top: 1.5rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  line-height: 1.8;
  color: var(--ink);
}
.about-side {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.about-side h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.95rem;
  margin: 1.25rem 0 0.65rem;
}
.about-side h3:first-child { margin-top: 0; }
.integration-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.integration-pills li {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  background: rgba(0, 180, 255, 0.05);
  color: var(--cyan);
}
.serve-list {
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.serve-list li { margin-bottom: 0.35rem; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin: 0.65rem 0; }
.footer-x-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
  padding: 0.5rem 0.85rem 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.05) 0%, rgba(168, 85, 247, 0.08) 100%);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.footer-x-link:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 18px var(--purple-soft);
  color: var(--ink) !important;
  text-decoration: none;
}
.footer-x-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 6px;
  background: var(--grad-wave);
  color: var(--white);
  flex-shrink: 0;
}
.footer-x-text { display: flex; flex-direction: column; gap: 0.05rem; line-height: 1.2; }
.footer-x-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-x-handle {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
}
.footer-x-link:hover .footer-x-handle { color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-content: start; }
.footer-nav a { color: var(--muted); font-size: 0.88rem; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }

/* ── Legal pages ── */
.legal-wrap { padding: 2rem 1.5rem 3rem; max-width: 720px; margin: 0 auto; }
.legal-back { display: inline-block; margin-bottom: 1.5rem; color: var(--cyan); }
.legal-page h1 { font-family: var(--font-display); color: var(--white); font-size: 2rem; margin-bottom: 0.5rem; }
.legal-page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.legal-page h2 { font-family: var(--font-display); color: var(--white); font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.legal-page p { color: var(--muted); margin-bottom: 0.75rem; }
.footer-legal-x { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--cyan) !important; }
.footer-legal-x:hover { color: var(--white) !important; text-decoration: none; }

@media (max-width: 900px) {
  .pipeline-flow { grid-template-columns: 1fr; gap: 2rem; }
  .pipeline-flow::before { display: none; }
  .terminal-stats { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .about-split, .footer-grid { grid-template-columns: 1fr; }
  .hero-radar { display: none; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-void);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .site-header .container { position: relative; }
  .hero-cinema { min-height: 60vh; }
}
