/* track-freight.css */
/* ONE main stylesheet (merged) — copy/paste as-is */
/* Includes: base tokens, layout, hero, panel, features, UI showcase, contact/linkedin, footer, responsive */

:root{
  --tf-bg: #070A12;
  --tf-bg-2: #0B1020;

  --tf-card: rgba(255,255,255,.06);
  --tf-card-2: rgba(255,255,255,.08);
  --tf-border: rgba(255,255,255,.12);

  --tf-text: rgba(255,255,255,.92);
  --tf-muted: rgba(255,255,255,.72);
  --tf-faint: rgba(255,255,255,.55);

  /* Track Freight branding */
  --tf-accent: #59B6FF;
  --tf-accent-2: #7C5CFF;
  --tf-warn: #F7B955;
  --tf-ok: #59E3A2;

  --tf-radius: 18px;
  --tf-shadow: 0 18px 60px rgba(0,0,0,.45);

  --tf-max: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--tf-text);
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(124,92,255,.28), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(89,182,255,.18), transparent 55%),
    radial-gradient(800px 520px at 50% 110%, rgba(89,227,162,.10), transparent 60%),
    linear-gradient(180deg, var(--tf-bg), var(--tf-bg-2));
}

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

.tf-wrap{
  width: min(var(--tf-max), calc(100% - 40px));
  margin: 0 auto;
}

.tf-page{ min-height: 100%; }

/* =========================
   TOP BAR
========================= */
.tf-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7,10,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tf-topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.tf-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.tf-brand__mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(16px 16px at 30% 30%, rgba(255,255,255,.85), transparent 70%),
    linear-gradient(135deg, var(--tf-accent), var(--tf-accent-2));
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.tf-brand__text{
  display: grid;
  line-height: 1.15;
}

.tf-brand__sub{
  font-size: 12px;
  color: var(--tf-faint);
}

.tf-pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

.tf-pill--soft{
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.80);
}

/* =========================
   MAIN + HERO
========================= */
.tf-main{ padding: 36px 0 26px; }

.tf-hero{ padding: 22px 0 10px; }

.tf-hero__grid{
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 26px;
  align-items: start;
}

.tf-eyebrow{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tf-faint);
}

.tf-h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.tf-h2{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.tf-h3{
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.tf-lead{
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--tf-muted);
  max-width: 62ch;
}

.tf-muted{
  margin: 0;
  color: var(--tf-muted);
  max-width: 72ch;
}

/* Bullets */
.tf-bullets{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tf-bullets li{
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--tf-muted);
}

.tf-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tf-accent), var(--tf-accent-2));
  box-shadow: 0 0 0 3px rgba(89,182,255,.12);
  flex: 0 0 auto;
}

/* CTA Row / Form */
.tf-ctaRow{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 10px 0 18px;
}

.tf-form{
  background: var(--tf-card);
  border: 1px solid var(--tf-border);
  border-radius: var(--tf-radius);
  padding: 16px;
  box-shadow: var(--tf-shadow);
}

.tf-label{
  display: block;
  font-size: 12px;
  color: var(--tf-faint);
  margin-bottom: 8px;
}

.tf-inputRow{
  display: flex;
  gap: 10px;
  align-items: center;
}

.tf-input{
  flex: 1 1 auto;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: var(--tf-text);
  padding: 0 12px;
  outline: none;
}

.tf-input::placeholder{ color: rgba(255,255,255,.45); }

.tf-input:focus{
  border-color: rgba(89,182,255,.55);
  box-shadow: 0 0 0 4px rgba(89,182,255,.12);
}

.tf-btn{
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(89,182,255,.95), rgba(124,92,255,.90));
  color: #071022;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.tf-btn:hover{ filter: brightness(1.05); }

.tf-help{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--tf-faint);
}

/* Mini card */
.tf-miniCard{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--tf-radius);
  padding: 14px 16px;
}

.tf-miniCard__title{
  font-weight: 800;
  margin-bottom: 4px;
}

.tf-miniCard__text{
  color: var(--tf-muted);
  font-size: 14px;
}

/* =========================
   PREVIEW PANEL
========================= */
.tf-panel{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: calc(var(--tf-radius) + 4px);
  box-shadow: var(--tf-shadow);
  overflow: hidden;
}

.tf-panel__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.tf-panel__title{
  font-weight: 900;
  letter-spacing: -0.01em;
}

.tf-panel__sub{
  font-size: 12px;
  color: var(--tf-faint);
  margin-top: 2px;
}

.tf-badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(89,182,255,.12);
  border: 1px solid rgba(89,182,255,.22);
  color: rgba(255,255,255,.90);
}

.tf-panel__body{ padding: 16px; }

/* Metric grid */
.tf-metricGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.tf-metric{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius: 14px;
  padding: 10px 12px;
}

.tf-metric__label{
  font-size: 12px;
  color: var(--tf-faint);
}

