/* [XXX] B2B Website - Shared Styles */
/* Design System v1.0 - Based on design.md specification */

/* ========== CSS VARIABLES ========== */
:root {
  /* Blue Color Palette - Primary Brand Colors */
  --blue: #0066CC;
  --blue-light: #1A75FF;
  --blue-dark: #0052A3;
  
  /* Neutral Colors - Backgrounds & Text */
  --white: #FFFFFF;
  --black: #000000;
  --dark: #0A0A0A;
  --dark-90: #1A1A1A;
  --dark-70: #2A2A2A;
  
  /* Gray Scale - UI Elements */
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --gray-dark: #4B5563;
  --gray-bg: #F3F4F6;
  --gray-mid: #E5E7EB;
  
  /* Typography */
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ========== BOOTSTRAP ICONS (bi) ========== */
.bi {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== BASE RESET ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ========== TYPOGRAPHY ========== */
/* H1 - Hero/Main Title: clamp(2rem, 4vw, 3rem), weight 900, line-height 1.15, letter-spacing -0.03em */
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* H2 - Section Title: clamp(2rem, 4vw, 3rem), weight 900, line-height 1.15, letter-spacing -0.03em */
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* H3 - Card Title: 1.375rem (22px), weight 800, line-height 1.3, letter-spacing -0.02em */
h3 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* H4 - Small Title: 1rem (16px), weight 700, line-height 1.4 */
h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* H5 - Footer Title: 0.9375rem (15px), weight 700, line-height 1.4 */
h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Paragraph: 1rem (16px), weight 400, line-height 1.7, color --gray-dark */
p {
  color: var(--gray-dark);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}

.text-white p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* ========== SECTION BASE ========== */
/* Section padding: 8rem (PC), 6rem (Tablet), 5rem (Mobile) */
.section { padding: 8rem 0; position: relative; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray-bg); }

/* ========== NAVBAR ========== */
/* Fixed top, white background, shadow, z-index 1000 */
.navbar {
  background: var(--white);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Brand: weight 900, size 1.5rem, letter-spacing -0.02em */
.navbar-brand {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--black);
  letter-spacing: -0.02em;
}
.navbar-brand:hover { color: var(--blue); }

/* Nav Link: weight 600, size 0.9375rem, padding 0.5rem 1.5rem */
.nav-link {
  font-weight: 600;
  color: var(--black);
  padding: 0.5rem 1.5rem;
  transition: color 0.2s;
  font-size: 0.9375rem;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }

.navbar-nav { gap: 0.5rem; }

/* Dropdown Menu */
.dropdown-menu {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 180px;
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--gray-bg);
  color: var(--blue);
}

.dropdown-item.active {
  background: var(--blue);
  color: white;
}

.dropdown-toggle::after {
  margin-left: 0.5rem;
  border-width: 4px;
}

/* Nav Button: blue bg, weight 700, size 0.875rem, padding 0.625rem 1.25rem, radius 6px */
.btn-nav {
  background: var(--blue);
  color: white;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  transition: all 0.2s;
  border: none;
  font-size: 0.875rem;
  display: inline-block;
  text-decoration: none;
}
.btn-nav:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  color: white;
}

