:root {
  --vip-blue: #19a8e3;
  --vip-blue-dark: #0c76a8;
  --vip-dark: #101827;
  --vip-light: #f5f7fb;
  --vip-border: #e0e4f0;
  --vip-text: #222;
  --vip-muted: #6b7280;
  --vip-warning: #f59e0b;
  --vip-critical: #dc2626;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.12);

  /* Layout constants for enterprise framing */
  --page-max-width: 1240px;   /* main content column */
  --page-gutter-xl: 72px;     /* very large screens */
  --page-gutter: 40px;        /* desktop */
  --page-gutter-sm: 24px;     /* tablet */
  --page-gutter-xs: 16px;     /* phones */

  --breakpoint-sm: 576px;
  --breakpoint-md: 720px;
  --breakpoint-lg: 968px;
  --breakpoint-xl: 1376px;
}

/* RESET / BASE ------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: var(--vip-text);
  background: #ffffff;
}

/* GLOBAL PAGE SHELL ------------------------------------------------------- */

/* Drives the left/right spacing for all main content */
.container {
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* tighten gutters on smaller devices */
@media (max-width: 968px) {
  .container {
    padding-inline: var(--page-gutter-sm);
  }
}

@media (max-width: 576px) {
  .container {
    padding-inline: var(--page-gutter-xs);
  }
}

/* extra breathing room on very wide displays */
@media (min-width: 1376px) {
  .container {
    padding-inline: var(--page-gutter-xl);
  }
}

/* HEADER + TOP NAV -------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vip-border);
  transition: box-shadow 0.18s ease;
}

/* optional: add class .is-scrolled via small JS to show shadow on scroll */
.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  gap: 16px;
}

.logo img {
  height: 44px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

/* High-end main nav (mega-nav) */

.main-nav.mega-nav {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0.92rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--vip-muted);
  padding: 6px 12px;
  border-radius: 999px;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    transform 0.05s ease,
    box-shadow 0.15s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--vip-dark);
  background: var(--vip-light);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-caret {
  font-size: 0.7em;
  opacity: 0.7;
}

.nav-item.nav-has-sub:hover .nav-link {
  background: #ffffff;
  color: var(--vip-dark);
}

/* Dropdown */

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--vip-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease;
  z-index: 30;
}

.nav-submenu.nav-submenu-right {
  left: auto;
  right: 0;
}

/* keep submenu open while hovering parent OR submenu */
.nav-item.nav-has-sub:hover .nav-submenu,
.nav-item.nav-has-sub .nav-submenu:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-sub-link {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 7px 9px;
  border-radius: 10px;
  color: var(--vip-text);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-sub-link:hover {
  background: var(--vip-light);
  color: var(--vip-dark);
}

/* Mobile nav behaviour */

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
  }

  .main-nav.mega-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list {
    flex-wrap: nowrap;
  }

  .nav-item.nav-has-sub .nav-submenu {
    display: none; /* avoid hover-only menus on touch */
  }
}

/* BUTTONS ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.05s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--vip-blue);
  color: #fff;
  border-color: var(--vip-blue);
}

.btn-primary:hover {
  background: var(--vip-blue-dark);
  border-color: var(--vip-blue-dark);
}

.btn-secondary {
  background: var(--vip-dark);
  color: #fff;
  border-color: var(--vip-dark);
}

.btn-outline {
  background: transparent;
  color: var(--vip-dark);
  border-color: var(--vip-border);
}

.btn-outline:hover {
  border-color: var(--vip-blue);
  color: var(--vip-blue);
}

.btn-ghost {
  background: transparent;
  color: var(--vip-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--vip-light);
  color: var(--vip-dark);
}

.full-width {
  width: 100%;
}

/* HOMEPAGE HERO ----------------------------------------------------------- */

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 40%, #e6f6ff 100%);
  padding: 40px 0 50px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
  color: var(--vip-dark);
}

