/* ==========================================================================
   SERVICEBIRD — 2027 UK ENTERPRISE PUBLIC SECTOR TECH PLATFORM
   High-Fidelity British Public Sector SaaS System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. CSS DESIGN TOKENS (LIGHT LUXURY ENTERPRISE PALETTE)
   ========================================================================== */
:root {
  /* Surface Colors */
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-elevated: #F1F5F9;
  --bg-mesh: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.06) 0%, rgba(0, 184, 122, 0.04) 40%, rgba(255, 255, 255, 0) 75%);
  --bg-hero: linear-gradient(180deg, #F0F6FE 0%, #F8FAFC 55%, #FFFFFF 100%);
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFCFF;

  /* Brand Accents */
  --brand-blue: #1E40AF;          /* Deep Royal Tech Blue */
  --brand-blue-vibrant: #2563EB;  /* Electric Blue Accent */
  --brand-blue-dark: #1E3A8A;
  --brand-blue-subtle: rgba(37, 99, 235, 0.08);
  --brand-blue-glow: rgba(37, 99, 235, 0.25);

  --brand-emerald: #059669;       /* British Public Sector Emerald */
  --brand-emerald-vibrant: #00B87A;
  --brand-emerald-dark: #047857;
  --brand-emerald-subtle: rgba(0, 184, 122, 0.08);

  --brand-navy-card: linear-gradient(135deg, #0A192F 0%, #0F274A 50%, #1E3A8A 100%);
  --brand-navy-dark: #061120;

  /* Typography Colors */
  --text-main: #0F172A;
  --text-heading: #091322;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --text-light: #94A3B8;

  /* Borders */
  --border-main: #E2E8F0;
  --border-subtle: #EEF2F6;
  --border-focus: #2563EB;
  --border-glow: rgba(37, 99, 235, 0.4);

  /* Typography Families */
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Corner Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  /* Multi-Layered Enterprise Shadows */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.04);
  --shadow-float: 0 25px 60px -15px rgba(15, 23, 42, 0.14), 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.18);

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms ease;
  --transition-normal: 320ms var(--ease-spring);
  --transition-slow: 600ms var(--ease-spring);
}

/* ==========================================================================
   2. RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.7;
  overflow-x: clip;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 36px;
    padding-right: 36px;
  }
}

/* ==========================================================================
   3. TYPOGRAPHY & HEADINGS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-heading);
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

h4 {
  font-size: 1.0625rem;
  font-weight: 700;
}

p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.highlight-blue {
  color: var(--brand-blue-vibrant);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-blue-vibrant) 0%, var(--brand-emerald-vibrant) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue-vibrant);
  background: var(--brand-blue-subtle);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

/* ==========================================================================
   4. BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.975rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  outline: none !important;
}

.btn::after {
  display: none !important;
}

.btn-primary {
  background: var(--brand-blue-vibrant);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18), 0 6px 16px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.24), 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-heading);
  border-color: var(--border-main);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  border-color: var(--brand-blue-vibrant);
  color: var(--brand-blue-vibrant);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

/* ==========================================================================
   5. HEADER / NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-logo-wrap {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 44px;
  width: auto;
  transition: transform var(--transition-fast);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue-vibrant);
  background: var(--brand-blue-subtle);
}

/* Services Dropdown */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-section-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue-vibrant);
  padding: 6px 10px;
}

.dropdown-card-active {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--brand-blue-subtle);
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  transition: var(--transition-fast);
}

.dropdown-card-active:hover {
  background: rgba(37, 99, 235, 0.14);
  transform: translateY(-2px);
}

.dropdown-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--brand-blue-vibrant);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-subtle);
}

.dropdown-item-soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.dropdown-item-soon:hover {
  background: var(--bg-subtle);
  color: var(--brand-blue-vibrant);
}

.badge-tag-active {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 9px;
  background: var(--brand-blue-vibrant);
  color: #FFFFFF;
  border-radius: var(--radius-full);
}

.badge-tag-soon {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--bg-elevated);
  color: var(--text-subtle);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   6. HERO SECTION (EXACT MATCH TO REFERENCE MOCKUP)
   ========================================================================== */
.hero-section {
  background: var(--bg-hero);
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Particle mesh. Scoped to the top band of the hero by animations.js, then
   faded out over its last 180px so it never reads as texture behind the
   stats card, the trust row or the CTAs — those must sit on flat paper. */
.hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 760px;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
}

.hero-inner-wrapper {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Pill: 🔵 The Uber Platform for Public Services */
.hero-uber-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: #EBF3FE;
  color: var(--brand-blue-vibrant);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.hero-uber-pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-blue-vibrant);
  animation: pulseBeacon 2s infinite;
}

.hero-main-title {
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.hero-sub-description {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 36px auto;
}

/* Hero Visual: NHS Clinician & Police Officer */
.hero-professionals-banner {
  max-width: 680px;
  margin: 0 auto 36px auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1.5px solid var(--border-main);
  background: #FFFFFF;
  position: relative;
}

.hero-professionals-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-professionals-banner:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   7. FLOATING 4-METRIC IMPACT CARD (COUNT-UP ANIMATIONS)
   ========================================================================== */
.hero-stats-card {
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-2xl);
  padding: 34px 28px;
  box-shadow: var(--shadow-float);
  margin: 0 auto 36px auto;
  max-width: 840px;
}

.stats-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .stats-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

.stat-item-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform var(--transition-fast);
}

.stat-item-box:hover .stat-icon-circle {
  transform: scale(1.12);
}

.stat-icon-circle.blue {
  background: #EBF3FE;
  color: #2563EB;
}

.stat-icon-circle.purple {
  background: #F3E8FF;
  color: #9333EA;
}

.stat-icon-circle.orange {
  background: #FFEDD5;
  color: #EA580C;
}

.stat-icon-circle.green {
  background: #DCFCE7;
  color: #16A34A;
}

.stat-number-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text-heading);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-desc-label {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-subtle);
  max-width: 155px;
}

/* ==========================================================================
   8. TRUST & CAPABILITY TRIPLET
   ========================================================================== */
.hero-trust-triplet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 36px auto;
  text-align: left;
}