.navbar-collapse { display: none; flex-basis: auto; }
.navbar-collapse.show { display: flex; }
.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  color: var(--black);
}
.navbar-toggler:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.navbar-toggler-icon {
  display: inline-block;
  width: 22px;
  height: 16px;
  background-image: none;
  position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon b {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .2s, opacity .2s, top .2s;
}
.navbar-toggler-icon::before { top: 0; }
.navbar-toggler-icon b { top: 7px; }
.navbar-toggler-icon::after { top: 14px; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before { top: 7px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon b { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after { top: 7px; transform: rotate(-45deg); }

@media (min-width: 992px) {
  .navbar-collapse { display: flex !important; }
  .navbar-toggler { display: none !important; }
}

/* Mobile: navbar-collapse as full-width dropdown panel */
@media (max-width: 991.98px) {
  .navbar { padding: 0.75rem 0; }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    padding: 0.75rem;
    margin-top: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    z-index: 999;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .navbar-collapse .navbar-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .navbar-collapse .nav-link { padding: 0.75rem 1rem; font-size: 1rem; }
  .navbar-collapse .dropdown-menu { 
    position: static; 
    box-shadow: none; 
    border: none; 
    padding: 0 0 0 1rem;
    display: none;
    background: transparent;
    margin: 0;
    min-width: 0;
  }
  .navbar-collapse .dropdown.open > .dropdown-menu { display: block; }
  .navbar-collapse .dropdown-toggle::after { 
    transition: transform .2s; 
    display: inline-block;
  }
  .navbar-collapse .dropdown.open > .dropdown-toggle::after { transform: rotate(180deg); }
  .navbar-collapse .dropdown-item { 
    padding: 0.625rem 1rem 0.625rem 1.5rem; 
    font-size: 0.9375rem; 
    color: var(--gray-dark);
  }
  .navbar-collapse .dropdown-item:hover { background: var(--gray-bg); color: var(--blue); }
  .navbar-collapse .btn-nav { margin-top: 0.5rem; width: 100%; text-align: center; padding: 0.875rem 1rem; }
  .navbar > .container { position: relative; }
}

/* ========== HERO ========== */
/* Hero (Home): gradient 135deg blue, padding 9rem 0 7rem, min-height 70vh */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(0,102,204,0.92) 0%, rgba(26,117,255,0.88) 50%, rgba(0,82,163,0.95) 100%);
  color: white;
  padding: 9rem 0 7rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: overlay;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(26,117,255,0.3) 0%, transparent 40%);
  z-index: 1;
}

.hero .container { position: relative; z-index: 2; }
.hero h1 { color: white; margin-bottom: 1.5rem; }
.hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.125rem;
  max-width: 580px;
  font-weight: 500;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem 2.5rem;
  margin: 2.5rem 0;
}
.hero-stat { min-width: 130px; }
.hero-stat-value {
  font-size: clamp(2.25rem, 3.5vw, 2.875rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.hero-image {
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

/* ===== Hero B: full-screen video + dark overlay + giant headline ===== */
.hero-b {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  padding-left: clamp(2rem, 8vw, 8rem);
}
.hero-b__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-b__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  animation: hero-b-zoom 18s ease-in-out infinite alternate;
}
.hero-b__slide.is-active { opacity: 1; }
@keyframes hero-b-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-b__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.65) 35%,
      rgba(0,0,0,0.25) 70%,
      rgba(0,0,0,0.05) 100%),
    radial-gradient(circle at 80% 30%, rgba(0,102,204,0.18) 0%, transparent 50%);
}
.hero-b__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-b__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
}
.hero-b__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-b__trust-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(26,117,255,0.8);
}
.hero-b__h1 {
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  max-width: 22ch;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-b__sub {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 0 2.5rem;
  font-weight: 400;
}
.hero-b__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.btn-b-glow {
  background: var(--blue);
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  box-shadow: 0 0 0 0 rgba(0,102,204,0.5), 0 12px 30px rgba(0,102,204,0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}
.btn-b-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(0,102,204,0.18), 0 18px 40px rgba(0,102,204,0.5);
  background: var(--blue-light);
  color: #fff;
}
.btn-b-ghost {
  background: transparent;
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}
.btn-b-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.hero-b__scroll {
  position: absolute;
  left: clamp(2rem, 8vw, 8rem);
  bottom: 2.5rem;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.hero-b__scroll-line {
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.hero-b__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-light);
  animation: hero-b-scroll 2.2s ease-in-out infinite;
}
@keyframes hero-b-scroll {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
/* Slide indicators (bottom-left, above scroll hint) */
.hero-b__indicators {
  position: absolute;
  left: clamp(2rem, 8vw, 8rem);
  bottom: 5.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.625rem;
  border-radius: 999px;
}
.hero-b__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.hero-b__dot:hover { background: rgba(255,255,255,0.7); }
.hero-b__dot.is-active {
  background: var(--blue-light);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(26,117,255,0.7);
}

@media (max-width: 767px) {
  .hero-b { padding: 6rem 1.5rem 4rem; min-height: 600px; height: auto; }
  .hero-b__h1 { font-size: 2.25rem; }
  .hero-b__sub { font-size: 0.9375rem; }
  .hero-b__scroll { left: 1.5rem; bottom: 1.5rem; }
  .hero-b__indicators { left: 1.5rem; bottom: 4.5rem; }
}


/* Hero Page (Inner Pages): padding 7rem 0 5rem, no min-height */
/* Upgraded: dark background + blue mesh + dot grid + glass trust chips
   Targets about/applications/faqs/contact (no .product modifier) */
.hero-page {
  position: relative;
  background: linear-gradient(180deg, var(--dark-90) 0%, var(--dark) 100%);
  color: white;
  padding: 8rem 0 5.5rem;
  overflow: hidden;
}
.hero-page::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 700px 500px at 15% 20%, rgba(0,102,204,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 80%, rgba(26,117,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-page::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  pointer-events: none;
}

.hero-page .container { position: relative; z-index: 2; }

/* Inner pages (about/applications/faqs/contact) — center hero content.
   Product pages (.hero-page.product) keep left alignment with the white text card. */
.hero-page:not(.product) .container {
  text-align: center;
}
.hero-page:not(.product) h1,
.hero-page:not(.product) p {
  margin-left: auto;
  margin-right: auto;
}
.hero-page:not(.product) h1::after {
  margin-left: auto;
  margin-right: auto;
}
.hero-page:not(.product) .hero-eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.hero-page h1 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.hero-page h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 2px;
  margin-top: 1.25rem;
  box-shadow: 0 0 12px rgba(26,117,255,0.5);
}
.hero-page p {
  color: rgba(255,255,255,0.82);
  font-size: 1.0625rem;
  max-width: 640px;
  line-height: 1.7;
}

/* Hero page eyebrow (page-tag above H1) */
.hero-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  padding: 0.4375rem 0.9375rem;
  background: rgba(26,117,255,0.10);
  border: 1px solid rgba(26,117,255,0.28);
  border-radius: 999px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-page .hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(26,117,255,0.8);
}

/* Product hero: when a hero-text-card wraps the H1/P, use dark text on the white card.
   The eyebrow pill is blue-bg, so its text must stay white (not blue-on-blue). */
.hero-page.product .hero-text-card h1 { color: var(--black); }
.hero-page.product .hero-text-card p { color: var(--gray-dark); }
.hero-page.product .hero-text-card .product-eyebrow { color: var(--white); }
/* Suppress inner-page hero decoration when product hero is used */
.hero-page.product h1::after { display: none; }
.hero-page.product .hero-eyebrow { display: none; }

/* Inner page section title decoration (scoped via .inner-page body class) */
body.inner-page .section h2 {
  position: relative;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}
body.inner-page .section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(26,117,255,0.4);
}
/* When section title is centered, center the underline too */
body.inner-page .section h2.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Inner page section background: subtle gradient + blue corner glow */
body.inner-page .section-white {
  background: linear-gradient(180deg, var(--white) 0%, #FAFBFC 100%);
  position: relative;
  overflow: hidden;
}
body.inner-page .section-white::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 700px 400px at 100% 0%, rgba(0,102,204,0.04) 0%, transparent 60%);
  pointer-events: none;
}
body.inner-page .section-white .container { position: relative; z-index: 1; }

