/* ============================================================
   VirtualTees Gateway (Mobile-First)
   File: /assets/css/gateway.css
   Clean consolidated version
   ============================================================ */

:root{
  --font-main: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --text: #111827;
  --text-invert: #ffffff;

  /* ============================================================
     CARD CONTROL PANEL (Gateway card tuning)
     ============================================================ */
  --card-bg: rgba(255,255,255,0.50);
  --card-border: rgba(17,24,39,0.10);

  --card-text: #1f2937;
  --card-bullets: #000000;

  --card-blur: blur(0px);
  --card-backdrop-tune: saturate(115%) brightness(1.03) contrast(1.02);

  --card-shadow-soft: 0 18px 55px rgba(0,0,0,0.22);
  --card-shadow-hover: 0 28px 80px rgba(0,0,0,0.34);
  --card-shadow-desktop: 0 20px 65px rgba(0,0,0,0.16);

  --radius-xl: 22px;

  --b2b: #0b3a66;
  --b2c: #0e7c86;

  --container: 1180px;

  --header-h: 72px;
  --header-pad-x: 22px;

  --cards-max: calc(var(--container) - 200px);
}

@media (min-width: 860px){
  :root{ --header-h: 84px; }
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: #0b0f14;
}

.vt-container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */

.vt-header{
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--header-h);
  padding: 14px 0;
  background: transparent;
}

@media (min-width: 860px){
  .vt-header{ padding: 18px 0; }
}

.vt-header.vt-header--solid{
  background:#0b0f14;
}

.vt-header__inner--full{
  width: 100%;
  padding: 0 var(--header-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 1400px){
  :root{ --header-pad-x: 34px; }
}

.vt-brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.vt-brand__logo{
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 860px){
  .vt-brand__logo{ height: 44px; }
}

/* Desktop nav only */
.vt-nav{ display: none; }

@media (min-width: 860px){
  .vt-nav{
    display: flex;
    gap: 18px;
  }

  .vt-nav__link{
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
  }

  .vt-nav__link:hover{
    background: rgba(255,255,255,0.12);
    color: #ffffff;
  }

  .vt-nav__link:focus-visible{
    outline: 2px solid rgba(255,255,255,0.70);
    outline-offset: 2px;
  }
}

/* ============================================================
   GATEWAY ONLY: desktop nav pills
   ============================================================ */

@media (min-width: 860px){

  body.vt-page-gateway .vt-nav{
    gap: 8px;
    align-items: center;
  }

  body.vt-page-gateway .vt-nav__link{
    color: rgba(17,24,39,0.94);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.50);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition:
      background 180ms ease,
      color 180ms ease,
      transform 180ms ease,
      box-shadow 180ms ease;
  }

  body.vt-page-gateway .vt-nav__link:hover{
    background: rgba(255,255,255,0.74);
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  }

  body.vt-page-gateway .vt-nav__link:focus-visible{
    outline: 2px solid rgba(17,24,39,0.50);
    outline-offset: 2px;
    color: #111827;
  }
}

/* Mobile hamburger only */
.vt-burger{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: rgba(0,0,0,0.40);
  border-radius: 12px;
  cursor: pointer;
}

.vt-burger__bar{
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.92);
  border-radius: 2px;
}

@media (min-width: 860px){
  .vt-burger{ display: none; }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

.vt-menu{
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease;
}

.vt-menu.is-open{
  pointer-events: auto;
  opacity: 1;
}

.vt-menu__backdrop{
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0,0,0,0.50);
  opacity: 0;
  transition: opacity 280ms ease;
  cursor: pointer;
}

.vt-menu.is-open .vt-menu__backdrop{
  opacity: 1;
}

.vt-menu__panel{
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  background: rgba(12,16,22,0.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  transform: translateY(-14px) scale(0.98);
  opacity: 0;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 320ms ease;
}

.vt-menu.is-open .vt-menu__panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce){
  .vt-menu,
  .vt-menu__backdrop,
  .vt-menu__panel{
    transition: none !important;
  }
}

.vt-menu__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 10px;
}

