/* ==========================================================================
   Virtual Watchman — Landing Page
   WordPress page template: virtual-watchman-landing.php
   ========================================================================== */

:root {
  --blue: #0057eb;
  --blue-dark: #0041b3;
  --navy-950: #00060f;
  --navy-900: #030b1a;
  --navy-800: #060f22;
  --light-bg: #f0f1f3;
  --text-dark: #16212c;
  --text-gray: #4a5563;
  --white: #ffffff;
  --container-w: 1300px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: var(--navy-950);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: 'Archivo', Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.blue { color: var(--blue); }

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

.hero {
  position: relative;
  min-height: clamp(520px, 65vw, 700px);
  display: flex;
  align-items: center;
  background: var(--navy-950) url('../img/virtual-watchman-landing/top-image--26-8-26.png') no-repeat center right;
  background-size: cover;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,4,10,0.92) 0%, rgba(0,4,10,0.75) 28%, rgba(0,4,10,0.15) 55%, rgba(0,4,10,0.05) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2f7bff 50%, transparent);
  box-shadow: 0 0 18px 2px rgba(47,123,255,0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(70px, 10vw, 40px);
}

.hero-heading {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  text-transform: uppercase;
}

.hero-heading .hl {
  display: block;
}

.hero-heading .hl.white { color: var(--white); }

.hero-desc {
  margin-top: clamp(18px, 2.4vw, 28px);
  max-width: 460px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: #dbe2ea;
  font-weight: 400;
}

.btn-enquire {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: clamp(20px, 4vw, 60px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  letter-spacing: 0.03em;
  padding: 0.85em 1.4em;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,87,235,0.45);
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-enquire:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-enquire svg { flex-shrink: 0; }

/* ---------------------------------------------------------------------- */
/* BANNER — "Safeguarding 1 Million Vehicles Daily"                       */
/* ---------------------------------------------------------------------- */

.banner {
  position: relative;
  background: linear-gradient(180deg, #051a45 0%, #0a2c72 45%, #04122f 100%);
  padding: clamp(22px, 3vw, 34px) 20px;
  text-align: center;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; height: 220%;
  background: radial-gradient(ellipse at center, rgba(60,130,255,0.55) 0%, rgba(60,130,255,0) 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.banner::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4d9aff 50%, transparent);
  box-shadow: 0 0 20px 3px rgba(77,154,255,0.9);
}

.banner h2 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------------------- */
/* ICON STRIP                                                              */
/* ---------------------------------------------------------------------- */

.icon-strip {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.icon-strip-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: clamp(18px, 2.6vw, 28px) clamp(20px, 4vw, 60px);
  flex-wrap: wrap;
  gap: 18px 0;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  padding: 0 clamp(10px, 2vw, 28px);
  position: relative;
  min-width: 210px;
}

.icon-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  width: 1px;
  background: rgba(255,255,255,0.25);
}

.icon-item img {
  width: clamp(26px, 2.6vw, 32px);
  height: clamp(26px, 2.6vw, 32px);
  object-fit: contain;
  flex-shrink: 0;
}

.icon-item span {
  color: var(--white);
  font-size: clamp(0.72rem, 0.95vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ---------------------------------------------------------------------- */
/* PLATFORM / CARDS                                                        */
/* ---------------------------------------------------------------------- */

.platform {
  background: var(--light-bg);
  padding: clamp(48px, 6vw, 76px) 0 clamp(56px, 7vw, 90px);
}

.platform-heading {
  text-align: center;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(16,24,40,0.04);
}

.card-img {
  aspect-ratio: 515 / 417;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 18px 20px 0;
  letter-spacing: -0.005em;
}

.card-subhead {
  font-family: 'Archivo', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.01em;
  line-height: 1.3;
  padding: 8px 20px 0;
}

.card-body {
  color: var(--text-gray);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 8px 20px 22px;
  flex: 1;
}

/* ---------------------------------------------------------------------- */
/* INTEL BANNER — "Every Vehicle Creates Intelligence"                     */
/* ---------------------------------------------------------------------- */

.intel-banner {
  position: relative;
  min-height: clamp(220px, 26vw, 320px);
  display: flex;
  align-items: center;
  background: var(--navy-950) url('../img/virtual-watchman-landing/Bottom-image-26-8-26.png') no-repeat center right;
  background-size: cover;
}

.intel-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,4,10,0.95) 0%, rgba(0,4,10,0.85) 32%, rgba(0,4,10,0.1) 62%, rgba(0,4,10,0) 100%);
}

