/* =========================
   VibeQ Shared Styles v1
   Used by: index, about, youth, partners, investors, science, vibequests, vibeq99-app (global parts)
   ========================= */

/* ---- Theme tokens ---- */
:root {
  --bg-deep: #070b23;
  --bg-main: #050715;
  --bg-card: #101633;
  --bg-card-soft: #141d4f;

  --accent-neon: #72e8ff;
  --accent-violet: #a879ff;
  --accent-pink: #ff72e1;
  --accent-soft: #c0d9ff;

  --text-main: #f7f8ff;
  --text-muted: #9da6d9;

  --border-subtle: rgba(255, 255, 255, 0.12);

  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.65);

  --max-width: 1080px;
  --header-offset: 84px;
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

html {
  min-height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(80, 120, 255, 0.20) 0%,
      rgba(60, 70, 140, 0.15) 25%,
      rgba(30, 35, 80, 0.10) 40%,
      rgba(15, 18, 48, 0.85) 100%
    ),
    linear-gradient(135deg, #0a1030 0%, #140628 100%);
}


body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  /* UNIVERSAL COSMIC BACKGROUND */
  background: radial-gradient(
      circle at 20% 20%,
      rgba(80, 120, 255, 0.20) 0%,
      rgba(60, 70, 140, 0.15) 25%,
      rgba(30, 35, 80, 0.10) 40%,
      rgba(15, 18, 48, 0.85) 100%
    ),
    linear-gradient(135deg, #0a1030 0%, #140628 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 18px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* =========================
   Global Header / Nav
   ========================= */
.site-header {
  max-width: var(--max-width);
  margin: 0 auto 30px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background:
    radial-gradient(circle at top left, rgba(109, 242, 255, 0.07), transparent 55%),
    rgba(4, 8, 30, 0.94);

  box-shadow: 0 20px 40px rgba(0,0,0,0.65);
  backdrop-filter: blur(22px);

  position: sticky;
  top: 12px;
  z-index: 50;
}

.logo-wrap { display: flex; align-items: center; gap: 10px; }

.logo-orbit {
  width: 40px; height: 40px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(132,255,255,0.9), transparent 60%),
    radial-gradient(circle at 70% 75%, rgba(255,114,225,0.7), transparent 55%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(120,246,255,0.75);
  overflow: hidden;
}

.logo-q {
  width: 40px; height: 40px; object-fit: contain;
  filter:
    drop-shadow(0 0 3px rgba(114,232,255,0.28))
    drop-shadow(0 0 5px rgba(168,121,255,0.20));
  mix-blend-mode: screen;
  opacity: 0.95;
}

.logo-text-main {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.logo-text-sub {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  opacity: 0.9;
}

.top-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.7rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.top-nav a {
  color: var(--accent-soft);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: 0.18s ease;
}

.top-nav a:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  opacity: 1;
}

.top-nav a.active {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-weight: 600;
}


/* Hamburger button */
.menu-toggle {
  display: none; /* shown only on mobile */
  width: 34px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(192,217,255,0.4);
  background: rgba(7,11,35,0.9);
  padding: 4px 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-soft);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

@media (max-width: 840px) {

  /* Make Investors menu item align left like the others */
  .nav-item-with-submenu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;     /* ⬅️ This is the key */
  }

  .nav-item-with-submenu > a {
    width: 100%;
    text-align: left !important;
     padding-left: 12px;   /* ⬅️ same indentation as other menu links */
  }

  /* Ensure submenu links also align left */
  .nav-item-with-submenu .submenu a {
    padding-left: 1.2rem; /* small indent for clarity */
    width: 100%;
    text-align: left;
  }
  
  /* Show submenu when wrapper has .open */
.nav-item-with-submenu.open .submenu {
  display: block !important;
}
  
}


/* Animate icon when open */
body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}



/* =========================
   Pills / Hero / Typography
   ========================= */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(192,217,255,0.32);
  padding: 4px 12px 4px 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
  background:
    radial-gradient(circle at top left, rgba(114,232,255,0.18), transparent 55%),
    rgba(7,11,35,0.9);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  margin-bottom: 10px;
}

.pill-dot {
  width: 18px; height: 18px; border-radius: 999px;
  background: radial-gradient(circle, var(--accent-neon), var(--accent-violet));
  box-shadow: 0 0 16px rgba(114,232,255,0.7);
}

.hero { margin-top: 26px; margin-bottom: 32px; }
.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  line-height: 1.08;
  margin-bottom: 10px;
}

