/* ==========================================================================
   Detrack — Asset Protection, Tracking & Recovery
   Design system inspired by Aiero (index5): Sora + Manrope, dark surfaces,
   generous radii, gradient accents — recolored to Detrack brand.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0a1722;
  --navy-800: #10222f;
  --navy-700: #16303f;
  --navy-600: #1d374b;
  --navy-500: #2c4a63;
  --red-500: #b4233d;
  --red-400: #d33553;
  --red-300: #e84e63;
  --teal-400: #45d0bd;

  /* Surfaces & content */
  --surface-light: #f2f5f7;
  --surface-white: #ffffff;
  --content-dark: #16303f;
  --content-body: #3d5568;
  --content-light: #e8eef2;
  --content-muted: rgba(232, 238, 242, 0.66);
  --border-light: #dde5ea;
  --border-dark: rgba(255, 255, 255, 0.1);

  --gradient-brand: linear-gradient(113deg, #b4233d 2.7%, #e84e63 60%, #f0797f 98%);
  --gradient-glow: radial-gradient(closest-side, rgba(232, 78, 99, 0.28), transparent);
  --gradient-teal: linear-gradient(113deg, #45d0bd 2.7%, #44b6e9 98.55%);

  /* Type */
  --font-heading: "Sora", Arial, Helvetica, sans-serif;
  --font-body: "Manrope", Arial, Helvetica, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  --shadow-card: 0 20px 60px -24px rgba(10, 23, 34, 0.22);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1240px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--content-body);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--content-dark);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin: 14px 0 18px;
}

.section-head p {
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-400);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--red-400);
  opacity: 0.5;
}

/* On dark sections */
.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--content-light);
}

.on-dark p {
  color: var(--content-muted);
}

.on-dark .eyebrow {
  color: var(--red-300);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(180, 35, 61, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -10px rgba(180, 35, 61, 0.65);
}

.btn-outline {
  border-color: var(--border-dark);
  color: var(--content-light);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.btn-outline-dark {
  border-color: var(--navy-600);
  color: var(--navy-600);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--navy-600);
  color: #fff;
}

.btn-lg {
  padding: 18px 38px;
  font-size: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: var(--transition);
  padding: 18px 0;
}

.site-header.scrolled {
  background: rgba(10, 23, 34, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--content-light);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  padding: 190px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  right: -180px;
  width: 900px;
  height: 900px;
  background: var(--gradient-glow);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 90px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--content-light);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-300);
  box-shadow: 0 0 0 0 rgba(232, 78, 99, 0.6);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(232, 78, 99, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(232, 78, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 78, 99, 0); }
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  color: var(--content-muted);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 54px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
}

.hero-stat {
  padding: 0 36px;
  border-left: 1px solid var(--border-dark);
}

.hero-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: #fff;
  font-weight: 700;
}

.hero-stat span {
  font-size: 13.5px;
  color: var(--content-muted);
}

/* Hero visual — live tracking card */
.hero-visual {
  position: relative;
}

.tracking-card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800) 70%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65);
}

.tracking-card .map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
}

.tracking-card .map svg {
  width: 100%;
  height: auto;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 34, 47, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-heading);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  animation: float 5s ease-in-out infinite;
}

.chip .ic {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.chip .ic svg {
  width: 18px;
  height: 18px;
}

.chip strong {
  display: block;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.chip span {
  font-size: 11.5px;
  color: var(--content-muted);
}

.chip-1 {
  top: -22px;
  left: -30px;
}

.chip-1 .ic {
  background: rgba(69, 208, 189, 0.16);
  color: var(--teal-400);
}

.chip-2 {
  bottom: 56px;
  right: -26px;
  animation-delay: 1.2s;
}

.chip-2 .ic {
  background: rgba(232, 78, 99, 0.16);
  color: var(--red-300);
}

.chip-3 {
  bottom: -20px;
  left: 34px;
  animation-delay: 2.4s;
}

.chip-3 .ic {
  background: rgba(68, 182, 233, 0.16);
  color: #44b6e9;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* radar pulse on map pin */
.pin-pulse {
  transform-origin: center;
  animation: radar 2.6s ease-out infinite;
  opacity: 0;
}

@keyframes radar {
  0% { transform: scale(0.25); opacity: 0.75; }
  100% { transform: scale(1.6); opacity: 0; }
}

.route-line {
  stroke-dasharray: 8 9;
  animation: dash 22s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -680; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-900);
  border-top: 1px solid var(--border-dark);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 238, 242, 0.5);
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "✦";
  color: var(--red-400);
  font-size: 13px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Pillars (What is Detrack) ---------- */
.pillars {
  background: var(--surface-light);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.pillar {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: auto auto -60px -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition);
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.pillar:hover::before {
  opacity: 1;
}

.pillar .num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--red-400);
  letter-spacing: 0.14em;
}

.pillar h3 {
  font-size: 19px;
  margin: 14px 0 10px;
}

.pillar p {
  font-size: 15px;
}

/* ---------- Solutions ---------- */
.solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 44px 0;
}