@media (max-width: 768px) {
  .hero-trust-triplet {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.trust-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.trust-feature-item:hover {
  border-color: var(--brand-blue-vibrant);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.trust-icon-wrap {
  color: var(--brand-blue-vibrant);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.trust-feature-text p {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  line-height: 1.4;
}

/* ==========================================================================
   9. DUAL CLIENT & FREELANCER ACTION CARDS
   ========================================================================== */
.hero-dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 28px auto;
}

@media (max-width: 640px) {
  .hero-dual-cta-grid {
    grid-template-columns: 1fr;
  }
}

.cta-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: left;
}

.cta-action-card.client-card {
  background: var(--brand-navy-card);
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(10, 25, 47, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-action-card.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.35);
}

.cta-action-card.client-card h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.cta-action-card.client-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.cta-action-card.freelancer-card {
  background: #FFFFFF;
  color: var(--text-heading);
  border: 1.5px solid var(--border-main);
  box-shadow: var(--shadow-card);
}

.cta-action-card.freelancer-card:hover {
  border-color: var(--brand-blue-vibrant);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.cta-action-card.freelancer-card h3 {
  color: var(--text-heading);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.cta-action-card.freelancer-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-chevron-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.client-card .cta-chevron-circle {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.freelancer-card .cta-chevron-circle {
  background: var(--bg-subtle);
  color: var(--text-heading);
}

.cta-action-card:hover .cta-chevron-circle {
  transform: translateX(5px);
}

/* Security Trust Line */
.hero-security-lock-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.hero-security-lock-line svg {
  color: var(--brand-emerald-dark);
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   10. ANIMATED "SERVICE BIRD" HERO MASCOT & SOLUTIONS STAGE
   ========================================================================== */
.servicebird-mascot-container {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-2xl);
  padding: 48px 32px;
  margin: 40px auto 60px auto;
  max-width: 1100px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.mascot-ambient-aura {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(0, 184, 122, 0.06) 50%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Orbiting Solution Badges */
.mascot-orbit-orbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  position: relative;
  z-index: 3;
}

.service-orb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.service-orb:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--brand-blue-vibrant);
  box-shadow: var(--shadow-hover);
}

.orb-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.orb-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.orb-text strong {
  font-size: 0.875rem;
  color: var(--text-heading);
}

.orb-text span {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.orb-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mascot Character Stage (Split View) */
.mascot-character-stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .mascot-character-stage {
    grid-template-columns: 1fr;
  }
}

.servicebird-mascot-art-wrap {
  position: relative;
  text-align: center;
}

.mascot-speech-bubble {
  background: #FFFFFF;
  border: 1.5px solid var(--brand-blue-vibrant);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}

.mascot-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 40px;
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-right: 1.5px solid var(--brand-blue-vibrant);
  border-bottom: 1.5px solid var(--brand-blue-vibrant);
  transform: rotate(45deg);
}

.bubble-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-blue-vibrant);
  margin-bottom: 4px;
}

.mascot-speech-bubble p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.mascot-image-wrapper {
  position: relative;
  display: inline-block;
  animation: floatElement 4s ease-in-out infinite;
}

.mascot-primary-img {
  max-width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-hover);
  border: 1.5px solid var(--border-main);
  transition: transform var(--transition-normal);
}

.mascot-image-wrapper:hover .mascot-primary-img {
  transform: scale(1.02);
}

/* Live Clipboard Task Queue */
.mascot-live-clipboard {
  background: #FFFFFF;
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  text-align: left;
}

.clipboard-top-peg {
  width: 48px;
  height: 8px;
  background: #CBD5E1;
  border-radius: var(--radius-full);
  margin: 0 auto 16px auto;
}

.clipboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border-main);
}

.clip-icon {
  font-size: 1.75rem;
}

.clipboard-header h4 {
  font-size: 1.15rem;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.live-pulse-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #10B981;
}

.clipboard-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.clip-task-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.clip-task-row:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue-vibrant);
  transform: translateX(4px);
}

.task-check-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.task-check-mark.pulse {
  background: var(--brand-blue-vibrant);
  animation: pulseBeacon 1.5s infinite;
}

.task-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-heading);
}

.task-info span {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.clipboard-footer-pill {
  padding: 10px 14px;
  background: var(--brand-blue-subtle);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-blue-vibrant);
  text-align: center;
}

/* Bottom Crown Badge */
.servicebird-hero-crown-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 28px;
  background: var(--brand-navy-card);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 3;
}

.crown-icon {
  color: #FBBF24;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.badge-text-group .brand-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: #FFFFFF;
}

.badge-text-group .brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #60A5FA;
}

/* ==========================================================================
   11. LIVE MATCHING SIMULATOR
   ========================================================================== */
.simulator-section {
  background: #FFFFFF;
  padding: 90px 0;
  border: none !important;
}

.simulator-box {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-subtle) 100%);
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-2xl);
  padding: 44px;
  box-shadow: var(--shadow-hover);
}

.simulator-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .simulator-controls-grid {
    grid-template-columns: 1fr;
  }
}

.sim-field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-blue-vibrant);
  margin-bottom: 8px;
}

.sim-select {
  width: 100%;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  outline: none;
  transition: var(--transition-fast);
}

.sim-select:focus {
  border-color: var(--brand-blue-vibrant);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.sim-result-card {
  background: #FFFFFF;
  border: 1.5px solid var(--brand-blue-vibrant);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.12);
}

.sim-match-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sim-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-vibrant), var(--brand-emerald-vibrant));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.sim-details h4 {
  color: var(--text-heading);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.sim-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sim-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sim-pill {
  padding: 7px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
}

.sim-pill.highlight {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue-vibrant);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   12. SERVICES SECTION (CARDS & PIPELINES)
   ========================================================================== */
.services-section {
  background: var(--bg-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-xl);
  padding: 38px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue-vibrant), var(--brand-emerald-vibrant));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured-active {
  border: 2px solid var(--brand-blue-vibrant);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, #FFFFFF 100%);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.service-card.featured-active::before {
  opacity: 1;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.service-icon-box.teal {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue-vibrant);
}

.service-icon-box.gray {
  background: var(--bg-subtle);
  color: var(--text-subtle);
}

.service-card:hover .service-icon-box {
  transform: scale(1.08) rotate(4deg);
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.status-badge.active {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue-vibrant);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.status-badge.soon {
  background: var(--bg-subtle);
  color: var(--text-subtle);
  border: 1px solid var(--border-main);
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.service-sub-list {
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-main);
}

.service-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 5px 0;
}

.service-sub-item svg {
  color: var(--brand-blue-vibrant);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.card-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--brand-blue-vibrant);
  margin-top: auto;
}

.card-cta-link svg {
  transition: transform var(--transition-fast);
}

.service-card:hover .card-cta-link svg {
  transform: translateX(6px);
}

/* ==========================================================================
   13. HOW IT WORKS (4-STEP TIMELINE & INTERACTIVE STAGES)
   ========================================================================== */
.how-it-works-section {
  background: #FFFFFF;
}

.process-timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

@media (max-width: 1024px) {
  .process-timeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process-timeline-wrapper {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-normal);
}

.step-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue-vibrant);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.step-number-pill {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.9375rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-blue-vibrant), var(--brand-blue-dark));
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-vibrant);
  margin-bottom: 20px;
  box-shadow: var(--shadow-subtle);
}