.hero-title .gradient {
  background: linear-gradient(120deg, var(--accent-neon), var(--accent-violet), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-subtitle b { color: var(--accent-soft); }

/* Optional small helper */
.nowrap { white-space: nowrap; }

/* =========================
   Section headers & layout
   ========================= */
.section { margin-bottom: 32px; }

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 0.75rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 600;
}

.section-description {
  max-width: 420px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
/* Header inner row (used by multiple pages incl. app) */
.site-nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  gap:18px;
}

@media (max-width: 840px){
  .site-nav-row{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =========================
   Grids / Cards
   ========================= */
.grid-2, .grid-3, .grid-4, .cols-3 {
  display: grid;
  gap: 16px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(16,22,68,0.96), rgba(12,17,55,0.98));
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card-soft {
  background: linear-gradient(150deg, rgba(20,29,90,0.96), rgba(12,17,55,0.98));
}

.card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  margin-bottom: 4px;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-body {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-list {
  list-style: none;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--accent-soft);
  display: grid;
  gap: 2px;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  border: 1px solid rgba(192,217,255,0.25);
  font-size: 0.7rem;
  color: var(--accent-soft);
  background: rgba(7,11,32,0.82);
}

/* =========================
   Buttons
   ========================= */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
}

.btn-primary, .btn-secondary {
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  border: none;
  color: #050714;
  background: linear-gradient(120deg, var(--accent-neon), var(--accent-violet));
  box-shadow:
    0 14px 30px rgba(9,14,59,0.9),
    0 0 24px rgba(114,232,255,0.6);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    0 18px 40px rgba(7,11,45,0.95),
    0 0 27px rgba(114,232,255,0.7);
}

.btn-secondary {
  padding: 0.6rem 1.25rem;
  font-weight: 500;
  border: 1px solid rgba(192,217,255,0.2);
  background: rgba(10,14,44,0.7);
  color: var(--accent-soft);
  transition: border-color 0.14s ease, background 0.14s ease;
}

.btn-secondary:hover {
  border-color: rgba(192,217,255,0.4);
  background: rgba(10,14,44,0.95);
  color: #ffffff;
}

/* =========================
   Footer
   ========================= */
.footer {
  border-top: 1px solid rgba(192,217,255,0.24);
  padding-top: 14px;
  margin-top: auto;
  font-size: 0.72rem;
  color: #9aa4d9;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  color: #c0d9ff;
  margin-left: 0.75rem;
}

.footer a:first-child { margin-left: 0; }

/* =========================
   Responsive
   ========================= */
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
  }
  :root { --header-offset: 96px; }
}

@media (max-width: 600px) {
  main { padding-inline: 14px; }
  .site-header { padding-inline: 12px; }
  .top-nav {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }
}

/* =========================
   Q-definition block (new)
   Use on About/Investors/Youth/Partners
   ========================= */
.q-definition {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 40rem;
}
.q-definition strong { color: var(--accent-soft); }
.q-definition .q-line { margin-top: 6px; }
.q-definition .q-bullets {
  margin-top: 8px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.q-definition .q-bullet {
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid rgba(192,217,255,0.22);
  background: rgba(7,11,32,0.75);
  color: var(--accent-soft);
}

/* =========================
   Role grid (Choose your path) — used on Home (index2)
   ========================= */
.role-grid {
  display: grid;
  gap: 16px;
  margin-top: 6px;
}

@media (min-width: 840px) {
  .role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.role-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(
    150deg,
    rgba(15, 21, 60, 0.96),
    rgba(11, 16, 49, 0.98)
  );
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease, background 0.16s ease;
}

.role-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top,
    rgba(114, 232, 255, 0.16),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.role-card:hover {
  transform: translateY(-2px);
  border-color: rgba(192, 217, 255, 0.34);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
}

.role-card:hover::before {
  opacity: 1;
}

.role-tag {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: var(--accent-soft);
}

.role-title {
  font-size: 1.02rem;
  font-weight: 600;
}

.role-body {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.role-list {
  list-style: none;
  display: grid;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--accent-soft);
  margin-top: 2px;
}

.role-cta {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.role-cta span.icon {
  font-size: 0.9rem;
}

/* Global identity block */
.vibeq-identity{
  background: radial-gradient(1200px circle at 20% -10%, rgba(176,132,255,0.18), transparent 60%),
              radial-gradient(900px circle at 90% 10%, rgba(126,231,255,0.16), transparent 55%),
              var(--vibe-bg-soft);
  border: 1px solid rgba(192,217,255,0.12);
  border-radius: 18px;
  padding: 22px;
  margin: 18px 0 8px;
  box-shadow: 0 0 30px rgba(126,231,255,0.08);
}

.vibeq-identity .pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  background: rgba(126,231,255,0.10);
  color: var(--vibe-ink-strong);
  font-weight:700;
  font-size:0.9rem;
  letter-spacing:0.3px;
  text-transform:uppercase;
}

.vibeq-identity .pill-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background: linear-gradient(135deg,var(--vibe-accent),var(--vibe-accent-2));
  box-shadow:0 0 10px rgba(126,231,255,0.9);
}

.vibeq-identity h3{
  margin:10px 0 6px;
  font-size:1.35rem;
  color: var(--vibe-ink-strong);
}

