/* ==========================================================================
   SmartWeight Systems - Corporate Stylesheet
   Automated Inventory Intelligence
   ========================================================================== */

:root {
  /* Brand Color Palette - Deep Tech Sapphire & Electric Blue */
  --navy: #0a1728;
  --navy-deep: #050b14;
  --navy-light: #152e4d;
  --teal: #0284c7;        /* Electric Blue/Cyan primary accent */
  --teal-dark: #0369a1;   /* Deep Sapphire Blue */
  --teal-light: #38bdf8;  /* Glowing Cyan */
  --teal-tint: #f0f7ff;   /* Crisp ice-blue tint */
  --teal-glow: rgba(2, 132, 199, 0.28);
  --blue-electric: #2563eb;
  --blue-sapphire: #1d4ed8;
  --cyan-accent: #0ea5e9;
  --green: #10b981;
  --green-tint: #ecfdf5;
  
  /* Neutral Palette */
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-subtle: #edf2f7;

  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(10, 23, 40, 0.05);
  --shadow-md: 0 10px 28px rgba(10, 23, 40, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 23, 40, 0.12);
  --shadow-hover: 0 16px 36px rgba(2, 132, 199, 0.2);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

button, input, textarea, select {
  font: inherit;
}

/* --------------------------------------------------------------------------
   Container & Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(1180px, 92%);
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 34px 0 44px;
  scroll-margin-top: 72px;
}

main > .section:first-child,
.standalone-page main > .section:first-child {
  padding-top: 22px;
}

.hero {
  scroll-margin-top: 72px;
}

.section.alt-bg {
  background-color: var(--bg-light);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
    linear-gradient(rgba(2, 132, 199, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 16px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Badges & Micro UI
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.28);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.6);
  animation: pulseDot 2s infinite ease-in-out;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: #0284c7;
  color: #0369a1;
  background-color: var(--teal-tint);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background-color: var(--teal-tint);
  color: #0284c7;
  transform: translateY(-2px);
}

.btn-brochure {
  background: linear-gradient(135deg, #0a1728 0%, #152e4d 100%);
  color: #ffffff;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 24px rgba(10, 23, 40, 0.2);
}

.btn-brochure:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-brochure svg {
  transition: transform 0.25s ease;
}

.btn-brochure:hover svg {
  transform: translateY(2px);
}

.btn-nav-brochure {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  background: #f0f7ff;
  color: #0284c7;
  font-weight: 700;
  border: 1px solid rgba(2, 132, 199, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-nav-brochure:hover {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Sticky Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(8, 20, 36, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  transition: var(--transition);
}

.nav-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-frame {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background-color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--transition);
}

.brand-logo-frame:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
  border-color: #38bdf8;
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.1);
}

.nav-link.active {
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.14);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: #38bdf8;
  border-radius: 2px;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  transition: var(--transition);
}

.hamburger:hover {
  background-color: rgba(56, 189, 248, 0.15);
}

.hamburger-box {
  width: 26px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Home Page - Hero Section
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Home Page - Hero Section (Compact Height + Cinematic Warehouse Backdrop)
   -------------------------------------------------------------------------- */
.hero {
  padding: 8px 0 22px;
  background: 
    linear-gradient(135deg, rgba(6, 15, 28, 0.90) 0%, rgba(9, 21, 38, 0.85) 45%, rgba(4, 11, 21, 0.94) 100%),
    url('assets/hero-warehouse-bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 30%;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: flex-start;
  gap: 28px;
}

.hero-content {
  padding-top: 4px;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-content h1 span {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-description {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.5;
  max-width: 540px;
}

.hero-description strong {
  color: #ffffff;
}

.hero .badge {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 8px;
  padding: 4px 12px;
  font-size: 0.72rem;
}

.hero .btn-group {
  margin-top: 18px;
  gap: 10px;
}

.hero .btn {
  padding: 11px 22px;
  font-size: 0.94rem;
}

.hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #38bdf8;
  color: #38bdf8;
}

/* Compact, Sleek Hero Hardware Card */
.hero-card {
  background: rgba(8, 18, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.3);
  position: relative;
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(2, 132, 199, 0.28), 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.hero-card-inner {
  background: transparent;
  border: none;
  padding: 0;
}

.hero-card-img-wrap {
  background-color: #060d18;
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(56, 189, 248, 0.18);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.hero-scale-img {
  max-height: 170px;
  width: 100%;
  object-fit: contain;
}

.scale-sim-controller {
  background: #060d18;
  padding: 10px 14px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.hero-telemetry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.telemetry-item {
  background: #060d18;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.telemetry-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.telemetry-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 3px;
}

.telemetry-tag {
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-content .curve-chart-card {
  margin-top: 16px;
  background: rgba(6, 13, 24, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.hero-content .curve-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 6px;
}

.hero-content .curve-chart-svg {
  width: 100%;
  height: auto;
  max-height: 120px;
  display: block;
}

.hero-content .curve-chart-caption {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 6px;
}

.hero-content .curve-chart-caption strong {
  color: #e2e8f0;
}

/* --------------------------------------------------------------------------
   Features Section - "Why SmartWeight Systems?"
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 169, 159, 0.4);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--teal-tint), #d7f5f1);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: var(--transition);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text);
  font-weight: 500;
}

.feature-list svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA Banner Section
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(19, 169, 159, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  max-width: 620px;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

.cta-content p {
  color: #c0d3e5;
  font-size: 1.1rem;
  margin-top: 12px;
  line-height: 1.6;
}

.cta-action {
  z-index: 1;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Page Header Banner (Solution, Projects, Contact)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 75px 0 65px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%, #f0f7ff 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Solution Page - Old Carousel (Restored & Optimized Fit)
   -------------------------------------------------------------------------- */
.carousel-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto 18px;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.carousel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  min-height: 400px;
}

.slide {
  display: none;
  width: 100%;
  text-align: center;
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.slide.active {
  display: flex;
  animation: carouselFade 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes carouselFade {
  from {
    opacity: 0.4;
    transform: scale(0.995);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide img {
  max-width: 100%;
  max-height: 540px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.carousel-wrap:hover .slide.active img {
  transform: scale(1.008);
}

/* Old Carousel Controls */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(11, 32, 56, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  line-height: 1;
  padding: 0 0 2px 0;
  user-select: none;
}

.arrow:hover {
  background-color: var(--teal);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.arrow:focus-visible {
  outline: 3px solid var(--teal-light);
}

.arrow.prev {
  left: 18px;
}

.arrow.next {
  right: 18px;
}

/* Old Carousel Dots */
.dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: rgba(11, 32, 56, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  padding: 0;
}

.dot.active {
  background-color: var(--teal);
  width: 32px;
  border-radius: var(--radius-full);
}

.dot:hover {
  background-color: var(--teal);
}

/* --------------------------------------------------------------------------
   Solution Page - Demo Trigger & Request Form Panel
   -------------------------------------------------------------------------- */
.demo-trigger-wrap {
  text-align: center;
  margin-top: 18px;
}

.demo-panel-container {
  max-width: 760px;
  margin: 18px auto 0;
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.demo-panel-container.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}

.form-header p {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 0.98rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-field label .required-star {
  color: #e53e3e;
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.96rem;
  color: var(--text);
  background-color: #fafdfd;
  transition: var(--transition);
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--teal-tint);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field .field-error {
  font-size: 0.78rem;
  color: #e53e3e;
  font-weight: 600;
  display: none;
  margin-top: 2px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #e53e3e;
  background-color: #fff8f8;
}

.form-field.has-error .field-error {
  display: block;
}

/* --------------------------------------------------------------------------
   Projects Page - Project Cards & Tied-up Companies
   -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 169, 159, 0.4);
}

.project-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-dark);
  background-color: var(--teal-tint);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  width: fit-content;
}

.project-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 12px;
}

.project-card-summary {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.project-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.project-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy);
}

.project-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--teal-tint);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Partners & Tied-up Companies */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.partner-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  min-height: 175px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284c7, #14b8a6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-card:hover {
  border-color: #38bdf8;
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 14px 28px -6px rgba(2, 132, 199, 0.14);
}

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

.partner-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(20, 184, 166, 0.15) 100%);
  color: #0284c7;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, #0284c7 0%, #14b8a6 100%);
  color: #ffffff;
}

.partner-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.partner-category {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(19, 169, 159, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-info-card h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-info-card p.intro {
  color: #b0c6d9;
  font-size: 1rem;
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--teal-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item-details {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-light);
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 2px;
}

.contact-item-value a {
  color: var(--white);
}

.contact-item-value a:hover {
  color: var(--teal-light);
  text-decoration: underline;
}

/* Map / Location Highlight Card */
.location-map-card {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(19, 169, 159, 0.15), rgba(34, 199, 184, 0.08));
  border: 1px solid rgba(34, 199, 184, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-light);
}

.location-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.location-subtitle {
  font-size: 0.9rem;
  color: #b0c6d9;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--navy-deep);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-brand p.sub {
  color: var(--teal-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-brand p.desc {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: var(--teal-light);
  transform: translateX(4px);
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   Toast Notification
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 5px solid var(--green);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
  max-width: 420px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  width: 24px;
  height: 24px;
  color: var(--green);
  flex-shrink: 0;
}

.toast-content {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.toast-close:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-card {
    max-width: 580px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  /* Mobile Hamburger Nav */
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(6, 14, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    display: none;
    gap: 8px;
    z-index: 1000;
  }

  .nav-links.is-open {
    display: flex;
    animation: slideDown 0.25s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link {
    padding: 12px 18px;
    font-size: 1.02rem;
    color: #cbd5e1;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background: rgba(56, 189, 248, 0.16);
    color: #38bdf8;
    border-left: 4px solid #38bdf8;
  }

  .carousel {
    min-height: 280px;
  }

  .slide img {
    max-height: 380px;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .arrow.prev {
    left: 10px;
  }

  .arrow.next {
    right: 10px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
  }

  .cta-action {
    width: 100%;
  }

  .cta-action .btn {
    width: 100%;
  }

  .form-card {
    padding: 28px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .toast-container {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .toast {
    max-width: 100%;
  }
}

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

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .hero-telemetry {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
  }

  .carousel {
    min-height: 200px;
  }

  .slide img {
    max-height: 270px;
  }
}

/* --------------------------------------------------------------------------
   Brochure Enhanced Components
   -------------------------------------------------------------------------- */
/* 1. Reorder Curve Chart Card */
.curve-chart-card {
  margin-top: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.curve-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.curve-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}
.curve-chart-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

/* 2. Pain Points (Manual Counts Miss Things) */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.pain-point-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pain-point-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}
.pain-point-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #fcd34d;
}
.pain-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}
.pain-point-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.pain-point-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* 3. Five Steps Autonomous System */
.steps-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 38px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow-hover);
}
.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px var(--teal-glow);
}
.step-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 4. Two-Sided Value: Buyers vs Vendors */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 36px;
}
.comparison-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.comparison-card.buyers {
  border-top: 6px solid var(--teal);
}
.comparison-card.vendors {
  border-top: 6px solid var(--navy);
}
.comparison-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.comparison-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.comparison-header span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}
.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.comparison-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 5. Category Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.category-pill {
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: default;
}
.category-pill:hover {
  background: var(--teal-tint);
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(19, 169, 159, 0.15);
}

/* 6. At a Glance Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.spec-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}
.spec-item:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
.spec-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
}
.spec-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* 7. Large CTA Brochure Banner */
.brochure-cta-banner {
  background: linear-gradient(135deg, #050b14 0%, #0a1728 50%, #152e4d 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 24px 50px rgba(10, 23, 40, 0.22);
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}
.brochure-cta-banner::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.brochure-cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.brochure-cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  line-height: 1.6;
}
.brochure-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .pain-points-grid {
    grid-template-columns: 1fr;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .brochure-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .brochure-cta-actions {
    width: 100%;
  }
  .brochure-cta-actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Enhanced Visual Upgrades (Generated Imagery & Card Framing)
   -------------------------------------------------------------------------- */
.pain-point-card {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.pain-point-card::before {
  z-index: 2;
}
.pain-card-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}
.pain-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.pain-point-card:hover .pain-card-img {
  transform: scale(1.06);
}
.pain-card-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pain-card-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.pain-card-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

/* Carousel Captions */
.slide {
  position: relative;
}
.slide-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 60%, rgba(15, 23, 42, 0) 100%);
  padding: 44px 32px 30px;
  color: #ffffff;
  pointer-events: none;
  text-align: left;
}
.slide-caption-overlay h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #38bdf8;
  letter-spacing: -0.01em;
}
.slide-caption-overlay p {
  font-size: 0.96rem;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.45;
}

/* Project Cards Image Framing */
.project-card {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
}
.project-card-image-wrap {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}
.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.project-card:hover .project-card-img {
  transform: scale(1.06);
}
.project-card-body {
  padding: 30px;
  flex: 1;
}

/* --------------------------------------------------------------------------
   Versatile Applicability 8-Card Showcase Grid
   -------------------------------------------------------------------------- */
.applicability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 38px;
  text-align: left;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
  border-color: rgba(19, 169, 159, 0.45);
}

.app-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.app-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.app-card:hover .app-card-img-wrap img {
  transform: scale(1.08);
}

.app-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.app-card-content {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-card-content h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.app-card-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

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

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

/* --------------------------------------------------------------------------
   Ultra-Attractive Homepage Upgrades (Hardware Terminal & Live Sim)
   -------------------------------------------------------------------------- */
.hero-hardware-showcase {
  background: #090e17;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.2);
  overflow: hidden;
  box-shadow: 0 16px 36px -12px rgba(2, 132, 199, 0.28);
  margin-bottom: 22px;
}

.hardware-top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.8s infinite;
}

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

.hardware-title {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex: 1;
}

.hardware-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.hero-card-img-wrap {
  position: relative;
  background: #000000 !important;
  padding: 0 !important;
  border: none !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.hero-scale-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-hardware-showcase:hover .hero-scale-img {
  transform: scale(1.03);
}

.scale-live-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 10px;
}

.overlay-metric {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.overlay-metric .metric-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.08em;
}

.overlay-metric .metric-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  font-family: monospace;
}

.overlay-metric .metric-val small {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Interactive Simulator Box */
.scale-sim-controller {
  background: #0b1320;
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-ctrl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sim-ctrl-header label {
  color: #cbd5e1;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
}

.sim-ctrl-header label span {
  color: #38bdf8;
  font-weight: 700;
}

.sim-ctrl-header label strong {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
}

.sim-slider-val {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.95rem;
  font-weight: 800;
  font-family: monospace;
  padding: 4px 12px;
  border-radius: 6px;
}

.sim-slider {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #1e293b;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  margin: 6px 0 12px;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284c7;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.8);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sim-alert-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.sim-alert-banner.triggered {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.2);
}

/* --------------------------------------------------------------------------
   Enterprise Trust / Metrics Strip
   -------------------------------------------------------------------------- */
.hero-trust-bar {
  margin-top: 60px;
  border-top: 1px solid rgba(2, 132, 199, 0.16);
  border-bottom: 1px solid rgba(2, 132, 199, 0.16);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.04) 0%, rgba(14, 165, 233, 0.08) 50%, rgba(37, 99, 235, 0.04) 100%);
  padding: 30px 0;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-stat-card {
  padding: 10px 16px;
}

.trust-stat-num {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0a1728 0%, #2563eb 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.trust-stat-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.trust-stat-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Refined Connected Step Cards
   -------------------------------------------------------------------------- */
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 22px 28px;
  box-shadow: 0 4px 16px rgba(10, 23, 40, 0.04);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: #0284c7;
  box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.18);
}

.step-header-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #0a1728 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32);
}

@media (max-width: 900px) {
  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

/* --------------------------------------------------------------------------
   Hero Grid Ambient Blueprint & Telemetry Floating Badges
   -------------------------------------------------------------------------- */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2, 132, 199, 0.14) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

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

/* Enterprise Integrations Strip */
.hero-integrations-bar {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
}

.integrations-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.integration-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.int-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(10, 23, 40, 0.04);
  transition: all 0.2s ease;
}

.int-pill:hover {
  border-color: #38bdf8;
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.12);
}

.int-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #0284c7;
}

/* Floating Badges on Hardware Showcase */
.floating-telemetry-badge {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(10, 23, 40, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.74rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 14px;
  right: 14px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: 14px;
  left: 14px;
  animation-delay: 2s;
}

.badge-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

/* Scale Simulation Presets */
.sim-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 14px;
}

.sim-presets-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.sim-preset-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-preset-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

.sim-preset-btn.warn:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
  color: #fef3c7;
}

.sim-preset-btn.crit:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fee2e2;
}

