/* BASIC RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.18) 0, transparent 55%),
    radial-gradient(circle at 100% 0, rgba(236, 72, 153, 0.18) 0, transparent 50%),
    #050314;
  color: #e5e7eb;
}

/* TYPOGRAPHY & COLORS */
:root {
  --bg-panel: rgba(15, 23, 42, 0.96);
  --bg-panel-soft: rgba(15, 23, 42, 0.9);
  --bg-panel-alt: rgba(15, 23, 42, 0.97);
  --border-subtle: rgba(148, 163, 184, 0.4);
  --primary: #7c3aed;
  --accent: #ec4899;
  --text-main: #f9fafb;
  --text-soft: #cbd5f5;
  --radius-lg: 22px;
}

/* LAYOUT */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo-wrap {
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* NAVIGATION */
.nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
}

/* Glass pills with glow */
.nav a {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.28);

  transition: all 0.18s ease-out;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.45);
}

.nav a.active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 36px rgba(124, 58, 237, 0.6);
  transform: translateY(-1px);
}


.nav a.nav-cta {
  background: linear-gradient(130deg, #7c3aed, #ec4899);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(88, 28, 135, 0.8);
  font-weight: 600;
}

.nav a.nav-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(88, 28, 135, 0.95);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2.3rem;
}

.hero-copy h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: #a5b4fc;
  margin: 0 0 0.6rem;
}

.hero-lead {
  margin: 0 0 1rem;
  font-size: 0.97rem;
  color: var(--text-soft);
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-actions-row {
  display: flex;
  gap: 0.7rem;
  align-items: stretch;
  margin: 0.9rem 0 0.4rem;
  flex-wrap: wrap;
}

.signup-form {
  flex: 1 1 260px;
  display: flex;
  gap: 0.6rem;
}

.signup-form.vertical {
  flex-direction: column;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  font-size: 0.9rem;
}

.signup-form input::placeholder {
  color: #6b7280;
}

.hero-secondary {
  padding-inline: 1rem;
}

/* Buttons */
.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.52rem 1.1rem;
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(130deg, #7c3aed, #ec4899);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(88, 28, 135, 0.85);
}

.btn.primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
}

.btn.ghost:hover {
  border-color: rgba(129, 140, 248, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

.btn.full {
  width: 100%;
}

/* HERO PANEL */
.hero-panel {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at 0 0, rgba(236, 72, 153, 0.22), transparent 60%),
              radial-gradient(circle at 120% 0, rgba(129, 140, 248, 0.3), transparent 60%),
              var(--bg-panel-alt);
  border-radius: 26px;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
  width: 100%;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #e5e7eb;
  margin-bottom: 0.6rem;
}

.hero-chip {
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.hero-score {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.score-circle {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, rgba(248, 250, 252, 0.3), transparent 60%),
              linear-gradient(135deg, #7c3aed, #ec4899);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
}

.score-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.score-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.score-copy p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.metric {
  display: grid;
  grid-template-columns: 1.4fr 3fr auto;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
}

.metric-label {
  color: #e5e7eb;
}

.metric-bar {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  overflow: hidden;
}

.metric-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
}

.metric-value {
  font-variant-numeric: tabular-nums;
  color: #e5e7eb;
}

.hero-footnote {
  margin: 0;
  font-size: 0.73rem;
  color: #9ca3af;
}

/* SECTIONS */
.section {
  padding: 2.2rem 0 1.9rem;
}

.section-alt {
  margin: 0;
  padding: 2.2rem 0 1.9rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.section-header {
  max-width: 640px;
  margin-bottom: 1.1rem;
}

.section-header.narrow {
  max-width: 520px;
}

.section-header h2 {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
}

.section-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* SECTION LABELS + VISUAL SEPARATION */
.section-header::before {
  content: "";
  display: block;
  width: 42px;
  height: 2.5px;
  margin-bottom: 0.7rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.9;
  border-radius: 999px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  color: #a5b4fc;
  margin: 0 0 0.35rem;
  opacity: 0.85;
}

/* GRID HELPERS */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid-3-tight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* CARDS */
.card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.card.small {
  padding: 0.8rem 0.9rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.list li + li {
  margin-top: 0.25rem;
}

/* DVI GRID */
.dvi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem;
}

.dvi-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.pillar {
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.96);
}

.pillar h3 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
}

.pillar p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.dvi-explainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.dvi-card {
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.3) 0, transparent 60%),
    rgba(15, 23, 42, 0.97);
}

