/* ══════════════════════════════════════════════
   MYCOMMANDTMS — PRODUCT WEBSITE
   Freight Management Software by Riffle Logistics Group LLC
   ══════════════════════════════════════════════ */

:root {
  --bg: #060b12;
  --bg2: #0b1320;
  --surface: #0f1624;
  --surface-2: #131d2d;
  --surface-3: #192538;
  --line: #233249;
  --line-soft: rgba(255,255,255,.08);
  --line-warm: rgba(244,122,32,.18);
  --text: #e8eef7;
  --muted: #9aa7ba;
  --dim: #68758a;
  --orange: #f47a20;
  --orange-2: #ff9f48;
  --orange-soft: rgba(244,122,32,.12);
  --orange-glow: rgba(244,122,32,.25);
  --gold: #f4c05f;
  --amber: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
  --blue: #60a5fa;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0,0,0,.45);
  --container: 1140px;
  --header-container: 1360px;
  --font: 'Barlow', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', var(--font);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
p, li, .hero-sub, .helper-text, .template-body p, .template-fields, .vectis-answer p, .vectis-source {
  overflow-wrap: break-word;
  word-break: normal;
}
h1, h2, h3, h4 {
  overflow-wrap: normal;
  word-break: normal;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.link-amber { color: var(--amber); }
.link-amber:hover { color: var(--orange-2); }
.text-amber { color: var(--amber); }

.beta-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--bg);
  background: var(--amber);
  border-radius: 6px;
  line-height: 1.2;
}

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6,11,18,.95) 0%, rgba(6,11,18,.88) 100%);
  border-bottom: 1px solid rgba(244,122,32,.18);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.site-header .container { width: min(var(--header-container), calc(100% - 2rem)); }
.header-inner {
  min-height: 108px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: .2rem .45rem;
  border-radius: 14px;
  border: 1px solid rgba(244,122,32,.16);
  background: linear-gradient(145deg, rgba(244,122,32,.08), rgba(255,255,255,.01));
}
.brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center center;
  filter: drop-shadow(0 10px 24px rgba(244,122,32,.24)) drop-shadow(0 3px 12px rgba(0,0,0,.5)) contrast(1.1) saturate(1.08) brightness(1.04);
}
.nav { display: flex; gap: 1rem; align-items: center; flex: 1 1 auto; min-width: 0; justify-content: center; }
.nav a {
  color: var(--muted); font-weight: 600; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase; transition: color .2s; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: #fff; }
.actions { display: flex; gap: .65rem; align-items: center; flex: 0 0 auto; }
.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .58rem .78rem;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.16);
  color: #dbe5f2;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s;
}
.header-login:hover {
  border-color: rgba(244,122,32,.48);
  background: rgba(244,122,32,.08);
  color: #fff;
}
.mobile-toggle {
  display: none; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: #fff; border-radius: 10px; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer;
}
.mobile-panel { display: none; padding: .5rem 0 1rem; }
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block; color: var(--muted); padding: .65rem 0;
  border-top: 1px solid var(--line-soft); font-weight: 600; font-size: .88rem;
  letter-spacing: .03em; text-transform: uppercase;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-family: var(--font);
  font-weight: 700; font-size: .82rem; letter-spacing: .05em;
  text-transform: uppercase; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--orange), #db6211);
  color: #fff; box-shadow: 0 10px 28px rgba(244,122,32,.3);
}
.btn.primary:hover { box-shadow: 0 14px 36px rgba(244,122,32,.4); }
.btn.secondary {
  background: rgba(255,255,255,.04); border-color: var(--line); color: #fff;
}
.btn.secondary:hover { background: rgba(255,255,255,.08); }

/* ── TAG ── */
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border: 1px solid rgba(244,122,32,.22);
  border-radius: 999px; color: var(--gold); background: var(--orange-soft);
  text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -.02em; line-height: 1.05; margin: 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