/* --------------------------------------------------------------------------
   Interactive Facility ROI Calculator Section
   -------------------------------------------------------------------------- */
.roi-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.roi-calc-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  background: rgba(8, 18, 34, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: 0 20px 50px rgba(10, 23, 40, 0.08);
  position: relative;
}

.roi-calc-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #0284c7, #38bdf8);
}

.roi-controls-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
}

.roi-control-group {
  display: flex;
  flex-direction: column;
}

.roi-ctrl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 16px;
}

.roi-ctrl-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0a1728;
}

.roi-ctrl-hint {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

.roi-live-bubble {
  background: #eff6ff;
  border: 1px solid rgba(2, 132, 199, 0.3);
  color: #0284c7;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: monospace;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  margin: 4px 0 8px;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0284c7;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.roi-results-card {
  background: linear-gradient(135deg, #0a1728 0%, #0f233d 60%, #152e4d 100%);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(10, 23, 40, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.roi-card-top h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
}

.roi-pill-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.roi-stats-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0;
}

.roi-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.25s ease;
}

.roi-stat-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
}

.roi-stat-box.primary-stat {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(37, 99, 235, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.4);
}

.roi-stat-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.roi-stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  margin: 4px 0 2px;
  line-height: 1.1;
  font-family: monospace;
}