body.inner-page .section-gray {
  background: var(--gray-bg);
  position: relative;
  overflow: hidden;
}
body.inner-page .section-gray::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 700px 400px at 0% 100%, rgba(0,102,204,0.05) 0%, transparent 60%);
  pointer-events: none;
}
body.inner-page .section-gray .container { position: relative; z-index: 1; }

/* Section eyebrow chip (used above section H2 in inner pages) */
body.inner-page .section .section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.375rem 0.875rem;
  background: rgba(0,102,204,0.08);
  border: 1px solid rgba(0,102,204,0.18);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
body.inner-page .section .text-center .section-eyebrow { display: inline-block; }

/* ========== BUTTONS ========== */
/* Primary Button: blue bg, white text, weight 800, size 0.9375rem, padding 0.75rem 1.5rem, radius 6px */
.btn-primary {
  background: var(--blue);
  color: white;
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  font-size: 0.9375rem;
}
.btn-primary:hover { background: var(--blue-dark); color: white; }

/* Hero White Button: white bg, blue text, weight 800, size 1rem, padding 1rem 2rem, hover translateY -2px + shadow */
.btn-hero-white {
  background: white;
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
.btn-hero-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  color: var(--blue);
}

/* Hero Outline Button: transparent bg, white border 2px, weight 700, size 0.9375rem, hover semi-transparent white bg */
.btn-hero-outline {
  background: transparent;
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  border: 2px solid white;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); color: white; }

/* Product page hero overrides — section has light bg, so white-text buttons need to be re-themed */
.hero-page.product .btn-hero-white {
  background: var(--blue);
  color: #fff;
  border: none;
}
.hero-page.product .btn-hero-white:hover {
  background: var(--blue-light);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,102,204,0.30);
}
.hero-page.product .btn-hero-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.hero-page.product .btn-hero-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* Dark Button: black bg, white text, weight 800, size 1rem, padding 1rem 2rem, hover translateY -2px + shadow */
.btn-dark {
  background: var(--black);
  color: white;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 6px;
  border: none;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  color: white;
}

/* ========== TRUST BAR ========== */
.trust-bar {
  position: relative;
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-mid);
  overflow: hidden;
}
.trust-bar .container { position: relative; z-index: 1; }

/* Trust item: glass-feel card with hover */
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 100%);
  border: 1px solid var(--gray-mid);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.trust-item:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 10px 20px rgba(0,102,204,0.10);
}
.trust-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,102,204,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.trust-icon svg { width: 24px; height: 24px; color: var(--white); }
.trust-text { font-weight: 800; color: var(--black); font-size: 0.9375rem; line-height: 1.2; }
.trust-sub { font-size: 0.75rem; color: var(--gray); font-weight: 500; margin-top: 2px; }

/* ========== CAPABILITIES CARDS ========== */
/* Card: border 2px --gray-mid, radius 12px, padding 2.5rem 2rem, hover translateY -4px + blue border + shadow */
.cap-card {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cap-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,102,204,0.12);
}

.cap-icon {
  width: 72px;
  height: 72px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}
.cap-icon svg { width: 36px; height: 36px; color: white; }

.cap-card h3 { margin-bottom: 1rem; color: var(--black); }
.cap-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0;
  flex-grow: 1;
}

/* ========== PRODUCTS SECTION ========== */
.product-section {
  position: relative;
  background: linear-gradient(180deg, var(--dark-70) 0%, var(--dark) 50%, var(--black) 100%);
  color: white;
  overflow: hidden;
}

.product-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: overlay;
  z-index: 0;
}

.product-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(0,102,204,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 100%, rgba(0,102,204,0.1) 0%, transparent 40%);
  z-index: 1;
}

.product-section .container { position: relative; z-index: 2; }
.product-section h2 { color: white; }

