/* Top Navigation Bar Safety & Anti-Cutoff (320px -> 1440px+) */
.desktop-only-tool-pill,
.btn-guest-tool-pill {
  display: none !important;
}
.gauth-nav-bar {
  box-sizing: border-box !important;
  max-width: 1400px !important;
  padding: 0.6rem 1rem !important;
  gap: 0.35rem !important;
  overflow: visible !important;
}
.gauth-nav-brand {
  flex-shrink: 0 !important;
  margin-right: 0.25rem !important;
  gap: 0.5rem !important;
}
.gauth-nav-brand img {
  width: 38px !important;
  height: 38px !important;
}
.gauth-nav-brand-title {
  font-size: 1.15rem !important;
}
@media (min-width: 961px) {
  .gauth-nav-links {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    gap: 0.28rem !important;
  }
  .gauth-nav-link {
    font-size: 0.78rem !important;
    padding: 0.28rem 0.32rem !important;
    white-space: nowrap !important;
  }
  .gauth-nav-pricing-badge {
    padding: 0.28rem 0.52rem !important;
    font-size: 0.76rem !important;
  }
}
@media (max-width: 960px) {
  .gauth-nav-links {
    display: none !important;
  }
}
.gauth-nav-actions {
  margin-left: auto !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  white-space: nowrap !important;
}
.btn-gauth-login-nav,
#btn-gate-open-free-signup {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 0.42rem 0.72rem !important;
  font-size: 0.79rem !important;
}
#btn-auth-top-support-assistant .btn-guest-support-nav-label {
  display: none !important;
}
#btn-auth-top-support-assistant {
  padding: 0.45rem !important;
  min-width: 36px !important;
  width: 36px !important;
  height: 36px !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
#btn-auth-theme-toggle {
  flex-shrink: 0 !important;
}
/* Responsive Navigation: Below 1024px, links hide and hamburger takes over */
@media (max-width: 1680px) and (min-width: 961px) {
  #nav-link-audit,
  #nav-link-parent {
    display: none !important;
  }
}
/* Dropdown menu zero-leak safety guard */
.gauth-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}
.gauth-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -10px;
  right: -10px;
  height: 16px;
  background: transparent;
}
.gauth-dropdown-wrapper:hover .gauth-dropdown-menu,
.gauth-dropdown-wrapper.active .gauth-dropdown-menu {
  display: flex !important;
}

