/* ─── NAVBAR ────────────────────────────────────── */
.navbar {
  background: rgba(6,31,51,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.25);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(246,185,59,0.18);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: white !important;
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-icon {
  width: 36px; height: 36px;
  background: var(--grad-accent);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.brand-sub { color: var(--accent); }

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0 4px;
  padding: 8px 14px !important;
  color: rgba(255,255,255,0.82) !important;
  border-radius: 8px;
  transition: all 0.25s var(--ease);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
  background: rgba(246,185,59,0.1);
}

.nav-cta {
  background: var(--grad-accent) !important;
  color: var(--primary-dark) !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
  font-weight: 800 !important;
  margin-left: 6px !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(246,185,59,0.4) !important;
  color: var(--primary-dark) !important;
}

.navbar-toggler {
  border: 1.5px solid rgba(246,185,59,0.45) !important;
  border-radius: 9px !important;
  padding: 6px 10px !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(246,185,59,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── REDESIGNED NAVBAR OVERRIDE ────────────────── */
.navbar {
  background: #020d1a !important;
  padding: 0 !important;
  border-top: 3px solid var(--accent) !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.navbar > .container { height: 60px; display: flex; align-items: center; }
.brand-icon {
  font-size: 0 !important;
  letter-spacing: 0 !important;
}
.brand-icon::after {
  content: 'JS';
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary-dark);
}
.navbar-nav .nav-link { font-size: 0.83rem !important; }

/* ─── VERIFICATION PORTAL HEADER ────────────────── */
.vp-header {
  background: linear-gradient(135deg, #040f1a 0%, #061f33 40%, #0a3d62 75%, #0d4f80 100%);
  border-bottom: 3px solid var(--accent);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}

.vp-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.vp-header::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(246,185,59,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.vp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.vp-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vp-header-icon {
  width: 56px; height: 56px;
  background: rgba(246,185,59,0.15);
  border: 1.5px solid rgba(246,185,59,0.35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.vp-header-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: white;
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.vp-header-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin: 4px 0 0;
  font-weight: 500;
}

.vp-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.vp-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(5,150,105,0.2);
  border: 1px solid rgba(5,150,105,0.4);
  color: #6ee7b7;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.vp-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.vp-breadcrumb a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.vp-breadcrumb a:hover { color: var(--accent); }
.vp-breadcrumb span { margin: 0 6px; }

/* ─── REDESIGNED VP-HEADER OVERRIDE (COMPACT) ──── */
.vp-header {
  background: linear-gradient(135deg, #020c17 0%, #051525 35%, #0a3d62 100%) !important;
  padding: 18px 0 16px !important;
  border-bottom: none !important;
  text-align: left;
}
.vp-header::before { background-size: 28px 28px; }
.vp-header::after {
  bottom: -60px !important; right: -60px !important;
  width: 260px !important; height: 260px !important;
  background: radial-gradient(circle, rgba(246,185,59,0.07), transparent 60%) !important;
}
.vp-header-inner, .vp-header-left, .vp-header-right { all: unset; }

/* Compact horizontal layout */
.vph-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  flex-wrap: wrap; position: relative; z-index: 1;
}
.vph-left { display: flex; align-items: center; gap: 14px; }

/* Small seal */
.vph-seal {
  position: relative; width: 44px; height: 44px; flex-shrink: 0;
}
.vph-seal-ring {
  position: absolute; inset: 0;
  border: 1.5px dashed rgba(246,185,59,0.3);
  border-radius: 50%;
  animation: sealRotate 20s linear infinite;
}
.vph-seal-ring2 {
  position: absolute; inset: 6px;
  border: 1px solid rgba(255,255,255,0.06); border-radius: 50%;
}
.vph-seal-core {
  position: absolute; inset: 10px;
  background: rgba(246,185,59,0.12);
  border: 1px solid rgba(246,185,59,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 0.82rem;
}
.vph-seal-pulse {
  position: absolute; inset: -4px;
  border: 1px solid rgba(246,185,59,0.1);
  border-radius: 50%;
  animation: vcbPulse 3.5s ease-in-out infinite;
}

.vph-text-wrap { }
.vph-main-title {
  font-size: 1rem; font-weight: 800; color: white;
  letter-spacing: -0.2px; line-height: 1.2; margin: 0 0 3px;
}
.vph-main-sub {
  font-size: 0.72rem; color: rgba(255,255,255,0.48);
  font-weight: 500; margin: 0;
}

/* Trust chips */
.vph-trust-row {
  display: flex; align-items: center;
  gap: 7px; flex-wrap: wrap;
}
.vph-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.65rem; font-weight: 700;
  padding: 5px 11px; border-radius: 50px;
  border: 1px solid transparent;
}
.vph-chip-green  { background: rgba(5,150,105,0.14);  border-color: rgba(5,150,105,0.3);  color: #86efac; }
.vph-chip-gold   { background: rgba(246,185,59,0.1);  border-color: rgba(246,185,59,0.25); color: var(--accent); }
.vph-chip-blue   { background: rgba(99,102,241,0.13); border-color: rgba(99,102,241,0.28); color: #a5b4fc; }
.vph-chip-white  { background: rgba(255,255,255,0.06);border-color: rgba(255,255,255,0.12);color: rgba(255,255,255,0.65); }

/* ─── MAIN AREA ──────────────────────────────────── */
.vp-main {
  padding: 44px 0 70px;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(10,61,98,0.06) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 80%, rgba(246,185,59,0.05) 0%, transparent 52%),
    var(--light-bg);
}

.vc-wrap {
  max-width: 980px;
  margin: 0 auto;
}

/* ─── FOOTER ─────────────────────────────────────── */
.vp-footer {
  background: var(--primary-dark);
  border-top: 3px solid var(--accent);
  padding: 28px 0;
}

.vp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.vp-footer-brand {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vp-footer-brand i { color: var(--accent); }

.vp-footer-brand span {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}

.vp-footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.vp-footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.vp-footer-links a:hover { color: var(--accent); }

.vp-footer-copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ─── SECURE OVERLAY ─────────────────────────────── */
.secure-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.01);
  z-index: 9999;
  pointer-events: none;
}

.no-select {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 991px) {
  .vp-footer-inner  { flex-direction: column; align-items: flex-start; gap: 14px; }
  .vp-footer-links  { gap: 16px; }
}

@media (max-width: 767px) {
  /* Main area */
  .vp-main          { padding: 18px 0 40px; }

  /* Header */
  .vp-header-right  { display: none; }
  .vph-trust-row    { display: none; }
  .vp-header        { padding: 12px 0 !important; }
  .vph-seal         { width: 36px; height: 36px; }
  .vph-seal-core    { inset: 8px; font-size: 0.72rem; }
  .vph-main-title   { font-size: 0.9rem; }
  .vph-main-sub     { font-size: 0.65rem; }

  /* Navbar */
  .navbar-brand     { font-size: 1.1rem; gap: 8px; }
  .brand-icon       { width: 30px; height: 30px; border-radius: 8px; }

  /* Footer */
  .vp-footer        { padding: 20px 0; }
  .vp-footer-brand  { font-size: 0.9rem; }
  .vp-footer-links  { gap: 14px; flex-wrap: wrap; }
  .vp-footer-links a { font-size: 0.78rem; }
  .vp-footer-copy   { font-size: 0.7rem; padding-top: 12px; }
}

@media (max-width: 480px) {
  .vp-main          { padding: 14px 0 32px; }
  .vp-header        { padding: 10px 0 !important; }
}

@media (max-width: 360px) {
  .vph-left         { gap: 10px; }
  .vph-main-title   { font-size: 0.82rem; }
}
