/* promo.vitalscan.co.za: colours, type and components match src/VitalScan.Web/wwwroot/css/site.css */

:root {
  --vs-display-size: clamp(1.9rem, 5vw, 2.8rem);
  --vs-panel-radius: .85rem;
  --vs-panel-padding: clamp(1.2rem, 4vw, 1.8rem);
  --vs-red: #ed122c;
  --vs-cyan: #0fc9dc;
  --vs-text: #d8e3f5;
  --vs-muted: #9badca;
  --vs-border: rgba(122, 143, 174, .26);
}

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

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--vs-text);
  background: #070d16;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("../images/background.png") center / cover no-repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
p {
  margin-top: 0;
}

svg {
  flex: 0 0 auto;
}

.site-shell {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Header */
.site-header,
.site-footer,
.site-main {
  position: relative;
  z-index: 1;
}

.site-header {
  background: #080e18;
  border-bottom: 1px solid rgba(122, 143, 174, .22);
}

.header-row {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vital-logo {
  display: inline-flex;
  width: 10.8rem;
}

.vital-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .62rem 1rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(rgb(237, 18, 44) 0%, rgb(175, 12, 12) 100%);
  border-color: #f03a4e;
  box-shadow: 0 0 .9rem rgba(237, 18, 44, .42);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  border-color: #ff5364;
  background: linear-gradient(rgb(255, 35, 60) 0%, rgb(185, 15, 15) 100%);
}

.btn-outline-light {
  color: #f4f7fc;
  border-color: rgba(143, 163, 198, .68);
  background: rgba(11, 14, 29, .58);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: #fff;
  border-color: rgba(244, 247, 252, .9);
  background: rgba(33, 41, 61, .7);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(15, 201, 220, .78);
  outline-offset: 3px;
}

.header-link {
  min-height: 2.4rem;
  font-size: .82rem;
}

/* Hero + panels */
.site-main {
  flex: 1 0 auto;
  background:
    linear-gradient(90deg, rgba(6, 10, 19, .9), rgba(6, 10, 19, .58) 42%, rgba(6, 10, 19, .86)),
    linear-gradient(180deg, rgba(5, 10, 19, .72) 0%, rgba(10, 17, 30, .54) 48%, rgba(6, 11, 19, .78) 100%);
}

.promo-section {
  display: grid;
  gap: 1.6rem;
  padding-block: clamp(2.2rem, 6vw, 4.5rem);
}

.promo-intro {
  text-align: center;
}

.promo-eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .25rem .6rem;
  color: var(--vs-cyan);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(15, 201, 220, .42);
  border-radius: .35rem;
  background: rgba(15, 201, 220, .08);
}

.promo-intro h1 {
  max-width: 40rem;
  margin: 0 auto .85rem;
  color: #dce6f8;
  font-size: var(--vs-display-size);
  font-weight: 850;
  line-height: 1.13;
}

.text-red {
  color: #ff3048;
}

.text-cyan {
  color: var(--vs-cyan);
}

.hero-lead {
  margin-bottom: .55rem;
  color: #eef4ff;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--vs-muted);
  font-size: .95rem;
}

.hero-privacy {
  margin: .9rem 0 0;
  color: #6f829f;
  font-size: .78rem;
  line-height: 1.55;
  text-align: center;
}

.promo-panels {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
}

.promo-card {
  padding: var(--vs-panel-padding);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-panel-radius);
  background: rgba(8, 14, 25, .92);
  box-shadow:
    0 0 1rem rgba(15, 201, 220, .06),
    0 .7rem 1.6rem rgba(0, 0, 0, .22);
}

.promo-card h2 {
  margin-bottom: 1rem;
  color: #e7eefb;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 850;
}

/* Form */
.promo-form {
  display: grid;
  gap: 1rem;
}

.promo-form h2 {
  margin-bottom: 0;
}

.promo-field {
  display: grid;
  gap: .4rem;
}

.promo-field label {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #b7c5dc;
  font-size: .85rem;
  font-weight: 650;
}

.promo-field label svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: #ff4d58;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-control {
  width: 100%;
  min-height: 2.75rem;
  padding: .55rem .8rem;
  color: #f4f7fc;
  font: inherit;
  font-size: .95rem;
  border: 1px solid rgba(143, 163, 198, .45);
  border-radius: .5rem;
  background-color: rgba(255, 255, 255, .08);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-control::placeholder {
  color: #7f90ab;
}

.form-control:focus {
  outline: none;
  color: #fff;
  border-color: rgba(15, 201, 220, .75);
  background-color: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 .16rem rgba(15, 201, 220, .18);
}

.has-error .form-control {
  border-color: rgba(255, 77, 88, .85);
}

.field-error {
  color: #ff8a92;
  font-size: .8rem;
}

.form-alert {
  padding: .7rem .9rem;
  color: #ffd2d6;
  font-size: .86rem;
  border: 1px solid rgba(255, 77, 88, .5);
  border-radius: .6rem;
  background: rgba(255, 77, 88, .1);
}

.promo-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem .65rem;
  color: var(--vs-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.promo-consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin: .15rem 0 0;
  accent-color: var(--vs-cyan);
}

.promo-consent a {
  color: #a9d9ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15rem;
}

.promo-consent .field-error {
  grid-column: 2;
}