/* Product Card: border 2px --gray-mid, radius 12px, padding 2rem, hover translateY -4px + blue border + shadow */
.product-card {
  background: var(--gray-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s;
  border: 2px solid var(--gray-mid);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(0,102,204,0.12);
}

/* Product Image: white bg, height 320px (PC) / 240px (Mobile), object-fit contain, padding 1rem */
.product-img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--white);
  padding: 1rem;
}

/* Product Full Width Image - for products.html */
.product-img-full {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background: var(--white);
  padding: 1rem;
  border-radius: 0.5rem 0.5rem 0 0;
}

/* Product Card Full - for products.html */
.product-card-full {
  background: white;
  border: 1px solid var(--gray-mid);
  border-radius: 0.5rem;
  overflow: hidden;
}

.product-content-full {
  padding: 2rem;
}

.product-content { padding: 1.5rem 1.5rem 1.75rem; }
.product-name {
  font-size: 1.375rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--black);
}
.product-tagline {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Product Specs Table */
.product-specs { margin-bottom: 1.5rem; }
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-mid);
  font-size: 0.875rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--gray-dark); font-weight: 600; }
.spec-value { color: var(--black); font-weight: 700; }

/* ===== Home products section: lightweight cards (5 products) ===== */
/* Eyebrow tag above product name */
.product-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 102, 204, 0.08);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.625rem;
}
.product-eyebrow-wash {
  color: var(--white);
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
}

/* Highlight pill row (replaces dense spec table on home) */
.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}
.highlight-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-dark);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Scene cover image variant for cleaning drone cards (mc15 / mc30) */
.product-img-scene {
  height: 240px;
  object-fit: cover;
  background: var(--dark-90);
  padding: 0;
}

/* ===== Category heading (above each row of cards on home products) ===== */
.product-category-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
  text-align: left;
}
.product-category-head:first-of-type { margin-top: 1rem; }

/* Centered variant: no left bar, content centered */
.product-category-head-center {
  flex-direction: column;
  text-align: center;
  gap: 0.5rem;
  margin: 3rem 0 1.75rem;
  position: relative;
  padding-top: 1.5rem;
}
.product-category-head-center::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 2px;
}
.product-category-head-center .product-category-sub { margin-left: auto; margin-right: auto; }
.product-category-bar {
  display: block;
  width: 4px;
  align-self: stretch;
  min-height: 44px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 2px;
  flex-shrink: 0;
}
.product-category-text { flex: 1; }
.product-category-title {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 0 0 0.25rem;
  line-height: 1.25;
}
.product-category-sub {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
  max-width: 720px;
}

@media (max-width: 575px) {
  .product-category-head { gap: 0.875rem; margin: 2rem 0 1.25rem; }
  .product-category-bar { min-height: 40px; width: 3px; }
  .product-category-head-center { margin: 2.25rem 0 1.5rem; padding-top: 1.125rem; }
}

/* Product Detail Page */
.product-detail {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.product-detail-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-detail-img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 1rem;
}

.product-detail-info h2 { margin-bottom: 0.5rem; }
.product-detail-info p { margin-bottom: 1rem; }

/* Specs Table Full */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.specs-table th {
  background: var(--blue);
  color: white;
  padding: 1rem;
  font-weight: 700;
  text-align: left;
  font-size: 0.875rem;
}

.specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-mid);
  font-size: 0.875rem;
}

.specs-table tr:nth-child(even) { background: var(--gray-bg); }
.specs-table .spec-cat {
  background: var(--gray-mid);
  font-weight: 700;
  color: var(--black);
}

/* ========== APPLICATIONS SECTION ========== */
.app-section {
  position: relative;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  color: white;
  overflow: hidden;
}

.app-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  mix-blend-mode: overlay;
  z-index: 0;
}

.app-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(255,255,255,0.12) 0%, transparent 30%),
    radial-gradient(circle at 100% 50%, rgba(0,82,163,0.20) 0%, transparent 30%),
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
  z-index: 1;
}

.app-section .container { position: relative; z-index: 2; }
.app-section h2 { color: white; }

/* Application Card: border 1px --gray-mid, radius 10px, padding 1.5rem, hover translateY -4px + shadow */
.app-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.25s;
  cursor: pointer;
  color: var(--black);
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.app-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 14px rgba(0,102,204,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
}
.app-icon svg { width: 24px; height: 24px; color: var(--white); }

.app-card h4 {
  margin-bottom: 0.5rem;
  color: var(--black);
  font-weight: 800;
  font-size: 0.9375rem;
}
.app-card p {
  color: var(--gray-dark);
  font-size: 0.8125rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ========== STATS SECTION ========== */
.stat-section {
  position: relative;
  background: var(--blue-dark);
  overflow: hidden;
}

.stat-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/world-network-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  z-index: 0;
}

/* Dark navy semi-transparent overlay on top of the bg image */
.stat-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0,102,204,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(26,117,255,0.28) 0%, transparent 55%),
    rgba(10, 25, 56, 0.65);
  z-index: 0;
  pointer-events: none;
}

.stat-section .container { position: relative; z-index: 2; }

/* Decorative top eyebrow for stat section */
.stat-section .row { margin-top: 1rem; }

.stat-box {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(26,117,255,0.45);
}

/* Big number watermark behind each stat */
.stat-box__num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.04em;
  z-index: 0;
  pointer-events: none;
}

