/* ============================================================
   SHIFTOMATE PAGE – Specific styles
   ============================================================ */

.nav-link--active { color: var(--green) !important; }

/* ---------- Breadcrumb ---------- */
.sm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.sm-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.sm-breadcrumb a:hover { color: #fff; }
.sm-breadcrumb span:last-child { color: rgba(255,255,255,0.85); }

/* ---------- Section label ---------- */
.sm-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.sm-hero {
  background: linear-gradient(135deg, #0d1f13 0%, #00350f 45%, #00632b 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.sm-hero::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,99,43,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.sm-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sm-hero-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.sm-hero-content h1 { color: #fff; margin-bottom: 18px; }
.sm-hero-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Proof strip */
.sm-proof-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0;
  margin-bottom: 32px;
  overflow: hidden;
}
.sm-proof-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  gap: 4px;
}
.sm-proof-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.sm-proof-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  line-height: 1.3;
}
.sm-proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.sm-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Dashboard mock ---------- */
.sm-dashboard {
  background: #0a1a0f;
  border: 1px solid rgba(0,99,43,0.35);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.sm-dash-header {
  background: #061009;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sm-dash-dots { display: flex; gap: 6px; }
.sm-dash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
}
.sm-dash-dots .red { background: #ff5f56; }
.sm-dash-dots .amber { background: #ffbd2e; }
.sm-dash-dots .green { background: #27c93f; }
.sm-dash-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  flex: 1;
}
.sm-dash-time { font-size: 0.7rem; color: rgba(255,255,255,0.3); }
.sm-dash-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.sm-dash-section { }
.sm-dash-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

/* Progress bar */
.sm-dash-progress-row { display: flex; align-items: center; gap: 10px; }
.sm-dash-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
}
.sm-dash-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00632b, #27c93f);
  border-radius: 3px;
}
.sm-dash-progress-val { font-size: 0.72rem; color: #27c93f; font-weight: 700; white-space: nowrap; }

/* Shift list */
.sm-shift-list { display: flex; flex-direction: column; gap: 6px; }
.sm-shift-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255,255,255,0.03);
}
.sm-shift-row.complete { border-left: 2px solid #00632b; }
.sm-shift-row.active { border-left: 2px solid #27c93f; background: rgba(39,201,63,0.06); }
.sm-shift-row.pending { border-left: 2px solid rgba(255,255,255,0.1); opacity: 0.6; }
.sm-shift-status { font-size: 0.75rem; width: 16px; flex-shrink: 0; }
.sm-shift-status.done { color: #00632b; }
.sm-shift-status.live { color: #27c93f; animation: pulse 1.5s infinite; }
.sm-shift-status.pending-dot { color: rgba(255,255,255,0.3); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.sm-shift-info { flex: 1; display: flex; flex-direction: column; gap: 1px; overflow: hidden; }
.sm-shift-site { font-size: 0.77rem; color: rgba(255,255,255,0.8); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-shift-meta { font-size: 0.66rem; color: rgba(255,255,255,0.4); }
.sm-shift-time { font-size: 0.68rem; color: rgba(255,255,255,0.35); white-space: nowrap; flex-shrink: 0; }

/* Task bars */
.sm-task-bars { display: flex; flex-direction: column; gap: 5px; }
.sm-task-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}
.sm-task-bar-row > span:first-child { width: 24px; }
.sm-task-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.sm-task-bar div {
  height: 100%;
  background: #00632b;
  border-radius: 3px;
}
.sm-task-bar.partial div { background: #f0a500; }
.sm-task-bar-row > span:last-child { width: 60px; text-align: right; color: rgba(255,255,255,0.5); }
.partial-text { color: #f0a500 !important; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.sm-features-header { text-align: center; margin-bottom: 52px; max-width: 680px; margin-left: auto; margin-right: auto; }
.sm-features-header h2 { margin-bottom: 12px; }
.sm-features-header p { color: var(--grey); font-size: 1rem; line-height: 1.7; }
.sm-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sm-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  transition: all 0.2s;
}
.sm-feature-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.sm-feature-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--border);
  letter-spacing: 0.5px;
}
.sm-feature-icon { font-size: 1.6rem; margin-bottom: 14px; }
.sm-feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); line-height: 1.35; }
.sm-feature-card p { font-size: 0.875rem; color: var(--grey); line-height: 1.6; margin-bottom: 18px; }
.sm-feature-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--grey-light);
}
.sm-feature-stat-num { font-size: 1.1rem; font-weight: 800; color: var(--green); white-space: nowrap; }
.sm-feature-stat-label { font-size: 0.76rem; color: var(--grey); }