.primary-stat .roi-stat-number {
  font-size: 2.35rem;
  color: #38bdf8;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.roi-stat-number small {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 600;
}

.roi-stat-caption {
  font-size: 0.72rem;
  color: #94a3b8;
}

.roi-card-action {
  margin-top: auto;
}

@media (max-width: 960px) {
  .roi-calc-container {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }
}

/* --------------------------------------------------------------------------
   Ambient Tech Background Mesh for Subpages (Solution, Projects, Contact)
   -------------------------------------------------------------------------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-attachment: fixed;
}

/* Hide any legacy bg-mesh overlays that could block the body background */
.bg-mesh {
  display: none !important;
}

/* ==========================================================================
   1. SOLUTION PAGE: Dedicated IoT Smart Scale Telemetry Lab Background
   ========================================================================== */
body.solution-page {
  background: 
    radial-gradient(circle 560px at 50% 110px, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(circle 440px at 15% 55%, rgba(14, 165, 233, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(4, 12, 24, 0.72) 0%, rgba(7, 18, 34, 0.65) 45%, rgba(3, 9, 18, 0.76) 100%),
    url('assets/bg-solution.jpg') center center / cover no-repeat fixed !important;
  background-color: #050b14 !important;
  color: #f1f5f9;
}

/* ==========================================================================
   2. PROJECTS PAGE: Dedicated Automated Robotics Logistics Background
   ========================================================================== */
body.projects-page {
  background: 
    radial-gradient(circle 560px at 50% 110px, rgba(16, 185, 129, 0.20) 0%, transparent 70%),
    radial-gradient(circle 450px at 85% 45%, rgba(20, 184, 166, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(3, 14, 20, 0.72) 0%, rgba(6, 21, 28, 0.65) 45%, rgba(2, 10, 15, 0.76) 100%),
    url('assets/bg-projects.jpg') center center / cover no-repeat fixed !important;
  background-color: #030b0f !important;
  color: #f1f5f9;
}

body.projects-page .badge-glow {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.22);
}

body.projects-page .project-card {
  background: rgba(6, 18, 28, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.projects-page .project-card:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 20px 48px rgba(16, 185, 129, 0.24);
  transform: translateY(-4px);
}

body.projects-page .project-card-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

body.projects-page .project-check-icon {
  background-color: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

/* ==========================================================================
   3. CONTACT PAGE: Dedicated Global Corporate HQ Glass Atrium Background
   ========================================================================== */
body.contact-page {
  background: 
    radial-gradient(circle 560px at 50% 110px, rgba(99, 102, 241, 0.22) 0%, transparent 70%),
    radial-gradient(circle 460px at 15% 45%, rgba(139, 92, 246, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(6, 10, 26, 0.72) 0%, rgba(9, 16, 38, 0.65) 45%, rgba(4, 7, 20, 0.76) 100%),
    url('assets/bg-contact.jpg') center center / cover no-repeat fixed !important;
  background-color: #050614 !important;
  color: #f1f5f9;
}

body.contact-page .contact-card-modern {
  background: rgba(8, 16, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--radius-xl);
  padding: 34px;
  color: #f1f5f9;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

body.contact-page .contact-card-modern:hover {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 24px 54px rgba(99, 102, 241, 0.25);
}

body.contact-page .contact-icon-badge {
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(99, 102, 241, 0.32);
}

body.contact-page .map-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #a5b4fc;
}

/* ==========================================================================
   4. ADMIN PAGE: Dedicated IoT Operations Command Cockpit Background
   ========================================================================== */
body.admin-page {
  background: 
    radial-gradient(circle 540px at 50% 60px, rgba(59, 130, 246, 0.18) 0%, transparent 70%),
    radial-gradient(circle 460px at 90% 30%, rgba(14, 165, 233, 0.14) 0%, transparent 60%),
    linear-gradient(135deg, rgba(6, 12, 22, 0.74) 0%, rgba(9, 18, 32, 0.68) 45%, rgba(4, 9, 18, 0.78) 100%),
    url('assets/bg-admin.jpg') center center / cover no-repeat fixed !important;
  background-color: #07090e !important;
  color: #f1f5f9;
}

body.admin-page .stat-card {
  background: rgba(11, 20, 36, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

body.admin-page .stat-card h4 {
  color: #94a3b8 !important;
}

body.admin-page .stat-card .value {
  color: #ffffff !important;
}

body.admin-page .card-panel {
  background: rgba(11, 20, 36, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

body.admin-page .card-panel h3 {
  color: #ffffff !important;
}

body.admin-page table th {
  background: rgba(18, 32, 56, 0.95) !important;
  color: #38bdf8 !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
}

body.admin-page table td {
  color: #e2e8f0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body.admin-page tbody tr:hover {
  background: rgba(56, 189, 248, 0.09) !important;
}

/* ==========================================================================
   Shared Dark Components & Home Solution Section
   ========================================================================== */
#solution {
  position: relative;
  background-image: 
    radial-gradient(circle 560px at 50% 110px, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(circle 440px at 15% 55%, rgba(14, 165, 233, 0.16) 0%, transparent 65%),
    radial-gradient(circle 460px at 85% 65%, rgba(37, 99, 235, 0.14) 0%, transparent 65%),
    linear-gradient(135deg, rgba(4, 12, 24, 0.82) 0%, rgba(7, 18, 34, 0.78) 45%, rgba(3, 9, 18, 0.86) 100%),
    url('assets/bg-solution.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  overflow: hidden;
}

#solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* ==========================================================================
   Home Page Sections: Solution, Projects & Contact
   ========================================================================== */
#solution {
  position: relative;
  background: 
    radial-gradient(circle 560px at 50% 110px, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(circle 440px at 15% 55%, rgba(14, 165, 233, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(4, 12, 24, 0.72) 0%, rgba(7, 18, 34, 0.65) 45%, rgba(3, 9, 18, 0.76) 100%),
    url('assets/bg-solution.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  color: #f1f5f9;
  overflow: hidden;
}

#projects {
  position: relative;
  background: 
    radial-gradient(circle 560px at 50% 110px, rgba(16, 185, 129, 0.20) 0%, transparent 70%),
    radial-gradient(circle 450px at 85% 45%, rgba(20, 184, 166, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(3, 14, 20, 0.72) 0%, rgba(6, 21, 28, 0.65) 45%, rgba(2, 10, 15, 0.76) 100%),
    url('assets/bg-projects.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(16, 185, 129, 0.18);
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
  color: #f1f5f9;
  overflow: hidden;
}

#projects .section-head h2 { color: #ffffff !important; }
#projects .section-head p { color: #94a3b8 !important; }

#projects .project-card {
  background: rgba(6, 18, 28, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#projects .project-card:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 20px 48px rgba(16, 185, 129, 0.24);
  transform: translateY(-4px);
}

#projects .project-card h3 { color: #ffffff; }
#projects .project-card-summary { color: #94a3b8; }
#projects .project-card-list li { color: #e2e8f0; }

#contact {
  position: relative;
  background: 
    radial-gradient(circle 560px at 50% 110px, rgba(99, 102, 241, 0.22) 0%, transparent 70%),
    radial-gradient(circle 460px at 15% 45%, rgba(139, 92, 246, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(6, 10, 26, 0.74) 0%, rgba(9, 16, 38, 0.68) 45%, rgba(4, 7, 20, 0.78) 100%),
    url('assets/bg-contact.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(99, 102, 241, 0.18);
  border-bottom: 1px solid rgba(99, 102, 241, 0.18);
  color: #f1f5f9;
  overflow: hidden;
}

#contact .section-head h2 { color: #ffffff !important; }
#contact .section-head p { color: #94a3b8 !important; }
#contact .contact-card,
#contact .contact-info-card,
#contact .contact-form-card {
  background: rgba(8, 16, 32, 0.88);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #f1f5f9;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#contact .contact-item { color: #e2e8f0; }
#contact .contact-card h2, #contact .contact-info-card h2, #contact .contact-form-card h2 { color: #ffffff; }
#contact .contact-item-value { color: #ffffff; }
#contact .contact-item-value a { color: #a5b4fc; }
#contact .intro { color: #94a3b8; }
#contact label { color: #cbd5e1; }
#contact input, #contact textarea {
  background: #060d18;
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #ffffff;
}

body.solution-page,
body.projects-page,
body.contact-page,
body.admin-page {
  position: relative;
}

#solution .section-head h2,
body.solution-page .section-head h2,
body.projects-page .section-head h2,
body.contact-page .section-head h2,
body.admin-page h1,
body.admin-page h2 {
  color: #ffffff;
}

#solution .section-head p,
body.solution-page .section-head p,
body.projects-page .section-head p,
body.contact-page .section-head p,
body.admin-page p {
  color: #94a3b8;
}

#solution .badge,
body.solution-page .badge,
.badge-glow {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
}

.badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#solution .carousel-wrap,
body.solution-page .carousel-wrap {
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.15);
}

#solution .form-card,
body.solution-page .form-panel {
  background: rgba(8, 18, 32, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #f1f5f9;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.form-panel {
  max-width: 820px;
  margin: 22px auto 0;
  border-radius: var(--radius-xl);
  padding: 32px;
}

#solution .form-header h2,
body.solution-page .form-panel h2 {
  color: #ffffff;
}

#solution .form-header p,
body.solution-page .form-panel p {
  color: #94a3b8;
}

#solution .form-field label,
body.solution-page .field label,
body.projects-page .field label,
body.contact-page .field label {
  color: #cbd5e1;
}

#solution .form-field input,
#solution .form-field textarea,
body.solution-page .field input,
body.solution-page .field textarea,
body.contact-page input,
body.contact-page textarea {
  background: #060d18;
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #ffffff;
}

#solution .form-field input:focus,
#solution .form-field textarea:focus,
body.solution-page .field input:focus,
body.solution-page .field textarea:focus,
body.contact-page input:focus,
body.contact-page textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  outline: none;
}

body.projects-page .project-card h3 {
  color: #ffffff;
}

body.projects-page .project-card-summary {
  color: #94a3b8;
}

body.projects-page .project-card-list li {
  color: #e2e8f0;
}

body.contact-page .contact-card-modern h2 {
  color: #ffffff;
}

body.contact-page .contact-item {
  color: #e2e8f0;
}



/* ==========================================================================
   Specifications Section with Dedicated Engineering IoT Background
   ========================================================================== */
#specs {
  position: relative;
  background: 
    radial-gradient(circle 560px at 50% 110px, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(circle 440px at 15% 55%, rgba(14, 165, 233, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(4, 12, 24, 0.72) 0%, rgba(7, 18, 34, 0.65) 45%, rgba(3, 9, 18, 0.76) 100%),
    url('assets/bg-specs.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  color: #f1f5f9;
  overflow: hidden;
}

#specs .section-head h2 {
  color: #ffffff !important;
}

#specs .section-head p {
  color: #94a3b8 !important;
}

#specs .badge {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#specs .specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
  position: relative;
  z-index: 2;
}

#specs .spec-item {
  background: rgba(8, 20, 36, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#specs .spec-item:hover {
  background: rgba(12, 28, 50, 0.95);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.22);
  transform: translateY(-3px);
}

#specs .spec-label {
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#specs .spec-label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

#specs .spec-val {
  color: #f8fafc;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
}

#specs .brochure-cta-banner {
  background: linear-gradient(135deg, rgba(6, 14, 26, 0.92) 0%, rgba(10, 24, 44, 0.90) 50%, rgba(18, 42, 70, 0.92) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.12);
  position: relative;
  z-index: 2;
}

#specs .brochure-cta-banner h2 {
  color: #ffffff;
}

#specs .brochure-cta-banner p {
  color: #cbd5e1;
}


/* ==========================================================================
   Full Website Background System (Every Page & Every Section Fully Immersed in Images)
   ========================================================================== */

/* 1. Global Universal Body Canvas */
body {
  font-family: var(--font-main);
  color: #f1f5f9;
  background: 
    radial-gradient(circle 900px at 50% 120px, rgba(56, 189, 248, 0.20) 0%, transparent 70%),
    radial-gradient(circle 700px at 15% 45%, rgba(14, 165, 233, 0.14) 0%, transparent 65%),
    linear-gradient(135deg, rgba(6, 15, 28, 0.86) 0%, rgba(9, 21, 38, 0.82) 45%, rgba(4, 11, 21, 0.90) 100%),
    url('assets/hero-warehouse-bg.jpg') center center / cover no-repeat fixed !important;
  background-color: #050b14 !important;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ensure no plain white containers override section backgrounds */
.section.alt-bg {
  background-color: transparent !important;
  background-image: none !important;
}

/* 2. Section: Why Us (#problem) */
#problem {
  position: relative;
  background: 
    radial-gradient(circle 600px at 50% 120px, rgba(239, 68, 68, 0.18) 0%, transparent 70%),
    radial-gradient(circle 460px at 15% 55%, rgba(245, 158, 11, 0.14) 0%, transparent 65%),
    linear-gradient(135deg, rgba(12, 10, 24, 0.82) 0%, rgba(16, 12, 32, 0.76) 45%, rgba(8, 6, 18, 0.88) 100%),
    url('assets/problem-manual-counting.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(239, 68, 68, 0.22);
  border-bottom: 1px solid rgba(239, 68, 68, 0.22);
  color: #f1f5f9;
  overflow: hidden;
}
#problem .section-head h2 { color: #ffffff !important; }
#problem .section-head p { color: #94a3b8 !important; }
#problem .badge {
  background: rgba(239, 68, 68, 0.14) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
}
#problem .pain-point-card {
  background: rgba(14, 18, 32, 0.88) !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#problem .pain-point-card:hover {
  border-color: rgba(239, 68, 68, 0.55) !important;
  box-shadow: 0 20px 48px rgba(239, 68, 68, 0.22);
  transform: translateY(-4px);
}
#problem .pain-card-body h3 { color: #ffffff !important; }
#problem .pain-card-body p { color: #cbd5e1 !important; }

/* 3. Section: How It Works (#how-it-works) */
#how-it-works {
  position: relative;
  background: 
    radial-gradient(circle 600px at 50% 120px, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(circle 460px at 85% 55%, rgba(14, 165, 233, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(5, 13, 26, 0.82) 0%, rgba(8, 19, 36, 0.76) 45%, rgba(4, 10, 20, 0.88) 100%),
    url('assets/carousel-automated-delivery.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  color: #f1f5f9;
  overflow: hidden;
}
#how-it-works .section-head h2 { color: #ffffff !important; }
#how-it-works .section-head p { color: #94a3b8 !important; }
#how-it-works .badge {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
}
#how-it-works .step-card {
  background: rgba(8, 20, 36, 0.88) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#how-it-works .step-card:hover {
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 20px 48px rgba(56, 189, 248, 0.25);
  transform: translateY(-4px);
}
#how-it-works .step-card h3 { color: #ffffff !important; }
#how-it-works .step-card p { color: #cbd5e1 !important; }
#how-it-works .step-num {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

/* 4. Section: Benefits (#benefits) */
#benefits {
  position: relative;
  background: 
    radial-gradient(circle 600px at 50% 120px, rgba(37, 99, 235, 0.22) 0%, transparent 70%),
    radial-gradient(circle 460px at 15% 55%, rgba(56, 189, 248, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(6, 14, 28, 0.84) 0%, rgba(9, 20, 38, 0.78) 45%, rgba(4, 9, 20, 0.88) 100%),
    url('assets/carousel-analytics-dashboard.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  color: #f1f5f9;
  overflow: hidden;
}
#benefits .section-head h2 { color: #ffffff !important; }
#benefits .section-head p { color: #94a3b8 !important; }
#benefits .badge {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
}
#benefits .comparison-card {
  background: rgba(8, 20, 36, 0.88) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#benefits .comparison-header h3 { color: #ffffff !important; }
#benefits .comparison-header span { color: #94a3b8 !important; }
#benefits .comparison-list li {
  color: #cbd5e1 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
#benefits .comparison-list strong { color: #ffffff !important; }

/* 5. Section: Applications (#applications) */
#applications {
  position: relative;
  background: 
    radial-gradient(circle 600px at 50% 120px, rgba(16, 185, 129, 0.20) 0%, transparent 70%),
    radial-gradient(circle 460px at 85% 45%, rgba(20, 184, 166, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(4, 16, 22, 0.84) 0%, rgba(6, 22, 28, 0.78) 45%, rgba(2, 10, 15, 0.88) 100%),
    url('assets/bg-specs.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(16, 185, 129, 0.18);
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
  color: #f1f5f9;
  overflow: hidden;
}
#applications .section-head h2 { color: #ffffff !important; }
#applications .section-head p { color: #94a3b8 !important; }
#applications .badge {
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #34d399 !important;
}
#applications .app-card {
  background: rgba(6, 18, 30, 0.88) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#applications .app-card:hover {
  border-color: rgba(16, 185, 129, 0.55) !important;
  box-shadow: 0 20px 48px rgba(16, 185, 129, 0.22);
  transform: translateY(-4px);
}
#applications .app-card-content h3 { color: #ffffff !important; }
#applications .app-card-content p { color: #cbd5e1 !important; }

/* 6. Section: Interactive ROI Calculator (#roi-calculator) */
#roi-calculator, .roi-section {
  position: relative;
  background: 
    radial-gradient(circle 600px at 50% 120px, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(circle 460px at 15% 55%, rgba(14, 165, 233, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(5, 12, 24, 0.84) 0%, rgba(8, 18, 34, 0.78) 45%, rgba(4, 9, 18, 0.88) 100%),
    url('assets/bg-admin.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  color: #f1f5f9;
  overflow: hidden;
}
#roi-calculator .section-head h2 { color: #ffffff !important; }
#roi-calculator .section-head p { color: #94a3b8 !important; }
#roi-calculator .badge {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
}
#roi-calculator .roi-controls-card,
#roi-calculator .roi-results-card {
  background: rgba(8, 20, 36, 0.88) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#roi-calculator .roi-ctrl-title { color: #ffffff !important; }
#roi-calculator .roi-ctrl-hint { color: #94a3b8 !important; }
#roi-calculator .roi-live-bubble {
  background: rgba(56, 189, 248, 0.18) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}
#roi-calculator .roi-slider-ticks span { color: #94a3b8 !important; }
#roi-calculator .roi-card-top h3 { color: #ffffff !important; }
#roi-calculator .roi-stat-box {
  background: rgba(12, 26, 46, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
}
#roi-calculator .roi-stat-label { color: #94a3b8 !important; }
#roi-calculator .roi-stat-number { color: #ffffff !important; }
#roi-calculator .roi-stat-caption { color: #cbd5e1 !important; }

/* 7. Trust Bar inside Hero */
.hero-trust-bar {
  background: rgba(6, 15, 28, 0.75) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-trust-bar .trust-stat-label {
  color: #ffffff !important;
}
.hero-trust-bar .trust-stat-desc {
  color: #94a3b8 !important;
}

/* 8. Modern Dark Footer */
.footer {
  background: linear-gradient(180deg, rgba(4, 10, 20, 0.96) 0%, rgba(2, 6, 14, 0.99) 100%) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
  color: #94a3b8 !important;
}
.footer h4, .footer-title { color: #ffffff !important; }
.footer-links a { color: #94a3b8 !important; }
.footer-links a:hover { color: #38bdf8 !important; }


/* ==========================================================================
   Refined Premium Dark Glassmorphic Components & ROI Console Upgrade
   ========================================================================== */

/* 1. Complete Overhaul for ROI Calculator */
#roi-calculator,
.roi-section {
  position: relative;
  background: 
    radial-gradient(circle 600px at 50% 120px, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(circle 460px at 15% 55%, rgba(14, 165, 233, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(5, 12, 24, 0.84) 0%, rgba(8, 18, 34, 0.78) 45%, rgba(4, 9, 18, 0.88) 100%),
    url('assets/bg-admin.jpg') center center / cover no-repeat !important;
  border-top: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.18) !important;
  color: #f1f5f9;
  overflow: hidden;
}

#roi-calculator .section-head h2 { color: #ffffff !important; }
#roi-calculator .section-head p { color: #94a3b8 !important; }
#roi-calculator .badge {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
}

/* Master Glass Console Container */
.roi-calc-container,
#roi-calculator .roi-calc-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  background: rgba(8, 18, 34, 0.82) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 24px !important;
  padding: 38px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(56, 189, 248, 0.12) !important;
  position: relative;
}

.roi-calc-container::before,
#roi-calculator .roi-calc-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #0284c7 30%, #38bdf8 50%, #0284c7 70%, transparent 100%);
  border-radius: 9999px;
}

/* Left Column: Interactive Controls Bay */
.roi-controls-card,
#roi-calculator .roi-controls-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  background: rgba(12, 24, 44, 0.65) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 18px !important;
  padding: 28px 24px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.roi-ctrl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}

.roi-ctrl-title,
#roi-calculator .roi-ctrl-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff !important;
}

.roi-ctrl-hint,
#roi-calculator .roi-ctrl-hint {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8 !important;
  margin-top: 3px;
}

.roi-live-bubble,
#roi-calculator .roi-live-bubble {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: monospace;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.22);
  white-space: nowrap;
}

.roi-slider,
#roi-calculator .roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: rgba(30, 58, 92, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  margin: 8px 0 6px;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #38bdf8 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 14px #38bdf8, 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  box-shadow: 0 0 20px #38bdf8, 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

.roi-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #38bdf8 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 14px #38bdf8 !important;
  cursor: pointer;
}

.roi-slider-ticks,
#roi-calculator .roi-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #64748b !important;
  font-weight: 600;
}