.solution-row + .solution-row {
  border-top: 1px solid var(--border-light);
}

.solution-row.reverse .solution-copy {
  order: 2;
}

.solution-copy h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 14px 0 16px;
}

.solution-copy > p {
  margin-bottom: 22px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 16px;
  color: var(--content-body);
}

.check-list .tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(180, 35, 61, 0.1);
  color: var(--red-400);
  display: grid;
  place-items: center;
}

.check-list .tick svg {
  width: 12px;
  height: 12px;
}

.solution-art {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  background: var(--navy-800);
}

.solution-art svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Audience (who benefits) ---------- */
.audience {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.audience::before {
  content: "";
  position: absolute;
  top: -300px;
  left: -200px;
  width: 800px;
  height: 800px;
  background: var(--gradient-glow);
  pointer-events: none;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
}

.audience-card {
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
}

.audience-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-6px);
  border-color: rgba(232, 78, 99, 0.35);
}

.audience-card .ic {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.audience-card .ic svg {
  width: 26px;
  height: 26px;
}

.audience-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.audience-card p {
  font-size: 15px;
}

/* ---------- Steps (how it works) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.step {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  transition: var(--transition);
  background: var(--surface-white);
}

.step:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.step .step-num {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--red-400);
}

.step .step-num small {
  color: var(--content-body);
  opacity: 0.55;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.step h3 {
  font-size: 19px;
  margin: 16px 0 10px;
}

.step p {
  font-size: 15px;
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--surface-light);
}

.pricing-note {
  text-align: center;
  max-width: 640px;
  margin: -34px auto 48px;
  font-size: 15px;
}

.plan-group-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin: 46px 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.plan-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}

.plan {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.plan.featured {
  background: var(--navy-800);
  border-color: var(--navy-700);
}

.plan.featured h3,
.plan.featured .price {
  color: #fff;
}

.plan.featured .plan-desc,
.plan.featured .plan-list li {
  color: var(--content-muted);
}

.plan .flag {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

.plan .class-tag {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-400);
  margin-bottom: 12px;
}

.plan h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 14.5px;
  margin-bottom: 24px;
  min-height: 44px;
}

.price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--content-dark);
  line-height: 1;
}

.price small {
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  opacity: 0.6;
}

.price-term {
  font-size: 13px;
  margin: 8px 0 24px;
  opacity: 0.75;
}

.plan-list {
  flex: 1;
  margin-bottom: 28px;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--content-body);
}

.plan-list svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--teal-400);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--surface-white);
}

.faq-item.open {
  border-color: rgba(180, 35, 61, 0.35);
  box-shadow: var(--shadow-card);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--content-dark);
}

.faq-q .indicator {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: grid;
  place-items: center;
  transition: var(--transition);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: var(--red-400);
}

.faq-item.open .indicator {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-a-inner {
  padding: 0 26px 24px;
  font-size: 15.5px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  transform: translateY(45%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  color: #fff;
  margin-bottom: 20px;
}

.cta-inner p {
  font-size: 18px;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 14px 0 18px;
}

.contact-cards {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.contact-card .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(180, 35, 61, 0.1);
  color: var(--red-400);
  display: grid;
  place-items: center;
}

.contact-card .ic svg {
  width: 20px;
  height: 20px;
}

.contact-card strong {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--content-dark);
  display: block;
  margin-bottom: 3px;
}

.contact-card a,
.contact-card address {
  font-style: normal;
  font-size: 15px;
  color: var(--content-body);
}

.contact-card a:hover {
  color: var(--red-400);
}

.contact-form {
  background: var(--navy-800);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.contact-form h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--content-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--content-muted);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red-300);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .btn {
  margin-top: 24px;
  width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border-dark);
  padding: 76px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--content-muted);
  font-size: 14.5px;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--content-muted);
  font-size: 14.5px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--red-300);
}

.footer-col address {
  font-style: normal;
  color: var(--content-muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--content-muted);
  font-size: 13.5px;
}

.footer-bottom a {
  color: var(--content-light);
}

.footer-bottom a:hover {
  color: var(--red-300);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--navy-900);
  padding: 170px 0 70px;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -160px;
  width: 700px;
  height: 700px;
  background: var(--gradient-glow);
}

.legal-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 52px);
  position: relative;
}

.legal-hero p {
  color: var(--content-muted);
  margin-top: 12px;
  position: relative;
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal-body h2 {
  font-size: 24px;
  margin: 44px 0 16px;
}

.legal-body h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 26px;
  margin-bottom: 18px;
}

.legal-body ul.plain {
  list-style: none;
  padding-left: 0;
}

.legal-body li {
  margin-bottom: 9px;
}

.legal-body a {
  color: var(--red-400);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track,
  .chip,
  .pin-pulse,
  .route-line {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .chip-1 { left: 0; }
  .chip-2 { right: 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--navy-800);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 34px;
    gap: 26px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-dark);
    z-index: 99;
  }

  .nav-links.open {
    right: 0;
    box-shadow: -40px 0 80px rgba(0, 0, 0, 0.5);
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 100;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav-cta .btn { display: none; }

  .solution-row,
  .solution-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .solution-row.reverse .solution-copy { order: 0; }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }

  .hero { padding-top: 150px; }

  .hero-stat {
    padding: 0 20px;
  }

  .form-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 30px 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; }

  .chip { display: none; }

  .store-row { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; }
  .audience-strip { grid-template-columns: 1fr; }
  .feature-spotlight { grid-template-columns: 1fr; }
  .markets-bar { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Corporate multi-page additions
   ========================================================================== */

.footer-markets {
  margin-top: 16px;
  font-size: 13px;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-300);
}

