/* ─── FoxTrak /for/ Pages – Shared 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--wide { min-width: 260px; }

/* ─── HERO ─── */
.for-hero {
  position: relative;
  padding: 140px var(--pad) 80px;
  text-align: center;
  background: #fff;
  overflow: hidden;
}
.for-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;
}
.for-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.for-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.for-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;
}
.for-hero__sub {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.for-hero__cta {
  margin-bottom: 56px;
}
.for-hero__image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(41,66,79,0.12);
}
.for-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── PROBLEM ─── */
.for-problem {
  padding: 100px var(--pad);
  background: #fff;
  max-width: calc(760px + var(--pad) * 2);
  margin: 0 auto;
}
.for-problem__headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  line-height: 1.2;
}
.for-problem__body p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.for-problem__body p:last-child { margin-bottom: 0; }

/* ─── HOW IT WORKS ─── */
.for-hiw {
  position: relative;
  padding: 100px var(--pad);
  background: #fff;
  overflow: hidden;
  text-align: center;
}
.for-hiw::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  width: 1920px;
  height: 778px;
  background: url('/ft-bg-gradient-1920px.png') center center / 1920px 778px no-repeat;
  pointer-events: none;
  z-index: 0;
}
.for-hiw__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.for-hiw__headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.for-hiw__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 48px;
}
.for-hiw__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  margin-bottom: 48px;
}
.for-hiw__step {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.for-hiw__step:first-child { border-top: 1px solid var(--border); }
.for-hiw__step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.for-hiw__step-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}
.for-hiw__workflow {
  padding: 0 0 40px;
  text-align: left;
  margin-bottom: 0;
}
.for-hiw__workflow-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
/* ─── WORKFLOW STEPS ─── */
.for-hiw__workflow-steps {
  counter-reset: step;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 2px;
  align-items: center;
}
.for-hiw__workflow-steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  border-bottom: none;
  padding: 0;
}
.for-hiw__workflow-steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.for-hiw__workflow-steps li::after {
  content: '→';
  color: var(--text-dim);
  font-size: 13px;
  margin-left: 2px;
}
.for-hiw__workflow-steps li:last-child::after {
  display: none;
}

/* ─── FEATURES ─── */
.for-features {
  padding: 100px var(--pad);
}
.for-features__inner {
  max-width: calc(860px + var(--pad) * 2);
  margin: 0 auto;
}
.for-features__headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 48px;
  text-align: center;
  line-height: 1.2;
}
.for-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.for-features__item {
  padding: 32px 40px 32px 0;
  border-bottom: 1px solid var(--border);
}
.for-features__item:nth-child(odd) {
  padding-right: 48px;
  border-right: 1px solid var(--border);
}
.for-features__item:nth-child(even) {
  padding-left: 48px;
  padding-right: 0;
}
.for-features__item:nth-child(1),
.for-features__item:nth-child(2) {
  border-top: 1px solid var(--border);
}
.for-features__item-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.for-features__item-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── SOCIAL PROOF ─── */
.for-proof {
  position: relative;
  padding: 200px var(--pad) 100px;
  margin-top: -100px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}
.for-proof::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;
}
.for-proof__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.for-proof__headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.for-proof__body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 36px;
}

/* ─── FINAL CTA ─── */
.for-cta {
  background: var(--navy);
  padding: 100px var(--pad);
  text-align: center;
}
.for-cta__inner {
  max-width: 520px;
  margin: 0 auto;
}
.for-cta__headline {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.for-cta__body {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 36px;
}
.for-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: 920px) {
  .for-features__grid { grid-template-columns: 1fr; }
  .for-features__item { padding: 28px 0; border-right: none !important; }
  .for-features__item:nth-child(odd) { padding-right: 0; border-right: none; }
  .for-features__item:nth-child(even) { padding-left: 0; }
}
@media (max-width: 640px) {
  .hn__btns { display: none; }
  .hn { padding: 0 1rem; }
  .for-hero__headline { letter-spacing: -1px; }
  .for-hiw__workflow { padding: 20px; }
  .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; }
}

/* ─── DASHBOARD IMAGE SECTION ─── */
.for-dashboard {
  padding: 0 var(--pad) 100px;
  background: #fff;
}
.for-dashboard__inner {
  max-width: calc(900px + var(--pad) * 2);
  margin: 0 auto;
  text-align: center;
}
.for-dashboard__headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.for-dashboard__body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.for-dashboard__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(41,66,79,0.12);
}
.for-dashboard__image img {
  width: 100%;
  height: auto;
  display: block;
}
