/* ================================
   VibeQ Shared Styles
   Use this on every page before the page-specific CSS.
================================ */

:root {
  --bg: #060918;
  --bg2: #0b1240;
  --panel: rgba(255,255,255,0.08);
  --panel2: rgba(255,255,255,0.12);
  --text: #eef6ff;
  --muted: #b8c9e8;
  --soft: #d7e8ff;
  --line: rgba(255,255,255,0.14);
  --teal: #52ffe0;
  --cyan: #8be9ff;
  --violet: #b996ff;
  --pink: #ff88d6;
  --green: #84f3b0;
  --amber: #ffd785;
  --shadow: 0 24px 80px rgba(0,0,0,0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(82,255,224,.28), transparent 26%),
    radial-gradient(circle at 80% 0%, rgba(185,150,255,.30), transparent 28%),
    radial-gradient(circle at 72% 48%, rgba(255,136,214,.12), transparent 28%),
    linear-gradient(135deg, #050612 0%, #090f2e 38%, #10154a 78%, #050612 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.25) 1px, transparent 1px),
    radial-gradient(circle, rgba(139,233,255,.22) 1px, transparent 1px);
  background-size: 54px 54px, 92px 92px;
  background-position: 0 0, 22px 31px;
  opacity: .18;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.7; color: var(--muted); }

h1, h2, h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  max-width: 940px;
}

h2 { font-size: clamp(2.05rem, 4vw, 4rem); }
h3 { font-size: 1.35rem; }

.section-shell,
.navbar,
.footer-grid,
.footer-bottom {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
}

.section { padding: 44px 0; }

.section-narrow {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
}

.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  color: var(--muted);
}

.eyebrow {
  color: var(--teal);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

.eyebrow.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(82,255,224,.10);
  color: #dffef8;
  border: 1px solid rgba(82,255,224,.24);
  font-size: .9rem;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 16px var(--teal);
}

.gradient-text {
  background: linear-gradient(90deg, #fff, var(--teal), var(--violet), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Q Gradient — premium neon but slightly softer */
.gradient-text-q {
  background: linear-gradient(
    135deg,
	#DDFBFF 15%,
    #42E8FF 30%,
    #4B5CFF 45%,
    #FF4FD8 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

 /* text-shadow:
    0 0 6px rgba(106, 242, 255, 0.25),
    0 0 12px rgba(255, 79, 216, 0.18);*/
}


/* Real-Life Elevation — more elegant and readable */
.gradient-text-t {
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #FFFFFF 13%,
    #DDFBFF 35%,
    #6AF2FF 58%,
    #8A5CFF 78%,
    #FF7BE5 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================================
   Navigation
================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: rgba(6,9,24,.66);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* ================================
   VibeQ Header Logo
================================ */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 220px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, white, var(--teal) 18%, var(--violet) 54%, #172167 100%);
  box-shadow: 0 0 28px rgba(82,255,224,.32);
  display: grid;
  place-items: center;
  color: #08112e;
  font-weight: 950;
}

.brand-text {
  display: block;
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text);
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  margin-top: 2px;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand-logo-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 10px rgba(82,255,224,.14))
    drop-shadow(0 0 16px rgba(185,150,255,.08));
}

.brand-logo-full {
  height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 14px rgba(82,255,224,.18))
    drop-shadow(0 0 24px rgba(185,150,255,.12));
  transition:
    transform .25s ease,
    filter .25s ease;
}

.brand:hover .brand-logo-full {
  transform: translateY(-1px) scale(1.01);
  filter:
    drop-shadow(0 0 18px rgba(82,255,224,.26))
    drop-shadow(0 0 30px rgba(185,150,255,.18));
}

/* ================================
   Navbar layout
================================ */

.navbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  color: var(--soft);
  font-size: .92rem;
  font-weight: 700;
}