.hero-copy p {
  color: var(--vip-muted);
  max-width: 560px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-highlight {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--vip-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  color: #047857;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.hero-card.secondary {
  background: #0f172a;
  color: #f9fafb;
}

.hero-card.secondary p {
  color: #e5e7eb;
}

.hero-card h2,
.hero-card h3 {
  margin-top: 0;
}

.kpi-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.kpi-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.kpi-list span {
  color: var(--vip-muted);
}

.kpi-list strong {
  color: var(--vip-dark);
}

.hero-card.secondary .kpi-list strong {
  color: #e5e7eb;
}

.link-inline {
  font-size: 0.9rem;
  color: var(--vip-blue-dark);
  text-decoration: none;
}

.link-inline:hover {
  text-decoration: underline;
}

/* GENERIC SECTIONS -------------------------------------------------------- */

.section {
  padding: 40px 0;
}

.section h1,
.section h2 {
  color: var(--vip-dark);
}

.lead {
  color: var(--vip-muted);
  max-width: 640px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: flex-start;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--vip-border);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.94rem;
  color: var(--vip-muted);
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 5px;
  top: 0;
  color: var(--vip-blue);
}

/* STRIPE (services row) --------------------------------------------------- */

.stripe {
  background: #0f172a;
  color: #e5e7eb;
  padding: 26px 0;
}

.stripe-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stripe-item h3 {
  margin-top: 0;
}

.stripe-item p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* STEPS / INFO PANEL ------------------------------------------------------ */

.steps-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 10px 0;
  color: var(--vip-muted);
  font-size: 0.94rem;
}

.info-panel {
  margin-top: 26px;
}

/* FORMS ------------------------------------------------------------------- */

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--vip-muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--vip-border);
  font-family: inherit;
  font-size: 0.9rem;
  margin-top: 4px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--vip-blue);
  border-color: var(--vip-blue);
}

/* SIMPLE LOGIN LAYOUT (non-hero) ----------------------------------------- */

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: flex-start;
}

.login-card {
  max-width: 380px;
}

.helper-text {
  font-size: 0.8rem;
  color: var(--vip-muted);
}

/* KPI GRID ---------------------------------------------------------------- */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

/* MESSAGES ---------------------------------------------------------------- */

.message-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.message-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--vip-border);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #111827;
}

.tag.warning {
  background: #fef3c7;
}

.tag.info {
  background: #e0f2fe;
}

/* FOOTER ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--vip-border);
  padding: 16px 0 20px;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--vip-muted);
}

.footer-inner p {
  margin: 2px 0;
}

.footer-small {
  font-size: 0.78rem;
}

.footer-link {
  color: var(--vip-muted);
  text-decoration: none;
  margin-left: 12px;
}

.footer-link:hover {
  text-decoration: underline;
}

/* PORTAL SHELL ------------------------------------------------------------ */

.portal-body {
  background: #0b1120;
  margin: 0;
}

.portal-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.portal-sidebar {
  background: #020617;
  color: #e5e7eb;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portal-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.portal-logo img {
  height: 40px;
}

.portal-label {
  font-size: 0.8rem;
  color: #9ca3af;
}

.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portal-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #9ca3af;
  padding: 6px 10px;
  border-radius: 8px;
}

.portal-nav a.active,
.portal-nav a:hover {
  background: #0f172a;
  color: #e5e7eb;
}

.portal-main {
  background: radial-gradient(circle at top left, #1e293b 0, #020617 55%);
  color: #e5e7eb;
  padding: 24px var(--page-gutter) 32px;
}

@media (max-width: 968px) {
  .portal-main {
    padding: 20px var(--page-gutter-sm) 28px;
  }
}

@media (max-width: 576px) {
  .portal-main {
    padding: 16px var(--page-gutter-xs) 24px;
  }
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.portal-header h1 {
  margin: 0 0 2px;
}

.portal-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.portal-user {
  font-size: 0.85rem;
  color: #d1d5db;
}

.portal-content {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.7);
}

/* Portal cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.portal-content .card {
  background: #020617;
  border-color: #1e293b;
  box-shadow: none;
}

.portal-content .kpi-list span {
  color: #9ca3af;
}

.portal-content .kpi-list strong {
  color: #e5e7eb;
}

/* Portal embed layout */

.embed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: flex-start;
}