/* Blue accent line above each stat (decorative) */
.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(26,117,255,0.6);
}

/* Faint number background watermark (subtle design accent) */
.stat-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(26,117,255,0.25) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

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

/* Stat Value: size 3.5rem (PC) / 2rem (Mobile), weight 900 */
.stat-value {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
  /* Glow for emphasis */
  text-shadow: 0 0 32px rgba(26, 117, 255, 0.35);
}

/* Stat Label: size 0.9375rem, weight 700 */
.stat-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--black);
}

/* Stat Section on blue background - white text for contrast */
.stat-section .stat-value {
  color: #fff;
  text-shadow: 0 0 36px rgba(255, 255, 255, 0.22);
}
.stat-section .stat-label {
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}
.stat-section .stat-box::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 60%);
}

/* ========== CERTIFICATIONS SECTION ========== */
.cert-section {
  position: relative;
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  overflow: hidden;
}

/* Decorative gradient mesh behind cert grid */
.cert-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,102,204,0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(26,117,255,0.06) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}

.cert-section .container { position: relative; z-index: 1; }

/* Eyebrow tag above cert title */
.cert-section .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.375rem 0.875rem;
  background: rgba(0,102,204,0.08);
  border: 1px solid rgba(0,102,204,0.18);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* Section subtitle under H2 */
.cert-section .section-sub {
  color: var(--gray-dark);
  font-size: 1rem;
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.cert-item {
  text-align: center;
  padding: 2.25rem 1.5rem 2rem;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}
.cert-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 0 0 2px 2px;
  opacity: 0.65;
  transition: width 0.3s ease, opacity 0.3s ease;
}
.cert-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,102,204,0.06) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cert-item:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 18px 36px rgba(0,102,204,0.14), 0 4px 8px rgba(0,102,204,0.06);
}
.cert-item:hover::before { width: 80px; opacity: 1; }
.cert-item:hover::after { opacity: 1; }
.cert-item > * { position: relative; z-index: 1; }

.cert-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(0,102,204,0.25);
  position: relative;
}
.cert-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.cert-icon svg { width: 30px; height: 30px; color: var(--white); }
.cert-title {
  font-weight: 800;
  color: var(--black);
  font-size: 1.0625rem;
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}
.cert-desc {
  font-size: 0.8125rem;
  color: var(--gray);
  letter-spacing: 0.01em;
}

/* ========== WHY CHOOSE SECTION ========== */
.why-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 5% 0%, rgba(0,102,204,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 95% 100%, rgba(26,117,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.why-section .container { position: relative; z-index: 1; }

/* Why Card: white card with top accent line, image cap, hover lift */
.why-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: 16px;
  padding: 0;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 2;
}
.why-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,102,204,0.14);
}
.why-card:hover::before { transform: scaleX(1); }

.why-card-body { padding: 1.75rem 1.75rem 2rem; }

.why-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-bg);
  display: block;
}

.why-card h3 {
  margin-bottom: 0.75rem;
  color: var(--black);
  font-size: 1.25rem;
}
.why-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.7;
  flex-grow: 1;
  color: var(--gray-dark);
}

/* ========== ABOUT US SECTION ========== */
.about-section {
  position: relative;
  background: linear-gradient(180deg, var(--dark-90) 0%, var(--dark) 100%);
  color: white;
  overflow: hidden;
}

/* Decorative mesh: blue glow on left + faint dot grid on right */
.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 700px 500px at 12% 30%, rgba(0,102,204,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 90% 80%, rgba(26,117,255,0.12) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* Faint dot grid overlay */
.about-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.about-section .container { position: relative; z-index: 2; }
.about-section h2 { color: white; }

/* Eyebrow above section title */
.about-section .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  padding: 0.375rem 0.875rem;
  background: rgba(26,117,255,0.10);
  border: 1px solid rgba(26,117,255,0.28);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.about-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
  position: relative;
}

/* Image frame: card-style with glow + ring */
.about-img {
  width: 45%;
  height: 400px;
  object-fit: contain;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,102,204,0.18) 0%, transparent 60%),
    var(--dark-70);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(26,117,255,0.10),
    0 0 80px rgba(0,102,204,0.18);
  position: relative;
}
/* Decorative corner accent on image */
.about-img::after {
  content: '';
  position: absolute;
  top: 14px; left: 14px;
  width: 28px; height: 28px;
  border-top: 2px solid var(--blue-light);
  border-left: 2px solid var(--blue-light);
  border-top-left-radius: 6px;
  pointer-events: none;
  opacity: 0.7;
}

.about-content { width: 55%; }
.about-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  color: white;
  line-height: 1.15;
}
/* Gradient underline accent */
.about-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 2px;
  margin-top: 1rem;
  box-shadow: 0 0 12px rgba(26,117,255,0.5);
}
.about-text {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-text:last-of-type { margin-bottom: 0; }

/* ========== SERVICE PROMISE ========== */
.promise-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
  color: white;
  text-align: center;
  position: relative;
}
/* Decorative line beside promise title */
.promise-title::before,
.promise-title::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,117,255,0.6), transparent);
  vertical-align: middle;
  margin: 0 1rem;
}