.step-card h3 {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Compliance Badges Matrix */
.compliance-matrix-bar {
  background: linear-gradient(135deg, #FFFFFF, var(--bg-subtle));
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-2xl);
  padding: 34px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.compliance-bar-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text-heading);
}

.compliance-pills-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.comp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-fast);
}

.comp-pill:hover {
  background: var(--brand-blue-subtle);
  border-color: var(--brand-blue-vibrant);
  color: var(--brand-blue-vibrant);
}

.comp-pill svg {
  color: var(--brand-blue-vibrant);
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   14. WHO WE ARE (7 PILLARS & MAC ADMIN DASHBOARD)
   ========================================================================= */
.who-we-are-section {
  background: var(--bg-subtle);
}

.overview-banner-card {
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-2xl);
  padding: 48px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.overview-banner-card p {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--text-main);
  max-width: 960px;
  margin: 0 auto 20px auto;
}

.pillars-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

@media (max-width: 1024px) {
  .pillars-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pillars-grid-layout {
    grid-template-columns: 1fr;
  }
}

.pillar-card-modern {
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.pillar-card-modern:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue-vibrant);
  box-shadow: var(--shadow-hover);
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--brand-blue-subtle);
  color: var(--brand-blue-vibrant);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: transform var(--transition-normal);
}

.pillar-card-modern:hover .pillar-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: rgba(37, 99, 235, 0.16);
}

.pillar-card-modern h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.pillar-card-modern p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Safari / Mac Frame Showcase */
.dashboard-showcase-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-2xl);
  padding: 16px 16px 0 16px;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.browser-header-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 16px 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.dashboard-showcase-frame img {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   15. FOR PUBLIC-SECTOR ORGANISATIONS
   ========================================================================== */
.organisations-section {
  background: #FFFFFF;
}

.sectors-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
}

.sector-bubble {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-heading);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.sector-bubble:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue-vibrant);
  color: var(--brand-blue-vibrant);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.sector-bubble svg {
  color: var(--brand-blue-vibrant);
  width: 20px;
  height: 20px;
}

.benefits-two-column-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .benefits-two-column-layout {
    grid-template-columns: 1fr;
  }
}

.benefits-list-modern {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.benefit-row-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.benefit-row-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue-vibrant);
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
}

.benefit-check-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-blue-subtle);
  color: var(--brand-blue-vibrant);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-row-card span {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-heading);
}

.org-visual-phone {
  text-align: center;
}

.org-visual-phone img {
  max-width: 340px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-hover);
  margin: 0 auto;
  border: 1px solid var(--border-main);
}

/* ==========================================================================
   16. FOR SERVICE PROVIDERS
   ========================================================================== */
.providers-section {
  background: #FFFFFF;
  position: relative;
}

.providers-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

@media (max-width: 900px) {
  .providers-layout-grid {
    grid-template-columns: 1fr;
  }
}

.providers-text-block h2 {
  margin-bottom: 20px;
}

.providers-text-block p {
  color: var(--text-muted);
  font-size: 1.1875rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.providers-perks-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.provider-perk-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
}

.provider-perk-item svg {
  color: var(--brand-blue-vibrant);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.providers-mockup-wrapper {
  text-align: center;
}

.providers-mockup-wrapper img {
  max-width: 320px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-hover);
  margin: 0 auto;
  border: 1px solid var(--border-main);
}

/* ==========================================================================
   17. CONTACT US & HEAD OFFICE COMMAND
   ========================================================================== */
.contact-section {
  background: #FFFFFF;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--brand-navy-card);
  color: #FFFFFF;
  border-radius: var(--radius-2xl);
  padding: 44px;
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: #FFFFFF;
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.25);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-text h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 4px;
}

.detail-text p, .detail-text a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

.detail-text a:hover {
  color: #60A5FA;
}

.contact-form-glass-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-2xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

.form-group-modern {
  margin-bottom: 24px;
}

.form-group-modern label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-input-modern, .form-select-modern, .form-textarea-modern {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input-modern:focus, .form-select-modern:focus, .form-textarea-modern:focus {
  border-color: var(--brand-blue-vibrant);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.radio-group-modern {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ==========================================================================
   18. FOOTER (CORPORATE NAVY ANCHOR & UK ESSENTIALS)
   ========================================================================== */
.site-footer {
  background: var(--brand-navy-dark);
  color: #FFFFFF;
  padding: 90px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #60A5FA;
  margin-bottom: 24px;
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.social-circle-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
}

.social-circle-link:hover {
  background: var(--brand-blue-vibrant);
  border-color: var(--brand-blue-vibrant);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-column-heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #60A5FA;
  transform: translateX(4px);
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: #60A5FA;
}

/* ==========================================================================
   19. INNER PAGES & DOCUMENTATION
   ========================================================================== */
.page-hero {
  background: var(--bg-hero);
  color: var(--text-heading);
  padding: 150px 0 80px 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-main);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--brand-blue-vibrant);
}

.breadcrumb-separator {
  color: var(--text-light);
}

.matching-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.matching-step {
  padding: 12px 24px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-heading);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.matching-step:hover {
  border-color: var(--brand-blue-vibrant);
  color: var(--brand-blue-vibrant);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.matching-arrow {
  color: var(--brand-blue-vibrant);
  font-size: 1.25rem;
  font-weight: 800;
}

.service-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .service-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-types-grid {
    grid-template-columns: 1fr;
  }
}

.service-type-card {
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.service-type-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue-vibrant);
  box-shadow: var(--shadow-hover);
}

.service-type-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand-blue-subtle);
  color: var(--brand-blue-vibrant);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.legal-document {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  line-height: 1.9;
}

/* ==========================================================================
   20. MOBILE DRAWER & CONTROLS
   ========================================================================== */
.hamburger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.hamburger-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-heading);
  transition: all var(--transition-fast);
  position: absolute;
  left: 10px;
  border-radius: 2px;
}

.hamburger-toggle span:nth-child(1) { top: 14px; }
.hamburger-toggle span:nth-child(2) { top: 21px; }
.hamburger-toggle span:nth-child(3) { top: 28px; }

.hamburger-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 21px; }
.hamburger-toggle.active span:nth-child(2) { opacity: 0; }
.hamburger-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 21px; }

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  padding: 90px 24px 30px 24px;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
  border-left: 1px solid var(--border-main);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.mobile-overlay-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-heading);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 1200px) {
  .nav-links, .nav-cta-btn {
    display: none;
  }
  .hamburger-toggle {
    display: block;
  }
}