.embed-placeholder {
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px dashed #475569;
  padding: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Profile form */

.profile-form label {
  margin-bottom: 10px;
}

.profile-form input {
  background: #020617;
  border-color: #1e293b;
  color: #e5e7eb;
}

/* RESPONSIVE GRIDS -------------------------------------------------------- */

@media (max-width: 880px) {
  .hero-inner,
  .two-col,
  .stripe-inner,
  .login-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .portal-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* PORTAL LINKS ON DARK BACKGROUND ---------------------------------------- */

.portal-content a,
.portal-content .kpi-list a,
.portal-content .link-inline {
  color: #38bdf8;
  text-decoration: none;
}

.portal-content a:hover,
.portal-content .kpi-list a:hover,
.portal-content .link-inline:hover {
  color: #e0f2fe;
  text-decoration: underline;
}

/* HOME HERO – CUSTOMER PORTAL BUTTON CONTRAST ---------------------------- */

.hero-card.secondary .btn-outline {
  color: #f9fafb;
  border-color: #f9fafb;
}

.hero-card.secondary .btn-outline:hover {
  background: #f9fafb;
  color: #0f172a;
}

/* SECURITY TRUST STRIP – HOMEPAGE ---------------------------------------- */

.trust-strip {
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 55%, #000 100%);
  padding: 2.75rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.trust-strip-badge {
  display: flex;
  justify-content: center;
}

.trust-strip-badge-img {
  max-width: 260px;
  height: auto;
}

.trust-strip-text {
  color: #e5e7eb;
}

.trust-strip-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.trust-strip-body {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #cbd5f5;
}

.trust-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #bfdbfe;
  font-weight: 500;
  text-decoration: none;
}

.trust-strip-link:hover {
  color: #e0f2fe;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .trust-strip-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .trust-strip-text {
    text-align: center;
  }
}

/* SECURITY PAGE (STATIC GRADIENT VERSION) -------------------------------- */

.page-hero-security {
  background: radial-gradient(circle at top left, #0f172a 0, #020617 55%, #000 100%);
  color: #e5e7eb;
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid #1f2937;
}

.page-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.page-hero-text h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-hero-text p {
  max-width: 540px;
  margin: 0;
  color: #cbd5f5;
}

.page-hero-badge img {
  max-width: 260px;
  height: auto;
}

.section-default {
  padding: 2.5rem 0;
  background: #ffffff;
  color: #111827;
}

.section-alt {
  padding: 2.5rem 0;
  background: #020617;
  border-top: 1px solid #111827;
  color: #e5e7eb;
}

.section-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.section-col h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.section-default .section-col h2 {
  color: #111827;
}

.section-alt .section-col h2 {
  color: #e5e7eb;
}

.bullet-list {
  padding-left: 1rem;
  margin: 0;
  list-style: disc;
}

.section-default .bullet-list li {
  margin-bottom: 0.4rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.section-alt .bullet-list li {
  margin-bottom: 0.4rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.section-alt p {
  color: #cbd5f5;
}

@media (max-width: 768px) {
  .page-hero-inner,
  .section-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* PREMIUM LOGIN HERO LAYOUT ---------------------------------------------- */

body.login-page {
  background: #020617;
}

.login-hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: #e5e7eb;
  background-image:
    linear-gradient(
      120deg,
      rgba(15, 23, 42, 0.9) 0%,
      rgba(15, 23, 42, 0.78) 45%,
      rgba(15, 23, 42, 0.45) 100%
    ),
    url("../img/login-hero-airfreight.jpg");
  background-size: cover;
  background-position: center;
}

.login-hero-inner {
  width: 100%;
  max-width: var(--page-max-width);
  padding: 72px var(--page-gutter) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

@media (max-width: 968px) {
  .login-hero-inner {
    padding-inline: var(--page-gutter-sm);
  }
}

@media (max-width: 576px) {
  .login-hero-inner {
    padding-inline: var(--page-gutter-xs);
  }
}

.login-hero-left h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #f9fafb;
}

.login-hero-left .login-subtitle {
  max-width: 480px;
  font-size: 0.98rem;
  color: #cbd5f5;
}

.login-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 10px;
}

.login-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e5e7eb;
}

.login-hero-meta {
  margin-top: 18px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.login-hero-meta-strong {
  color: #e5e7eb;
  font-weight: 600;
}

.login-hero-panel {
  display: flex;
  justify-content: flex-end;
}

.login-card-hero {
  width: 100%;
  max-width: 420px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 26px 24px 22px;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
}

.login-card-hero h2 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  color: #f9fafb;
}

.login-card-hero .login-card-subtitle {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 14px;
}

.login-card-hero label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #e5e7eb;
}

.login-card-hero input,
.login-card-hero select {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: #f9fafb;
}

.login-card-hero input::placeholder {
  color: #64748b;
}

.login-card-hero .btn-primary {
  width: 100%;
  margin-top: 6px;
  padding-block: 10px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border-color: transparent;
}

.login-card-hero .btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

.login-card-hero .helper-text {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #9ca3af;
}

.login-soc-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.78rem;
  color: #e5e7eb;
}