.dvi-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c4b5fd;
  margin: 0 0 0.4rem;
}

.dvi-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* MITRA MOCK */
.mitra-mock {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mitra-bubble {
  border-radius: 18px;
  padding: 0.55rem 0.7rem;
  font-size: 0.83rem;
  max-width: 100%;
}

.mitra-bubble.user {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.mitra-bubble.ai {
  align-self: flex-end;
  background: rgba(79, 70, 229, 0.85);
  border: 1px solid rgba(165, 180, 252, 0.95);
  color: #f9fafb;
}

/* INSTITUTIONS CONSOLE */
.console-preview {
  background: var(--bg-panel-soft);
  border-radius: 20px;
  padding: 0.8rem 0.9rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.95);
}

.console-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  color: #e5e7eb;
}

.console-tag {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
}

.console-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}

.console-metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.console-label {
  color: #cbd5f5;
}

.console-value {
  font-variant-numeric: tabular-nums;
  color: #f9fafb;
}

/* Console subgrid with segments and drivers */
.console-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.console-subcard {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 14px;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.console-subtitle {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.segment-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.segment-bar {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.7);
  overflow: hidden;
}

.segment-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
}

.segment-value {
  font-variant-numeric: tabular-nums;
  color: #e5e7eb;
}

.console-list {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.console-list li + li {
  margin-top: 0.15rem;
}

.console-note {
  margin: 0.4rem 0 0;
  font-size: 0.74rem;
  color: #9ca3af;
}

/* PILOT BOX */
/* ===========================
   PILOT BOX  
=========================== */

/* ===== PILOT BOX ===== */
.pilot-box {
    background: rgba(15, 23, 42, 0.92);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 1.4rem 1.6rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
    margin-top: 1.5rem;
}

/* ==== TIMELINE WRAPPER ==== */
.timeline {
    position: relative;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Vertical EU-style line */
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom,
        #7c3aed,   /* violet EU */
        #4f46e5,   /* indigo */
        #2563eb,   /* EU blue */
        #7c3aed
    );
    opacity: 0.9;
    border-radius: 3px;
}


/* ==== TIMELINE ITEM ==== */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
    margin-bottom: 2.2rem;
    opacity: 0; /* fade-in default */
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}


/* ==== DOT ==== */
.timeline-dot {
    position: absolute;
    top: 0.7rem;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #a855f7;
    border: 3px solid #4f46e5;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.7);
    animation: pulseDot 2s infinite;
    z-index: 10;
}

/* Dot position */
.timeline-item.left .timeline-dot {
    right: -9px;
}

.timeline-item.right .timeline-dot {
    left: -9px;
}

/* Dot hover glow */
.timeline-dot:hover {
    transform: scale(1.25);
    box-shadow: 0 0 20px rgba(168, 85, 247, 1),
                0 0 30px rgba(79, 70, 229, 0.9);
    transition: 0.25s ease;
}

/* Pulse animation */
@keyframes pulseDot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.75; }
    100% { transform: scale(1); opacity: 1; }
}


/* ==== CONTENT BOX ==== */
.timeline-content {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.timeline-content h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}


/* ==== SCROLL FADE-IN ==== */
.reveal.active {
    opacity: 1 !important;
    transform: translateY(0px) !important;
}


/* ==== MOBILE RESPONSIVE ==== */
@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 2.2rem;
    }

    .timeline-item .timeline-dot {
        left: 0;
        right: auto;
    }
}


/* TEAM */
.founder-card {
  background: var(--bg-panel);
  border-radius: 20px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.95);
  font-size: 0.86rem;
  color: var(--text-soft);
}

.founder-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #e5e7eb;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-box {
  background: var(--bg-panel);
  border-radius: 20px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.95);
  font-size: 0.86rem;
  color: var(--text-soft);
}

.contact-box h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #e5e7eb;
}

