/* ============================================================
   TECHNOLOGY HUB PAGE — page-specific styles
   Relies on styles.css for variables, layout utilities, nav, footer
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.th-hero {
  background: linear-gradient(135deg, #060e08 0%, #001208 30%, #002b10 60%, #004d21 100%);
  padding: 36px 0 72px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.th-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 55%, rgba(0,99,43,0.28) 0%, transparent 65%);
  pointer-events: none;
}

.th-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}
.th-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.th-breadcrumb a:hover { color: #fff; }
.th-breadcrumb span { color: rgba(255,255,255,0.3); }

.th-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.th-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.th-hero-content h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.13;
  color: #fff;
  margin: 0 0 20px;
}

.th-hero-intro {
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.75);
  margin: 0 0 28px;
  max-width: 500px;
}

.th-hero-proof {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.th-proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}

.th-proof-item svg {
  color: #6ee69e;
  flex-shrink: 0;
}

/* ============================================================
   ORBIT VISUAL
   ============================================================ */
.th-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.th-tech-orbit {
  position: relative;
  width: 300px;
  height: 300px;
}

.th-orbit-centre {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 0 12px rgba(0,99,43,0.25), 0 0 0 24px rgba(0,99,43,0.12);
  z-index: 2;
}

.th-orbit-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Orbit ring */
.th-tech-orbit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 50%;
}

.th-orbit-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 68px;
  text-align: center;
}

.th-oi-1 { top: 2px;  left: 50%; transform: translateX(-50%); }
.th-oi-2 { top: 50%;  right: 0;  transform: translateY(-50%); }
.th-oi-3 { bottom: 2px; left: 50%; transform: translateX(-50%); }
.th-oi-4 { top: 50%;  left: 0;   transform: translateY(-50%); }

.th-oi-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
}

.th-oi-name {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  line-height: 1.2;
}

/* ============================================================
   PROOF STRIP
   ============================================================ */
.th-proof-strip {
  background: var(--dark);
  padding: 24px 0;
}

.th-proof-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.th-ps-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.th-ps-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #6ee69e;
  line-height: 1;
}

.th-ps-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.35;
}

.th-ps-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.th-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.th-section-label.text-green { color: var(--green); }

/* ============================================================
   TECHNOLOGY CARDS
   ============================================================ */
.th-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.th-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8e8e8;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.th-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.14);
  transform: translateY(-3px);
  border-color: transparent;
}

.th-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 0;
}

.th-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Per-card colours */
.th-card-shiftomate  .th-card-icon-wrap { background: #e6f4ec; }
.th-card-proximetrix .th-card-icon-wrap { background: #e0f3fa; }
.th-card-cobots      .th-card-icon-wrap { background: #edf7ef; }
.th-card-fourd       .th-card-icon-wrap { background: #fff3dc; }

.th-card-shiftomate:hover  { border-color: var(--green); }
.th-card-proximetrix:hover { border-color: #00b4d8; }
.th-card-cobots:hover      { border-color: var(--green); }
.th-card-fourd:hover       { border-color: #f0a500; }

.th-card-badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f0f0f0;
  color: #666;
}

.th-card-body {
  padding: 18px 24px 4px;
  flex: 1;
}

.th-card-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 8px;
}

.th-card-line {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
  margin: 0 0 14px;
}

.th-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.th-card-list li {
  font-size: 0.82rem;
  color: #444;
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.th-card-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
}

.th-card-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #f7f9f7;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 0;
}

.th-cs-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.th-cs-label {
  font-size: 0.72rem;
  color: var(--grey);
  line-height: 1.35;
}

.th-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
}

.th-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
}

.th-card-footer svg {
  color: var(--green);
  transition: transform 0.2s;
}

.th-card:hover .th-card-footer svg {
  transform: translateX(4px);
}

/* ============================================================
   DISTINCTION SECTION
   ============================================================ */
.th-distinction {
  background: #fff;
}

.th-distinction-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.th-distinction-content h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark);
  margin: 0 0 18px;
}

.th-distinction-content p {
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 14px;
}

.th-compare-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  margin-bottom: 16px;
}
.th-compare-card:last-child { margin-bottom: 0; }

.th-compare-header {
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.th-compare-them {
  background: #f0f0f0;
  color: #666;
}

.th-compare-us {
  background: var(--green);
  color: #fff;
}

.th-compare-body {
  background: #fff;
  padding: 6px 0;
}

.th-compare-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 16px;
  font-size: 0.82rem;
  line-height: 1.45;
  border-bottom: 1px solid #f5f5f5;
}
.th-compare-row:last-child { border-bottom: none; }

.th-compare-row.th-no { color: #888; }
.th-compare-row.th-yes { color: #1a3d26; }

.th-compare-icon {
  flex-shrink: 0;
  font-style: normal;
  font-weight: 700;
  width: 16px;
  margin-top: 1px;
}

.th-compare-row.th-no .th-compare-icon  { color: #ccc; }
.th-compare-row.th-yes .th-compare-icon { color: var(--green); }

/* ============================================================
   LAKESIDE PROOF
   ============================================================ */
.th-lakeside-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: flex-start;
}

.th-lk-label-col h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark);
  margin: 0 0 14px;
}

.th-lk-label-col p {
  color: var(--grey);
  line-height: 1.7;
  font-size: 0.95rem;
}

.th-lk-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.th-lk-stat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.th-lk-icon {
  font-size: 1.4rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.th-lk-stat-tech {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 5px;
}

.th-lk-stat-result {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ============================================================
   AUDIT CTA STRIP
   ============================================================ */
.th-audit {
  background: #fff;
  border-top: 1px solid #eee;
}

.th-audit-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f0f7f2;
  border: 1px solid rgba(0,99,43,0.15);
  border-radius: 14px;
  padding: 28px 32px;
  flex-wrap: wrap;
}

.th-audit-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.th-audit-content {
  flex: 1;
  min-width: 260px;
}

.th-audit-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
}

.th-audit-content p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   CTA
   ============================================================ */
.th-cta {
  background: var(--green);
}

.th-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.th-cta-actions { flex-shrink: 0; }

/* ============================================================
   RESPONSIVE — 960px
   ============================================================ */
@media (max-width: 960px) {
  .th-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .th-hero-visual { order: -1; }

  .th-proof-strip-inner {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .th-ps-divider { display: none; }

  .th-ps-item {
    flex: 0 0 calc(50% - 20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 12px;
  }

  .th-cards-grid {
    grid-template-columns: 1fr;
  }

  .th-distinction-inner,
  .th-lakeside-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .th-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .th-audit-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE — 600px
   ============================================================ */
@media (max-width: 600px) {
  .th-hero {
    padding: 24px 0 48px;
  }

  .th-hero-ctas {
    flex-direction: column;
  }

  .th-tech-orbit {
    width: 240px;
    height: 240px;
  }

  .th-tech-orbit::before {
    width: 200px;
    height: 200px;
  }

  .th-orbit-centre {
    width: 74px;
    height: 74px;
  }

  .th-ps-item {
    flex: 0 0 100%;
  }
}