.roi-slider-ticks span {
  color: #64748b !important;
}

/* Right Column: Real-time Projection Dashboard */
.roi-results-card,
#roi-calculator .roi-results-card {
  background: linear-gradient(145deg, rgba(12, 30, 58, 0.88) 0%, rgba(8, 20, 40, 0.92) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 18px !important;
  padding: 30px !important;
  color: #ffffff !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.roi-pill-tag,
#roi-calculator .roi-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}

.roi-card-top h3,
#roi-calculator .roi-card-top h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-top: 10px;
  letter-spacing: -0.01em;
}

.roi-stats-matrix,
#roi-calculator .roi-stats-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.roi-stat-box,
#roi-calculator .roi-stat-box {
  background: rgba(14, 32, 60, 0.6) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.25s ease;
}

.roi-stat-box:hover {
  background: rgba(18, 42, 78, 0.75) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
}

.roi-stat-box.primary-stat,
#roi-calculator .roi-stat-box.primary-stat {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.28) 0%, rgba(56, 189, 248, 0.12) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 0 24px rgba(2, 132, 199, 0.2);
}

.roi-stat-label,
#roi-calculator .roi-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8 !important;
  margin-bottom: 4px;
}

.roi-stat-number,
#roi-calculator .roi-stat-number {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.roi-stat-box.primary-stat .roi-stat-number,
#roi-calculator .roi-stat-box.primary-stat .roi-stat-number {
  color: #38bdf8 !important;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.roi-stat-caption,