/* ==========================================================================
   21. SCROLL PROGRESS & BACK TO TOP
   ========================================================================== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  z-index: 10001;
}

.scroll-progress-line {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-blue-vibrant), var(--brand-emerald-vibrant));
}

.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-blue-vibrant);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 990;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--brand-blue-dark);
}

/* ==========================================================================
   DATA-ANIM MOTION SYSTEM (AirSpider-grade)
   --------------------------------------------------------------------------
   JS adds .is-in to any [data-anim] element when it enters the viewport.
   data-delay is copied into --d (ms) by the stagger handler.
   ========================================================================== */
[data-anim]{
  opacity:0;
  transition:
    opacity .78s cubic-bezier(.22,.68,.28,1) var(--d,0ms),
    transform .78s cubic-bezier(.22,.68,.28,1) var(--d,0ms),
    filter .78s cubic-bezier(.22,.68,.28,1) var(--d,0ms),
    clip-path .78s cubic-bezier(.22,.68,.28,1) var(--d,0ms);
}
[data-anim="up"]   {transform:translate3d(0,42px,0)}
[data-anim="down"] {transform:translate3d(0,-32px,0)}
[data-anim="left"] {transform:translate3d(48px,0,0)}
[data-anim="right"]{transform:translate3d(-48px,0,0)}
[data-anim="scale"]{transform:scale(.9)}
[data-anim="pop"]  {transform:translate3d(0,26px,0) scale(.94)}
[data-anim="blur"] {transform:translate3d(0,24px,0);filter:blur(14px)}
[data-anim="wipe"] {clip-path:inset(0 0 100% 0);transform:translate3d(0,20px,0)}
[data-anim="tilt"] {transform:perspective(1200px) rotateX(14deg) translate3d(0,50px,0);transform-origin:50% 100%}
[data-anim].is-in  {opacity:1;transform:none;filter:none;clip-path:none !important;}
[data-anim="wipe"].is-in {clip-path:inset(0 0 0 0) !important;}

/* Word-by-word headline reveal */
.reveal-words .w{display:inline-block;overflow:hidden;vertical-align:top}
.reveal-words .w>span{
  display:inline-block;transform:translate3d(0,110%,0);
  transition:transform .82s cubic-bezier(.22,1.12,.34,1) var(--d,0ms);
}
.reveal-words.is-in .w>span{transform:none}

/* Stat counters */
.stat-num{font-variant-numeric:tabular-nums;font-weight:800;letter-spacing:-.04em}

/* Reduced motion: full accessibility fallback */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important;
  }
  [data-anim]{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important}
  .reveal-words .w>span{transform:none!important}
}

/* ==========================================================================
   ANIMATED SVG UTILITY CLASSES
   --------------------------------------------------------------------------
   Looping micro-animations for inline SVG artwork panels.
   ========================================================================== */

/* Horizontal translate loop (conveyor belt, picker cart) */
@keyframes mvXLoop{0%{transform:translateX(-60px)}100%{transform:translateX(460px)}}
.mv-x{animation:mvXLoop 7s linear infinite}

/* Vertical bob (vehicles, riders) */
@keyframes mvYBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.mv-y{animation:mvYBob 2.4s ease-in-out infinite}

/* Stroke dash offset animation (route corridors) */
@keyframes dashRun{to{stroke-dashoffset:-40}}
.dash{stroke-dasharray:12 8;animation:dashRun 1.2s linear infinite}

/* Opacity breathing cycle */
@keyframes fadeCyc{0%,100%{opacity:1}50%{opacity:.35}}
.fade-cyc{animation:fadeCyc 2.6s ease-in-out infinite}

/* Continuous rotation */
@keyframes spinLoop{to{transform:rotate(360deg)}}
.spin{animation:spinLoop 3s linear infinite}

/* Float-up bob */
@keyframes riseBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.rise{animation:riseBob 3.2s ease-in-out infinite}

/* Stroke-dashoffset reveal (progress bars, countdown rings) */
.draw{stroke-dashoffset:var(--len,100);animation:drawReveal 2s cubic-bezier(.22,.68,.28,1) forwards .6s}
@keyframes drawReveal{to{stroke-dashoffset:0}}

/* Pulsing location pin */
@keyframes pinPop{0%{transform:scale(0);opacity:0}60%{transform:scale(1.15);opacity:1}100%{transform:scale(1);opacity:1}}
.pin-pop{animation:pinPop .6s cubic-bezier(.22,1.12,.34,1) both}

/* Route packet running along a path */
@keyframes routePacket{0%{offset-distance:0%}100%{offset-distance:100%}}

/* ==========================================================================
   HERO PLATFORM JOURNEY WORKFLOW
   ========================================================================== */
.hero-workflow-stage{
  position:relative;
  width:100%;
  max-width:900px;
  margin:48px auto 0;
  padding:20px 0;
}
.hero-workflow-stage svg{
  width:100%;
  height:auto;
}

/* ==========================================================================
   HORIZONTAL FLOW RAIL (How It Works)
   ========================================================================== */
