/* ==========================================================================
   NexGrid (Pvt) Ltd - Enterprise Design System
   Exact Aesthetic Mirror of Altium (https://www.altium.com/)
   ========================================================================== */

:root {
  /* Altium Exact Color Tokens */
  --altium-dark-nav: #121318;
  --altium-dark-hero: #0c0e14;
  --altium-gray-bg: #f5f6f9;
  --altium-gray-subtle: #eaecee;
  --altium-card-border: #e2e4e8;
  --altium-blue: #005aff;
  --altium-blue-hover: #0047cc;
  --altium-blue-subtle: #e8f0fe;
  
  --text-dark: #12141a;
  --text-body: #4b5262;
  --text-muted: #747d90;
  --text-light: #ffffff;
  
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1eb956;
  --whatsapp-bg: #eafaf1;
  
  /* Radii */
  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-inner: 16px;
  --radius-btn: 9999px;
  --radius-sm: 8px;
  
  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.1);
  --shadow-wa: 0 8px 25px rgba(37, 211, 102, 0.35);

  --max-width: 1320px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Enterprise Announcement Bar
   ========================================================================== */
.top-notice-bar {
  background-color: #0c0e14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a7b5;
  font-size: 0.8125rem;
  padding: 8px 0;
}

.top-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-notice-left, .top-notice-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 90, 255, 0.15);
  color: #5da0ff;
  border: 1px solid rgba(0, 90, 255, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.top-link {
  color: #a1a7b5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.top-link:hover {
  color: #ffffff;
}

.top-wa-pill {
  background: rgba(37, 211, 102, 0.15);
  color: #38e379;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.top-wa-pill:hover {
  background: #25d366;
  color: #ffffff;
}

/* ==========================================================================
   Header & Navigation (Altium Style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--altium-dark-nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 78px;
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-pill {
  background-color: #ffffff;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

.brand-logo-pill:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.brand-logo-img {
  height: 34px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.brand-tagline {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #93c5fd;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
  padding-left: 4px;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.header-brand:hover .brand-tagline {
  color: #60a5fa;
  letter-spacing: 0.24em;
}

.footer-brand-block .brand-tagline {
  font-size: 0.68rem;
  color: #93c5fd;
  margin-top: 6px;
  padding-left: 2px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  max-width: 210px;
  display: block;
  object-fit: contain;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #005aff 0%, #002e8a 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

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

.brand-sub {
  color: #747d90;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

/* Nav Menu */
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.8vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link svg {
  opacity: 0.6;
}

/* Nav Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--altium-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--altium-blue-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-dark);
  border-color: #d1d5db;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.btn-dark {
  background-color: #1a1d24;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-dark:hover {
  background-color: #262a33;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: var(--shadow-wa);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.0625rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section (Altium Exact Structure - Clean White 3D Circuit Background)
   ========================================================================== */
.altium-hero {
  position: relative;
  background-color: #f8f9fa;
  color: #111827;
  overflow: hidden;
  padding: 50px 0 65px;
  min-height: clamp(580px, 80vh, 820px);
  display: flex;
  align-items: center;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #ffffff;
}

.hero-mechanism-fallback {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.hero-mechanism-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.78) 42%,
    rgba(255, 255, 255, 0.60) 58%,
    rgba(255, 255, 255, 0.20) 75%,
    rgba(255, 255, 255, 0.0) 90%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-tech-badge {
  position: absolute;
  top: 24px;
  right: 36px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: monospace;
  color: #374151;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #0066ff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 102, 255, 0.8);
  animation: pulseDot 2s infinite;
}

.hero-container-layout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  position: relative;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 580px;
  width: 100%;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  text-align: left;
}

.hero-lifecycle-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.05) 0%, rgba(0, 90, 255, 0.08) 100%);
  border: 1px solid rgba(0, 90, 255, 0.28);
  box-shadow: 0 2px 10px rgba(0, 90, 255, 0.06);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
}

.lifecycle-item {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #0b1528;
  transition: color 0.2s ease;
}

.lifecycle-item:hover {
  color: #005aff;
}

.lifecycle-divider {
  font-size: 0.85rem;
  font-weight: 900;
  color: #005aff;
  opacity: 0.75;
  user-select: none;
  line-height: 1;
}