.vibeq-identity p{
  margin:6px 0;
  color: var(--vibe-ink);
  font-size:1.05rem;
  line-height:1.6;
}

.vibeq-identity .q-list{
  margin:10px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.vibeq-identity .q-chip{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(192,217,255,0.09);
  color: var(--vibe-ink-strong);
  font-size:0.95rem;
  border:1px solid rgba(192,217,255,0.12);
}

/* ABOUT PAGE ONLY — hero with right-side core idea */
.about-page .hero {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .about-page .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }
}

.fullpage-text {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0 0 0;
}

.fullpage-text p {
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.28;     /* nicer line spacing for sentence 1 only */
  max-width: 900px;
  margin: 0;
  color: var(--text-muted);
}

.fullpage-text b { color: var(--accent-soft); }

.fullpage-text .line1 {
  display: inline-block;
  margin-bottom: 0.3rem;  /* LESS space between sentence 1 → 2 */
}

.fullpage-text .line2 {
  display: inline-block;
  margin-bottom: 0.1rem;  /* LESS space under sentence 2 */
}

.vee-caption-inline {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.0rem;
  color: var(--accent-soft);
  opacity: 0.9;
  line-height: 1.32;
}

/* separation line */
.vee-divider {
  margin: 0.55rem 0 0.55rem 0;
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: rgba(192,217,255,0.18);
}


/* Wrapper for submenu */
.nav-item-with-submenu {
  position: relative;
  display: inline-block;
}

/* Submenu container */
.nav-item-with-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card-soft);
  padding: 0.5rem 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 190px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 1000;
}

/* Show on hover (desktop) */
.nav-item-with-submenu:hover .submenu {
  display: block;
}

/* Submenu links */
.nav-item-with-submenu .submenu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
   font-size: 0.65rem;   /* ⬅ smaller and balanced */
  padding: 0.45rem 0.9rem; /* optional: slightly tighter spacing */
}

.nav-item-with-submenu .submenu a:hover {
  background: rgba(255,255,255,0.08);
}

/* Mobile behaviour: tap shows submenu */
@media (max-width: 900px) {
  .nav-item-with-submenu .submenu {
    position: static;
    display: none;
    margin-left: 1rem;
    border: none;
    box-shadow: none;
    background: none;
    padding: 0;
  }
  .nav-item-with-submenu.open .submenu {
    display: block;
  }
}

.hero {
  display: flex;
  align-items: flex-start;   /* allows Vee to take its full height */
  justify-content: space-between;
  gap: 2rem;
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;   /* gives Vee breathing room */
}

.vee-hero-img {
  width: 100%;
  max-width: 540px; /* keep the size you like */
  display: block;
  filter:
    drop-shadow(0 0 26px rgba(0, 180, 255, 0.55))
    drop-shadow(0 0 52px rgba(162, 121, 255, 0.4));
}
/* Floating Vee container */
.vee-orbit {
  position: relative;
  width: 100%;
  max-width: 540px;          /* in sync with image size */
  margin-inline: auto;
  animation: veeFloat 5s ease-in-out infinite;
}

/* Quantum glow ring under Vee */
.vee-orbit::before {
  content: "";
  position: absolute;
  bottom: -14%;
  left: 50%;
  transform: translateX(-50%);
  width: 165%;
  height: 40%;
  background: radial-gradient(
    ellipse at center,
    rgba(114, 232, 255, 0.38) 0%,
    rgba(114, 232, 255, 0.12) 40%,
    transparent 75%
  );
  filter: blur(10px);
  opacity: 0.6;
  pointer-events: none;
}

/* Gentle float animation */
@keyframes veeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}


.vee-caption {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #cfe8ff;
  opacity: 0.88;
}

/* MOBILE FIX — make Vee responsive and stack hero vertically */
@media (max-width: 720px) {

  /* Stack hero text above Vee */
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Reduce Vee container size */
  .hero-side {
    max-width: 260px !important;
    margin-top: 1rem;
  }

  /* Scale Vee down */
  .vee-orbit {
    max-width: 240px !important;
  }

  .vee-hero-img {
    max-width: 240px !important;
  }

  /* Resize the glow ring */
  .vee-orbit::before {
    width: 130% !important;
    height: 30% !important;
    bottom: -12%;
  }
}

/* MOBILE NAV BEHAVIOUR */
@media (max-width: 840px) {

  /* Show burger, tweak header layout */
  .menu-toggle {
    display: inline-flex;
  }

  .site-header {
    flex-wrap: wrap;
    align-items: center;
  }

  /* Hide nav by default on mobile */
  .top-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
    gap: 6px;
  }

  /* When nav is open */
  body.nav-open .top-nav {
    display: flex;
  }

  /* Make links full-width tap targets */
  .top-nav a,
  .nav-item-with-submenu > a {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }

  /* Optional: subtle border between items */
  .top-nav a + a,
  .nav-item-with-submenu + a {
    border-top: 1px solid rgba(255,255,255,0.05);
  }
}