.nav-menu a { opacity: .82; transition: opacity .2s ease, color .2s ease; }
.nav-menu a:hover, .nav-menu a.active { opacity: 1; color: var(--teal); }

.nav-cta {
  color: #07122d !important;
  background: linear-gradient(135deg, var(--teal), var(--cyan) 45%, #d9c7ff 100%);
  border-radius: 999px;
  padding: 12px 17px;
  font-weight: 900;
  opacity: 1 !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

/* ================================
   Shared Hero
   Preferred eclipse/tag/note version
================================ */

.hero {
  padding: 44px 0 48px;
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 76px);
}

.hero-brand-lockup {
  margin-bottom: 18px;
}

.hero-logo-full {
  width: min(340px, 68vw);
  height: auto;
  object-fit: contain;

  filter:
    drop-shadow(0 0 24px rgba(82,255,224,.16))
    drop-shadow(0 0 42px rgba(185,150,255,.12));

  opacity: .96;
}

.page-hero {
  min-height: auto;
}

.hero-subtitle {
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  max-width: 740px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 900;
  font-size: .94rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.13);
  border-color: rgba(82,255,224,.50);
}

.btn-primary {
  color: #07122d;
  background: linear-gradient(135deg, var(--teal), var(--cyan) 45%, #d9c7ff 100%);
  border-color: transparent;
}

.btn-secondary {
  background: rgba(255,255,255,.08);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span,
.chip,
.journey-meta span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: var(--soft);
  font-size: .9rem;
  font-weight: 800;
}

/* ================================
   Hero Eclipse / Orbit Visual
   Desktop/web is the default version.
   Mobile version is defined once in the mobile media query below.
================================ */

.hero-eclipse-card {
  position: relative;
  border-radius: 38px;
  min-height: 540px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 28%, rgba(82,255,224,.30), transparent 26%),
    radial-gradient(circle at 70% 58%, rgba(185,150,255,.28), transparent 30%),
    linear-gradient(155deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-eclipse-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}

/* Desktop/web orbit lines */
.orbit {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 350px;
  height: 180px;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 210px;
  border: 2px solid rgba(255,255,255,.52);
  border-radius: 50%;
  transform-origin: center;
  background: rgba(13, 38, 55, 0.42);
  box-shadow:
    inset 0 0 44px rgba(106, 242, 255, 0.08),
    0 0 18px rgba(255,255,255,.20),
    0 0 36px rgba(221,251,255,.16),
    0 0 58px rgba(106,242,255,.12);
}

.orbit::before { transform: translate(-50%, -50%) rotate(24deg); }
.orbit::after { transform: translate(-50%, -50%) rotate(-31deg); }

/* Desktop/web pulsing orb */
.signal-orb {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(221, 251, 255, 0.98) 8%,
    rgba(106, 242, 255, 0.92) 25%,
    rgba(106, 242, 255, 0.58) 42%,
    rgba(138, 92, 255, 0.48) 62%,
    rgba(138, 92, 255, 0.24) 78%,
    transparent 100%
  );
  box-shadow:
    0 0 72px rgba(106, 242, 255, 0.45),
    0 0 120px rgba(138, 92, 255, 0.30),
    inset 0 0 42px rgba(255,255,255,.20);
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    filter: brightness(1) saturate(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    filter: brightness(1.12) saturate(1.22);
  }
}

.signal-tag {
  position: absolute;
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(5,9,25,.64);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  color: var(--soft);
  font-weight: 900;
  font-size: .88rem;
  z-index: 3;
}

.signal-tag small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

.tag1 { left: 26px; top: 50px; }
.tag2 { right: 26px; top: 50px; }
.tag3 { left: 26px; bottom: 170px; }
.tag4 { right: 26px; bottom: 170px; }

.hero-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  min-height: 112px;
  padding: 15px 18px;
  border-radius: 24px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(82,255,224,.22);
  z-index: 2;
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-note p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.5;
}

/* ================================
   Shared Sections / Cards
================================ */