@media (max-width: 1024px) {
  .gauth-nav-links {
    display: none !important;
  }
  .btn-gauth-hamburger {
    display: flex !important;
  }
}
@media (min-width: 1025px) {
  .btn-gauth-hamburger {
    display: none !important;
  }
  .gauth-mobile-drawer,
  .gauth-drawer-backdrop {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #btn-gate-open-free-signup,
  #btn-auth-top-support-assistant,
  .gauth-nav-brand-badge {
    display: none !important;
  }
  .gauth-nav-bar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.45rem 0.65rem !important;
    gap: 0.35rem !important;
  }
  .gauth-nav-brand {
    margin-right: 0.2rem !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }
  .gauth-nav-brand img {
    width: 30px !important;
    height: 30px !important;
  }
  .gauth-nav-brand-title {
    font-size: 0.96rem !important;
  }
  .btn-gauth-hamburger {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }
}
@media (max-width: 640px) {
  #btn-gate-open-free-signup {
    display: none !important;
  }
  .gauth-nav-bar {
    padding: 0.42rem 0.55rem !important;
    gap: 0.3rem !important;
  }
  .gauth-nav-brand {
    margin-right: 0.2rem !important;
  }
  .gauth-nav-brand img {
    width: 28px !important;
    height: 28px !important;
  }
  .gauth-nav-brand-title {
    font-size: 0.92rem !important;
  }
  #btn-auth-theme-toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
  }
  #btn-nav-to-login svg {
    display: none !important;
  }
  #btn-nav-to-login {
    padding: 0.38rem 0.62rem !important;
    font-size: 0.76rem !important;
  }
}
@media (min-width: 1281px) {
  .gauth-portal-hero-wrapper {
    max-width: 1400px !important;
  }
}
@media (min-width: 1680px) {
  .gauth-portal-hero-wrapper {
    max-width: 1540px !important;
  }
  .gauth-nav-bar {
    max-width: 1540px !important;
  }
}
@media (max-width: 380px) {
  .gauth-portal-hero-wrapper {
    padding: 0.75rem 0.45rem 5rem !important;
  }
  .gauth-nav-bar {
    padding: 0.4rem 0.5rem !important;
    gap: 0.25rem !important;
  }
  .gauth-nav-brand img {
    width: 28px !important;
    height: 28px !important;
  }
  .gauth-nav-brand-title {
    font-size: 0.84rem !important;
  }
  .gauth-nav-brand-badge {
    display: none !important;
  }
  #btn-auth-theme-toggle {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    padding: 0 !important;
  }
  #btn-nav-to-login svg {
    display: none !important;
  }
  #btn-nav-to-login {
    padding: 0.36rem 0.58rem !important;
    font-size: 0.74rem !important;
  }
  .gauth-bnav-item {
    font-size: 0.58rem !important;
    padding: 0.2rem 1px !important;
    letter-spacing: -0.01em !important;
  }
  .gauth-bnav-icon {
    width: 30px !important;
    height: 24px !important;
  }
}
@media (min-width: 769px) {
  .gauth-portal-hero-wrapper {
    padding-bottom: 4.5rem !important;
  }
}
.auth-gate-footer {
  width: 100%;
  max-width: 1240px;
  margin: 3.5rem auto 1.5rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #334155;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2.5rem;
}
[data-theme="dark"] .auth-gate-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.auth-footer-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .auth-footer-top-strip {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.auth-footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.auth-footer-brand-title {
  font-family: 'Be Vietnam Pro', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}
[data-theme="dark"] .auth-footer-brand-title {
  color: #f8fafc;
}
.auth-footer-brand-tagline {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}
[data-theme="dark"] .auth-footer-brand-tagline {
  color: #94a3b8;
}
.auth-footer-trust-chips {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.auth-footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: rgba(0, 197, 223, 0.08);
  border: 1px solid rgba(0, 197, 223, 0.25);
  font-size: 0.76rem;
  font-weight: 600;
  color: #0097a7;
}
[data-theme="dark"] .auth-footer-chip {
  background: rgba(0, 197, 223, 0.12);
  border-color: rgba(0, 197, 223, 0.35);
  color: #26c6da;
}
.auth-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.4fr 1.3fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 960px) {
  .auth-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}