/* ── SECTIONS ── */
.section { padding: 4rem 0; }
.section-raised { background: var(--bg2); }
.section-heading { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-heading p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-top: .5rem; }
.section-divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ── HERO ── */
.hero-marketing {
  position: relative; padding: 4.4rem 0 3.4rem; overflow: hidden;
}
.hero-marketing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 70% 10%, rgba(244,122,32,.12), transparent 60%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(245,158,11,.05), transparent 55%);
}
.hero-marketing::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(160deg, transparent 25%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.25) 100%);
}
.hero-marketing > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-tagline {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900;
  line-height: 1.0; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem;
}
.hero-tagline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 540px; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-logo-container {
  position: relative; display: flex; justify-content: center; align-items: center;
  width: 470px; height: 190px;
}
.hero-logo-container::before {
  content: "";
  position: absolute;
  inset: 10px -8px;
  border-radius: 28px;
  border: 1px solid rgba(244,122,32,.16);
  background:
    radial-gradient(ellipse at center, rgba(18,26,41,.96) 0%, rgba(10,16,28,.86) 54%, rgba(10,16,28,.1) 100%),
    linear-gradient(145deg, rgba(244,122,32,.08), rgba(255,255,255,.02));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 26px 60px rgba(0,0,0,.45);
}
.hero-logo-img {
  position: relative; z-index: 1; width: min(440px, 100%); height: auto;
  filter: drop-shadow(0 20px 46px rgba(244,122,32,.2)) drop-shadow(0 4px 18px rgba(0,0,0,.62)) contrast(1.11) saturate(1.1);
}
.shield-pulse {
  position: absolute; inset: -30%; border-radius: 40%;
  border: 1px solid rgba(244,122,32,.05); animation: pulse 4s ease-in-out infinite;
}
.shield-pulse:nth-child(2) { inset: -50%; animation-delay: 1.3s; }
.shield-pulse:nth-child(3) { inset: -70%; animation-delay: 2.6s; }
@keyframes pulse { 0%,100%{opacity:0;transform:scale(.95)} 50%{opacity:1;transform:scale(1)} }

.hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem; }
.hero-badge {
  padding: .85rem .9rem; background: rgba(255,255,255,.03);
  border: 1px solid var(--line-soft); border-radius: 14px;
}
.hero-badge strong { display: block; font-size: .95rem; font-weight: 700; }
.hero-badge span { display: block; margin-top: .2rem; color: var(--muted); font-size: .8rem; }

/* ── BRAND STRIP ── */
.brand-strip { 
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: .9rem 0; text-align: center; font-size: .82rem; color: var(--dim);
  letter-spacing: .03em;
}
.brand-strip a { color: var(--amber); }
.brand-strip strong { font-weight: 700; }

/* ── DISPATCH FLOW TIMELINE ── */
.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.workflow-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: border-color .3s, transform .3s;
}
.workflow-step:hover {
  border-color: var(--line-warm);
  transform: translateY(-2px);
}
.workflow-step-number {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: .75rem;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 800;
  font-size: .82rem;
  font-family: var(--font-display);
}
.workflow-step h3 {
  margin: 0 0 .45rem;
  text-transform: uppercase;
}
.workflow-step p {
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.6;
}

/* ── OPERATOR ADVANTAGE ── */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.advantage-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface);
  transition: transform .22s, border-color .22s;
}
.advantage-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-warm);
}
.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9px;
  font-size: .78rem;
  margin-bottom: .8rem;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid var(--line-warm);
}
.advantage-card h3 {
  margin: 0 0 .45rem;
  text-transform: uppercase;
}
.advantage-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}
.advantage-list {
  margin-top: .7rem;
  list-style: none;
  color: var(--muted);
}
.advantage-list li {
  padding: .35rem 0 .35rem 1.1rem;
  position: relative;
  font-size: .84rem;
}
.advantage-list li::before {
  content: "•";
  color: var(--amber);
  position: absolute;
  left: .15rem;
  top: .48rem;
  font-weight: 700;
  transform: scale(1.2);
}
.advantage-summary {
  margin-top: 1.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  background: rgba(244,122,32,.05);
}
.advantage-summary-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .82rem;
  margin-bottom: .4rem;
  color: var(--gold);
}
.advantage-summary p {
  color: var(--muted);
  line-height: 1.6;
}

