/* Public business-card page. Fixed dark design over the supplied warehouse photo; independent of the app theme. */
:root {
  --navy: #0b1230;
  --blue: #4c6fff;
  --glow: rgba(76, 111, 255, .45);
  --glass: rgba(10, 17, 45, .62);
  --glass-border: rgba(150, 175, 255, .26);
  --text: #f2f5ff;
  --text-muted: rgba(220, 228, 255, .72);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--navy);
  /* Readability overlay: darker at the top (header) and bottom, the warehouse stays clearly visible in the middle. */
  background-image:
    radial-gradient(ellipse at 50% 45%, rgba(8, 14, 40, .15) 0%, rgba(8, 14, 40, .55) 75%),
    linear-gradient(180deg, rgba(6, 10, 30, .70) 0%, rgba(6, 10, 30, .25) 30%, rgba(6, 10, 30, .35) 65%, rgba(6, 10, 30, .80) 100%),
    url("../img/warehouse-background.bbea06cd1efa.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
a { color: inherit; }

/* Header */
.landing-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(.9rem, 2.5vw, 1.6rem) clamp(1rem, 4vw, 2.75rem);
}
.landing-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; letter-spacing: .12em; font-size: 1.05rem; }
.landing-brand img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--glass-border); box-shadow: 0 0 18px rgba(76, 111, 255, .35); }
.landing-login {
  display: inline-flex; align-items: center; gap: .5rem; flex: none;
  padding: .62rem 1.25rem; border-radius: 999px;
  background: rgba(12, 20, 52, .55); border: 1px solid rgba(124, 152, 255, .55);
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 0 var(--glow), 0 6px 20px rgba(0, 0, 0, .25);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.landing-login:hover { background: rgba(76, 111, 255, .35); border-color: #9db0ff; box-shadow: 0 0 22px var(--glow), 0 6px 20px rgba(0, 0, 0, .3); transform: translateY(-1px); }
.landing-login:focus-visible, .landing-brand:focus-visible, .phones a:focus-visible { outline: 3px solid #9db0ff; outline-offset: 3px; }

/* Card */
.landing-main { flex: 1; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem) 1rem clamp(2rem, 6vw, 4rem); }
.card-glass {
  width: min(100%, 520px);
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 5vw, 2.75rem);
  text-align: center;
  background: linear-gradient(160deg, rgba(20, 32, 80, .70), var(--glass) 55%, rgba(6, 10, 30, .72));
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 60px rgba(76, 111, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.card-logo {
  width: clamp(120px, 34vw, 176px); height: auto; aspect-ratio: 1;
  border-radius: 24px; display: block; margin: 0 auto;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(76, 111, 255, .40), 0 12px 30px rgba(0, 0, 0, .40);
}
.card-title {
  /* fit-content keeps the gradient fill exactly under the letters, so nothing is clipped */
  width: fit-content; max-width: 100%;
  margin: 1.4rem auto 0;
  font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.15;
  padding-left: .14em;  /* optically centre letter-spaced text */
  background: linear-gradient(180deg, #ffffff 30%, #b9c6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(76, 111, 255, .45));
}
.card-divider { width: 64px; height: 3px; margin: 1.2rem auto 1.5rem; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue), transparent); box-shadow: 0 0 12px var(--glow); }
.card-subtitle { margin: 0 0 1.25rem; text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.card-contacts { margin: 0; display: grid; gap: 1rem; text-align: left; }
.contact-row { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: .75rem; align-items: baseline; }
.card-contacts dt { color: var(--text-muted); font-size: .88rem; font-weight: 500; display: flex; align-items: center; gap: .45rem; }
.card-contacts dt i { color: #9db0ff; }
.card-contacts dd { margin: 0; font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
/* Both numbers belong to one person: the name sits once beside the number group, centred on it. */
.phone-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; }
.contact-name { padding-left: 1.1rem; border-left: 1px solid var(--glass-border); color: var(--text-muted); font-size: .98rem; font-weight: 600; white-space: nowrap; }
.phones { display: grid; gap: .3rem; }
.phones a { text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; border-bottom: 1px dashed rgba(157, 176, 255, .45); justify-self: start; }
.phones a:hover { color: #c9d4ff; border-bottom-color: #c9d4ff; }

@media (max-width: 420px) {
  .landing-login span { font-size: .9rem; }
  .landing-login { padding: .55rem 1rem; }
  .contact-row { grid-template-columns: 1fr; gap: .2rem; }
  .card-contacts { text-align: center; }
  .card-contacts dt { justify-content: center; }
  .phones a { justify-self: center; }
  .phone-contact { flex-direction: column; gap: .35rem; }
  .contact-name { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-login { transition: none; }
  .landing-login:hover { transform: none; }
}