.btn-enter {
  width: 100%;
  min-height: 3.1rem;
  margin-top: .25rem;
  font-size: .95rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.btn-enter svg,
.social-chevron {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hidden from people, visible to bots */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Success */
.promo-success {
  display: grid;
  justify-items: center;
  gap: .4rem;
  text-align: center;
}

.promo-success h2 {
  margin-bottom: .2rem;
}

.promo-success p {
  margin-bottom: 1rem;
  color: var(--vs-muted);
  font-size: .92rem;
}

.success-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  margin-bottom: .6rem;
  color: var(--vs-cyan);
  border: 2px solid rgba(15, 201, 220, .82);
  border-radius: 50%;
  box-shadow:
    0 0 0 .35rem rgba(15, 201, 220, .08),
    0 0 1rem rgba(15, 201, 220, .38);
}

.success-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Social */
.promo-social h2 {
  margin-bottom: .3rem;
}

.promo-social p {
  margin-bottom: 1rem;
  color: var(--vs-muted);
  font-size: .88rem;
}

.social-list {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  --social-rgb: 46, 156, 255;
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 3.4rem;
  padding: .55rem .9rem;
  color: #e7eefb;
  font-weight: 750;
  border: 1px solid var(--vs-border);
  border-radius: .7rem;
  background: rgba(255, 255, 255, .03);
  transition: border-color .15s ease, background-color .15s ease;
}

.social-link:hover,
.social-link:focus {
  border-color: rgba(var(--social-rgb), .7);
  background: rgba(var(--social-rgb), .08);
}

.social-instagram {
  --social-rgb: 198, 69, 255;
}

.social-tiktok {
  --social-rgb: 15, 201, 220;
}

.social-icon {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  color: rgb(var(--social-rgb));
  border: 2px solid rgba(var(--social-rgb), .82);
  border-radius: 50%;
  box-shadow: 0 0 .8rem rgba(var(--social-rgb), .3);
}

.social-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-icon svg .fill {
  fill: currentColor;
  stroke: none;
}

.social-label {
  flex: 1 1 auto;
}

.social-chevron {
  color: #7f90ab;
}

/* Footer (same as main site) */
.site-footer {
  margin-top: auto;
  background: rgba(8, 14, 25, .98);
  border-top: 1px solid rgba(122, 143, 174, .22);
  box-shadow: 0 -.75rem 1.6rem rgba(0, 0, 0, .22);
}

.trust-strip {
  margin: 0;
  padding: .85rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1rem;
  list-style: none;
}

.trust-item {
  --trust-accent: #2e9cff;
  --trust-accent-rgb: 46, 156, 255;
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  padding: .9rem 1rem;
  border: 1px solid var(--vs-border);
  border-radius: .85rem;
  color: #a9b8d0;
  background: rgba(8, 14, 25, 1);
  box-shadow:
    0 0 1rem rgba(var(--trust-accent-rgb), .1),
    0 .7rem 1.6rem rgba(0, 0, 0, .22);
  font-size: .86rem;
  line-height: 1.45;
}

.trust-purple {
  --trust-accent: #c645ff;
  --trust-accent-rgb: 198, 69, 255;
}

.trust-cyan {
  --trust-accent: #0fc9dc;
  --trust-accent-rgb: 15, 201, 220;
}

.trust-red {
  --trust-accent: #ff4d58;
  --trust-accent-rgb: 255, 77, 88;
}

.trust-icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 2px solid rgba(var(--trust-accent-rgb), .82);
  border-radius: 50%;
  color: var(--trust-accent);
  background: rgba(5, 10, 19, .38);
  box-shadow:
    0 0 0 .35rem rgba(var(--trust-accent-rgb), .08),
    0 0 1rem rgba(var(--trust-accent-rgb), .38);
}

.trust-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong,
.trust-item span span {
  display: block;
}

.trust-item strong {
  color: #e7eefb;
  font-size: .9rem;
  font-weight: 850;
}

.footer-legal {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: 0 0 .9rem;
  color: #8392aa;
  font-size: .78rem;
  line-height: 1.4;
  text-align: center;
}

.footer-legal p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .85rem;
}

.footer-legal-links a {
  color: #a9b8d0;
  font-weight: 700;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
  color: #e7edf8;
  text-decoration: underline;
  text-underline-offset: .2rem;
}

.footer-legal-links a + a::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: .75rem;
  margin-right: .85rem;
  vertical-align: -.1rem;
  background: rgba(122, 143, 174, .34);
}

/* Desktop: copy on the left, form and socials on the right */
@media (min-width: 992px) {
  .promo-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
    align-items: center;
    gap: 3rem;
    min-height: calc(100vh - 5rem - 12rem);
  }

  .promo-intro {
    text-align: left;
  }

  .promo-intro h1,
  .hero-subtitle {
    margin-inline: 0;
  }

  .promo-panels {
    max-width: none;
  }

  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .site-shell {
    padding-inline: .85rem;
  }

  .vital-logo {
    width: 8.6rem;
  }

  .header-link {
    padding-inline: .7rem;
    font-size: .75rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: .55rem 0;
    gap: .45rem;
  }

  .trust-item {
    padding: .65rem .8rem;
  }

  .trust-icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .trust-icon svg {
    width: 1.35rem;
    height: 1.35rem;
  }
}