.message-bridge {
  text-align: left;
  padding-top: 24px;
  padding-bottom: 30px;
}

.domain-grid,
.library-grid,
.product-stack {
  display: grid;
  gap: 18px;
}

.domain-grid,
.library-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-stack {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}

.domain-card,
.journey-card,
.product-stack div,
.step,
.journey-detail,
.journey-snapshot {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.052));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

.domain-card,
.journey-card {
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.domain-card:hover,
.journey-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82,255,224,.32);
}

.domain-card > span {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(82,255,224,.13);
  border: 1px solid rgba(82,255,224,.22);
  margin-bottom: 14px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.text-link,
.card-link,
.audience-card a {
  color: var(--teal);
  font-weight: 900;
}

.dark-band-soft {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.09);
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.step {
  display: grid;
  grid-template-columns: 60px 210px 1fr;
  align-items: center;
  gap: 16px;
}

.step > span {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #07122d;
  font-weight: 950;
  background: linear-gradient(135deg, var(--teal), var(--violet));
}

.step p { margin: 0; }

.card-label {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
  font-weight: 900;
  margin: 0 0 10px;
}

.philosophy-bridge {
  padding-top: 30px;
  padding-bottom: 30px;
}

.quote-panel {
  text-align: center;
  border-radius: 42px;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(82,255,224,.14), rgba(185,150,255,.14)),
    rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  max-width: 980px;
  margin: 0 auto;
}

.quote-panel p {
  max-width: 780px;
  margin: 22px auto 0;
}

