/**
 * ABT Business Solutions - Modern Enterprise Tech Design System
 * Framer-style visual layer: Clean, Minimal, Spacious, Editorial
 */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS (CSS VARIABLES)
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-dark-main: #0A0A0A;
  --bg-dark-card: #131316;
  --bg-dark-elevated: #1B1B20;
  --bg-dark-subtle: #17171C;
  --bg-light-main: #FFFFFF;
  --bg-light-subtle: #F6F7F9;
  --bg-light-card: #FFFFFF;
  
  --text-main: #FFFFFF;
  --text-sub: #E4E4E7;
  --muted-gray: #A1A1AA;
  --text-dark: #0A0A0A;
  --text-dark-sub: #27272A;
  --text-dark-muted: #6B7280;
  
  --accent-red: #D10A10;
  --accent-red-hover: #E02424;
  --accent-red-subtle: rgba(209, 10, 16, 0.12);
  --accent-red-border: rgba(209, 10, 16, 0.25);
  --accent-navy: #002B66;
  --accent-navy-hover: #003B8B;
  --accent-glow: rgba(209, 10, 16, 0.22);
  
  --border-hair: rgba(255, 255, 255, 0.08);
  --border-hair-strong: rgba(255, 255, 255, 0.15);
  --border-light: rgba(0, 0, 0, 0.08);
  --border-light-strong: rgba(0, 0, 0, 0.14);
  --white: #FFFFFF;
  
  /* Typography */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 20px 48px -10px rgba(0, 0, 0, 0.6);
  --shadow-light-card: 0 10px 30px -6px rgba(0, 0, 0, 0.08);
  --shadow-light-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s ease-out;
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg-dark-main);
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

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

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background: var(--accent-red);
  color: var(--white);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  z-index: 99999;
  transition: top 0.25s ease-out;
  box-shadow: 0 8px 24px rgba(209, 10, 16, 0.4);
}
.skip-link:focus {
  top: 24px;
  outline: 2px solid var(--white);
}

/* Editorial Serif Accent */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-red);
  letter-spacing: 0.01em;
}

/* Universal Focus States */
:focus-visible {
  outline: 2px solid var(--accent-red) !important;
  outline-offset: 3px !important;
}

/* ==========================================================================
   3. HEADER & NAVIGATION (STICKY TRANSPARENT-TO-SOLID)
   ========================================================================== */
header {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  border-bottom: 1px solid var(--border-hair);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  max-width: 100vw;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  max-width: 190px;
  width: 100%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.logo:hover {
  opacity: 0.92;
  transform: scale(0.99);
}

.logo-img {
  width: 100%;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  display: block;
}

/* Nav Desktop */
nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  letter-spacing: -0.01em;
}

nav a {
  opacity: 0.78;
  padding: 6px 4px;
  position: relative;
  transition: var(--transition-fast);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  border-radius: var(--radius-full);
  transition: width 0.25s ease;
}

nav a:hover {
  opacity: 1;
  color: var(--white);
}
nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active {
  opacity: 1;
  color: var(--white);
  font-weight: 600;
}