.vt-menu__logo{
  height: 34px;
  width: auto;
  display: block;
}

.vt-menu__close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.vt-menu__links{
  display: grid;
  gap: 8px;
  padding: 6px 14px 14px;
}

.vt-menu__link{
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.vt-menu__divider{
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 0 14px 14px;
}

.vt-menu__quick{
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.vt-menu__cta{
  display: block;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 12px 12px;
  border-radius: 999px;
}

.vt-menu__cta--b2b{ background: var(--b2b); }
.vt-menu__cta--b2c{ background: var(--b2c); }

/* ============================================================
   HERO BACKGROUND
   ============================================================ */

.vt-hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0f172a;
  overflow: hidden;
}

.vt-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-mobile);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.10) translate3d(0, 0, 0);
  animation: vtHeroDrift 5000ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform;
}

@media (min-width: 680px){
  .vt-hero::before{
    background-image: var(--hero-desktop);
  }
}

@keyframes vtHeroDrift{
  0%{
    transform: scale(1.10) translate3d(0, -0.4%, 0);
  }
  100%{
    transform: scale(1.04) translate3d(0, 0.4%, 0);
  }
}

@media (prefers-reduced-motion: reduce){
  .vt-hero::before{
    animation: none !important;
    transform: scale(1) !important;
  }
}

.vt-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(5,10,16,0.18) 0%,
    rgba(5,10,16,0.08) 16%,
    rgba(0,0,0,0.05) 42%,
    rgba(0,0,0,0.18) 75%,
    rgba(0,0,0,0.42) 100%
  );
}

.vt-hero__content{
  position: relative;
  z-index: 2;
  padding: 92px 0 28px;
}

@media (min-width: 860px){
  .vt-hero__content{ padding: 115px 0 38px; }
}

/* ============================================================
   HERO TEXT
   ============================================================ */

.vt-hero__intro{
  text-align: center;
  margin-bottom: 14px;
  animation: vtFadeUp 700ms ease-out 350ms both;
}

.vt-hero__title{
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 30px;
  line-height: 1.12;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.vt-hero__subtitle{
  margin: 0 auto;
  max-width: 640px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.96);
  text-shadow: none;
  opacity: 0.98;
}

@media (min-width: 860px){
  .vt-hero__title{ font-size: 46px; margin-bottom: 10px; }
  .vt-hero__subtitle{ font-size: 18px; }
}

/* ============================================================
   CARDS
   ============================================================ */

.vt-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
  animation: vtFadeUp 750ms ease-out 120ms both;
}

@media (min-width: 900px){
  .vt-cards{
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
    max-width: var(--cards-max);
    margin-left: auto;
    margin-right: auto;
  }
}

.vt-card{
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: var(--card-shadow-soft);
  transform: translateY(0) scale(1);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms ease,
    filter 320ms ease;
  will-change: transform;
}

@media (min-width: 900px){
  .vt-card{
    border-radius: var(--radius-xl);
    padding: 22px 22px 18px;
  }
}

.vt-card:hover{
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
  filter: saturate(1.08);
}

.vt-card:focus-visible{
  outline: 3px solid rgba(255,255,255,0.55);
  outline-offset: 3px;
  transform: translateY(-10px) scale(1.018);
  box-shadow: var(--card-shadow-hover);
}

.vt-card__logo{
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 900px){
  .vt-card__logo{ width: 230px; }
}