.footer-stores a { margin-left: 4px; }

/* Markets / trust bar */
.markets-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: var(--navy-800);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--content-muted);
}

.markets-bar strong {
  color: #fff;
  font-weight: 600;
}

.markets-bar .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-400);
  opacity: 0.8;
}

/* Audience strip on home */
.audience-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--surface-white);
  transition: var(--transition);
  min-height: 220px;
}

.audience-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.audience-tile .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(180, 35, 61, 0.1);
  color: var(--red-400);
}

.audience-tile .ic svg { width: 22px; height: 22px; }

.audience-tile h3 {
  font-size: 18px;
}

.audience-tile p {
  font-size: 14.5px;
  flex: 1;
}

.audience-tile .tile-link {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red-400);
}

.audience-tile:hover .tile-link { color: var(--red-500); }

/* Feature spotlight (ownership) */
.feature-spotlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.spotlight-panel {
  background: var(--navy-800);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-dark);
  padding: 28px;
  color: var(--content-light);
}

.spotlight-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
}

.spotlight-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spotlight-row:first-child { padding-top: 0; }

.spotlight-row .status {
  flex: none;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
}

.status-clean { background: rgba(69, 208, 189, 0.15); color: var(--teal-400); }
.status-stolen { background: rgba(232, 78, 99, 0.15); color: var(--red-300); }
.status-missing { background: rgba(255, 193, 7, 0.15); color: #f0c14b; }
.status-secured { background: rgba(68, 182, 233, 0.15); color: #44b6e9; }

.spotlight-row strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 4px;
}

.spotlight-row span {
  font-size: 13.5px;
  color: var(--content-muted);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  background: var(--navy-900);
  padding: 170px 0 90px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -160px;
  width: 700px;
  height: 700px;
  background: var(--gradient-glow);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  max-width: 820px;
  margin: 16px 0 20px;
}

.page-hero .lead {
  color: var(--content-muted);
  font-size: 19px;
  max-width: 640px;
  margin-bottom: 32px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Feature grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feat-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background: var(--surface-white);
  transition: var(--transition);
}

.feat-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.feat-card .num {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red-400);
}

.feat-card h3 {
  font-size: 18px;
  margin: 12px 0 10px;
}

.feat-card p { font-size: 15px; }

/* Split content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse > :first-child { order: 2; }

.split-art {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--navy-800);
  box-shadow: var(--shadow-card);
}

.split-art svg { width: 100%; height: auto; display: block; }

/* Download band */
.download-band {
  background: var(--navy-900);
  padding: 96px 0;
  border-top: 1px solid var(--border-dark);
}

.download-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.download-inner h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  margin: 14px 0 16px;
}

.download-inner p {
  color: var(--content-muted);
  font-size: 18px;
  margin-bottom: 36px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--navy-900);
  border-radius: 12px;
  padding: 12px 22px;
  min-width: 200px;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
}

.store-btn small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.65;
  line-height: 1.2;
}

.store-btn strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

/* Soft section bg */
.bg-soft { background: var(--surface-light); }
.bg-navy { background: var(--navy-900); }

@media (max-width: 1080px) {
  .audience-strip { grid-template-columns: 1fr 1fr; }
  .feature-spotlight,
  .split,
  .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
}

@media (max-width: 900px) {
  .nav-links {
    overflow-y: auto;
  }
}