.contact-box a {
  color: #a5b4fc;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* FOOTER */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 1rem;
  font-size: 0.78rem;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-note {
  max-width: 620px;
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .section-alt {
    margin: 0 -0.5rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .cards-3,
  .grid-3-tight,
  .grid-2,
  .dvi-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .console-subgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}


#pilot .pilot-box {
  margin-top: 0.8rem;
}
/* FINAL OVERRIDE FOR NAVIGATION ALIGNMENT */
/* SMALLER, CLEAN, PERFECTLY ALIGNED NAVIGATION */
.nav a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0.8rem !important;        /* smaller horizontally */
  height: 32px !important;             /* smaller vertical size */
  min-height: 32px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.05) !important;
  font-size: 0.8rem !important;        /* smaller font */
  font-weight: 500 !important;
  transition: 0.2s ease;
}

.nav a.nav-cta {
  background: linear-gradient(130deg, #7c3aed, #ec4899) !important;
  border-color: transparent !important;
  color: white !important;
}


/* ============================================
   PREMIUM FINTECH THEME · VITAAVANZA
   (animated bg, sticky header, DVI + Mitra demos, dust-style particles)
   ============================================ */

/* Subtle animated background layer with fintech "dust" */
body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -40px;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 0%, rgba(129, 140, 248, 0.22), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(236, 72, 153, 0.26), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.24), transparent 55%),
    var(--bg);
  opacity: 0.96;
  animation: vaBgDrift 32s ease-in-out infinite alternate;
}

/* Dust / particle grid */
body::after {
  content: "";
  position: fixed;
  inset: -20px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.22) 1px, transparent 0);
  background-size: 40px 40px;
  mix-blend-mode: soft-light;
  animation: vaDustFloat 26s linear infinite alternate;
}

@keyframes vaBgDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: translate3d(-20px, 12px, 0) scale(1.02);
    filter: hue-rotate(12deg);
  }
  100% {
    transform: translate3d(16px, -18px, 0) scale(1.03);
    filter: hue-rotate(-8deg);
  }
}

@keyframes vaDustFloat {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(-16px, 10px, 0);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(14px, -12px, 0);
    opacity: 0.6;
  }
}

/* Sticky, glassy header – Apple / fintech style */
.site-header {
  position: sticky;
  top: 0.9rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.6rem 1rem;
  margin-bottom: 2.1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.28), transparent 55%),
    rgba(5, 3, 20, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.96),
    0 0 0 1px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Brand logo: glowing, no extra box */
.brand-logo-wrap {
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.35);
  box-shadow:
    0 0 26px rgba(129, 140, 248, 0.8),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  background:
    radial-gradient(circle at 30% 0%, rgba(129, 140, 248, 0.28), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.2), transparent 55%),
    rgba(15, 23, 42, 0.98);
}

.brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.brand-name {
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Navigation: pill buttons + micro-interactions */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.nav a {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 0 0 rgba(15, 23, 42, 0.0);
  transition:
    background 0.18s ease-out,
    box-shadow 0.18s ease-out,
    transform 0.18s ease-out,
    border-color 0.18s ease-out,
    color 0.18s ease-out;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(209, 213, 219, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.95);
}

.nav a.active {
  background: linear-gradient(130deg, #7c3aed, #ec4899);
  border-color: transparent;
  color: #f9fafb;
  box-shadow: 0 0 36px rgba(124, 58, 237, 0.8);
}

/* HERO & SECTIONS – fade-in on load */
.hero,
.section {
  opacity: 0;
  transform: translateY(10px);
  animation: vaSectionIn 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.hero {
  animation-delay: 0.05s;
}

#problem.section { animation-delay: 0.12s; }
#europe.section { animation-delay: 0.18s; }
#solution.section { animation-delay: 0.24s; }
#tech.section { animation-delay: 0.30s; }
#dvi.section { animation-delay: 0.36s; }
#mitra.section { animation-delay: 0.42s; }
#institutions.section { animation-delay: 0.48s; }
#pilot.section { animation-delay: 0.54s; }
#team.section { animation-delay: 0.60s; }
#contact.section { animation-delay: 0.66s; }

@keyframes vaSectionIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero DVI card – dashboard feeling */
.hero-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.14), transparent 55%),
    radial-gradient(circle at 110% 0, rgba(236, 72, 153, 0.18), transparent 55%),
    var(--bg-panel-alt);
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.98),
    0 0 0 1px rgba(15, 23, 42, 0.92);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 140deg,
      rgba(236, 72, 153, 0.0),
      rgba(236, 72, 153, 0.32),
      rgba(56, 189, 248, 0.0));
  opacity: 0.0;
  mix-blend-mode: screen;
  animation: vaCardSweep 14s linear infinite;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(244, 244, 245, 0.02);
  pointer-events: none;
}