.final-cta {
  text-align: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 42px;
  padding: clamp(34px, 6vw, 78px) 28px;
  margin-bottom: 56px;
  background:
    linear-gradient(135deg, rgba(82,255,224,.14), rgba(185,150,255,.14)),
    rgba(255,255,255,.06);
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

/* ================================
   Footer
================================ */

.site-footer {
  padding: 54px 0 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(3,8,22,.44);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid h4 { margin: 0 0 14px; }

.footer-grid a {
  display: block;
  color: var(--muted);
  margin: 9px 0;
}

.footer-grid a:hover { color: var(--teal); }

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(13,26,61,.9);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ================================
   Header Responsive Adjustments
================================ */

@media (max-width: 1180px) {
  .brand { min-width: 190px; }
  .brand-logo-icon { width: 50px; height: 50px; }
  .nav-menu { gap: 14px; font-size: .86rem; }
  .nav-cta { padding: 10px 14px; }
}

@media (max-width: 640px) {
  .brand { min-width: 0; }
  .brand-logo-icon { width: 42px; height: 42px; }
  .brand-logo-full { height: 42px; }
  .brand-text { font-size: 1.18rem; }
  .brand-sub { font-size: .72rem; }
  .navbar { min-height: 72px; }
}

/* ================================
   Shared Responsive
================================ */

@media (max-width: 1080px) {
  .hero,
  .journey-detail {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-eclipse-card {
    max-width: 620px;
    min-height: 520px;
  }

  .domain-grid,
  .library-grid,
  .product-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .step {
    grid-template-columns: 60px 1fr;
  }

  .step p {
    grid-column: 2;
  }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; z-index: 60; }

  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 28px;
    background: rgba(6,9,24,.98);
    border-bottom: 1px solid rgba(255,255,255,.10);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .nav-cta {
    text-align: center;
    margin-top: 12px;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 52px 0; }
  .section-header { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section-shell, .navbar, .footer-grid, .footer-bottom, .section-narrow {
    width: min(100% - 28px, var(--max-width));
  }

  .section { padding: 42px 0; }

  .hero {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  h1 { font-size: clamp(2.75rem, 14vw, 4.4rem); }
  h2 { font-size: 2.1rem; }

  .domain-grid,
  .library-grid,
  .product-stack {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }

  /* Mobile hero eclipse/orbit layout */
  .hero-eclipse-card {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 20px;
  }

  .tag1,
  .tag2,
  .tag3,
  .tag4 {
    position: static;
    order: 1;
    margin-bottom: 10px;
  }

  .hero-note {
    position: static;
    order: 2;
    margin-top: 14px;
    margin-bottom: 22px;
    min-height: auto;
  }

  .orbit {
    order: 3;
    position: relative;
    display: block;
    left: auto;
    top: auto;
    width: 100%;
    height: 230px;
    margin: 0 auto 8px;
    transform: none;
    opacity: 1;
    overflow: visible;
    z-index: 1;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .orbit::before,
  .orbit::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 305px;
    height: 145px;
    border: 1.7px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    background: transparent;
    transform-origin: center;
    z-index: 2;
    box-shadow:
      0 0 18px rgba(255, 255, 255, 0.20),
      0 0 36px rgba(221, 251, 255, 0.16);
  }

  .orbit::before { transform: translate(-50%, -50%) rotate(24deg); }
  .orbit::after { transform: translate(-50%, -50%) rotate(-31deg); }

  .signal-orb {
    order: 3;
    position: relative;
    display: block;
    left: auto;
    top: auto;
    width: 120px;
    height: 120px;
    margin: -183px auto 63px;
    transform: none;
    opacity: .95;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(221, 251, 255, 0.96) 8%,
      rgba(106, 242, 255, 0.90) 25%,
      rgba(106, 242, 255, 0.55) 42%,
      rgba(138, 92, 255, 0.45) 62%,
      rgba(138, 92, 255, 0.20) 78%,
      transparent 100%
    );
    box-shadow:
      0 0 52px rgba(106, 242, 255, 0.42),
      0 0 92px rgba(138, 92, 255, 0.26),
      inset 0 0 30px rgba(255,255,255,.18);
    animation: mobileOrbPulse 4s ease-in-out infinite;
  }

  @keyframes mobileOrbPulse {
    0%, 100% {
      transform: scale(1);
      filter: brightness(1) saturate(1);
      opacity: .95;
    }
    50% {
      transform: scale(1.06);
      filter: brightness(1.14) saturate(1.22);
      opacity: 1;
    }
  }

  .dark-band-soft {
    padding: 24px;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step p {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ================================
   Shared Header Dropdown
================================ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  opacity: .82;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: opacity .2s ease, color .2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.active .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
  opacity: 1;
  color: var(--teal);
}

.dropdown-arrow {
  font-size: .9rem;
  transform: translateY(-1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(6,9,24,.96);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 99;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--soft);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a.active {
  background: rgba(82,255,224,.10);
  color: var(--teal);
}

.nav-dropdown.open .dropdown-arrow,
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
  transform: translateY(-1px) rotate(180deg);
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

/* Mobile dropdown */
@media (max-width: 920px) {
  .nav-dropdown {
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 10px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.open:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    padding: 11px 12px;
    border-bottom: 0;
  }
}

/* ================================
   Footer layout update
   Fit footer links in one row on desktop
================================ */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid h4 {
  margin-bottom: 14px;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
}

/* Keep footer bottom clean */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Tablet */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ================================
   Footer brand logo alignment - final override
   This must stay AFTER .footer-grid a rules.
================================ */

.footer-grid a.footer-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 18px;
}

.footer-grid a.footer-brand .footer-logo-icon,
.footer-grid a.footer-brand .brand-logo-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-grid a.footer-brand .brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.footer-grid a.footer-brand .brand-text {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.footer-grid a.footer-brand .brand-sub {
  display: block;
  font-size: .82rem;
  line-height: 1.1;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .footer-grid a.footer-brand .footer-logo-icon,
  .footer-grid a.footer-brand .brand-logo-icon {
    width: 42px;
    height: 42px;
  }
}

/* Homepage hero title - refined size */
.hero .hero-content h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
}

@media (max-width: 640px) {
  .hero .hero-content h1 {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }
}