/* Inner-page variant: light cards on light background (about/applications/faqs/contact)
   Default promise-card is dark glass for homepage's about-section. */
.promise-section-light .promise-title {
  color: var(--black);
}
.promise-section-light .promise-title::before,
.promise-section-light .promise-title::after {
  background: linear-gradient(90deg, transparent, var(--blue) 50%, transparent);
  width: 56px;
  height: 2px;
}

.promise-section-light .promise-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
}
.promise-section-light .promise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s ease;
}
.promise-section-light .promise-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 20px 40px rgba(0,102,204,0.14);
}
.promise-section-light .promise-card:hover::before { opacity: 1; width: 80px; }

.promise-section-light .promise-card h4 { color: var(--black); }
.promise-section-light .promise-card p { color: var(--gray-dark); }

/* Light-variant icon: light blue gradient bg so the blue bi icon stays visible
   (default solid blue would make icon invisible — same color as background). */
.promise-section-light .promise-icon {
  background: linear-gradient(135deg, rgba(0,102,204,0.10) 0%, rgba(26,117,255,0.16) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(0,102,204,0.20), 0 4px 12px rgba(0,102,204,0.10);
}
.promise-section-light .promise-card:hover .promise-icon {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  box-shadow: 0 8px 20px rgba(0,102,204,0.30), inset 0 1px 0 rgba(255,255,255,0.18);
}
.promise-section-light .promise-card:hover .promise-icon i.bi { color: #fff; }

.promise-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.10);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
/* Subtle blue glow on hover */
.promise-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,102,204,0.20) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.promise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,117,255,0.45);
  background: linear-gradient(180deg, rgba(26,117,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
}
.promise-card:hover::before { opacity: 1; }
.promise-card > * { position: relative; z-index: 1; }

.promise-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(0,102,204,0.30), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
}
.promise-icon svg,
.promise-section-light .promise-icon svg { width: 28px; height: 28px; color: white; }

.promise-card h4 {
  color: white;
  font-weight: 800;
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.promise-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ========== INQUIRY FORM ========== */
.inquiry-section {
  position: relative;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: white;
  overflow: hidden;
}

.inquiry-section .container { position: relative; z-index: 2; }

.inquiry-form {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  color: var(--black);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--black);
}

.form-subtitle {
  color: var(--gray-dark);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

/* Form Label: weight 700, size 0.8125rem, color --black */
.form-label {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.8125rem;
}

/* Form Input: bg --gray-bg, border 2px --gray-mid, radius 6px, padding 0.75rem 1rem */
.form-control {
  background: var(--gray-bg);
  border: 2px solid var(--gray-mid);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--black);
  font-size: 0.875rem;
  transition: all 0.2s;
  width: 100%;
}

/* Form Input Focus: bg --white, border --blue, shadow 0 0 0 3px rgba(0,102,204,0.2) */
.form-control:focus {
  background: var(--white);
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.2);
}

.form-control::placeholder { color: var(--gray-light); }

.form-select {
  background: var(--gray-bg);
  border: 2px solid var(--gray-mid);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--black);
  font-size: 0.875rem;
  width: 100%;
}

/* Submit Button: blue bg, weight 800, size 1rem, width 100%, hover --blue-dark */
.btn-submit {
  background: var(--blue);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  border: none;
  width: 100%;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* ========== FAQ CARDS ========== */
/* FAQ Card: border 2px --gray-mid, radius 12px, padding 1.5rem, header hover --gray-bg */
.faq-card {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}
.faq-header:hover { background: var(--gray-bg); }
.faq-header h4 { margin: 0; color: var(--black); font-size: 1rem; }

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
  transition: transform 0.3s;
}
.faq-card.active .faq-icon { transform: rotate(180deg); }

.faq-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-card.active .faq-body {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}
.faq-body p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* FAQ Item - for faqs.html accordion */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--gray-bg); }

.faq-question span {
  flex: 1;
}

.faq-question .faq-icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--gray-bg);
}
.faq-answer.open,
.faq-item.active > .faq-answer {
  max-height: 800px;
  padding: 1.25rem;
}
.faq-item.active .faq-icon,
.faq-item.active .faq-question .faq-icon { transform: rotate(180deg); }
.faq-item.active .faq-question { background: rgba(0,102,204,0.04); }
.faq-answer p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-dark);
}

/* ========== CONTACT PAGE ========== */
.contact-info {
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-mid);
}
.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-bg);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--black);
}
.contact-item p {
  font-size: 0.9375rem;
  color: var(--gray-dark);
  margin-bottom: 0.25rem;
}

/* Inquiry Form Wrapper */
.inquiry-form-wrapper {
  background: var(--gray-bg);
  padding: 2rem;
  border-radius: 1rem;
}

/* ========== PROCESS CARD ========== */
.process-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

.process-num {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.process-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.process-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
  color: white;
  padding: 5rem 0 2.5rem;
  overflow: hidden;
}

/* Decorative blue glow + dot grid */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(0,102,204,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 500px 300px at 90% 100%, rgba(26,117,255,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 50%, transparent 100%);
  opacity: 0.5;
}