/* Mobile actions container - strictly hidden on desktop */
.mobile-actions {
  display: none !important;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.header-right a {
  transition: var(--transition-fast);
}
.header-right a:not([class*="btn"]) {
  color: var(--white);
  opacity: 0.85;
  padding: 8px 14px;
  border-radius: var(--radius-full);
}
.header-right a:not([class*="btn"]):hover {
  opacity: 1;
  color: var(--white);
}

/* Pill CTA Buttons */
.btn-solid {
  background: var(--accent-red);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(209, 10, 16, 0.35);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-solid:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(209, 10, 16, 0.5);
  color: var(--white);
}

.btn-outline {
  border: 1px solid var(--border-hair-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateY(-2px);
}

/* Mobile Toggles */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  line-height: 1;
  border-radius: var(--radius-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

/* Mobile Menu & Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #111114;
  border-left: 1px solid var(--border-hair);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  gap: 20px;
  z-index: 1050;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu a {
  font-size: 17px;
  font-weight: 500;
  padding: 8px 0;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mobile-menu a.active,
.mobile-menu a:hover {
  color: var(--accent-red);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1040;
}
.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hair);
  color: var(--white);
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition-fast);
}
.mobile-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* ==========================================================================
   4. HERO SECTION (OVERSIZED HEADLINE, SPACIOUS, EDITORIAL)
   ========================================================================== */
.hero {
  padding: 80px 6% 90px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Subtle background glow for hero */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 10, 16, 0.08) 0%, rgba(0, 43, 102, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* Eyebrow Label */
.hero-tier-1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  max-width: 100%;
  flex-wrap: wrap;
}
.hero-tier-1 .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  display: inline-block;
  animation: pulseDot 2.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Hero H1 */
.hero-tier-2 h1 {
  font-size: clamp(42px, 6.2vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--white);
  max-width: 1180px;
  margin-bottom: 36px;
}

/* Hero Tier 3: 2-column layout */
.hero-tier-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 10px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-copy p {
  font-size: 18px;
  line-height: 1.68;
  color: var(--muted-gray);
  max-width: 540px;
}

.hero-cta-group,
.hero-cta-wrapper {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-hair-strong);
  background: var(--bg-dark-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-image-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-image-wrapper:hover img {
  transform: scale(1.025);
}

/* ==========================================================================
   5. METRICS STRIP (MINIMALIST / HIGH-IMPACT BIG NUMERALS)
   ========================================================================== */
.metrics-strip,
.proof-section {
  padding: 0 6% 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}
.metric-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.metric-num,
.metric-item h3 {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}
.metric-item h3 span {
  color: var(--accent-red);
}

.metric-label,
.metric-item p {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   6. SECTION HEADINGS & COMMON LABELS
   ========================================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent-red);
}

.section-heading {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}

.section-subheading {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-gray);
  max-width: 640px;
}

/* ==========================================================================
   7. PROMO SECTIONS (EDITORIAL CONTRAST — LIGHT CONTENT AREAS)
   ========================================================================== */
.promo-section {
  background: var(--bg-light-main);
  color: var(--text-dark);
  padding: 100px 6%;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.promo-section.alt-bg {
  background: var(--bg-light-subtle);
}

.promo-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.promo-grid.reverse {
  direction: rtl;
}
.promo-grid.reverse > * {
  direction: ltr;
}

.promo-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-section .section-label {
  background: rgba(209, 10, 16, 0.08);
  color: var(--accent-red);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(209, 10, 16, 0.16);
  width: fit-content;
}

.promo-section .section-heading {
  color: var(--text-dark);
}

.promo-content p {
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-dark-muted);
}

.promo-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-light-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: var(--bg-light-card);
}
.promo-image:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
}
.promo-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.promo-image:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   8. PLATFORMS & SERVICES BENTO GRID (DARK SECTION)
   ========================================================================== */
.platforms,
.content-section,
.section-container {
  padding: 110px 6%;
  max-width: 1440px;
  margin: 0 auto;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.platform-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-hair-strong), transparent);
  transition: background 0.3s ease;
}
.platform-card:hover {
  transform: translateY(-5px);
  background: var(--bg-dark-elevated);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-card-hover);
}
.platform-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.platform-card-num {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  margin-bottom: 16px;
}

.platform-card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.platform-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-gray);
}

/* ==========================================================================
   9. CAPABILITIES & TABS SECTION (EDITORIAL INTERACTIVE)
   ========================================================================== */
.capabilities {
  padding: 100px 6% 120px;
  max-width: 1440px;
  margin: 0 auto;
}

.tab-buttons {
  display: inline-flex;
  gap: 8px;
  background: var(--bg-dark-card);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hair);
  margin: 36px 0;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  color: var(--muted-gray);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.tab-btn:hover {
  color: var(--white);
}
.tab-btn.active {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

#tab-content-container {
  margin-top: 10px;
}

.tab-content {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.tab-panel-text h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}
.tab-panel-text p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted-gray);
  margin-bottom: 28px;
}

.tab-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tab-feature-list li {
  font-size: 15px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 12px;
}
.tab-feature-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--accent-red-subtle);
  color: var(--accent-red);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--accent-red-border);
}