/* ============================================================
   GEO-TAGGING
   ============================================================ */
.sm-geo { background: #fff; }
.sm-geo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sm-geo-card {
  background: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sm-geo-map {
  height: 160px;
  background: linear-gradient(135deg, #0a1a0f 0%, #001a09 100%);
  position: relative;
  overflow: hidden;
}
.sm-geo-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.sm-geo-pin-dot {
  width: 12px; height: 12px;
  background: #00632b;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(0,99,43,0.3);
}
.sm-geo-pin-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border: 2px solid rgba(0,99,43,0.4);
  border-radius: 50%;
  animation: geoRing 2s infinite;
}
@keyframes geoRing {
  0% { width: 12px; height: 12px; opacity: 0.8; }
  100% { width: 80px; height: 80px; opacity: 0; }
}
.sm-geo-lines { position: absolute; inset: 0; }
.sm-geo-line {
  position: absolute;
  height: 1px;
  background: rgba(0,99,43,0.2);
}
.sm-geo-log { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.sm-geo-log-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.sm-geo-log-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 7px;
}
.sm-geo-log-icon {
  font-size: 0.8rem;
  font-weight: 700;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.sm-geo-log-icon.green { color: #27c93f; }
.sm-geo-log-icon.blue { color: #4ae; }
.sm-geo-log-icon.red { color: #ff5f56; }
.sm-geo-log-action { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.sm-geo-log-detail { font-size: 0.66rem; color: rgba(255,255,255,0.4); margin-top: 1px; }
.sm-geo-log-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  flex-shrink: 0;
}
.sm-geo-log-badge.verified { background: rgba(0,99,43,0.2); color: #6ee69e; border: 1px solid rgba(0,99,43,0.3); }
.sm-geo-log-badge.complete { background: rgba(68,170,238,0.15); color: #4ae; border: 1px solid rgba(68,170,238,0.25); }

/* Geo content */
.sm-geo-content h2 { margin-bottom: 16px; }
.sm-geo-content p { color: var(--grey); line-height: 1.75; margin-bottom: 14px; font-size: 0.95rem; }
.sm-geo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.sm-geo-stat { text-align: center; }
.sm-geo-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 4px; }
.sm-geo-stat-label { font-size: 0.75rem; color: var(--grey); }

/* ============================================================
   CLIENT DASHBOARD SECTION
   ============================================================ */
.sm-dashboard-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.sm-dashboard-content h2 { margin-bottom: 14px; }
.sm-dashboard-content p { color: var(--grey); line-height: 1.75; margin-bottom: 28px; font-size: 1rem; }
.sm-dashboard-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.sm-dashboard-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}
.sm-dashboard-item:hover { border-color: var(--green); }
.sm-dashboard-item-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.sm-dashboard-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.sm-dashboard-item p { font-size: 0.82rem; color: var(--grey); line-height: 1.5; margin: 0; }

/* Dashboard preview card */
.sm-preview-card {
  background: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 90px;
}
.sm-preview-header {
  background: #061009;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sm-preview-title { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 500; flex: 1; }
.sm-preview-live { font-size: 0.68rem; color: #27c93f; font-weight: 700; }
.sm-preview-body { padding: 20px; }
.sm-preview-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.sm-preview-kpi { text-align: center; }
.sm-preview-kpi-val {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.sm-preview-kpi-val.green { color: #27c93f; }
.sm-preview-kpi-label { font-size: 0.68rem; color: rgba(255,255,255,0.45); line-height: 1.4; }
.sm-preview-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 14px 0; }
.sm-preview-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.sm-preview-activity { display: flex; flex-direction: column; gap: 8px; }
.sm-activity-item { display: flex; align-items: center; gap: 8px; }
.sm-activity-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sm-activity-dot.green { background: #27c93f; }
.sm-activity-dot.amber { background: #f0a500; }
.sm-activity-text { flex: 1; font-size: 0.75rem; color: rgba(255,255,255,0.65); line-height: 1.4; }
.sm-activity-time { font-size: 0.65rem; color: rgba(255,255,255,0.3); white-space: nowrap; flex-shrink: 0; }
.sm-preview-docs { display: flex; flex-direction: column; gap: 6px; }
.sm-preview-doc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.5);
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
}
.sm-preview-doc span { font-size: 0.9rem; }

/* ============================================================
   BUILT IN PORTSMOUTH – COMPARISON
   ============================================================ */
.sm-built { background: var(--dark); }
.sm-built-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.sm-built-left h2 { margin-bottom: 16px; }
.sm-built-left p { color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 16px; font-size: 0.95rem; }

/* Comparison table */
.sm-compare-table {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}
.sm-compare-header {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 8px;
}
.sm-compare-col-head {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sm-compare-col-head span { display: block; font-weight: 400; opacity: 0.6; font-size: 0.65rem; text-transform: none; letter-spacing: 0; }
.sm-compare-col-head.eco { color: #6ee69e; }
.sm-compare-col-head.other { color: rgba(255,255,255,0.4); }
.sm-compare-row {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.sm-compare-row:last-child { border-bottom: none; }
.sm-compare-row:hover { background: rgba(255,255,255,0.03); }
.sm-compare-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.4; }
.sm-compare-val {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}
.sm-compare-val.yes { color: #6ee69e; }
.sm-compare-val.no { color: rgba(255,255,255,0.25); }
.sm-compare-val.partial { color: #f0a500; font-size: 0.68rem; }

/* ============================================================
   PROXIMETRIX INTEGRATION
   ============================================================ */
.sm-integration { }
.sm-integration-inner { }
.sm-integration-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.sm-flow-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s;
}
.sm-flow-step:hover { border-color: var(--green); box-shadow: var(--shadow); }
.sm-flow-icon { font-size: 1.8rem; margin-bottom: 10px; }
.sm-flow-step h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.sm-flow-step p { font-size: 0.78rem; color: var(--grey); line-height: 1.5; }
.sm-flow-arrow { font-size: 1.4rem; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   CTA
   ============================================================ */
.sm-cta { background: var(--green); }
.sm-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.sm-cta-content h2 { margin-bottom: 12px; }
.sm-cta-content p { color: rgba(255,255,255,0.8); line-height: 1.7; font-size: 1rem; margin-bottom: 8px; }
.sm-cta-note { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; }
.sm-cta-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ============================================================
   TECH NAV
   ============================================================ */
.sm-tech-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sm-tech-nav-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.sm-tech-nav-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.sm-tech-nav-icon { font-size: 1.6rem; margin-bottom: 12px; }
.sm-tech-nav-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.sm-tech-nav-card p { font-size: 0.85rem; color: var(--grey); line-height: 1.55; flex: 1; margin-bottom: 14px; }
.sm-tech-nav-link { font-size: 0.85rem; font-weight: 600; color: var(--green); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .sm-integration-flow {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .sm-flow-arrow { display: none; }
}

@media (max-width: 960px) {
  .sm-hero-inner { grid-template-columns: 1fr; }
  .sm-hero-visual { display: none; }
  .sm-hero { padding: 64px 0; }
  .sm-features-grid { grid-template-columns: 1fr 1fr; }
  .sm-geo-inner { grid-template-columns: 1fr; }
  .sm-dashboard-inner { grid-template-columns: 1fr; }
  .sm-preview-card { position: static; }
  .sm-built-inner { grid-template-columns: 1fr; }
  .sm-cta-inner { grid-template-columns: 1fr; }
  .sm-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .sm-tech-nav-grid { grid-template-columns: 1fr; }
  .sm-integration-flow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .sm-features-grid { grid-template-columns: 1fr; }
  .sm-geo-stats { grid-template-columns: repeat(3, 1fr); }
  .sm-proof-strip { flex-wrap: wrap; }
  .sm-proof-divider { display: none; }
  .sm-preview-kpi-row { grid-template-columns: repeat(3, 1fr); }
  .sm-hero-ctas { flex-direction: column; }
  .sm-hero-ctas .btn { width: 100%; }
  .sm-integration-flow { grid-template-columns: 1fr; }
  .sm-cta-actions { flex-direction: column; }
}