.vt-card__desc{
  margin: 10px 0 0;
  color: var(--card-text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

@media (min-width: 900px){
  .vt-card__desc{
    font-size: 15px;
    line-height: 1.55;
  }
}

.vt-card__ctaRow{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 10px;
}

@media (min-width: 900px){
  .vt-card__ctaRow{
    gap: 10px;
    margin: 14px 0 12px;
  }
}

.vt-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}

@media (min-width: 900px){
  .vt-btn{
    padding: 10px 14px;
    font-size: 13px;
  }
}

.vt-btn--primary{ background: var(--b2b); color: #fff; }
.vt-btn--accent{ background: var(--b2c); color: #fff; }

.vt-btn--ghost{
  background: transparent;
  border-color: rgba(17,24,39,0.18);
  color: #111827;
}

.vt-card__bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--card-bullets);
  font-size: 12px;
  line-height: 1.55;
}

@media (min-width: 900px){
  .vt-card__bullets{
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ============================================================
   CHIPS
   ============================================================ */

.vt-hero__fineprint{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  animation: vtFadeUp 700ms ease-out 220ms both;
}

@media (min-width: 900px){
  .vt-hero__fineprint{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 18px;
    max-width: var(--cards-max);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 900px){
  .vt-hero__fineprint{
    gap: 10px;
    margin-top: 18px;
  }
}

.vt-chip{
  color: rgba(255,255,255,0.90);
  font-weight: 700;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
}

@media (min-width: 900px){
  .vt-chip{
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* ============================================================
   Shorter/older mobile viewports
   ============================================================ */

@media (max-width: 430px){
  .vt-hero__content{ padding: 74px 0 22px; }
  .vt-hero__title{ font-size: 26px; }
  .vt-hero__subtitle{ font-size: 13px; line-height: 1.45; }

  .vt-card{ padding: 12px 12px 10px; }
  .vt-card__logo{ width: 165px; }

  .vt-card__desc{ font-size: 13px; margin-top: 8px; }
  .vt-btn{ padding: 8px 10px; font-size: 12px; }
}

@media (max-height: 740px){
  .vt-card__bullets{ display: none; }
  .vt-hero__fineprint{ display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.vt-footer{
  background: #0b0f14;
  color: rgba(255,255,255,0.80);
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.vt-footer__inner{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

@media (min-width: 860px){
  .vt-footer__inner{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.vt-footer__left,
.vt-footer__right{
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.vt-footer__sep{ opacity: 0.55; }

.vt-footer__link{
  color: rgba(255,255,255,0.80);
  text-decoration: none;
}

.vt-footer__link:hover{
  color: #fff;
  text-decoration: underline;
}

.vt-footer__copy{ opacity: 0.78; }

/* ============================================================
   Entrance animation
   ============================================================ */

@keyframes vtFadeUp{
  from{ opacity: 0; transform: translateY(12px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Desktop glass-card upgrade
   ============================================================ */

@media (min-width: 821px){
  .vt-card{
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--card-backdrop-tune) var(--card-blur);
    -webkit-backdrop-filter: var(--card-backdrop-tune) var(--card-blur);
    box-shadow: var(--card-shadow-desktop);
  }

  .vt-card:hover{
    transform: translateY(-3px);
    filter: none;
  }
}

/* ============================================================
   Never underline CTA buttons inside cards
   ============================================================ */

html body .vt-cards .vt-card .vt-card__ctaRow a.vt-btn,
html body .vt-cards .vt-card .vt-card__ctaRow a.vt-btn:visited,
html body .vt-cards .vt-card .vt-card__ctaRow a.vt-btn:hover,
html body .vt-cards .vt-card .vt-card__ctaRow a.vt-btn:active,
html body .vt-cards .vt-card .vt-card__ctaRow a.vt-btn:focus{
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
}

/* ============================================================
   GATEWAY LOGO SWAP
   ============================================================ */

body.vt-page-gateway .vt-hero img.vt-logo--white{ display: none; }
body.vt-page-gateway .vt-hero img.vt-logo--dark{ display: block; }

@media (max-width: 820px){
  body.vt-page-gateway .vt-hero img.vt-logo--dark{ display: none !important; }
  body.vt-page-gateway .vt-hero img.vt-logo--white{
    display: block !important;
    filter: drop-shadow(0 1px 1px rgba(2,6,12,0.68)) !important;
  }
}

/* ============================================================
   GATEWAY MOBILE: NO CARDS AT ALL
   - no background
   - no border
   - no shadow
   - no blur
   - no bullets
   - no peanut
   - slightly lower placement
   - darker, tighter shadow for pale winter sky
   ============================================================ */

@media (max-width: 820px){

  body.vt-page-gateway .vt-hero{
    align-items: flex-start;
  }

  body.vt-page-gateway .vt-hero__content{
    padding-top: 86px;
    padding-bottom: 20px;
  }

  body.vt-page-gateway .vt-hero__intro{
    margin-bottom: 12px;
  }

  body.vt-page-gateway .vt-hero__title{
    text-shadow: 0 1px 1px rgba(2,6,12,0.66);
  }

  body.vt-page-gateway .vt-hero__subtitle{
    max-width: 34ch;
    color: rgba(255,255,255,0.97);
    text-shadow: 0 1px 1px rgba(2,6,12,0.58);
  }

  body.vt-page-gateway .vt-hero .vt-cards{
    gap: 10px;
    margin-top: 12px;
  }

  body.vt-page-gateway .vt-hero .vt-card{
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
  }

  body.vt-page-gateway .vt-hero .vt-card:hover,
  body.vt-page-gateway .vt-hero .vt-card:focus-visible{
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    outline: none !important;
  }

  body.vt-page-gateway .vt-hero .vt-card__top{
    display: block;
    padding: 0;
  }

  body.vt-page-gateway .vt-hero .vt-card__logo{
    width: 150px;
    margin: 0 0 6px;
  }

  body.vt-page-gateway .vt-hero .vt-card__desc{
    color: rgba(255,255,255,0.985) !important;
    text-shadow: 0 1px 1px rgba(2,6,12,0.56) !important;
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
  }

  body.vt-page-gateway .vt-hero .vt-card__ctaRow{
    margin: 10px 0 0;
    gap: 8px;
  }

  body.vt-page-gateway .vt-hero .vt-card__bullets{
    display: none !important;
  }

  body.vt-page-gateway .vt-hero .vt-card__peanut{
    display: none !important;
  }

  body.vt-page-gateway .vt-hero__fineprint{
    display: none !important;
  }
}

/* ============================================================
   MOBILE NAV CLICK FIX
   ============================================================ */

@media (max-width: 859px){
  .vt-header{
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 1000;
  }

  .vt-header__inner--full{
    position: relative;
    z-index: 1001;
  }

  .vt-burger{
    position: relative;
    z-index: 1002;
    pointer-events: auto;
  }

  .vt-hero::before{ z-index: 0; }
  .vt-hero__overlay{ z-index: 1; }
  .vt-hero__content{ z-index: 2; }

  .vt-menu{ z-index: 11000; }
}

/* ============================================================
   POD + CUSTOM HERO: keep hero panels LEFT on desktop
   ============================================================ */

@media (min-width: 900px){

  .custom-hero__box{
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-self: start !important;
    text-align: left;
  }

  .pod-hero__title{ text-align: left; }

  .pod-hero__box,
  .pod-hero__panel,
  .pod-hero__content{
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-self: start !important;
    text-align: left;
  }
}

/* ============================================================
   GATEWAY DESKTOP: keep heading centered and aligned with cards
   ============================================================ */

@media (min-width: 900px){
  body.vt-page-gateway .vt-hero__intro{
    max-width: var(--cards-max);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  body.vt-page-gateway .vt-hero__subtitle{
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   Gateway peanut chips + small upward nudge
   ============================================================ */

body.vt-page-gateway .vt-card__peanut{
  margin-top: 14px;
}

body.vt-page-gateway .vt-card__peanut .vt-chip,
body.vt-page-gateway .vt-card__peanut .vt-chip:link,
body.vt-page-gateway .vt-card__peanut .vt-chip:visited,
body.vt-page-gateway .vt-card__peanut .vt-chip:hover,
body.vt-page-gateway .vt-card__peanut .vt-chip:active{
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
}

@media (min-width: 821px){
  body.vt-page-gateway .vt-card__peanut .vt-chip{
    color: #111827;
    text-shadow: none;
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(17,24,39,0.16);
    backdrop-filter: none;
  }
}

/* keep gateway desktop nudge only; mobile is handled above */
@media (min-width: 860px){
  body.vt-page-gateway .vt-hero__content{
    padding-top: 0px;
  }
}