.footer .container { position: relative; z-index: 1; }

.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 24px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 3px;
}

.footer-desc {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s, transform 0.2s;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--blue-light);
  transition: width 0.25s ease;
}
.footer-links a:hover { color: var(--blue-light); }
.footer-links a:hover::before { width: 12px; }

/* Footer Title: small uppercase eyebrow style */
.footer-title {
  color: white;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.625rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
  margin-top: 3rem;
}

.footer-copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}

/* ========== FLOATING CTA ========== */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: white;
  font-weight: 800;
  padding: 0.75rem 1.125rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,102,204,0.40), 0 0 0 0 rgba(0,102,204,0.4);
  z-index: 1000;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  text-decoration: none;
  animation: floating-cta-pulse 2.4s ease-in-out infinite;
}
.floating-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,102,204,0.55), 0 0 0 6px rgba(0,102,204,0.15);
  color: white;
  animation: none;
}
@keyframes floating-cta-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(0,102,204,0.40), 0 0 0 0 rgba(0,102,204,0.4); }
  50% { box-shadow: 0 8px 20px rgba(0,102,204,0.40), 0 0 0 12px rgba(0,102,204,0); }
}
/* Reserve clear space at page bottom-right so the FAB never overlaps content */
body { padding-bottom: 5rem; }

/* ========== BREADCRUMB ========== */
.breadcrumb-nav {
  margin-bottom: 1rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  font-size: 0.875rem;
  color: var(--black);
}

.breadcrumb-item a {
  color: var(--black);
  text-decoration: none;
}

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

.breadcrumb-item.active {
  color: var(--gray-dark);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--gray);
  padding: 0 0.5rem;
}

/* ========== RESPONSIVE ========== */
/* Tablet: 768px - 991px, section padding 6rem */
@media (max-width: 991px) {
  .hero { padding: 7rem 0 5rem; min-height: auto; }
  .hero-page { padding: 6rem 0 4rem; }
  .hero-stats { flex-wrap: wrap; gap: 2.5rem; }
  .hero-stat-value { font-size: 2.5rem; }
  .stat-value { font-size: 2.75rem; }
  .section { padding: 6rem 0; }
  .about-block { flex-direction: column; gap: 2rem; }
  .about-img, .about-content { width: 100%; }
  .about-img { height: 280px; }
  .product-detail-header { flex-direction: column; }
  .product-detail-img { width: 100%; max-width: 300px; }
  .navbar-collapse { display: none !important; flex-basis: 100%; }
  .navbar-collapse.show { display: flex !important; flex-direction: column; }
  .navbar-toggler { display: block; }
  .navbar-nav { flex-direction: column; gap: 0.5rem; }
}

/* Mobile: < 768px, section padding 5rem */
@media (max-width: 767px) {
  .section { padding: 5rem 0; }
  .hero { padding: 6rem 0 4rem; }
  .hero-page { padding: 5rem 0 3rem; }
  .hero-stat-value { font-size: 2rem; }
  .stat-value { font-size: 1.75rem; }
  .stat-box { padding: 1.5rem 0.5rem; }
  .stat-box__num { font-size: 3rem; }
  .cert-item { padding: 1.5rem 0.75rem 1.25rem; }
  .cert-index { top: 10px; right: 12px; }
  .cert-icon { width: 52px; height: 52px; margin-bottom: 1rem; }
  .cert-icon svg { width: 24px; height: 24px; }
  .floating-cta { bottom: 1rem; right: 1rem; padding: 0.75rem 1rem; }
  .inquiry-form { padding: 2rem; }
  .form-title { font-size: 1.375rem; }
  .product-img { height: 240px; }
  .specs-table th, .specs-table td { padding: 0.5rem; font-size: 0.75rem; }

  /* === Tech 17-card section (peek preview) — mobile override === */
  /* On mobile, only the FIRST 2 Power cards are visible by default.
     The 3rd default card and the 8 extras are hidden until "View More". */
  .tech-section.tech-power .tech-card:nth-child(n+3) { display: none; }
  .tech-section.tech-power.open .tech-card { display: flex; }
  .tech-section.tech-power.open .tech-card.tech-extra { animation: tech-fade 0.4s ease both; }

  /* Compact card body — clamp description to 2 lines. */
  .tech-card { border-radius: 10px; }
  .tech-card .tech-img { aspect-ratio: 4 / 3; }
  .tech-card .tech-body { padding: 0.875rem 0.875rem 1rem; }
  .tech-card h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tech-card p {
    font-size: 0.8125rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Disable hover lift on touch devices to avoid repaint churn.
     The inner @media (hover: hover) is a no-op on touch; the rule
     below applies on all mobile devices regardless. */
  @media (hover: hover) {
    .tech-card:hover { transform: none; }
  }
  .tech-card:hover { transform: none; box-shadow: none; }

  /* Smaller section header on mobile. */
  .tech-section-head { gap: 0.5rem; margin-bottom: 1rem !important; }
  .tech-section-head h3 { font-size: 1.0625rem; }
  .tech-section-head .head-tag { font-size: 0.6875rem; padding: 0.2rem 0.5rem; }

  /* Tighter grid spacing on mobile. */
  .tech-grid { gap: 0.875rem; margin-bottom: 0.5rem !important; }

  /* Full-width CTA with iOS-friendly touch target. */
  .tech-cta-row { margin-top: 1.5rem; padding: 0 0.5rem; }
  .tech-cta {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 1rem;
  }
}

/* ========== ANIMATION ========== */
/* Fade-up: opacity 1, transform translateY 0, transition 0.6s ease */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ========== SEO STRUCTURED DATA MARKER ========== */
[itemtype] { /* Schema.org structured data container */ }

/* ========== TECH PEEK PREVIEW (FC always visible, Power collapsible) ========== */
/*
  Shared 17-Subsystem Tech Cards — Peek Preview variant.
  See partials/tech-subsystems.html. Synced across k8 / k9 / k9plus.

  Desktop/Tablet (>=768px):
    - FC (6 cards) is ALWAYS fully visible, no button, no toggle.
    - Power (11 cards) shows the first 3 by default, "View More + 8" reveals rest.
  Mobile (<=767px):
    - First row shrinks to 2 cards (more aggressive collapse on small screens).
    - Card description line-clamped to 2 lines for compact height.
    - Touch targets >= 48px. Hover transform disabled. Card padding shrinks.
*/

.tech-tech-section { width: 100%; }

.tech-section { margin-bottom: 2.5rem; }
.tech-section:last-child { margin-bottom: 0; }

.tech-section-head { margin-top: 0 !important; }
.tech-section + .tech-section-head,
.tech-tech-section > .tech-section + .tech-section-head { margin-top: 0 !important; }

/* Cards hidden by default — only the Power section uses this. */
.tech-card.tech-extra { display: none; }
.tech-section.tech-power.open .tech-card.tech-extra { display: flex; animation: tech-fade 0.4s ease both; }
@keyframes tech-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card body — base styles that apply on all breakpoints.
   Mobile breakpoint below tightens these further. */
.tech-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
  margin: 0 0 0.5rem;
}
.tech-card p {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.55;
  margin: 0 0 0.5rem;
}
.tech-card p:last-child { margin-bottom: 0; }