@media (max-width: 640px) {
  .auth-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
.auth-footer-col-title,
.auth-footer-heading {
  font-family: 'Be Vietnam Pro', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin-bottom: 1rem;
}
[data-theme="dark"] .auth-footer-col-title,
[data-theme="dark"] .auth-footer-heading {
  color: #f1f5f9;
}
.auth-footer-company-name,
.footer-company-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
[data-theme="dark"] .auth-footer-company-name,
[data-theme="dark"] .footer-company-name {
  color: #f8fafc;
}
.auth-footer-nav-list,
.footer-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auth-legal-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.83rem;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.auth-legal-link:hover {
  color: #00c5df;
  transform: translateX(2px);
}
[data-theme="dark"] .auth-legal-link {
  color: #94a3b8;
}
[data-theme="dark"] .auth-legal-link:hover {
  color: #26c6da;
}
.auth-footer-bct-badge,
.bct-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  margin-top: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
[data-theme="dark"] .auth-footer-bct-badge,
[data-theme="dark"] .bct-badge-box {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.12);
}
.auth-footer-company-meta {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #475569;
}
[data-theme="dark"] .auth-footer-company-meta {
  color: #94a3b8;
}
.auth-footer-company-meta strong {
  color: #1e293b;
}
[data-theme="dark"] .auth-footer-company-meta strong {
  color: #e2e8f0;
}
.auth-footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.auth-footer-link-item a {
  color: #475569;
  text-decoration: none;
  font-size: 0.83rem;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.auth-footer-link-item a:hover {
  color: #00c5df;
  transform: translateX(2px);
}
[data-theme="dark"] .auth-footer-link-item a {
  color: #94a3b8;
}
[data-theme="dark"] .auth-footer-link-item a:hover {
  color: #26c6da;
}
.auth-footer-bct-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  margin-top: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.auth-footer-bct-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .auth-footer-bct-badge {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.12);
}
.auth-footer-bct-text-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.auth-footer-bct-text-sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 1px;
}
[data-theme="dark"] .auth-footer-bct-text-sub {
  color: #94a3b8;
}
.auth-footer-bank-card {
  padding: 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #334155;
}
.auth-footer-bank-header {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.auth-footer-bank-details {
  font-size: 0.77rem;
  color: #475569;
  line-height: 1.55;
}
.auth-footer-bank-stk {
  color: #0284c7 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
}
[data-theme="dark"] .auth-footer-bank-card {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
[data-theme="dark"] .auth-footer-bank-header {
  color: #38bdf8;
}
[data-theme="dark"] .auth-footer-bank-details {
  color: #cbd5e1;
}
.auth-footer-bank-card strong {
  color: #0f172a;
}
[data-theme="dark"] .auth-footer-bank-card strong {
  color: #f8fafc !important;
}
[data-theme="dark"] .auth-footer-bank-stk {
  color: #38bdf8 !important;
}
.auth-footer-copyright-row {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #64748b;
}
[data-theme="dark"] .auth-footer-copyright-row {
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

/* Horizontal Full-Width B2B Closing CTA Banner Above Footer */
#section-gate-login {
  display: none !important;
}

.landing-closing-cta-banner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 3rem;
  padding: 2.25rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%);
  border: 1px solid rgba(0, 197, 223, 0.28);
  box-shadow: 0 14px 36px rgba(8, 40, 80, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 2rem;
  box-sizing: border-box;
}

[data-theme="dark"] .landing-closing-cta-banner {
  background: linear-gradient(135deg, #111827 0%, #0f172a 55%, rgba(8, 47, 73, 0.65) 100%);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.closing-cta-badge {
  background: rgba(0, 197, 223, 0.12) !important;
  color: #0097a7 !important;
  border-color: rgba(0, 197, 223, 0.32) !important;
  margin-bottom: 0.65rem;
  display: inline-block;
}

[data-theme="dark"] .closing-cta-badge {
  background: rgba(56, 189, 248, 0.14) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

.closing-cta-title {
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.3;
  color: var(--text-main, #082850);
  margin: 0 0 0.55rem;
}

[data-theme="dark"] .closing-cta-title { color: #f8fafc !important; }

.closing-cta-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary, #475569);
  margin: 0 0 0.9rem;
}

[data-theme="dark"] .closing-cta-desc { color: #cbd5e1 !important; }

.closing-cta-role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0e7490;
}

[data-theme="dark"] .closing-cta-role-pills { color: #38bdf8; }

.closing-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.btn-closing-cta-primary,
.btn-closing-cta-secondary {
  min-height: 46px;
  padding: 0.72rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-sizing: border-box;
  width: 100%;
}

.btn-closing-cta-primary {
  background: #00c5df;
  color: #082850;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 197, 223, 0.32);
}

.btn-closing-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 197, 223, 0.42);
}

.btn-closing-cta-secondary {
  background: rgba(8, 40, 80, 0.05);
  color: var(--text-main, #082850);
  border: 1.5px solid rgba(8, 40, 80, 0.16);
}

.btn-closing-cta-secondary:hover {
  background: rgba(0, 197, 223, 0.1);
  border-color: rgba(0, 197, 223, 0.45);
}

[data-theme="dark"] .btn-closing-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .btn-closing-cta-secondary:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.45);
}

.closing-cta-pricing-link {
  background: none;
  border: none;
  padding: 0.3rem 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  cursor: pointer;
  text-align: center;
}

.closing-cta-pricing-link:hover {
  color: #0284c7;
  text-decoration: underline;
}

[data-theme="dark"] .closing-cta-pricing-link { color: #94a3b8; }
[data-theme="dark"] .closing-cta-pricing-link:hover { color: #38bdf8; }

@media (max-width: 900px) {
  .landing-closing-cta-banner {
    grid-template-columns: 1fr;
    padding: 1.65rem 1.4rem;
    gap: 1.35rem;
  }
}

@media (max-width: 480px) {
  .landing-closing-cta-banner {
    padding: 1.25rem 1rem;
    border-radius: 18px;
    margin-bottom: 2.25rem;
  }
  .closing-cta-title { font-size: 1.2rem; }
}