.hero-title {
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: #111827;
  text-align: left;
}

.hero-subtitle {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: #374151;
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 500px;
  text-align: left;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: flex-start;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 36px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 540px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-number {
  font-size: 2.15rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-number span {
  color: var(--altium-blue);
}

.stat-label {
  font-size: 0.8125rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
  font-weight: 600;
}

/* ==========================================================================
   Hero Visual Presentation
   ========================================================================== */

/* Hero Content Static Typography */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 580px;
  width: 100%;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

/* ==========================================================================
   Transition Intro Section (Altium "The Altium Platform connects..." mirror)
   ========================================================================== */
.platform-statement {
  background-color: #ffffff;
  padding: 85px 0 60px;
  text-align: center;
}

.vision-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.vision-tagline-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #0b1528 0%, #0d2247 50%, #081735 100%);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 102, 255, 0.35);
  box-shadow: 0 8px 24px rgba(11, 21, 40, 0.16), 0 0 16px rgba(0, 102, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vision-tagline-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11, 21, 40, 0.22), 0 0 22px rgba(0, 102, 255, 0.25);
}

.vision-line {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
}

.vision-dot {
  color: #00e5ff;
  font-size: 0.9rem;
  line-height: 1;
  user-select: none;
}

@media (max-width: 640px) {
  .vision-tagline-box {
    flex-direction: column;
    gap: 6px;
    padding: 14px 22px;
    border-radius: 16px;
  }
  .vision-dot {
    display: none;
  }
  .vision-line {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
  }
}

.statement-heading {
  font-size: 2.4rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  max-width: 1040px;
  margin: 0 auto;
}

.statement-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Platform Solutions Section (#solutions - Altium Exact Layout & Cards)
   ========================================================================== */
.solutions-section {
  background-color: var(--altium-gray-bg);
  padding: 80px 0 100px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

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

/* Category Filter Tabs (Pill style) */
.category-filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cat-pill {
  background-color: #ffffff;
  color: var(--text-body);
  border: 1px solid var(--altium-card-border);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.cat-pill.active {
  background-color: var(--altium-blue);
  color: #ffffff;
  border-color: var(--altium-blue);
  box-shadow: 0 4px 14px rgba(0, 90, 255, 0.3);
}

/* Solutions Engineering Division Capabilities Strip */
.solutions-overview-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.overview-strip-item {
  background: #ffffff;
  border: 1px solid var(--altium-card-border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.overview-strip-item:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
}

.overview-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--altium-blue-subtle);
  color: var(--altium-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overview-item-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}

.overview-item-text span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

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

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

/* Solutions Grid (2 Columns, Rounded-3XL Cards) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-card {
  background-color: #ffffff;
  border: 1px solid var(--altium-card-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 90, 255, 0.09);
  border-color: #93c5fd;
}

/* Card Visual Pane (Full Top 16:9 Aspect Ratio) */
.card-visual-pane {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card:hover .card-photo-img {
  transform: scale(1.05);
}

.card-photo-top-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.card-division-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.card-photo-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pulse-green-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
  animation: pulseDot 2s infinite;
}

.card-photo-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.card-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-size: 0.74rem;
}

.card-photo-tag .tag-code {
  color: #38bdf8;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.72rem;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.card-body-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.card-punchline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--altium-blue);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* Technical Specification Tag Chips */
.card-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tech-chip {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', Consolas, monospace;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.deliverables-checklist {
  list-style: none;
  margin-bottom: 24px;
}

.deliverables-checklist li {
  font-size: 0.875rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.deliverables-checklist li svg {
  color: var(--altium-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Card Footer Actions */
.card-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--altium-card-border);
  margin-top: auto;
}

/* ==========================================================================
   Customer / Industry Trust Logos (Altium Exact #logos Section)
   ========================================================================== */
.logos-section {
  background-color: #ffffff;
  padding: 90px 0;
  border-top: 1px solid var(--altium-gray-subtle);
  border-bottom: 1px solid var(--altium-gray-subtle);
}

.logos-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 22px 8px 8px;
  background-color: #ffffff;
  border: 1px solid var(--altium-card-border);
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logo-badge:hover {
  background-color: #ffffff;
  border-color: var(--altium-blue);
  color: var(--altium-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 90, 255, 0.12);
}

.industry-badge-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo-badge:hover .industry-badge-thumb {
  transform: scale(1.08);
}

/* ==========================================================================
   Customer Quotes & Case Studies (Altium Exact #quotes Section)
   ========================================================================== */
.quotes-section {
  background-color: var(--altium-gray-bg);
  padding: 100px 0;
}

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

.quote-card {
  background-color: #ffffff;
  border: 1px solid var(--altium-card-border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.quote-tag {
  color: var(--altium-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.quote-body {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 28px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--altium-card-border);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0c0e14;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
}

.author-title {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Instant WhatsApp Project Configurator
   ========================================================================== */
.configurator-section {
  background-color: #ffffff;
  padding: 100px 0;
}

.config-container-card {
  background: #ffffff;
  border: 2px solid var(--altium-blue);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-hover);
}

.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--altium-card-border);
  margin-bottom: 18px;
}

.step-badge {
  width: 24px;
  height: 24px;
  background: var(--altium-blue);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.req {
  color: #ef4444;
  font-weight: 700;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  background-color: var(--altium-gray-bg);
  border: 1px solid var(--altium-card-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--altium-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 90, 255, 0.15);
}

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

/* Config Output Box */
.config-preview-pane {
  background-color: var(--altium-dark-nav);
  border-radius: var(--radius-inner);
  padding: 32px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.config-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.config-preview-header h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-recipient-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.config-raw-message {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #9ca3af;
  white-space: pre-wrap;
  margin-bottom: 24px;
  max-height: 340px;
  overflow-y: auto;
}

.payload-placeholder-red {
  color: #f87171;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px dashed rgba(239, 68, 68, 0.4);
}

.payload-val-white {
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   Corporate Verification & Governance Section
   ========================================================================== */
.corporate-section {
  background-color: var(--altium-gray-bg);
  padding: 90px 0;
}

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

.corp-box {
  background: #ffffff;
  border: 1px solid var(--altium-card-border);
  border-radius: var(--radius-inner);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
}

.corp-box .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.corp-box .val {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-dark);
}

.corp-box .val.accent {
  color: var(--altium-blue);
  font-family: monospace;
  font-size: 1.25rem;
}

/* ==========================================================================
   Altium Exact Mega Footer (footer-v2)
   ========================================================================== */
.site-footer {
  background-color: var(--altium-dark-nav);
  color: #9ca3af;
  padding: 80px 0 32px;
  font-size: 0.875rem;
}

.footer-nav-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h5 {
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: #6b7280;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

/* ==========================================================================
   Modal Dialog for Technical Specs
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 14, 20, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-head {
  padding: 24px 32px;
  border-bottom: 1px solid var(--altium-card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  background: #f3f4f6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.modal-body {
  padding: 32px;
}

.modal-foot {
  padding: 20px 32px 32px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--altium-card-border);
}

/* ==========================================================================
   Altium-Style Floating Action Pill ("Ask Tracie" style WhatsApp Contact)
   ========================================================================== */
.altium-floating-pill {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #121318;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.35), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.altium-floating-pill:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: #1a1d24;
  border-color: #25d366;
  box-shadow: 0 16px 30px -5px rgba(37, 211, 102, 0.3);
  color: #ffffff;
}

.altium-floating-pill svg {
  color: #25d366;
}

.pill-online-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.8);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px rgba(37, 211, 102, 1); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.25s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background-color: var(--whatsapp-hover);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-overlay-gradient {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 55%,
      rgba(255, 255, 255, 0.94) 72%,
      rgba(255, 255, 255, 0.4) 100%
    );
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .quotes-grid {
    grid-template-columns: 1fr;
  }
  .config-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav-row {
    grid-template-columns: 1fr 1fr;
  }
  .corp-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.0625rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }
  .hero-overlay-gradient {
    background: rgba(255, 255, 255, 0.92);
  }
  .statement-heading {
    font-size: 1.75rem;
  }
  .nav-list {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .card-content-wrap {
    grid-template-columns: 1fr;
  }
  .footer-nav-row {
    grid-template-columns: 1fr;
  }
  .corp-grid {
    grid-template-columns: 1fr;
  }
  .config-container-card {
    padding: 24px;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}