/* ── MARKET VALUE STACK ── */
.value-proposition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.value-prop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface);
  transition: transform .22s, border-color .22s;
}
.value-prop-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-warm);
}
.value-step {
  font-family: var(--font-display);
  color: var(--amber);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .55rem;
  font-size: .76rem;
}
.value-prop-card h3 {
  margin-bottom: .55rem;
  text-transform: uppercase;
}
.value-prop-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* ── VECTIS SENTINEL ── */
.vectis-sentinel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 80% 20%, rgba(244,122,32,.12), transparent 62%),
    linear-gradient(180deg, #080d16 0%, var(--bg2) 100%);
}
.vectis-sentinel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 72% 40%, #000 0%, transparent 66%);
}
.vectis-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 2rem;
  align-items: stretch;
}
.vectis-copy h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.vectis-copy p {
  color: var(--muted);
  max-width: 540px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.vectis-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}
.vectis-prompts button {
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #ffd1ad;
  padding: .62rem .85rem;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s, border-color .15s, background .15s;
}
.vectis-prompts button:hover {
  transform: translateY(-1px);
  border-color: rgba(244,122,32,.55);
  background: rgba(244,122,32,.1);
}
.vectis-console {
  --vectis-green: #46ff91;
  --vectis-green-soft: #9cffc2;
  --vectis-gray: #8fa2b8;
  --vectis-orange: #ff9b52;
  position: relative;
  overflow: hidden;
  background: rgba(10,16,27,.86);
  border: 1px solid rgba(244,122,32,.28);
  border-radius: 28px;
  padding: 1.6rem;
  min-height: 470px;
  box-shadow: var(--shadow), 0 0 34px rgba(70,255,145,.06);
}
.vectis-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 36%),
    repeating-linear-gradient(180deg, rgba(70,255,145,.035) 0 1px, transparent 1px 8px);
  opacity: .72;
}
.vectis-console > * {
  position: relative;
  z-index: 1;
}
.vectis-orb {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  margin-bottom: .75rem;
  background:
    radial-gradient(circle at 35% 30%, #ffe0c4 0%, var(--orange-2) 22%, var(--orange) 44%, rgba(244,122,32,.08) 68%, transparent 70%);
  box-shadow: 0 0 24px rgba(244,122,32,.42);
  animation: vectisBreathe 3.8s ease-in-out infinite;
}
.vectis-console label {
  display: block;
  margin-bottom: .55rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vectis-console textarea {
  min-height: 230px;
  border-color: rgba(70,255,145,.18);
  background: rgba(5,9,18,.82);
  color: #f5f8fb;
  caret-color: var(--vectis-green);
  font-family: "Courier New", Consolas, "Liberation Mono", monospace;
  letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px rgba(255,155,82,.04), 0 0 20px rgba(70,255,145,.05);
}
.vectis-console textarea::placeholder {
  color: rgba(143,162,184,.82);
}
.vectis-console textarea:focus {
  border-color: rgba(70,255,145,.48);
  box-shadow: 0 0 0 4px rgba(70,255,145,.1), 0 0 28px rgba(70,255,145,.12);
}
.vectis-console-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .85rem;
}
.vectis-console-actions span {
  color: var(--vectis-gray);
  font-family: "Courier New", Consolas, "Liberation Mono", monospace;
  font-size: .9rem;
  letter-spacing: .01em;
}
.vectis-console-actions span[data-state="ready"] {
  color: var(--vectis-green-soft);
  text-shadow: 0 0 16px rgba(70,255,145,.34);
}
.vectis-console-actions span[data-state="error"] {
  color: #ffb0a5;
  text-shadow: 0 0 16px rgba(255,96,72,.18);
}
.vectis-answer {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid rgba(70,255,145,.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(70,255,145,.06), transparent 55%),
    rgba(3,8,14,.78);
  padding: 1rem;
  color: #edf3f0;
  box-shadow: inset 0 0 0 1px rgba(255,155,82,.035), 0 0 30px rgba(70,255,145,.08);
}
.vectis-answer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(70,255,145,.16), transparent);
  opacity: .18;
}
.vectis-answer strong {
  position: relative;
  display: block;
  margin-bottom: .35rem;
  color: var(--vectis-orange);
  font-family: "Courier New", Consolas, "Liberation Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vectis-answer p {
  position: relative;
  margin: 0;
  white-space: pre-wrap;
  color: var(--vectis-green-soft);
  font-family: "Courier New", Consolas, "Liberation Mono", monospace;
  line-height: 1.7;
  text-shadow: 0 0 14px rgba(70,255,145,.18);
}
.vectis-sources {
  display: grid;
  gap: .55rem;
  margin-top: .85rem;
}
.vectis-source {
  border: 1px solid rgba(143,162,184,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.028);
  color: var(--vectis-gray);
  padding: .7rem .8rem;
  font-size: .82rem;
}
.vectis-source strong {
  color: var(--vectis-orange);
}
@keyframes vectisBreathe {
  0%, 100% { transform: scale(.96); opacity: .82; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ── PLATFORM GRID ── */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.platform-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem; transition: border-color .3s;
}
.platform-card:hover { border-color: var(--line-warm); }
.primary-card { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.platform-card-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--orange-soft); border: 1px solid var(--orange-glow);
  border-radius: 12px; font-size: 1.25rem; flex-shrink: 0;
}
.primary-card .platform-card-icon { width: 56px; height: 56px; font-size: 1.4rem; }
.platform-desc { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: .5rem 0 1rem; }
.capability-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.capability-pills span {
  padding: .3rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-soft);
  color: var(--muted); letter-spacing: .03em; text-transform: uppercase;
}