/* DVI score circle – breathing */
.score-circle {
  box-shadow:
    0 0 0 0 rgba(236, 72, 153, 0.45),
    0 0 0 0 rgba(56, 189, 248, 0.0);
  animation: vaScorePulse 5.2s ease-in-out infinite;
}

@keyframes vaScorePulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(236, 72, 153, 0.60),
      0 0 0 0 rgba(56, 189, 248, 0.38);
  }
  70% {
    box-shadow:
      0 0 0 18px rgba(236, 72, 153, 0.0),
      0 0 0 30px rgba(56, 189, 248, 0.0);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(236, 72, 153, 0.0),
      0 0 0 0 rgba(56, 189, 248, 0.0);
  }
}

/* Metric bars animate in */
.metric-bar span,
.segment-bar span {
  transform-origin: left;
  transform: scaleX(0);
  animation: vaGrowBar 1.15s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

/* Stagger DVI metrics */
.hero-metrics .metric:nth-child(1) .metric-bar span { animation-delay: 0.10s; }
.hero-metrics .metric:nth-child(2) .metric-bar span { animation-delay: 0.22s; }
.hero-metrics .metric:nth-child(3) .metric-bar span { animation-delay: 0.34s; }
.hero-metrics .metric:nth-child(4) .metric-bar span { animation-delay: 0.46s; }

/* Stagger institutional segments */
.console-subcard .segment-row:nth-child(2) .segment-bar span { animation-delay: 0.12s; }
.console-subcard .segment-row:nth-child(3) .segment-bar span { animation-delay: 0.24s; }
.console-subcard .segment-row:nth-child(4) .segment-bar span { animation-delay: 0.36s; }

@keyframes vaGrowBar {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Mitra chat demo – AI console look */
.mitra-mock {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(129, 140, 248, 0.55);
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.98);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.98);
  position: relative;
  overflow: hidden;
}

.mitra-mock::before {
  content: "Mitra · demo";
  position: absolute;
  top: 0.55rem;
  right: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(199, 210, 254, 0.8);
  opacity: 0.9;
}

/* Typing dot on last AI bubble */
.mitra-bubble.ai:last-of-type {
  position: relative;
  padding-right: 1.4rem;
}

.mitra-bubble.ai:last-of-type::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  bottom: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f9fafb;
  opacity: 0.85;
  box-shadow: 0 0 12px rgba(248, 250, 252, 0.9);
  animation: vaTypingPulse 1.2s ease-in-out infinite;
}

@keyframes vaTypingPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Institutional console cards – dashboard */
.console-main,
.console-subcard {
  position: relative;
  overflow: hidden;
}

.console-main::before,
.console-subcard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.25), transparent 60%);
  opacity: 0.0;
  animation: vaCardGlow 10s ease-in-out infinite alternate;
}

@keyframes vaCardGlow {
  0% { opacity: 0.0; }
  50% { opacity: 0.7; }
  100% { opacity: 0.15; }
}

@keyframes vaCardSweep {
  0%   { opacity: 0.0; transform: translate3d(-10%, -10%, 0) rotate(0deg); }
  40%  { opacity: 0.65; }
  100% { opacity: 0.0; transform: translate3d(10%, 10%, 0) rotate(25deg); }
}

/* Shared micro-interactions on cards */
.card,
.hero-card,
.console-main,
.console-subcard {
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

.card:hover,
.hero-card:hover,
.console-main:hover,
.console-subcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.98);
  border-color: rgba(191, 219, 254, 0.7);
}