.tf-metric__value{
  font-size: 16px;
  font-weight: 900;
  margin-top: 2px;
}

/* Timeline */
.tf-timeline{
  display: grid;
  gap: 10px;
  margin: 12px 0 2px;
}

.tf-timeline__row{
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}

.tf-status{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 4px;
}

.tf-status--ok{
  background: rgba(89,227,162,.95);
  box-shadow: 0 0 0 4px rgba(89,227,162,.12);
}

.tf-status--warn{
  background: rgba(247,185,85,.95);
  box-shadow: 0 0 0 4px rgba(247,185,85,.12);
}

.tf-status--idle{
  background: rgba(255,255,255,.28);
  box-shadow: 0 0 0 4px rgba(255,255,255,.07);
}

.tf-timeline__title{
  font-weight: 900;
  margin-bottom: 2px;
}

.tf-timeline__meta{
  font-size: 12px;
  color: var(--tf-faint);
}

.tf-panel__footer{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 12px;
}

/* Search demo */
.tf-searchDemo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tf-muted);
  font-size: 13px;
}

.tf-searchIcon{
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 999px;
  position: relative;
  display: inline-block;
}

.tf-searchIcon::after{
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  background: rgba(255,255,255,.45);
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.tf-smallPill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.78);
}

/* =========================
   HOW IT WORKS / FEATURES
========================= */
.tf-features{ padding: 28px 0 10px; }

.tf-featuresHeader{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.tf-featureGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tf-featureCard{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--tf-radius);
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
}

.tf-featureTop{
  display: flex;
  align-items: center;
  gap: 10px;
}

.tf-featureIcon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.85), transparent 70%),
    linear-gradient(135deg, rgba(89,182,255,.85), rgba(124,92,255,.80));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.tf-p{
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.tf-miniLine{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.60);
  border-left: 3px solid rgba(89,182,255,.35);
  padding-left: 10px;
}

/* =========================
   UI SHOWCASE
========================= */
.tf-uiShowcase{ padding: 28px 0 10px; }

.tf-uiHeader{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.tf-uiHeader__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tf-uiGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tf-uiCard{
  margin: 0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--tf-radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

.tf-uiFrame{
  background: rgba(0,0,0,.20);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tf-uiFrame img{
  display: block;
  width: 100%;
  height: auto;
}

.tf-uiCaption{
  padding: 12px 14px 14px;
  display: grid;
  gap: 4px;
}

.tf-uiCaption strong{ font-weight: 900; }

.tf-uiCaption span{
  color: var(--tf-muted);
  font-size: 13px;
}

/* Optional embed container */
.tf-embed{
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--tf-radius);
  overflow: hidden;
}

.tf-embed iframe{
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

/* =========================
   CONTACT + LINKEDIN
========================= */
.tf-contactSection{ padding: 24px 0 6px; }

.tf-contactCard{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--tf-radius);
  padding: 18px;
  box-shadow: 0 14px 50px rgba(0,0,0,.35);
}

.tf-contactRow{
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.tf-contactLink{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
  font-weight: 800;
  text-decoration: none;
}

.tf-contactLink:hover{
  filter: brightness(1.05);
  text-decoration: none;
}

/* Simple inline icons */
.tf-icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 6px;
  position: relative;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.tf-icon--mail::after{
  content: "";
  position: absolute;
  inset: 4px 4px 6px 4px;
  border: 2px solid rgba(255,255,255,.60);
  border-top: 0;
  border-radius: 2px;
}

.tf-icon--in::after{
  content: "in";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,.78);
}

.tf-contactCard__aside{
  display: grid;
  gap: 10px;
  align-content: start;
}

.tf-miniStat{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius: 14px;
  padding: 12px;
}

.tf-miniStat__k{
  font-size: 12px;
  color: var(--tf-faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.tf-miniStat__v{
  font-weight: 900;
  color: rgba(255,255,255,.86);
}

.tf-note{
  margin-top: 12px;
  font-size: 12px;
  color: var(--tf-faint);
  border-left: 3px solid rgba(89,182,255,.35);
  padding-left: 10px;
}

/* =========================
   FOOTER
========================= */
.tf-footer{
  margin-top: 18px;
  padding: 18px 0 0;
}

.tf-footer__inner{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.tf-footer__dot{
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}

.tf-footer__link{
  text-decoration: underline;
  text-decoration-color: rgba(89,182,255,.45);
  text-underline-offset: 3px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .tf-hero__grid{ grid-template-columns: 1fr; }
  .tf-featureGrid{ grid-template-columns: 1fr; }
  .tf-uiHeader{ flex-direction: column; align-items: flex-start; }
  .tf-uiHeader__meta{ justify-content: flex-start; }
  .tf-uiGrid{ grid-template-columns: 1fr; }
  .tf-embed iframe{ height: 420px; }
  .tf-contactCard{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .tf-inputRow{ flex-direction: column; align-items: stretch; }
  .tf-btn{ width: 100%; }
}
