/* ────────────────────────────────────────────────────────────────────
   TreadSynk landing — brand-consistent with the app
   Brand: #185FA5 / Page: #F8F7F2 / Success #1D9E75 / Warn #BA7517
─────────────────────────────────────────────────────────────────── */

:root {
  --brand-50:  #E6F1FB;
  --brand-100: #B5D4F4;
  --brand-500: #185FA5;
  --brand-600: #0C447C;
  --brand-900: #042C53;
  --success-bg: #EAF3DE;
  --success-text: #173404;
  --success-dot: #1D9E75;
  --warning-bg: #FAEEDA;
  --warning-text: #412402;
  --warning-dot: #BA7517;
  --danger-bg: #FCEBEB;
  --danger-text: #501313;
  --danger-dot: #D04646;
  --info-bg: #E6F1FB;
  --info-text: #042C53;
  --info-dot: #378ADD;
  --purple-bg: #F2EAFB;
  --purple-text: #2D1856;
  --purple-dot: #534AB7;
  --page: #F8F7F2;
  --tertiary: #E5E4E0;
  --secondary: #D3D1C7;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1f2937;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-600); }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 120ms, border-color 120ms, color 120ms;
}
.btn-primary {
  background: var(--brand-500); color: #fff;
}
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--brand-500);
  border-color: var(--brand-100);
}
.btn-secondary:hover { background: var(--brand-50); border-color: var(--brand-500); }
.btn-ghost {
  color: #4b5563;
  background: transparent;
}
.btn-ghost:hover { color: #111827; background: var(--page); }
.btn-lg { padding: 12px 22px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* ─────────── Nav ─────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--tertiary);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 8px; color: #111827; font-weight: 600; }
.logo:hover { color: #111827; }
/* ───── New TREADSYNK lockup: icon + gradient wordmark ───── */
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-icon-img {
  height: 30px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.logo-wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
}
.word-tread {
  background: linear-gradient(180deg, #6B7280 0%, #185FA5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.word-synk {
  background: linear-gradient(180deg, #4ADE80 0%, #15803D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.footer .logo-icon-img { height: 28px; }
.footer .logo-wordmark { font-size: 20px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13px; color: #4b5563; }
.nav-links a:hover { color: #111827; }
.nav-ctas { display: flex; gap: 8px; align-items: center; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ─────────── Hero ─────────── */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--page) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--tertiary);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-500);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.lede {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }

/* ───── Credentials reveal (post-form-submit) ───── */
.creds-reveal {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  color: #1f2937;
  text-align: center;
  animation: creds-fade-in 0.4s ease-out;
}
@keyframes creds-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.creds-reveal-icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-text);
  margin-bottom: 16px;
}
.creds-reveal h3 {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.creds-reveal > .creds-reveal-inner > p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.creds-reveal-block {
  background: var(--page);
  border: 1px solid var(--tertiary);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}
.creds-reveal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.creds-reveal-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  font-weight: 600;
}
.creds-reveal-code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid var(--tertiary);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--brand-600);
  font-weight: 600;
}
.hero-stats {
  list-style: none;
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: #6b7280;
}
.hero-stats strong { color: var(--brand-500); font-weight: 600; }
.hero-stats li { display: flex; align-items: center; gap: 6px; }

.hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.06);
  background: #fff;
  aspect-ratio: 16 / 11;
}
.hero-visual .screenshot-img,
.hero-visual .mockup {
  width: 100%; height: 100%; object-fit: cover;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

/* ─────────── Trust banner ─────────── */
.trust {
  background: var(--info-bg);
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  color: var(--info-text);
  border-bottom: 1px solid var(--brand-100);
}
.trust-link { font-weight: 600; }

/* ─────────── Section common ─────────── */
.section-title {
  font-size: 30px;
  font-weight: 600;
  color: #111827;
  text-align: center;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 15px;
  color: #6b7280;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

/* ─────────── Pillars ─────────── */
.pillars { padding: 80px 0; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color 120ms, transform 120ms;
}
.pillar:hover { border-color: var(--secondary); transform: translateY(-2px); }
.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pillar-icon-blue { background: var(--brand-50); color: var(--brand-500); }
.pillar-icon-green { background: var(--success-bg); color: var(--success-text); }
.pillar-icon-purple { background: var(--purple-bg); color: var(--purple-text); }
.pillar h3 { font-size: 18px; font-weight: 600; color: #111827; margin-bottom: 8px; }
.pillar p { font-size: 13px; color: #4b5563; margin-bottom: 14px; line-height: 1.55; }
.pillar-list {
  list-style: none;
  font-size: 12px;
  color: #6b7280;
}
.pillar-list li {
  padding: 4px 0 4px 16px;
  position: relative;
}
.pillar-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--brand-500);
  font-weight: 700;
}

@media (max-width: 800px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* ─────────── Screenshots ─────────── */
.screenshots {
  padding: 80px 0;
  background: var(--page);
  border-top: 1px solid var(--tertiary);
  border-bottom: 1px solid var(--tertiary);
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.screenshot-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--tertiary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.screenshot-meta { padding: 22px 24px 18px; }
.screenshot-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--success-bg);
  color: var(--success-text);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.screenshot-tag-blue { background: var(--brand-50); color: var(--brand-500); }
.screenshot-tag-orange { background: var(--warning-bg); color: var(--warning-text); }
.screenshot-tag-purple { background: var(--purple-bg); color: var(--purple-text); }
.screenshot-card h3 { font-size: 17px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.screenshot-card p { font-size: 13px; color: #6b7280; line-height: 1.5; }
.screenshot-frame {
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, var(--page) 100%);
  padding: 16px 20px 20px;
  border-top: 1px solid var(--tertiary);
}
.screenshot-frame:hover .mockup { transform: translateY(-2px); }
.screenshot-img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.12);
}

@media (max-width: 880px) {
  .screenshot-grid { grid-template-columns: 1fr; }
}

/* ─────────── Mockups (SVG-style fallback when images missing) ─────────── */
.mockup {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 6px;
  overflow: hidden;
  font-size: 11px;
  transition: transform 200ms;
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--page);
  border-bottom: 1px solid var(--tertiary);
}
.mockup-dot {
  width: 9px; height: 9px; border-radius: 50%;
  display: inline-block;
}
.mockup-dot.dot-r { background: #ff5f57; }
.mockup-dot.dot-y { background: #ffbd2e; }
.mockup-dot.dot-g { background: #28ca41; }
.mockup-url {
  margin-left: 12px;
  font-size: 11px;
  color: #6b7280;
}

.mockup-content { display: grid; grid-template-columns: 56px 1fr; min-height: 240px; }
.mockup-sidebar {
  background: var(--page);
  border-right: 1px solid var(--tertiary);
  padding: 12px 8px;
}
.mockup-sidebar-logo {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--brand-500);
  margin-bottom: 16px;
}
.mockup-sidebar-nav {
  background: linear-gradient(180deg, #d1d5db 0%, transparent 100%);
  height: 240px;
  border-radius: 4px;
  opacity: 0.45;
}
.mockup-main { padding: 14px 16px; }

.mockup-pageheader { margin-bottom: 16px; }
.mockup-title {
  width: 60%; height: 14px;
  background: #1f2937; border-radius: 4px;
  margin-bottom: 6px;
}
.mockup-subtitle {
  width: 80%; height: 10px;
  background: #d1d5db; border-radius: 3px;
}

.mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.mockup-kpi {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mockup-kpi-label {
  width: 60%; height: 7px;
  background: #d1d5db; border-radius: 2px;
}
.mockup-kpi-value {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1;
}
.mockup-kpi-delta {
  font-size: 9px;
  color: var(--success-text);
}
.mockup-kpi-delta.delta-warn { color: var(--warning-text); }

.mockup-chart {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 4px;
  padding: 10px;
  height: 110px;
}
.mockup-chart svg { width: 100%; height: 100%; }

/* Flat mockup variants */
.mockup-flat {
  padding: 0;
  min-height: 280px;
}
.mockup-flat-header {
  padding: 10px 14px;
  background: var(--page);
  border-bottom: 1px solid var(--tertiary);
  font-size: 12px;
  font-weight: 500;
  color: #1f2937;
}
.mockup-flat-row {
  padding: 14px;
}
.mockup-flat-row-decisions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.mockup-decision {
  border-left: 2px solid;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup-decision strong { color: #1f2937; font-weight: 600; font-size: 12px; }
.mockup-decision span { color: #6b7280; font-size: 10px; }
.mockup-decision-danger { background: var(--danger-bg); border-color: var(--danger-dot); }
.mockup-decision-warning { background: var(--warning-bg); border-color: var(--warning-dot); }
.mockup-decision-info { background: var(--info-bg); border-color: var(--info-dot); }

/* Kanban mockup */
.mockup-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}
.mockup-kanban-col {
  background: var(--page);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-kanban-title {
  font-size: 10px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 4px;
}
.mockup-kanban-card {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 3px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mockup-kanban-card strong { font-size: 11px; color: #1f2937; font-weight: 600; }
.mockup-kanban-card span { font-size: 9px; color: #6b7280; }
.mockup-kanban-card-urgent { border-left: 2px solid var(--danger-dot); }
.mockup-kanban-card-active { border-left: 2px solid var(--success-dot); }
.mockup-kanban-card-flagged { background: var(--warning-bg); border-color: var(--warning-dot); }

/* Form mockup (TCEQ) */
.mockup-form {
  font-family: "Courier New", "Times New Roman", serif;
  background: #fff;
}
.mockup-form-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 16px;
  border-bottom: 2px solid #000;
  gap: 12px;
}
.mockup-form-head strong { font-size: 14px; color: #000; display: block; margin-bottom: 2px; }
.mockup-form-head span { font-size: 9px; color: #6b7280; }
.mockup-form-serial { text-align: right; font-size: 11px; color: #000; }
.mockup-form-serial em { color: #c8102e; font-weight: 700; font-style: normal; margin-left: 4px; }
.mockup-form-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 16px;
}
.mockup-form-section {}
.mockup-form-label {
  font-size: 9px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.mockup-form-line {
  height: 1px;
  background: #000;
  margin-bottom: 14px;
}
.mockup-form-line.short { width: 60%; }
.mockup-form-stamp {
  text-align: center;
  font-size: 11px;
  color: #c8102e;
  font-weight: 700;
  font-family: "Courier New", monospace;
  padding: 10px 0;
  border-top: 1px solid var(--tertiary);
}

/* Budget mockup */
.mockup-budget-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
}
.mockup-budget-col {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-budget-label { font-size: 9px; text-transform: uppercase; color: #6b7280; letter-spacing: 0.06em; }
.mockup-budget-big { font-size: 20px; font-weight: 600; color: #1f2937; line-height: 1; margin: 4px 0; }
.mockup-budget-success { color: var(--success-text); }
.mockup-budget-delta { font-size: 10px; color: var(--success-text); font-weight: 500; }
.mockup-budget-warn { color: var(--warning-text); }
.mockup-progress {
  position: relative;
  height: 5px;
  background: var(--page);
  border-radius: 3px;
  margin-top: 6px;
}
.mockup-progress-fill {
  height: 100%;
  background: var(--success-dot);
  border-radius: 3px;
}
.mockup-progress-fill.mockup-progress-warn { background: var(--warning-dot); }
.mockup-progress-marker {
  position: absolute;
  top: -2px;
  width: 1px;
  height: 9px;
  background: #1f2937;
}

/* ─────────── Modules ─────────── */
.modules { padding: 80px 0; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 12px;
  padding: 32px 36px;
}
.module-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-500);
  margin-bottom: 10px;
  margin-top: 18px;
}
.module-col h4:first-child { margin-top: 0; }
.module-col ul {
  list-style: none;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.9;
}

@media (max-width: 800px) {
  .module-grid { grid-template-columns: 1fr; }
}

/* ─────────── Customers ─────────── */
.customers {
  padding: 80px 0;
  background: var(--page);
  border-top: 1px solid var(--tertiary);
  border-bottom: 1px solid var(--tertiary);
}
.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.customer-card {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 10px;
  padding: 28px 24px;
}
.customer-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 16px;
}
.customer-card h3 { font-size: 17px; font-weight: 600; color: #111827; margin-bottom: 8px; }
.customer-card p { font-size: 13px; color: #4b5563; line-height: 1.55; }

@media (max-width: 800px) {
  .customer-grid { grid-template-columns: 1fr; }
}

/* ─────────── Why ─────────── */
.why { padding: 80px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 10px;
  padding: 28px 24px;
}
.why-stat {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-500);
  margin-bottom: 12px;
}
.why-card h3 { font-size: 16px; font-weight: 600; color: #111827; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: #4b5563; line-height: 1.55; }

@media (max-width: 800px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ─────────── Request demo ─────────── */
.request {
  padding: 80px 0;
  background: var(--brand-900);
  color: #fff;
}
.request .section-title { color: #fff; text-align: left; }
.request-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.request-copy p { color: #B5D4F4; font-size: 15px; margin-bottom: 16px; }
.request-or { font-size: 13px !important; color: #B5D4F4 !important; }
.request-or a { color: #fff; font-weight: 600; }
.request-or a:hover { color: #fff; text-decoration: underline; }
.link { color: #fff; font-weight: 600; }
.link:hover { color: #fff; text-decoration: underline; }

.request-form {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #1f2937;
}
.request-form label { display: flex; flex-direction: column; gap: 4px; }
.request-form span { font-size: 11px; font-weight: 600; color: #4b5563; }
.request-form input,
.request-form select,
.request-form textarea {
  font-family: inherit;
  font-size: 13px;
  padding: 9px 11px;
  border: 1px solid var(--tertiary);
  border-radius: 6px;
  color: #1f2937;
  background: #fff;
  transition: border-color 120ms;
}
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.request-form textarea { resize: vertical; }
.request-fineprint { font-size: 10px; color: #9ca3af; text-align: center; }

@media (max-width: 900px) {
  .request-inner { grid-template-columns: 1fr; }
}

/* ─────────── Footer ─────────── */
.footer { background: #f8f9fb; border-top: 1px solid var(--tertiary); padding: 56px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 56px;
  margin-bottom: 36px;
}
.footer-brand p { color: #6b7280; font-size: 13px; margin-top: 12px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.footer-links h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b5563;
  margin-bottom: 12px;
}
.footer-links a, .footer-links span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  padding: 4px 0;
}
.footer-links a:hover { color: var(--brand-500); }
.footer-login { color: var(--brand-500) !important; font-weight: 500; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9ca3af;
  border-top: 1px solid var(--tertiary);
  padding-top: 24px;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ─────────── 4-col grid variant for pillars + modules ─────────── */
.pillar-grid-4 { grid-template-columns: repeat(4, 1fr); }
.module-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .pillar-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .module-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillar-grid-4, .module-grid-4 { grid-template-columns: 1fr; }
}

.pillar-icon-ai { background: linear-gradient(135deg, #F2EAFB 0%, #E0EBFA 100%); color: #2D1856; }

/* ─────────── AI feature section ─────────── */
.ai-feature {
  background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
  padding: 80px 0;
  border-top: 1px solid var(--tertiary);
  border-bottom: 1px solid var(--tertiary);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 1100px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ai-grid { grid-template-columns: 1fr; }
}
.ai-card {
  background: #fff;
  border: 1px solid var(--tertiary);
  border-radius: 10px;
  padding: 24px;
  transition: border-color 120ms, transform 120ms;
}
.ai-card:hover { border-color: var(--brand-500); transform: translateY(-2px); }
.ai-card-feature {
  grid-row: span 2;
  background: linear-gradient(155deg, #fff 0%, var(--brand-50) 100%);
  border-color: var(--brand-500);
}
.ai-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-500);
}
.ai-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 10px 0 8px;
  line-height: 1.3;
}
.ai-card-feature h3 { font-size: 20px; }
.ai-card p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.55;
}
.ai-bullets {
  list-style: none;
  margin-top: 14px;
}
.ai-bullets li {
  font-size: 12px;
  color: #4b5563;
  padding: 6px 0;
  border-top: 1px dashed var(--tertiary);
  font-style: italic;
}

/* ─────────── Mobile apps section ─────────── */
.mobile-feature {
  padding: 80px 0;
}
.mobile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .mobile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .mobile-grid { grid-template-columns: 1fr; }
}
.mobile-card {
  background: #fff;
  border: 2px solid var(--tertiary);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: border-color 120ms, transform 120ms, box-shadow 120ms;
}
.mobile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.mobile-card-dispatch:hover { border-color: var(--brand-500); }
.mobile-card-driver:hover   { border-color: #16a34a; }
.mobile-card-shop:hover     { border-color: #d97706; }
.mobile-card-scanner:hover  { border-color: #7c3aed; }
.mobile-icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center; justify-content: center;
  font-size: 28px;
  border-radius: 14px;
  background: #F8FAFC;
  margin-bottom: 14px;
}
.mobile-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}
.mobile-card p {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.5;
  min-height: 60px;
}
.mobile-path {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--brand-500);
  background: var(--brand-50);
  border-radius: 4px;
}
.mobile-note {
  text-align: center;
  font-size: 11px;
  color: #6b7280;
  font-style: italic;
  margin-top: 32px;
}

/* ─────────── Screenshot tag — amber for shop ─────────── */
.screenshot-tag-amber { background: #FEF3C7; color: #92400E; }

/* ─────────── PO mockup rows ─────────── */
.mockup-po-rows {
  background: #fff;
  border-radius: 8px;
  margin: 10px;
  padding: 10px;
}
.mockup-po-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 6px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}
.mockup-po-row:last-of-type { border-bottom: none; }
.mockup-po-row strong { color: #111827; font-weight: 500; }
.mockup-po-row span { color: #4b5563; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; }
.mockup-po-row-total { border-top: 2px solid #cbd5e1; padding-top: 12px; margin-top: 4px; }
.mockup-po-row-total strong, .mockup-po-row-total span { font-weight: 700; color: #111827; }
.mockup-flat-footer {
  background: #FEF3C7;
  color: #92400E;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-top: 1px solid #FDE68A;
}