/* ── FEATURES SPLIT ── */
.features-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.feature-group-title {
  font-size: 1rem; margin-bottom: 1.25rem; padding-bottom: .7rem;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.feature-list { display: grid; gap: .4rem; }
.feature-item {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .55rem 0; color: var(--muted); font-size: .9rem; line-height: 1.5;
}
.feature-item strong { color: var(--text); }
.feature-bullet {
  width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; margin-top: .45rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

/* ── ROLES GRID ── */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.role-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color .3s;
}
.role-card:hover { border-color: var(--line-warm); }
.role-header { padding: 1rem 1.5rem; }
.customer-role { background: linear-gradient(135deg, rgba(96,165,250,.15), rgba(96,165,250,.05)); border-bottom: 2px solid rgba(96,165,250,.3); }
.internal-role { background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(245,158,11,.05)); border-bottom: 2px solid rgba(245,158,11,.3); }
.admin-role { background: linear-gradient(135deg, rgba(244,122,32,.15), rgba(244,122,32,.05)); border-bottom: 2px solid rgba(244,122,32,.3); }
.role-label { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em; }
.customer-role .role-label { color: var(--blue); }
.internal-role .role-label { color: var(--amber); }
.admin-role .role-label { color: var(--orange); }
.role-body { padding: 1.25rem 1.5rem; }
.role-desc { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.role-sees, .role-doesnt-see { margin-bottom: 1rem; }
.role-sees strong, .role-doesnt-see strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: .4rem; }
.role-sees ul, .role-doesnt-see ul { list-style: none; }
.role-sees li, .role-doesnt-see li { padding: .25rem 0; font-size: .85rem; color: var(--muted); padding-left: 1rem; position: relative; }
.role-sees li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }
.role-doesnt-see li::before { content: "—"; position: absolute; left: 0; color: var(--dim); }