.flow-section{
  background:var(--brand-navy-dark, #061120);
  padding:clamp(72px,9vw,132px) 0;
  color:#FFFFFF;
  position:relative;
  overflow:hidden;
}
.flow-section .flow-bg{
  position:absolute;inset:0;
  background:radial-gradient(ellipse 80% 60% at 50% 40%, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events:none;
}
.flow-section .section-label{
  color:rgba(255,255,255,0.6);
}
.flow-section .section-header h2{
  color:#FFFFFF;
}
.flow-section .section-header p{
  color:rgba(255,255,255,0.7);
}
.flow-rail-wrapper{
  margin-top:56px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.flow-rail{
  display:flex;
  gap:0;
  min-width:680px;
  position:relative;
}
.flow-rail::before{
  content:'';
  position:absolute;
  top:32px;
  left:32px;
  right:32px;
  height:3px;
  background:rgba(255,255,255,0.15);
  border-radius:2px;
}
.flow-step{
  flex:1;
  text-align:center;
  position:relative;
  padding:0 12px;
}
.flow-step__dot{
  width:64px;height:64px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  border:2px solid rgba(255,255,255,0.2);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 20px;
  position:relative;
  z-index:2;
  transition:border-color .4s, background .4s;
}
.flow-step:hover .flow-step__dot{
  border-color:var(--brand-blue-vibrant, #2563EB);
  background:rgba(37,99,235,0.15);
}
.flow-step__dot svg{
  color:rgba(255,255,255,0.8);
}
.flow-step__num{
  display:block;
  font-family:var(--font-mono, 'JetBrains Mono', monospace);
  font-size:0.75rem;
  font-weight:700;
  color:var(--brand-blue-vibrant, #2563EB);
  letter-spacing:0.08em;
  margin-bottom:8px;
}
.flow-step b{
  display:block;
  font-size:1.1rem;
  font-weight:800;
  color:#FFFFFF;
  margin-bottom:6px;
}
.flow-step span{
  display:block;
  font-size:0.9rem;
  color:rgba(255,255,255,0.6);
  line-height:1.5;
}

/* Flow notes row */
.flow-notes{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:24px;
  margin-top:56px;
}
.flow-note-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:16px;
  padding:24px;
}
.flow-note-card b{
  display:block;
  color:#FFFFFF;
  font-size:1rem;
  margin-bottom:8px;
}
.flow-note-card p{
  color:rgba(255,255,255,0.6);
  font-size:0.9375rem;
  line-height:1.6;
}

/* ==========================================================================
   SERVICE DEEP-DIVE SECTIONS
   ========================================================================== */
.dive-section{
  padding:clamp(72px,9vw,132px) 0;
  position:relative;
}
.dive-section:nth-child(even){
  background:var(--bg-subtle, #F8FAFC);
}
.dive-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(40px,5vw,80px);
  align-items:center;
}
.dive-section.dive--flip .dive-inner{
  direction:rtl;
}
.dive-section.dive--flip .dive-inner > *{
  direction:ltr;
}
.dive-art{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(160deg, #061120 0%, #111c40 48%, #0b1230 100%);
  aspect-ratio:4/3;
  display:flex;
  align-items:center;
  justify-content:center;
}
.dive-art .glow{
  position:absolute;inset:0;
  background:radial-gradient(ellipse 60% 50% at 50% 50%, rgba(37,99,235,0.2) 0%, transparent 70%);
  pointer-events:none;
}
.dive-art svg{
  width:90%;
  height:auto;
}
.dive-art .dive-tag{
  position:absolute;
  bottom:16px;left:16px;
  display:flex;align-items:center;gap:8px;
  font-size:0.75rem;
  font-weight:700;
  color:rgba(255,255,255,0.5);
  letter-spacing:0.04em;
}
.dive-art .dive-tag img{
  height:22px;
  width:auto;
}
.dive-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.8125rem;
  font-weight:700;
  color:var(--text-subtle, #64748B);
  letter-spacing:0.06em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.dive-brand .bar{
  display:inline-block;
  width:32px;
  height:3px;
  background:var(--brand-blue-vibrant, #2563EB);
  border-radius:2px;
}
.dive-content h2{
  margin-bottom:20px;
}
.dive-lede{
  font-size:1.125rem;
  color:var(--text-muted, #475569);
  line-height:1.7;
  margin-bottom:28px;
}
.dive-matching-flow{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:28px;
}
.dive-matching-flow .mf-pill{
  background:var(--brand-blue-subtle, rgba(37,99,235,0.08));
  color:var(--brand-blue-vibrant, #2563EB);
  font-size:0.8125rem;
  font-weight:700;
  padding:6px 14px;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:6px;
}
.dive-matching-flow .mf-arrow{
  color:var(--text-subtle, #64748B);
  font-size:0.75rem;
}
.dive-areas-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 16px;
  margin-bottom:28px;
}
.dive-areas-grid .area-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:0.9375rem;
  color:var(--text-muted, #475569);
  padding:6px 0;
}
.dive-areas-grid .area-item svg{
  flex-shrink:0;
  width:18px;height:18px;
  color:var(--brand-emerald-vibrant, #00B87A);
}

@media (max-width:768px){
  .dive-inner{grid-template-columns:1fr;}
  .dive-section.dive--flip .dive-inner{direction:ltr;}
  .dive-art{aspect-ratio:16/10;}
  .dive-areas-grid{grid-template-columns:1fr;}
  .flow-rail{min-width:unset;flex-wrap:wrap;gap:32px;}
  .flow-rail::before{display:none;}
}

/* ==========================================================================
   2027 ULTRA-MODERN COMPONENT ENHANCEMENTS (USER FEEDBACK BUILD)
   ========================================================================== */

/* 1. HERO REVERSED METRICS, TRUST TRIPLET & DUAL CTA CARDS (From Screenshot) */
.hero-stats-card {
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 32px 36px;
  max-width: 1000px;
  margin: 32px auto 0;
}

.stats-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.stat-icon-circle.blue   { background: rgba(37, 99, 235, 0.1); color: #2563EB; }
.stat-icon-circle.purple { background: rgba(147, 51, 234, 0.1); color: #9333EA; }
.stat-icon-circle.orange { background: rgba(249, 115, 22, 0.1); color: #F97316; }
.stat-icon-circle.green  { background: rgba(16, 185, 129, 0.1); color: #10B981; }

.stat-number-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stat-desc-label {
  font-size: 0.8125rem;
  color: #64748B;
  line-height: 1.45;
  font-weight: 500;
}

/* 3-Trust Badges Row */
.hero-trust-triplet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 20px auto 0;
}

.hero-trust-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hero-trust-card:hover {
  transform: translateY(-3px);
  border-color: #2563EB;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.hero-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-trust-icon svg { width: 22px; height: 22px; }

.hero-trust-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}
.hero-trust-info p {
  font-size: 0.775rem;
  color: #64748B;
  margin: 0;
}

/* Dual CTA Cards (I am a Client / I am a Freelancer) */
.hero-dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 24px auto 0;
}

.dual-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.dual-cta-card.client {
  background: linear-gradient(135deg, #091738 0%, #152B66 50%, #1E40AF 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(14, 28, 70, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.dual-cta-card.client:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
}

.dual-cta-card.freelancer {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.dual-cta-card.freelancer:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #2563EB;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
}

.dual-cta-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.dual-cta-card.client .dual-cta-text h3 { color: #FFFFFF; }
.dual-cta-card.freelancer .dual-cta-text h3 { color: #0F172A; }

.dual-cta-text p {
  font-size: 0.875rem;
  margin: 0;
}
.dual-cta-card.client .dual-cta-text p { color: rgba(255, 255, 255, 0.7); }
.dual-cta-card.freelancer .dual-cta-text p { color: #64748B; }

.dual-cta-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
.dual-cta-card.client .dual-cta-arrow {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}
.dual-cta-card.client:hover .dual-cta-arrow {
  background: #2563EB;
  transform: translateX(4px);
}
.dual-cta-card.freelancer .dual-cta-arrow {
  background: #F1F5F9;
  color: #0F172A;
}
.dual-cta-card.freelancer:hover .dual-cta-arrow {
  background: #2563EB;
  color: #FFFFFF;
  transform: translateX(4px);
}

.hero-trust-footer-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px auto 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #059669;
  text-align: center;
}

/* 2. 2027 DIGITAL LINGUISTIC INTELLIGENCE TERMINAL (ACTIVE SERVICE) */
.linguistic-terminal-box {
  background: linear-gradient(155deg, #07132B 0%, #0C1E45 50%, #081635 100%);
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 32px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(7, 19, 43, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.linguistic-terminal-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.terminal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}
.terminal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.terminal-status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #00B87A;
  box-shadow: 0 0 12px #00B87A;
  animation: fadeCyc 2s infinite;
}
.terminal-title-group h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0;
}
.terminal-latency-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60A5FA;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}

/* Audio Waveform Live Spectrum */
.waveform-container {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.waveform-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  font-family: var(--font-mono, monospace);
}
.waveform-bars-flex {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 42px;
}
.wave-bar {
  flex: 1;
  background: linear-gradient(180deg, #60A5FA 0%, #2563EB 100%);
  border-radius: 3px;
  min-height: 4px;
  animation: soundWave 1.4s ease-in-out infinite alternate;
}
.wave-bar:nth-child(2n) { animation-delay: 0.2s; }
.wave-bar:nth-child(3n) { animation-delay: 0.4s; }
.wave-bar:nth-child(4n) { animation-delay: 0.1s; }
.wave-bar:nth-child(5n) { animation-delay: 0.6s; }

@keyframes soundWave {
  0% { height: 6px; }
  50% { height: 38px; }
  100% { height: 12px; }
}

/* Language Match Node Cards */
.match-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.match-pair-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.match-pair-pill .lang-name {
  font-weight: 700;
  color: #FFFFFF;
}
.match-pair-pill .lang-spec {
  font-size: 0.725rem;
  color: #00B87A;
  background: rgba(0, 184, 122, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* Matched Pro HUD Card */
.matched-pro-hud {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pro-hud-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #00B87A);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}
.pro-hud-details h5 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}
.pro-hud-details p {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 8px 0;
}
.pro-hud-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hud-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}
.hud-tag.verified { background: rgba(0, 184, 122, 0.2); color: #34D399; }
.hud-tag.dbs { background: rgba(96, 165, 250, 0.2); color: #93C5FD; }
.hud-tag.time { background: rgba(251, 191, 36, 0.2); color: #FCD34D; }

/* 3. 2027 CYBERNETIC WORKFLOW CONSOLE (HOW IT WORKS) */
.flow-interactive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}

.flow-step-card-2027 {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.flow-step-card-2027::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #00B87A);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.flow-step-card-2027:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 24px rgba(37, 99, 235, 0.2);
}
.flow-step-card-2027:hover::before {
  opacity: 1;
}

.flow-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.flow-step-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  font-weight: 800;
  color: #60A5FA;
  background: rgba(37, 99, 235, 0.2);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.3);
}
.flow-step-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step-card-2027:hover .flow-step-icon-wrap {
  background: #2563EB;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.5);
}

.flow-step-card-2027 h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.flow-step-card-2027 p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 16px;
}
.flow-step-meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00B87A;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 4. 2027 PLATFORM COMMAND & ARCHITECTURE HUD (WHO WE ARE) */
.overview-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.telemetry-tile {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.telemetry-tile .t-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.telemetry-tile .t-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}
.telemetry-tile .t-status {
  font-size: 0.725rem;
  font-weight: 700;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Live Public Sector Dispatch Stream */
.dispatch-stream-card {
  background: linear-gradient(155deg, #07132B 0%, #0A1C40 100%);
  border-radius: 24px;
  padding: 28px;
  color: #FFFFFF;
  margin-top: 40px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 16px 48px rgba(7, 19, 43, 0.35);
}
.dispatch-stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dispatch-stream-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dispatch-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  font-size: 0.85rem;
  border-left: 3px solid #2563EB;
}
.dispatch-item-row.nhs   { border-left-color: #2563EB; }
.dispatch-item-row.court { border-left-color: #9333EA; }
.dispatch-item-row.send  { border-left-color: #00B87A; }

.dispatch-time {
  font-family: var(--font-mono, monospace);
  color: #94A3B8;
  font-size: 0.775rem;
  margin-right: 12px;
}
.dispatch-org {
  font-weight: 700;
  color: #FFFFFF;
}
.dispatch-role {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 8px;
}
.dispatch-badge-ok {
  background: rgba(0, 184, 122, 0.2);
  color: #34D399;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

/* 5. 2027 PROVIDER COMMAND TERMINAL & LIVE JOB RADAR */
.provider-interactive-terminal {
  background: linear-gradient(155deg, #07132B 0%, #0C1E45 50%, #081635 100%);
  border-radius: 28px;
  border: 1px solid rgba(0, 184, 122, 0.3);
  padding: 32px;
  color: #FFFFFF;
  box-shadow: 0 20px 60px rgba(7, 19, 43, 0.45);
}
.provider-radar-card {
  background: rgba(0, 184, 122, 0.08);
  border: 1px solid rgba(0, 184, 122, 0.3);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
}
.radar-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 184, 122, 0.2);
  color: #34D399;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.provider-earnings-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.earnings-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px;
}
.earnings-box .e-label { font-size: 0.725rem; color: #94A3B8; margin-bottom: 4px; }
.earnings-box .e-amount { font-size: 1.25rem; font-weight: 800; color: #FFFFFF; }

@media (max-width: 768px) {
  .hero-trust-triplet-grid { grid-template-columns: 1fr; }
  .hero-dual-cta-grid { grid-template-columns: 1fr; }
  .flow-interactive-grid { grid-template-columns: 1fr; }
  .overview-telemetry-strip { grid-template-columns: 1fr 1fr; }
  .match-pair-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   AIRSPIDER-STYLE 4-CATEGORY SERVICES SHOWCASE & CORPORATE WORKFLOW ENGINE
   ========================================================================== */

/* 4-Category Navigation Tabs (AirSpider 'What we move' standard) */
.services-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto 48px;
  background: #F1F5F9;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
}

.service-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: transparent;
  border: none;
  font-family: var(--font-primary, sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
}
.service-tab-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #64748B;
  transition: color 0.3s ease;
}
.service-tab-btn:hover {
  color: #1E40AF;
  background: rgba(255, 255, 255, 0.6);
}
.service-tab-btn:hover svg {
  color: #2563EB;
}
.service-tab-btn.active {
  background: #FFFFFF;
  color: #1E40AF;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}
.service-tab-btn.active svg {
  color: #2563EB;
}
.service-tab-btn .tab-badge-active {
  font-size: 0.6875rem;
  background: #00B87A;
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-tab-btn .tab-badge-soon {
  font-size: 0.6875rem;
  background: #E2E8F0;
  color: #64748B;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

/* Service Tab Panels */
.service-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.service-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Corporate Clean Animated Artwork Stage */
.workflow-art-box {
  background: linear-gradient(145deg, #091738 0%, #10265C 50%, #0D1F4D 100%);
  border-radius: 28px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(9, 23, 56, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.workflow-art-box svg {
  width: 100%;
  height: auto;
}

.workflow-art-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.workflow-art-header .tag-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #34D399;
  font-family: var(--font-mono, monospace);
}
.workflow-art-header .tag-live .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: fadeCyc 2s infinite;
}

/* Corporate Provider Showcase Cards (Replacing dark gaming box) */
.provider-corporate-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.provider-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #F1F5F9;
}
.provider-feature-row:last-child {
  border-bottom: none;
}
.provider-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.provider-feature-icon svg { width: 22px; height: 22px; }
.provider-feature-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}
.provider-feature-info p {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .services-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .services-tabs-nav {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   AIRSPIDER-GRADE CONTINUOUS ANIMATED WORKFLOW STAGE (HOW IT WORKS)
   ========================================================================== */

.workflow-stage-interactive-container {
  background: linear-gradient(160deg, #07132B 0%, #0D204A 50%, #081636 100%);
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 36px 32px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(7, 19, 43, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.workflow-stage-interactive-container::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 240px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.workflow-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.workflow-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #34D399;
  background: rgba(0, 184, 122, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 184, 122, 0.3);
}
.workflow-live-badge .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: fadeCyc 1.8s infinite;
}

.workflow-timeline-svg {
  width: 100%;
  height: auto;
  margin-bottom: 32px;
}

/* Continuous packet motion along laser track */
@keyframes packetTravel {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(720px); opacity: 0; }
}

.workflow-laser-track {
  stroke-dasharray: 8 6;
  animation: dashRun 1.2s linear infinite;
}

/* ==========================================================================
   2027 COMPANY OVERVIEW PLATFORM ARCHITECTURE (WHO WE ARE)
   ========================================================================== */

.architecture-diagram-container {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1px solid #E2E8F0;
  padding: 40px;
  margin: 36px 0 48px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.architecture-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.arch-column-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}
.arch-column-box.core {
  background: linear-gradient(145deg, #091738 0%, #152B66 100%);
  color: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 12px 36px rgba(14, 28, 70, 0.25);
  padding: 32px 24px;
}
.arch-column-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.arch-column-box.core h4 {
  color: #FFFFFF;
}

.arch-pills-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.arch-pill-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.arch-column-box.core .arch-pill-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .architecture-grid-3col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =============================================================================
   SERVICEBIRD � PREMIUM DESIGN SYSTEM (VERBATIM BRIEF SPECIFICATION)
   ============================================================================= */

:root {
  --sb-ink:        #071634;
  --sb-navy:       #0B2159;
  --sb-navy-2:     #0E2A6E;
  --sb-navy-line:  rgba(255,255,255,.10);
  --sb-blue:       #1657F0;
  --sb-blue-600:   #0F44C7;
  --sb-blue-050:   #EAF0FF;
  --sb-sky:        #4C86FF;
  --sb-green:      #00C389;
  --sb-green-050:  #E5FAF3;
  --sb-amber:      #F5A524;
  --sb-amber-050:  #FEF4E1;
  --sb-paper:      #F4F7FB;
  --sb-paper-2:    #EAF0F7;
  --sb-white:      #FFFFFF;
  --sb-text:       #1B2A44;
  --sb-muted:      #5B6B86;
  --sb-faint:      #8A99B4;
  --sb-on-navy:    #E7EEFB;
  --sb-on-navy-mut:#9FB2D8;
  --sb-line:       #DEE6F1;
  --sb-line-2:     #CBD6E8;
  --sb-r-sm: 8px;
  --sb-r:    14px;
  --sb-r-lg: 22px;
  --sb-r-xl: 30px;
  --sb-r-pill: 999px;
  --sb-shadow-1: 0 1px 2px rgba(7,22,52,.06), 0 2px 8px rgba(7,22,52,.05);
  --sb-shadow-2: 0 8px 24px rgba(7,22,52,.09), 0 2px 6px rgba(7,22,52,.05);
  --sb-shadow-3: 0 24px 60px rgba(7,22,52,.16), 0 6px 16px rgba(7,22,52,.08);
  --sb-shadow-blue: 0 14px 34px rgba(22,87,240,.30);
  --sb-ease: cubic-bezier(.22,.61,.36,1);
  --sb-ease-out: cubic-bezier(.16,1,.3,1);
  --sb-fast: .28s;
  --sb-med: .5s;
}

/* ----------------------------------------------------------- Status Chips */
.sb-chip {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono, monospace); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--sb-r-pill);
  background: var(--sb-paper-2); color: var(--sb-muted);
  border: 1px solid var(--sb-line);
}
.sb-chip .sb-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sb-chip--active { background: var(--sb-green-050); color: #067a56; border-color: rgba(0,195,137,.3); }
.sb-chip--active .sb-dot { background: var(--sb-green); box-shadow: 0 0 0 0 rgba(0,195,137,.6); animation: sb-pulse 2s infinite; }
.sb-chip--soon { background: var(--sb-amber-050); color: #9a6300; border-color: rgba(245,165,36,.3); }
.sb-chip--soon .sb-dot { background: var(--sb-amber); }

@keyframes sb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,195,137,.55); }
  70% { box-shadow: 0 0 0 8px rgba(0,195,137,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,195,137,0); }
}

/* =============================================================================
   SERVICES GROUPED GRID & HOVER COLOR FLOOD CARDS
   ============================================================================= */
.sb-services__groups { display: grid; gap: 48px; margin-top: 36px; }
.sb-svc-group__label {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 2px solid var(--sb-line); margin-bottom: 24px;
}
.sb-svc-group__label h3 { font-size: 1.35rem; font-weight: 800; color: var(--sb-ink); margin: 0; }
.sb-svc-group__count { font-family: var(--font-mono, monospace); font-size: .85rem; font-weight: 700; color: var(--sb-blue); background: var(--sb-blue-050); padding: 4px 10px; border-radius: var(--sb-r-pill); }

.sb-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.sb-svc-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--sb-white); border: 1.5px solid var(--sb-line);
  border-radius: var(--sb-r-lg); padding: 28px;
  display: flex; flex-direction: column; min-height: 320px;
  box-shadow: var(--sb-shadow-1);
  transition: transform var(--sb-fast) var(--sb-ease), border-color var(--sb-fast), box-shadow var(--sb-fast);
}
.sb-svc-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, var(--sb-blue) 0%, var(--sb-navy) 100%);
  transform: translateY(101%); transition: transform .58s var(--sb-ease-out);
}
.sb-svc-card--active::after {
  background: linear-gradient(150deg, #00A874 0%, #05432F 100%);
}
.sb-svc-card:hover::after, .sb-svc-card:focus-visible::after { transform: translateY(0); }
.sb-svc-card:hover, .sb-svc-card:focus-visible { transform: translateY(-4px); border-color: transparent; box-shadow: var(--sb-shadow-3); }
.sb-svc-card:hover h4, .sb-svc-card:focus-visible h4 { color: #fff; }
.sb-svc-card:hover p, .sb-svc-card:focus-visible p { color: rgba(255,255,255,.9); }

.sb-svc-card__no {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-heading, sans-serif); font-size: 2.7rem; font-weight: 800; line-height: 1;
  letter-spacing: -.05em; color: var(--sb-paper-2);
  transition: color var(--sb-med) var(--sb-ease);
}
.sb-svc-card:hover .sb-svc-card__no { color: rgba(255,255,255,.24); }

.sb-svc-card__ico {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--sb-blue-050); color: var(--sb-blue);
  display: grid; place-items: center; margin-bottom: 20px;
  position: relative; z-index: 1;
  transition: transform var(--sb-fast) var(--sb-ease), background var(--sb-fast), color var(--sb-fast);
}
.sb-svc-card--active .sb-svc-card__ico { background: var(--sb-green-050); color: #00B87A; }
.sb-svc-card:hover .sb-svc-card__ico { background: rgba(255,255,255,.18); color: #fff; transform: scale(1.08) rotate(-7deg); }
.sb-svc-card__ico svg { width: 26px; height: 26px; }

.sb-svc-card h4 { font-size: 1.25rem; font-weight: 800; color: var(--sb-ink); margin-bottom: 12px; line-height: 1.3; transition: color var(--sb-fast); }

.sb-svc-card__list { list-style: none; margin: 14px 0 0; padding: 0; flex: 1; }
.sb-svc-card__list li {
  position: relative; padding: 4px 0 4px 18px;
  font-size: .88rem; color: var(--sb-muted); transition: color var(--sb-med) var(--sb-ease);
}
.sb-svc-card__list li::before {
  content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px;
  border-radius: 2px; background: currentColor; opacity: .5;
}
.sb-svc-card:hover .sb-svc-card__list li { color: rgba(255,255,255,.88); }

.sb-svc-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--sb-line); transition: border-color var(--sb-fast); }
.sb-svc-card:hover .sb-svc-card__foot { border-top-color: rgba(255,255,255,.2); }
.sb-svc-card:hover .sb-chip { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; }

.sb-svc-card__go {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--sb-line); display: grid; place-items: center;
  color: var(--sb-blue); transition: all var(--sb-fast);
}
.sb-svc-card:hover .sb-svc-card__go { background: #fff; border-color: #fff; color: var(--sb-navy); transform: translateX(3px); }
.sb-svc-card__go svg { width: 16px; height: 16px; }

/* =============================================================================
   SYNCHRONIZED AUTOMATED OPERATIONAL LIFECYCLE (HOW IT WORKS)
   ============================================================================= */
.sb-flow { position: relative; overflow: hidden; background: var(--sb-navy); color: var(--sb-on-navy); padding: clamp(64px, 8vw, 112px) 0; }
.sb-flow__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 48% at 14% 10%, rgba(22,87,240,.55), transparent 62%),
    radial-gradient(52% 44% at 88% 86%, rgba(76,134,255,.30), transparent 64%);
}
.sb-flow__bg::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 78%);
}
.sb-flow > .container { position: relative; z-index: 1; }

.sb-flow__body {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
  margin-top: clamp(32px, 4.5vw, 54px);
}


.sb-flow__signals { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: clamp(30px, 4vw, 46px); }
.sb-flow__sig {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: var(--sb-r-pill);
  background: rgba(255,255,255,.05); border: 1px solid var(--sb-navy-line);
  font-size: .875rem; font-weight: 600; color: var(--sb-on-navy);
  transition: background var(--sb-fast) var(--sb-ease), border-color var(--sb-fast) var(--sb-ease), color var(--sb-fast);
}
.sb-flow__sig svg { width: 15px; height: 15px; color: var(--sb-faint); transition: color var(--sb-fast); }
.sb-flow__sig.is-ok { background: rgba(0,195,137,.13); border-color: rgba(0,195,137,.42); color: #fff; }
.sb-flow__sig.is-ok svg { color: var(--sb-green); }

/* =============================================================================
   COMPANY OVERVIEW PLATFORM PREVIEW WINDOW
   ============================================================================= */
.sb-preview { position: relative; border-radius: var(--sb-r-lg); overflow: hidden; background: linear-gradient(160deg, var(--sb-navy), #071634); border: 1px solid var(--sb-navy-line); box-shadow: var(--sb-shadow-3); margin-top: 36px; }
.sb-preview__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--sb-navy-line); background: rgba(255,255,255,.03); }
.sb-preview__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); flex: none; }
.sb-preview__bar i:nth-child(1) { background: #ff5f57; } .sb-preview__bar i:nth-child(2) { background: #febc2e; } .sb-preview__bar i:nth-child(3) { background: #28c840; }
.sb-preview__url { margin-left: 8px; font-family: var(--font-mono, monospace); font-size: .7rem; color: var(--sb-on-navy-mut); letter-spacing: .04em; }
.sb-preview__body { padding: 24px; display: grid; gap: 16px; }
.sb-preview__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sb-preview__tile { background: rgba(255,255,255,.04); border: 1px solid var(--sb-navy-line); border-radius: var(--sb-r); padding: 16px; }
.sb-preview__tile-k { font-family: var(--font-mono, monospace); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-on-navy-mut); }
.sb-preview__tile-v { font-family: var(--font-heading, sans-serif); font-weight: 700; color: #fff; font-size: 1.05rem; margin-top: 6px; display: flex; align-items: center; gap: 7px; }
.sb-preview__tile-v svg { width: 17px; height: 17px; color: var(--sb-green); }
.sb-preview__wide { background: rgba(255,255,255,.04); border: 1px solid var(--sb-navy-line); border-radius: var(--sb-r); padding: 18px; }
.sb-preview__wide-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sb-preview__wide-head span { font-family: var(--font-mono, monospace); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sb-on-navy-mut); }
.sb-preview__wide-head .sb-sim__status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono, monospace); font-size: .68rem; color: var(--sb-green); }
.sb-preview__wide-head .sb-sim__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--sb-green); }
.sb-preview__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sb-preview__node { text-align: center; }
.sb-preview__node b { display: block; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--sb-blue), var(--sb-green)); margin-bottom: 8px; transform-origin: left; animation: sb-grow 2.4s var(--sb-ease) infinite; }
.sb-preview__node:nth-child(2) b { animation-delay: .3s; } .sb-preview__node:nth-child(3) b { animation-delay: .6s; } .sb-preview__node:nth-child(4) b { animation-delay: .9s; }
.sb-preview__node small { font-family: var(--font-mono, monospace); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sb-on-navy-mut); font-weight: 700; }
@keyframes sb-grow { 0%,100% { transform: scaleX(.4); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

@media (max-width: 980px) {
  .sb-flow__body { grid-template-columns: 1fr; }
  .sb-preview__row { grid-template-columns: 1fr; }
  .sb-preview__track { grid-template-columns: repeat(2, 1fr); }
}