/* Section depth overlay for premium feel */
.section {
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: 0 auto;
  max-width: 960px;
  border-radius: 32px;
  background: radial-gradient(
    circle at 50% 0,
    rgba(15, 23, 42, 0.0),
    rgba(15, 23, 42, 0.82) 70%
  );
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

/* Mobile tweaks for sticky header & nav */
@media (max-width: 880px) {
  .site-header {
    top: 0.6rem;
    padding-inline: 0.75rem;
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    padding-inline: 0.7rem;
    font-size: 0.78rem;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}
/* =====================================================
   FIX NAV MENU ALIGNMENT (FORCE SINGLE LINE)
   ===================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

/* Force nav items to stay on ONE line */
.nav {
  display: flex;
  flex-wrap: nowrap !important;   /* do not wrap to second line */
  white-space: nowrap !important; /* prevent inner text wrapping */
  gap: 0.45rem;
  align-items: center;
  
  /* If screen is smaller, allow smooth horizontal scrolling */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;          /* hide scrollbar (Firefox) */
}

.nav::-webkit-scrollbar {
  display: none;                  /* hide scrollbar (Chrome/Safari) */
}

/* Ensure each menu item keeps its space and doesn't squish */
.nav a {
  flex: 0 0 auto !important;      /* prevent squeezing/shrinking */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* =====================================================
   FINAL HEADER + NAV FIX (alignment + single row)
   ===================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.85rem;   /* balanced vertical padding */
}

/* NAV CONTAINER */
.nav {
  display: flex !important;
  flex-wrap: nowrap !important;     /* keep everything in one row */
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  white-space: nowrap !important;
  overflow-x: visible;
}

/* NAV ITEMS (pills) */
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.95rem;         /* perfect vertical centering */
  border-radius: 999px;
  flex: 0 0 auto;

  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(9, 9, 20, 0.92);
  color: #e5e7eb;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;

  box-shadow: 0 0 0 rgba(15, 23, 42, 0);
  transition:
    background 0.18s ease-out,
    box-shadow 0.18s ease-out,
    transform 0.18s ease-out,
    border-color 0.18s ease-out,
    color 0.18s ease-out;
}

/* Hover + active states */
.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(209, 213, 219, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
}

.nav a.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(209, 213, 219, 0.95);
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.65);
}

/* Beta pill (CTA) */
.nav a.nav-cta {
  background: linear-gradient(130deg, #7c3aed, #ec4899);
  border-color: transparent;
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(88, 28, 135, 0.9);
}

.nav a.nav-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(88, 28, 135, 0.98);
}
/* =====================================================
   PERFECT HEADER & NAV ALIGNMENT (FINAL FIX)
   ===================================================== */

/* Force a fixed elegant height for the header */
.site-header {
  height: 72px;                     /* consistent across screens */
  display: flex;
  align-items: center;              /* perfect vertical centering */
  padding: 0 1.2rem;
  gap: 1.4rem;
}

/* Brand (logo + text) aligned in center */
.brand {
  display: flex;
  align-items: center;              /* vertically center logo block */
  gap: 0.9rem;
}

/* Fix logo wrapper height so it matches header height visually */
.brand-logo-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Fix nav alignment — perfect vertical centering */
.nav {
  display: flex;
  align-items: center;              /* vertically center pills */
  flex-wrap: nowrap;
  gap: 0.55rem;
  white-space: nowrap;
}

/* Make nav pills all same height */
.nav a {
  display: inline-flex;
  align-items: center;              /* vertical centering inside pill */
  justify-content: center;
  height: 36px;                     /* 🔥 key for perfect alignment */
  padding: 0 1rem;
  flex: 0 0 auto;
  line-height: 1;                   /* remove weird text shifting */
}

/* Beta pill should not push alignment */
.nav a.nav-cta {
  height: 36px !important;
  line-height: 1 !important;
}
/* =====================================================
   FINAL FINAL HEADER & NAV ALIGNMENT FIX
   ===================================================== */

/* 1. Normalize header height & padding */
.site-header {
  height: 64px;                  /* slightly shorter = aligns perfectly */
  display: flex;
  align-items: center;           /* vertical centering for all */
  justify-content: space-between;
  padding: 0 1rem;
  gap: 1.2rem;
  box-sizing: border-box;
}