/* ==========================================================================
   10. DOMAIN / SOLUTIONS PAGES (.GRID-6 & FILTER PILLS)
   ========================================================================== */
.tech-filters {
  display: flex;
  gap: 10px;
  margin: 36px 0 48px;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  color: var(--muted-gray);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.filter-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: translateY(-2px);
}
.filter-pill.active {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

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

.card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.card:hover {
  transform: translateY(-4px);
  background: var(--bg-dark-elevated);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-card-hover);
}

.card-tag,
.job-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-red-subtle);
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  border: 1px solid var(--accent-red-border);
  width: fit-content;
}

.card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted-gray);
}

/* ==========================================================================
   11. CAPABILITIES WIDGET PAGE (CAPABILITIES.HTML)
   ========================================================================== */
.capabilities-header {
  padding: 80px 6% 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.capabilities-widget {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 6% 120px;
}

.capabilities-sidebar {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #71717A;
  padding: 14px 12px 6px;
}

.capabilities-sidebar .tab-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--muted-gray);
  background: transparent;
  text-align: left;
  border-left: 2px solid transparent;
  transition: var(--transition-fast);
}
.capabilities-sidebar .tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}
.capabilities-sidebar .tab-btn.active {
  background: rgba(209, 10, 16, 0.08);
  color: var(--white);
  border-left-color: var(--accent-red);
  font-weight: 600;
}

.capabilities-sidebar .badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-gray);
}
.capabilities-sidebar .tab-btn.active .badge {
  background: var(--accent-red);
  color: var(--white);
}

/* Technology Partners Banner */
.partners-banner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 6% 80px;
  text-align: center;
}
.partners-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-gray);
  margin-bottom: 24px;
}
.partners-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.partner-chip {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition-smooth);
}
.partner-chip:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.capabilities-content {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeInPanel 0.3s ease;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 12px;
}
.panel-desc {
  font-size: 16px;
  color: var(--muted-gray);
  margin-bottom: 36px;
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sub-card {
  background: var(--bg-dark-subtle);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition-smooth);
}
.sub-card:hover {
  background: var(--bg-dark-elevated);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.sub-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.sub-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-gray);
}
.sub-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}
.sub-link:hover {
  color: var(--accent-red-hover);
  transform: translateX(4px);
}

/* ==========================================================================
   12. PRODUCT CARDS & GRID (BIZ-SOL-PRODUCTS.HTML)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.product-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.product-card:hover {
  transform: translateY(-5px);
  background: var(--bg-dark-elevated);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-card-hover);
}

.card-image-wrapper {
  overflow: hidden;
  height: 220px;
  background: var(--bg-dark-subtle);
}
.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-image-wrapper img {
  transform: scale(1.04);
}

.card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.card-content p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted-gray);
  margin-bottom: 24px;
  flex: 1;
}

/* ==========================================================================
   13. CAREERS JOB GRID (CAREERS.HTML)
   ========================================================================== */
.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.job-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: var(--transition-smooth);
}
.job-card:hover {
  transform: translateY(-4px);
  background: var(--bg-dark-elevated);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-card-hover);
}

.job-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.job-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-gray);
}

/* ==========================================================================
   14. CONTACT SECTION (CONTACT-US.HTML)
   ========================================================================== */
.contact-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 6% 120px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-info h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--white);
}
.contact-info p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-gray);
}

.contact-form {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}
.form-group input,
.form-group textarea {
  background: var(--bg-dark-subtle);
  border: 1px solid var(--border-hair-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(209, 10, 16, 0.2);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   15. FOOTER (DARK MULTI-COLUMN WITH CLEAN LEGAL ROW)
   ========================================================================== */
footer {
  background: #070708;
  border-top: 1px solid var(--border-hair);
  padding: 90px 6% 40px;
  color: var(--muted-gray);
}

.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted-gray);
  line-height: 2.2;
  transition: var(--transition-fast);
}
.footer-col a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-legal {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 13px;
  color: #71717A;
  transition: var(--transition-fast);
}
.footer-legal a:hover {
  color: var(--text-sub);
}