.login-soc-pill {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.6);
  color: #bbf7d0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.login-hero-left .tagline {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .login-hero {
    background-position: 35% center;
  }

  .login-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 56px;
  }

  .login-hero-panel {
    justify-content: flex-start;
  }

  .login-card-hero {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .login-hero-left h1 {
    font-size: 2.1rem;
  }

  .login-hero-inner {
    padding-inline: 16px;
  }
}

/* BINARY-RAIN CANVAS LAYERING -------------------------------------------- */

.login-hero,
.site-footer {
  position: relative;
  z-index: 2;
}

.login-card-hero {
  position: relative;
  z-index: 3;
}

/* SECURITY PAGE – VIDEO HERO (scoped) ------------------------------------ */

.vip-sec-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #e5e7eb;
  border-bottom: 1px solid #1f2937;
}

.vip-sec-hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.vip-sec-hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.15) saturate(1.15);
}

.vip-sec-hero-overlay {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.1)
  );
}

.vip-sec-hero .page-hero-text h1 {
  color: #f9fafb;
}

.vip-sec-hero .page-hero-text p {
  color: #dbeafe;
}

/* SECURITY2 – FULL-MAIN VIDEO BACKGROUND --------------------------------- */

.vip-sec2-page {
  background: #020617;
}

.vip-sec2-main {
  position: relative;
  min-height: calc(100vh - 120px);
}

.vip-sec2-main-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.vip-sec2-main-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.55) contrast(1.15) saturate(1.15);
}

.vip-sec2-main-overlay {
  position: relative;
  z-index: 1;
}

.vip-sec2-hero {
  padding: 3.2rem 0 2.4rem;
  color: #e5e7eb;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.65)
  );
}

.vip-sec2-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.vip-sec2-hero-text h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #f9fafb;
}

.vip-sec2-hero-text p {
  max-width: 540px;
  margin: 0;
  color: #dbeafe;
}

.vip-sec2-hero-badge img {
  max-width: 260px;
  height: auto;
}

/* Middle white block over video */

.vip-sec2-section-default {
  padding: 2.5rem 0;
  color: #111827;
  background: #ffffff;
}

.vip-sec2-section-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.vip-sec2-section-col h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: inherit;
}

.vip-sec2-section-default .vip-sec2-section-col p {
  color: #4b5563;
  font-size: 0.95rem;
}

.vip-sec2-bullet-list {
  padding-left: 1rem;
  margin: 0;
  list-style: disc;
}

.vip-sec2-section-default .vip-sec2-bullet-list li {
  margin-bottom: 0.4rem;
  color: #4b5563;
  font-size: 0.95rem;
}

/* Lower dark block over video */

.vip-sec2-section-alt {
  padding: 2.5rem 0;
  color: #e5e7eb;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0),
    rgba(15, 23, 42, 0.5)
  );
  backdrop-filter: blur(1px);
}

.vip-sec2-section-alt .vip-sec2-section-col h2 {
  color: #e5e7eb;
}

.vip-sec2-section-alt .vip-sec2-section-col p {
  color: #cbd5f5;
  font-size: 0.95rem;
}

.vip-sec2-section-alt .vip-sec2-bullet-list li {
  margin-bottom: 0.4rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

/* Links in dark section */

.vip-sec2-section-alt a,
.vip-sec2-section-alt a:link,
.vip-sec2-section-alt a:visited {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
}

.vip-sec2-section-alt a:hover,
.vip-sec2-section-alt a:focus {
  color: #e0f2fe;
  text-decoration: underline;
}

.vip-sec2-section-alt a:active {
  color: #bae6fd;
}

.vip-sec2-section-alt a:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

/* Responsive layout for security2 */

@media (max-width: 768px) {
  .vip-sec2-section-columns,
  .vip-sec2-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }
}