/* 2. Shrink + center the brand zone */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-wrap {
  width: 40px !important;        /* smaller and balanced */
  height: 40px !important;       /* matches pill height */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

/* 3. Force nav to align vertically with the brand */
.nav {
  display: flex !important;
  align-items: center !important;   /* key fix */
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.5rem;
}

/* 4. Normalize pill height to match the 40px logo */
.nav a {
  height: 36px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  line-height: 1 !important;
  flex: 0 0 auto;
  border-radius: 999px;
}

/* 5. Ensure Beta pill matches exactly */
.nav a.nav-cta {
  height: 36px !important;
  padding: 0 1rem !important;
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
/* ============================================
   FIX: HEADER SHOULD NOT CLIP THE MENU
   ============================================ */
.site-header {
  overflow: visible !important;      /* allow the pills to show fully */
  padding-right: 1.4rem !important;  /* give breathing room on the right */
}

/* Fix clipping caused by header pseudo-elements */
.site-header::before,
.site-header::after {
  overflow: visible !important;
  pointer-events: none;
}

/* Make sure the nav can be fully visible */
.nav {
  overflow: visible !important;
}

/* Ensure nav items never get cut off */
.nav a {
  position: relative;
  z-index: 10;
}
/* Our Story page logo fix */
.brand-logo-wrap {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* === LEGAL FOOTER (Unified for All Pages) === */

.legal-footer {
  width: 100%;
  padding: 4rem 0 3rem 0;
  display: flex;
  justify-content: center;
  color: #9ca3af;
}

.legal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 680px;
  width: 100%;
  text-align: center;
  opacity: 0.9;
}

.legal-copy {
  font-size: 0.85rem;
  color: #9ca3af;
}

.legal-disclaimer {
  font-size: 0.85rem;
  max-width: 520px;
  line-height: 1.45;
  color: #9ca3af;
}

.legal-divider {
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 0 0.2rem 0;
}

.legal-links {
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.legal-links a {
  color: #a78bfa;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.legal-links a:hover {
  color: #c4b5fd;
  opacity: 1;
}

.legal-links span {
  color: #6b7280;
}

/* ==============================
   Cookiebot – VitaAvanza theme
   ============================== */

/* Main dialog */
#CybotCookiebotDialog {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.24), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(236, 72, 153, 0.24), transparent 55%),
    var(--bg-panel);
  color: var(--text-main);
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
}

/* Title + text */
#CybotCookiebotDialogBodyContentTitle {
  font-size: 1rem;
  font-weight: 600;
}

#CybotCookiebotDialogBodyContentText,
#CybotCookiebotDialogBodyLevelButtonsSelectPane {
  color: var(--text-soft);
  font-size: 0.86rem;
}

/* Button row layout */
#CybotCookiebotDialogBodyButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Base button style – match .btn */
#CybotCookiebotDialogBodyButtons .CybotCookiebotDialogBodyButton,
#CybotCookiebotDialogBodyButtons button {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

/* Primary: "Allow all" */
#CybotCookiebotDialogBodyButtons
  #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  background: linear-gradient(130deg, #7c3aed, #ec4899);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(88, 28, 135, 0.85);
}

#CybotCookiebotDialogBodyButtons
  #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Secondary buttons: Deny / Allow selection / Settings */
#CybotCookiebotDialogBodyButtons
  #CybotCookiebotDialogBodyButtonDecline,
#CybotCookiebotDialogBodyButtons
  #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
#CybotCookiebotDialogBodyButtons
  #CybotCookiebotDialogBodyButtonPreferences {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.55);
  color: var(--text-main);
}

#CybotCookiebotDialogBodyButtons
  #CybotCookiebotDialogBodyButtonDecline:hover,
#CybotCookiebotDialogBodyButtons
  #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:hover,
#CybotCookiebotDialogBodyButtons
  #CybotCookiebotDialogBodyButtonPreferences:hover {
  border-color: rgba(129, 140, 248, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

/* Links inside banner */
#CybotCookiebotDialog a {
  color: #a5b4fc;
  text-decoration: none;
}

#CybotCookiebotDialog a:hover {
  text-decoration: underline;
}