/* ===== View More / View Less button ===== */
.tech-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.tech-cta {
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tech-cta:hover { background: var(--blue); color: #fff; }
.tech-cta-arrow {
  display: inline-block;
  transition: transform 0.25s;
}
.tech-section.tech-power.open .tech-cta-arrow { transform: rotate(180deg); }
.tech-more-count {
  font-size: 0.75rem;
  background: var(--gray-bg);
  color: var(--gray-dark);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}
.tech-section.tech-power.open .tech-more-count { display: none; }

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .tech-card,
  .tech-section.tech-power.open .tech-card.tech-extra,
  .tech-cta-arrow { animation: none !important; transition: none !important; }
}

/* ========== BOOTSTRAP ICONS (bi) ========== */
.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 1em;
  height: 1em;
}

/* Default font-size / color inside icon containers */
[class*="-icon"] > i.bi,
[class*="icon"] > i.bi {
  color: inherit;
}

/* Container-specific sizing: */
.trust-icon i.bi { font-size: 1.5rem; }
.trust-icon { color: #fff; }

.cap-icon i.bi { font-size: 2.25rem; color: #fff; }

.app-icon i.bi { font-size: 1.5rem; color: #fff; }

.cert-icon i.bi { font-size: 1.875rem; color: #fff; }

.promise-icon i.bi { font-size: 1.75rem; color: #fff; }
.promise-section-light .promise-icon i.bi { color: var(--blue); }

.contact-icon i.bi { font-size: 1.5rem; color: var(--blue); }

.faq-question i.bi { font-size: 1.25rem; color: var(--blue); display: inline-flex; }

/* Standalone use (e.g., feature bullets) */
.product-feature i.bi { color: var(--blue); font-size: 1.25rem; }
.product-feature-sm i.bi { color: var(--blue); font-size: 1rem; }

/* Hide any leftover inline SVGs (should be 0) */
.trust-icon svg,
.cap-icon svg,
.app-icon svg,
.cert-icon svg,
.promise-icon svg,
.contact-icon svg { display: none; }

/* Floating CTA icon */
.floating-cta i.bi { font-size: 1.125rem; margin-right: 0.5rem; }
.floating-cta span { display: inline; }
@media (max-width: 480px) {
  .floating-cta { padding: 0.75rem 1rem !important; font-size: 0.875rem !important; bottom: 1rem !important; right: 1rem !important; }
  .floating-cta i.bi { font-size: 1rem; margin-right: 0.375rem; }
}

/* ========== INDUSTRY APPLICATIONS (shared partial styles) ==========
   Used by all product pages (K8/K9/K9Plus/MC-15/MC-30) via the
   industry-applications.html partial. */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: all 0.25s;
  height: 100%;
}
.industry-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(0,102,204,0.12);
}
.industry-card .industry-icon {
  width: 52px;
  height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.industry-card h4 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.625rem;
}
.industry-card p {
  font-size: 0.8125rem;
  color: var(--gray-dark);
  line-height: 1.5;
  margin-bottom: 0;
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
}

