/* ─── FoxTrak /why-foxtrak – Styles ─── */

:root {
  --orange: #ef520c;
  --navy: #29424f;
  --bg: #ffffff;
  --border: #e2e2e2;
  --text: #29424f;
  --text-muted: #6b7f8a;
  --text-dim: #9aaab3;
  --radius: 12px;
  --pad: 272px;
}

@media (max-width: 1500px) { :root { --pad: 80px; } }
@media (max-width: 920px)  { :root { --pad: 32px; } }
@media (max-width: 640px)  { :root { --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ─── NAV ─── */
.hn {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hn__left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hn__logo img { height: 28px; display: block; }
.hn__divider { width: 1px; height: 16px; background: var(--border); }
.hn__label { font-size: 13px; color: var(--text-dim); font-weight: 500; white-space: nowrap; }
.hn__btns { display: flex; gap: 8px; flex-shrink: 0; }
.hn__login {
  font-size: 14px; font-weight: 500; color: var(--navy);
  padding: 6px 20px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.hn__login:hover { border-color: var(--navy); }
.hn__signup {
  font-size: 14px; font-weight: 600; color: #fff;
  background: var(--orange);
  padding: 6px 20px;
  border-radius: 8px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.hn__signup:hover { opacity: 0.85; }
.hn--scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 16px rgba(41,66,79,0.07);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn--wide { min-width: 260px; }

/* ─── HERO ─── */
.why-hero {
  position: relative;
  padding: 140px var(--pad) 80px;
  text-align: center;
  background: #fff;
  overflow: hidden;
}
.why-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1920px;
  height: 778px;
  background: url('/ft-bg-gradient-1920px.png') center center / 1920px 778px no-repeat;
  pointer-events: none;
  z-index: 0;
}
.why-hero__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.why-hero__headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.why-hero__sub {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
.why-hero__image {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 48px auto 0;
}
.why-hero__image img { width: 100%; height: auto; display: block; }

/* ─── SECTION SHELL ─── */
.why-section {
  padding: 100px var(--pad);
  background: #fff;
}
.why-section--muted { background: #fafafa; }
.why-section__inner { max-width: calc(760px + var(--pad) * 2); margin: 0 auto; }
.why-section__headline {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  line-height: 1.2;
  text-align: center;
}
.why-section__body p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.why-section__body p:last-child { margin-bottom: 0; }

/* ─── FEATURES IMAGE ─── */
.why-features__image {
  max-width: 900px;
  margin: 40px auto 0;
}
.why-features__image img { width: 100%; height: auto; display: block; }

/* ─── FEATURE LIST ─── */
.why-feature-list {
  list-style: none;
  max-width: 640px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-feature-list li {
  padding: 18px 0 18px 30px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}
.why-feature-list li:last-child { border-bottom: 1px solid var(--border); }
.why-feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 26px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.why-feature-list__more {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 15px;
}
.why-feature-list__more a { color: var(--orange); }
.why-feature-list__more a:hover { text-decoration: underline; }

/* ─── TESTIMONIALS (mirrors homepage treatment) ─── */
.why-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
  text-align: left;
}
.why-testimonials__card {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
}
.why-testimonials__logo {
  width: 168px;
  height: 104px;
  box-sizing: border-box;
  object-fit: contain;
  margin-bottom: 20px;
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.why-testimonials__quote {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}
.why-testimonials__attribution { font-size: 14px; margin-top: 20px; }
.why-testimonials__name { display: block; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.why-testimonials__business { color: var(--text-muted); font-size: 13px; }
.why-testimonials__business a { color: var(--orange); }
.why-testimonials__business a:hover { text-decoration: underline; }

/* ─── COMPARISON TABLE ─── */
.why-compare__wrap { overflow-x: auto; margin-top: 40px; }
.why-compare__table { width: 100%; border-collapse: collapse; min-width: 560px; }
.why-compare__table th, .why-compare__table td {
  padding: 16px 14px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.why-compare__table thead th {
  font-weight: 600; color: var(--navy); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.5px; padding-bottom: 12px;
}
.why-compare__table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.why-compare__table td:last-child { color: var(--text-muted); }
.why-compare__note {
  max-width: 680px; margin: 32px auto 0; text-align: center;
  font-size: 15px; color: var(--text-muted); line-height: 1.75;
}

/* ─── ORIGIN ─── */
.why-origin__company {
  text-align: center; margin-top: 32px; font-size: 15px; color: var(--text-dim);
}

/* ─── FINAL CTA ─── */
.why-cta {
  background: var(--navy);
  padding: 100px var(--pad);
  text-align: center;
}
.why-cta__inner { max-width: 520px; margin: 0 auto; }
.why-cta__headline {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.why-cta__body {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 36px;
}
.why-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.why-cta__btn-secondary {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3);
}
.why-cta__btn-secondary:hover { opacity: 1; border-color: #fff; }
.why-cta__foot {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ─── FOOTER ─── */
.footer { background: #fff; border-top: 1px solid var(--border); padding: 36px 0; }
.footer__inner { max-width: 1376px; margin: 0 auto; padding: 0 2rem; }
.footer__row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.footer__nav { display: flex; gap: 32px; }
.footer__nav a { font-size: 14px; font-weight: 500; color: var(--navy); transition: color 0.2s; }
.footer__nav a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 18px; align-items: center; }
.footer__social a { color: var(--navy); display: flex; align-items: center; transition: color 0.2s; }
.footer__social a:hover { color: var(--orange); }
.footer__row2 { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border); }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13px; }
.footer__logo { height: 18px; width: auto; display: block; }
.footer__legal { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.footer__legal a { color: var(--text-muted); transition: color 0.2s; }
.footer__legal a:hover { color: var(--navy); }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .hn__btns { display: none; }
  .hn { padding: 0 1rem; }
  .footer__row1 { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer__row2 { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer__nav { flex-wrap: wrap; gap: 14px; }
  .why-compare__table td:first-child { white-space: normal; }
}