#roi-calculator .roi-stat-caption {
  font-size: 0.78rem;
  color: #cbd5e1 !important;
  margin-top: 4px;
}

.roi-card-action .btn,
#roi-calculator .roi-card-action .btn {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45) !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.roi-card-action .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(2, 132, 199, 0.65) !important;
}

/* 2. Extra Polish Across Other Sections */
#how-it-works .step-card h4 {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

#how-it-works .step-header-tag {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

#how-it-works .step-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0a1728 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.35);
  color: #ffffff !important;
}

#problem .pain-card-body h3 {
  color: #ffffff !important;
  font-weight: 800;
}

#applications .app-card {
  background: rgba(6, 18, 30, 0.88) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

#applications .app-card-content h3 {
  color: #ffffff !important;
}

#benefits .comparison-card {
  background: rgba(8, 20, 36, 0.88) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

#benefits .comparison-header h3 {
  color: #ffffff !important;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Enhancements
   ========================================================================== */
@media (max-width: 960px) {
  .roi-calc-container,
  #roi-calculator .roi-calc-container {
    grid-template-columns: 1fr !important;
    padding: 24px 20px !important;
    gap: 24px !important;
  }
  
  .roi-controls-card,
  #roi-calculator .roi-controls-card {
    padding: 20px 16px !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero {
    padding: 105px 0 36px !important;
    min-height: auto !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
  }

  .hero-tagline {
    font-size: 1rem !important;
  }

  .hero-telemetry {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  .carousel-wrapper {
    margin-top: 24px !important;
  }

  .carousel {
    min-height: 240px !important;
    border-radius: 14px !important;
  }

  .slide img {
    max-height: 280px !important;
    object-fit: cover !important;
  }

  .grid-3, .grid-4, .steps-grid, .features-grid, .partners-grid, .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .roi-results-card,
  #roi-calculator .roi-results-card {
    padding: 22px 18px !important;
  }

  .roi-ctrl-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .roi-stat-hero .roi-stat-number {
    font-size: 2rem !important;
  }

  .roi-metrics-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .form-card {
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-table-container,
  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .cta-banner {
    padding: 30px 20px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem !important;
  }

  .hero-telemetry {
    grid-template-columns: 1fr !important;
  }

  .roi-metrics-grid {
    grid-template-columns: 1fr !important;
  }

  .brand-name {
    font-size: 1rem !important;
  }

  .brand-subtitle {
    font-size: 0.62rem !important;
  }
}