/* ── LOGIN ── */
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.login-cta-copy h2 { margin-bottom: .75rem; }
.login-cta-copy p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 1rem; }
.login-card {
  background: var(--surface); border: 1px solid var(--line-warm);
  border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow);
}
.login-card h3 { margin-bottom: .4rem; }
.login-sub { color: var(--muted); font-size: .88rem; margin-bottom: 1.25rem; }
.access-note {
  font-size: .78rem; color: var(--dim); margin-top: .75rem;
  padding-top: .65rem; border-top: 1px solid var(--line);
}
.access-note strong { color: var(--muted); }

/* ── FORMS ── */
.form-field { margin-bottom: .9rem; }
.form-field label {
  display: block; font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .65rem .85rem; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); font-size: .9rem; transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-submit { margin-top: .25rem; display: flex; align-items: center; gap: 1rem; }
.form-status { font-size: .85rem; color: var(--amber); font-weight: 600; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info h2 { margin-bottom: .75rem; }
.contact-info p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.contact-details { list-style: none; }
.contact-details li { padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.contact-details li strong { color: var(--text); display: inline-block; width: 75px; }
.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.25rem;
}
.contact-form h3 { margin-bottom: 1.25rem; }

/* ── FOOTER ── */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 2rem; }
.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center center;
  filter: drop-shadow(0 5px 14px rgba(244,122,32,.16)) drop-shadow(0 2px 8px rgba(0,0,0,.45)) contrast(1.09) saturate(1.07) brightness(1.03);
}
.footer-desc { color: var(--muted); font-size: .88rem; margin-top: .75rem; line-height: 1.5; }
.footer-list { list-style: none; margin-top: .6rem; }
.footer-list li { padding: .2rem 0; color: var(--dim); font-size: .85rem; }
.footer-list a { color: var(--muted); transition: color .2s; }
.footer-list a:hover { color: #fff; }
.footer-legal {
  color: var(--dim); font-size: .75rem; margin-top: 1.5rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
}

/* ── TEMPLATES ── */
.templates-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.template-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color .3s;
}
.template-card:hover { border-color: var(--line-warm); }
.template-header {
  padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1.25rem;
}
.template-mode {
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; padding: .35rem .7rem;
  border-radius: 8px; white-space: nowrap;
}
.template-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .02em;
}
.template-body { padding: 0 1.5rem 1.5rem; }
.template-body p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: .75rem; }
.template-fields {
  font-size: .82rem; color: var(--dim); line-height: 1.6; margin-bottom: 1rem;
  padding: .75rem; background: rgba(255,255,255,.02); border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
}
.template-fields strong { color: var(--muted); }
.template-download { margin-top: .25rem; }

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: .75rem;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1rem;
  padding-right: 1.5rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: .12rem;
  color: var(--amber);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin-top: .7rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FLOATING CTA ── */
.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #db6211);
  box-shadow: 0 14px 28px rgba(0,0,0,.35), 0 0 32px rgba(244,122,32,.28);
}

