/* Viralnetix shared page chrome: fixed nav + dark footer.
   Ported 1:1 from the React Navigation.tsx / Footer.tsx (Lovable export 2026-08-03).
   Used by pages that had React chrome on the old site: /customers, case studies,
   /careers, /gtm-engineer, /privacy-policy, /terms-of-use, 404. */

.vn-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.35s ease;
  padding: 18px 0;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
}
.vn-nav.scrolled { padding: 10px 0; }
.vn-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1px solid rgba(13,13,13,0.08);
  box-shadow: none;
  transition: all 0.35s ease;
}
.vn-nav.scrolled .vn-nav-inner {
  max-width: 880px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.96);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(13,13,13,0.10);
}
.vn-nav-brand { display: flex; align-items: center; }
.vn-nav-links {
  display: flex; gap: 2px; list-style: none;
  font-size: 14px; font-weight: 500;
  padding: 0; margin: 0;
}
.vn-nav-links > li { position: relative; }
.vn-nav-links a, .vn-nav-trigger {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  color: #1A1A1F;
  transition: background 0.2s;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  font-weight: 500;
}
.vn-nav-links a:hover, .vn-nav-trigger:hover { background: rgba(13,13,13,0.05); }
.vn-nav-disabled {
  display: inline-block;
  padding: 8px 14px;
  color: rgba(13,13,13,0.42);
  cursor: default;
  user-select: none;
}
.vn-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: white;
  border: 1px solid rgba(13,13,13,0.08);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 16px 40px rgba(13,13,13,0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  list-style: none;
  margin: 0;
}
.vn-dropdown.open,
.vn-has-drop:hover .vn-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}
.vn-dropdown a, .vn-dropdown .vn-dd-disabled {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: #1A1A1F;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.vn-dropdown a:hover { background: rgba(195,28,98,0.06); color: #C31C62; }
.vn-dropdown .vn-dd-disabled { color: rgba(13,13,13,0.42); cursor: default; }
.vn-dd-soon {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; padding: 2px 7px; border-radius: 4px;
  background: rgba(13,13,13,0.06); color: rgba(13,13,13,0.55);
  margin-left: 6px; vertical-align: middle;
}
.vn-nav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C31C62, #8B29A3);
  color: white; font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  border: none; cursor: pointer; white-space: nowrap;
  text-decoration: none;
}
.vn-nav.scrolled .vn-nav-btn { padding: 10px 16px; font-size: 13px; }
.vn-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(195,28,98,0.35);
  filter: brightness(1.05);
}
.vn-nav-hamburger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: none;
  border: 1px solid rgba(13,13,13,0.12);
  cursor: pointer;
  align-items: center; justify-content: center;
  color: #1A1A1F;
}
.vn-mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 16px; right: 16px;
  background: white;
  border: 1px solid rgba(13,13,13,0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(13,13,13,0.14);
  margin-top: 10px;
  padding: 12px;
  z-index: 50;
}
.vn-mobile-menu.open { display: block; }
.vn-mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 0; margin: 0; }
.vn-mobile-menu a, .vn-mobile-menu .vn-m-disabled {
  display: block; padding: 13px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: #1A1A1F;
  text-decoration: none;
}
.vn-mobile-menu .vn-m-disabled { color: rgba(13,13,13,0.42); cursor: default; }
.vn-mobile-section {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(13,13,13,0.55); font-weight: 700; padding: 16px 16px 6px;
}
@media (max-width: 900px) {
  .vn-nav-links, .vn-nav-btn-desktop { display: none !important; }
  .vn-nav-hamburger { display: inline-flex; }
  .vn-nav-inner { max-width: calc(100% - 24px) !important; padding: 10px 14px !important; }
  .vn-has-drop:hover .vn-dropdown { opacity: 0; visibility: hidden; }
}

/* ---------- Footer ---------- */

.vn-footer {
  background: #1A1A1F;
  color: rgba(255,255,255,0.78);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
}
.vn-footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 15% 30%, rgba(195,28,98,0.10), transparent 60%);
  pointer-events: none;
}
.vn-footer .vn-container {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.vn-footer .vn-brand { color: white; display: inline-flex; }
.vn-foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.25fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: flex-start;
}
.vn-foot-cta .vn-brand { margin-bottom: 28px; }
.vn-foot-cta-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 22px;
  line-height: 1.1;
  max-width: 360px;
}
.vn-foot-cta-form {
  display: flex; align-items: stretch;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 6px;
  max-width: 420px;
}
.vn-foot-cta-form input {
  flex: 1; border: none; outline: none;
  background: transparent;
  padding: 12px 18px;
  font-family: inherit; font-size: 14px;
  color: white;
}
.vn-foot-cta-form input::placeholder { color: rgba(255,255,255,0.40); }
.vn-foot-cta-form button {
  border: none; cursor: pointer;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C31C62, #8B29A3);
  color: white;
  font-weight: 600; font-size: 13.5px;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}
.vn-foot-cta-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(195,28,98,0.40);
  filter: brightness(1.05);
}
.vn-foot-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.vn-foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.vn-foot-col a {
  color: rgba(255,255,255,0.62); font-size: 14px;
  transition: color 0.2s;
  text-decoration: none;
}
.vn-foot-col a:hover { color: white; }
.vn-foot-col .vn-disabled {
  color: rgba(255,255,255,0.32);
  font-size: 14px;
  cursor: default;
}
.vn-foot-team .vn-foot-operators { display: flex; flex-direction: column; gap: 16px; }
.vn-operator { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.vn-op-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #C31C62, #8B29A3);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
  flex-shrink: 0; overflow: hidden;
}
.vn-op-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vn-op-meta .vn-nm { font-size: 14px; font-weight: 600; color: white; line-height: 1.2; }
.vn-op-meta .vn-rl { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.vn-foot-certs { margin-top: 20px; }
.vn-foot-certs-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); margin-bottom: 10px;
}
.vn-foot-certs-row {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px 14px;
  align-items: center;
  justify-content: start;
}
.vn-foot-certs-row img { height: 36px; width: auto; display: block; }
.vn-foot-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.vn-foot-bottom a { color: rgba(255,255,255,0.55); transition: color 0.2s; text-decoration: none; }
.vn-foot-bottom a:hover { color: white; }
@media (max-width: 900px) {
  .vn-foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
  .vn-foot-cta { grid-column: 1 / -1; }
  .vn-foot-cta-title { font-size: 26px; }
  .vn-foot-certs-row { flex-wrap: nowrap; gap: 8px; justify-content: space-between; }
  .vn-foot-certs-row img { height: 24px; flex: 0 1 auto; min-width: 0; }
}
@media (max-width: 480px) {
  .vn-foot-cta-form { flex-wrap: wrap; }
  .vn-foot-cta-form input { min-width: 0; flex: 1 1 100%; }
  .vn-foot-cta-form button { flex: 1 1 100%; }
}