.intel-banner .container {
  position: relative;
  z-index: 1;
}

.intel-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  max-width: 560px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .intel-banner h2 {
    white-space: normal;
  }
}

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

.footer {
  background: var(--navy-950);
  padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 60px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.footer-col h3 {
  color: var(--blue);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.3;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dbe2ea;
  font-size: 0.92rem;
}

.footer-list li a:hover { color: var(--white); }

.footer-support p {
  color: #b7c1cc;
  font-size: 0.9rem;
  max-width: 380px;
  line-height: 1.55;
}

.footer-privacy-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0,87,235,0.4);
}

.footer-privacy-link:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

.footer-map {
  justify-self: end;
  width: clamp(90px, 9vw, 130px);
  opacity: 0.95;
}

/* ---------------------------------------------------------------------- */
/* PRIVACY POLICY PAGE                                                     */
/* ---------------------------------------------------------------------- */

.privacy-topbar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: clamp(16px, 2vw, 22px) 0;
}

.privacy-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.privacy-topbar .wordmark {
  color: var(--white);
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.privacy-topbar .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbe2ea;
  font-size: 0.85rem;
  font-weight: 600;
}

.privacy-topbar .back-link:hover { color: var(--white); }

.privacy-hero {
  position: relative;
  background: linear-gradient(180deg, #051a45 0%, #04122f 100%);
  padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 5vw, 58px);
  text-align: center;
  overflow: hidden;
}

.privacy-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4d9aff 50%, transparent);
  box-shadow: 0 0 20px 3px rgba(77,154,255,0.9);
}

.privacy-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
}

.privacy-hero p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 16px auto 0;
  color: #dbe2ea;
  font-size: 0.95rem;
}

.privacy-content {
  background: var(--light-bg);
  padding: clamp(48px, 6vw, 76px) 0;
}

.privacy-block {
  background: var(--white);
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(16,24,40,0.04);
  padding: clamp(24px, 3vw, 38px) clamp(24px, 3.5vw, 44px);
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.privacy-block:last-child { margin-bottom: 0; }

.privacy-kicker {
  font-family: 'Archivo', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.privacy-heading {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--text-dark);
  margin-bottom: 14px;
}

.privacy-body p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.privacy-body p:last-child { margin-bottom: 0; }

.privacy-list {
  list-style: none;
  margin: 4px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.privacy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.privacy-closing {
  position: relative;
  background: var(--navy-950) url('../img/virtual-watchman-landing/Bottom-image-26-8-26.png') no-repeat center right;
  background-size: cover;
  padding: clamp(48px, 6vw, 76px) 0;
  text-align: center;
}

.privacy-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,4,10,0.92) 0%, rgba(0,4,10,0.8) 40%, rgba(0,4,10,0.55) 100%);
}

.privacy-closing .container {
  position: relative;
  z-index: 1;
}

.privacy-closing h2 {
  color: var(--white);
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  text-transform: uppercase;
}

.privacy-closing p {
  margin-top: 12px;
  color: #dbe2ea;
  font-size: 0.95rem;
}

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

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-map {
    grid-column: 1 / -1;
    justify-self: center;
    width: 140px;
    margin-top: 10px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 0;
    padding-bottom: 40px;
    background-position: 72% center;
    flex-direction: column;
    align-items: stretch;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(0,4,10,0.55) 0%, rgba(0,4,10,0.88) 55%, rgba(0,4,10,0.97) 100%);
  }

  .btn-enquire {
    position: static;
    margin: 20px clamp(20px, 4vw, 60px) 0;
    align-self: flex-start;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    padding-top: 24px;
  }

  .icon-strip-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .icon-item {
    padding: 10px 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .icon-item:not(:last-child)::after {
    right: auto;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
    height: 1px;
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .intel-banner {
    background-position: 78% center;
  }

  .intel-banner::before {
    background: linear-gradient(180deg, rgba(0,4,10,0.55) 0%, rgba(0,4,10,0.9) 60%, rgba(0,4,10,0.97) 100%);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-map {
    grid-column: auto;
    justify-self: center;
    width: 110px;
  }

  .banner-line2 {
    display: block;
  }
}

@media (max-width: 400px) {
  .hero-heading { font-size: 1.85rem; }
  .banner h2 { font-size: 1.05rem; }
}