.copyright {
  max-width: 1440px;
  margin: 28px auto 0;
  font-size: 13px;
  color: #52525B;
  text-align: center;
}

/* Modal & Overlay Demo (cap-side-nav.html) */
.capabilities-trigger-btn {
  background: var(--accent-red);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(209, 10, 16, 0.4);
  transition: var(--transition-smooth);
}
.capabilities-trigger-btn:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(209, 10, 16, 0.6);
}

.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 20px;
}
.overlay-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.capabilities-modal {
  width: 100%;
  max-width: 1100px;
  height: 80vh;
  max-height: 700px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  position: relative;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: var(--transition-smooth);
}
.overlay-backdrop.active .capabilities-modal {
  transform: scale(1) translateY(0);
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hair);
  color: var(--white);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}
.close-modal-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.modal-sidebar {
  width: 280px;
  background: #0E0E11;
  border-right: 1px solid var(--border-hair);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 24px 0;
}
.sidebar-header {
  padding: 0 24px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  font-weight: 700;
}
.nav-item {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--muted-gray);
  padding: 14px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}
.nav-item.active {
  color: var(--white);
  background: rgba(209, 10, 16, 0.08);
  border-left-color: var(--accent-red);
}

.modal-content-area {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}
.modal-tab-panel {
  display: none;
}
.modal-tab-panel.active {
  display: block;
}

/* ==========================================================================
   16. MOTION & SCROLL REVEAL (RESPECTS PREFERS-REDUCED-MOTION)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-tier-2 h1,
  .hero-tier-1,
  .hero-copy,
  .hero-image-wrapper,
  .metrics-strip,
  .promo-grid,
  .platform-card,
  .tab-content,
  .card,
  .product-card,
  .job-card {
    animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  
  @keyframes revealUp {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ==========================================================================
   17. FULL RESPONSIVENESS (1200px, 1024px, 768px, 480px, 320px)
   ========================================================================== */
@media (max-width: 1200px) {
  .platform-grid,
  .grid-6,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  nav {
    gap: 18px;
    font-size: 13.5px;
  }
  .header-right {
    gap: 10px;
  }
  .header-right .btn-solid,
  .header-right .btn-outline {
    padding: 8px 16px;
    font-size: 13px;
  }
  .hero {
    padding: 60px 5% 70px;
  }
  .hero-tier-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image-wrapper img {
    height: 380px;
  }
  .promo-grid,
  .promo-grid.reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr;
  }
  .capabilities-widget {
    grid-template-columns: 1fr;
  }
  .capabilities-sidebar {
    position: static;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 5%;
  }
  
  /* Mobile nav toggles activate */
  .mobile-toggle,
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 6%;
    gap: 16px;
    border-bottom: 1px solid var(--border-hair);
    z-index: 999;
  }
  nav.open {
    display: flex;
  }
  nav a {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  nav .mobile-actions {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }
  nav .mobile-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-bottom: none;
    padding: 12px 20px;
  }
  
  .header-right {
    display: none;
  }
  
  .hero-tier-2 h1 {
    font-size: clamp(34px, 8vw, 48px);
    line-height: 1.1;
  }
  
  .metrics-strip,
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .metric-item {
    padding: 24px 20px;
  }
  
  .tab-content {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 36px;
  }
  .tab-buttons {
    border-radius: var(--radius-lg);
  }
  
  .platforms,
  .capabilities,
  .content-section,
  .promo-section {
    padding: 70px 5%;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 580px) {
  .platform-grid,
  .grid-6,
  .product-grid,
  .job-grid,
  .sub-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics-strip,
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 28px 20px;
  }
  .capabilities-content {
    padding: 28px 20px;
  }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
  }
  .marquee-item img {
    max-width: 140px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* Tablet adjustments */
  @media (max-width: 1024px) {
    .marquee-item img {
      max-width: 110px;
    }
  }
  /* Mobile adjustments */
  @media (max-width: 768px) {
    .marquee-item img {
      max-width: 90px;
    }
    .marquee-item {
      padding: 0 10px;
    }
  }