/* Mode accent colors */
.ltl-accent { background: linear-gradient(135deg, rgba(96,165,250,.12), rgba(96,165,250,.04)); border-bottom: 2px solid rgba(96,165,250,.3); }
.ltl-accent .template-mode { background: rgba(96,165,250,.15); color: #93c5fd; }
.tl-accent { background: linear-gradient(135deg, rgba(244,122,32,.12), rgba(244,122,32,.04)); border-bottom: 2px solid rgba(244,122,32,.3); }
.tl-accent .template-mode { background: rgba(244,122,32,.15); color: #fdba74; }
.reefer-accent { background: linear-gradient(135deg, rgba(56,189,248,.12), rgba(56,189,248,.04)); border-bottom: 2px solid rgba(56,189,248,.3); }
.reefer-accent .template-mode { background: rgba(56,189,248,.15); color: #7dd3fc; }
.expedited-accent { background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(245,158,11,.04)); border-bottom: 2px solid rgba(245,158,11,.3); }
.expedited-accent .template-mode { background: rgba(245,158,11,.15); color: #fcd34d; }
.od-accent { background: linear-gradient(135deg, rgba(168,85,247,.12), rgba(168,85,247,.04)); border-bottom: 2px solid rgba(168,85,247,.3); }
.od-accent .template-mode { background: rgba(168,85,247,.15); color: #c4b5fd; }
.intermodal-accent { background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(16,185,129,.04)); border-bottom: 2px solid rgba(16,185,129,.3); }
.intermodal-accent .template-mode { background: rgba(16,185,129,.15); color: #6ee7b7; }
.ocean-accent { background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(59,130,246,.04)); border-bottom: 2px solid rgba(59,130,246,.3); }
.ocean-accent .template-mode { background: rgba(59,130,246,.15); color: #93c5fd; }
.air-accent { background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(139,92,246,.04)); border-bottom: 2px solid rgba(139,92,246,.3); }
.air-accent .template-mode { background: rgba(139,92,246,.15); color: #c4b5fd; }
.hazmat-accent { background: linear-gradient(135deg, rgba(239,68,68,.12), rgba(239,68,68,.04)); border-bottom: 2px solid rgba(239,68,68,.3); }
.hazmat-accent .template-mode { background: rgba(239,68,68,.15); color: #fca5a5; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp .6s ease-out both; }
.fade-up-d2 { animation-delay: .2s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .site-header .container { width: min(var(--container), calc(100% - 1.2rem)); }
  .brand img { width: 56px; height: 56px; }
  .nav { gap: .95rem; }
  .nav a { font-size: .78rem; }
  .header-login { display: none; }
  .actions .btn { padding: .7rem 1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-logo-container { width: 360px; height: auto; }
  .hero-logo-container::before { inset: 8px -2px; border-radius: 22px; }
  .vectis-shell { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .primary-card { grid-column: span 2; }
  .features-split { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .login-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .workflow-timeline { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .value-proposition-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { width: min(var(--container), calc(100% - 1rem)); }
  .nav, .desktop-only { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .section { padding: 3.4rem 0; }
  .vectis-console { padding: 1.2rem; border-radius: 22px; min-height: 0; }
  .vectis-orb { width: 20px; height: 20px; margin-bottom: .6rem; }
  .vectis-console textarea { min-height: 190px; }
  .vectis-console-actions { align-items: stretch; }
  .vectis-console-actions .btn { width: 100%; }
  .template-mode { white-space: normal; line-height: 1.25; }
  .form-field input, .form-field select, .form-field textarea { width: 100%; max-width: 100%; }
  .hero-badges { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .primary-card { grid-column: span 1; grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .login-card { padding: 1.5rem; }
  .contact-form { padding: 1.5rem; }
  .workflow-timeline { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .value-proposition-grid { grid-template-columns: 1fr; }
  .floating-cta { display: inline-flex; }
}

/* ── HOME METRICS ── */
.home-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.home-metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.home-metric .metric-label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.home-metric .metric-value {
  margin-top: .4rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}
.home-metric .metric-caption {
  margin-top: .55rem;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .home-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Ops + Freight Board Unified Shell ───────────────────────── */
.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  margin-left: .7rem;
}
.brand-copy strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: #f8fafc;
  line-height: 1.1;
}
.brand-copy span {
  font-size: .95rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.2rem;
  align-items: start;
}
.page-panel {
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(15,22,36,.92) 0%, rgba(11,19,32,.88) 100%);
  box-shadow: 0 20px 44px rgba(2,6,23,.28);
  padding: 1.2rem;
}
.page-panel .muted {
  color: #aeb9cb;
  line-height: 1.7;
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.filters {
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}
.tab {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.3);
  background: rgba(255,255,255,.03);
  color: #cbd5e1;
  padding: .5rem .8rem;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.tab:hover,
.tab.active {
  color: #fff;
  border-color: rgba(244,122,32,.55);
  background: rgba(244,122,32,.14);
}

.table-wrap {
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 16px;
  background: #0d1524;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  max-height: clamp(360px, 68vh, 920px);
  overflow: auto;
  overscroll-behavior: contain;
}
.table {
  width: max(1650px, 100%);
  border-collapse: collapse;
  font-size: .84rem;
}
.table th {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: left;
  white-space: nowrap;
  padding: .66rem .72rem;
  background: linear-gradient(180deg,#1b2a40 0%, #152235 100%);
  color: #d7e2f1;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .68rem;
  border-bottom: 1px solid rgba(148,163,184,.44);
  border-right: 1px solid rgba(148,163,184,.24);
}
.table td {
  white-space: nowrap;
  vertical-align: top;
  padding: .62rem .72rem;
  border-bottom: 1px solid rgba(148,163,184,.18);
  border-right: 1px solid rgba(148,163,184,.12);
  color: #dbe5f3;
  background: rgba(10,17,29,.96);
}
.table td:last-child,
.table th:last-child {
  border-right: none;
}
.table tbody tr:nth-child(even) td {
  background: rgba(12,21,35,.97);
}
.table tbody tr:hover td {
  background: rgba(23,35,54,.98);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(148,163,184,.34);
  background: #0f172a;
  color: #cbd5e1;
}
.badge.shipment { background: rgba(59,130,246,.14); color: #bfdbfe; border-color: rgba(59,130,246,.45); }
.badge.quote { background: rgba(168,85,247,.14); color: #e9d5ff; border-color: rgba(168,85,247,.45); }
.badge.live { background: rgba(16,185,129,.16); color: #bbf7d0; border-color: rgba(16,185,129,.45); }
.badge.warn { background: rgba(245,158,11,.16); color: #fde68a; border-color: rgba(245,158,11,.45); }
.badge.danger { background: rgba(239,68,68,.15); color: #fecaca; border-color: rgba(239,68,68,.45); }
.badge.neutral { background: rgba(148,163,184,.17); color: #dbe2ea; border-color: rgba(148,163,184,.45); }

.row-note {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  color: #98a9bf;
  line-height: 1.4;
}
.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.doc-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.36);
  background: rgba(15,23,42,.86);
  color: #dbeafe;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .15rem .48rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .95rem;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .95rem;
}
.cards-2 .card,
.cards-3 .card {
  background: linear-gradient(180deg, rgba(15,23,42,.9) 0%, rgba(12,20,34,.95) 100%);
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 16px;
  padding: 1rem;
}
.cards-2 .card h3,
.cards-3 .card h3 {
  margin-bottom: .45rem;
  font-size: 1rem;
}
.cards-2 .card p,
.cards-3 .card p {
  margin: 0;
  color: #a8b4c7;
  line-height: 1.65;
  font-size: .9rem;
}

.mini-list {
  display: grid;
  gap: .65rem;
}
.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 12px;
  background: rgba(8,14,24,.72);
  padding: .65rem .72rem;
}
.mini-row span {
  display: block;
  margin-top: .16rem;
  color: #9aa7bb;
  font-size: .78rem;
}

.kpi-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .95rem;
}
.cta-strip {
  border: 1px solid rgba(244,122,32,.34);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(11,18,30,.96), rgba(18,30,48,.88));
  padding: 1.1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
}

@media (max-width: 1024px) {
  .page-hero-grid,
  .cards-3,
  .kpi-blocks {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .brand-copy { margin-left: .5rem; }
  .cards-2 { grid-template-columns: 1fr; }
  .mini-row { flex-direction: column; align-items: flex-start; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .table-wrap { max-height: 62vh; }
}

