/* ==========================================================================
   TerexSoft LLP - Modern Enterprise Website Stylesheet
   Design Philosophy: Inspired by SytronSoft & Celestial Systems
   Clean • Authoritative • High-Tech • Enterprise-Grade
   ========================================================================== */

/* ── CSS TOKENS & RESET ── */
:root {
  --primary: #0C5DBB;
  --primary-dark: #07152B;
  --primary-light: #1E74D8;
  --primary-glow: rgba(12, 93, 187, 0.20);
  --accent-cyan: #00B4D8;
  --accent-cyan-light: #90E0EF;
  --accent-emerald: #059669;
  --accent-emerald-light: #10B981;
  --accent-amber: #D97706;
  --accent-amber-light: #F59E0B;
  --accent-purple: #7C3AED;
  
  --dark-bg: #090E1A;
  --dark-surface: #0F172A;
  --dark-card: #14234C;
  --dark-border: rgba(255, 255, 255, 0.12);
  
  --light-bg: #F8FAFC;
  --light-surface: #FFFFFF;
  --light-border: #E2E8F0;
  --light-border-hover: #CBD5E1;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --sans-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 28px rgba(0, 180, 216, 0.35);
  --shadow-primary: 0 8px 24px -4px rgba(0, 86, 210, 0.35);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --max-width: 1280px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::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(--sans);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.spotlight-title,
.btn,
.tag-pill,
.status-badge-pulse,
.stat-counter {
  font-family: var(--sans-heading);
  letter-spacing: -0.03em;
}

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

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

ul {
  list-style: none;
}

/* ── UTILITY CLASSES & CONTAINERS ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--text-white);
}

.section-muted {
  background-color: #F1F5F9;
}

.text-center {
  text-align: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(0, 86, 210, 0.08);
  color: var(--primary);
  border: 1px solid rgba(0, 86, 210, 0.18);
  margin-bottom: 1rem;
}

.tag-pill-dark {
  background: rgba(0, 180, 216, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 180, 216, 0.25);
}

.tag-pill-amber {
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.tag-pill-emerald {
  background: rgba(5, 150, 105, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3rem auto;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: var(--text-light);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: #0045A8;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(0, 86, 210, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--light-border);
}

.btn-outline:hover {
  background: var(--light-surface);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--accent-cyan);
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-cyan:hover {
  background: #22d3ee;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* ── 1. TOP UTILITY BAR (Disabled per user request) ── */
.top-utility-bar {
  display: none !important;
}

/* ── 2. MAIN HEADER & NAVIGATION (Fluid Full-Width Screen Coverage) ── */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: var(--transition);
}

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

.site-header .nav-container,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 clamp(1.25rem, 3.5vw, 4rem);
  box-sizing: border-box;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  flex-shrink: 0;
}

.brand-logo img {
  height: clamp(44px, 3.8vw, 54px);
  max-width: clamp(210px, 20vw, 290px);
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 1.8vw, 2.2rem);
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: clamp(0.9rem, 0.95vw, 0.98rem);
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.2rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  color: var(--text-light);
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary);
}

/* ── MEGA MENU DROPDOWNS ── */
.mega-dropdown {
  position: absolute;
  top: 100%;
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
  padding: 1.8rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1010;
  max-width: calc(100vw - 2.5rem);
}

/* Mega dropdown for Products */
.mega-products {
  width: min(760px, calc(100vw - 2.5rem));
  right: -120px;
  left: auto;
  transform: translateY(12px);
}

.nav-item:hover .mega-products {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-grid-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mega-card-featured {
  background: linear-gradient(145deg, #F8FAFC 0%, #EEF2F6 100%);
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: var(--transition);
}

.mega-card-featured:hover {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.mega-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.mega-icon-badge.blue {
  background: rgba(0, 86, 210, 0.1);
  color: var(--primary);
}

.mega-icon-badge.emerald {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-emerald);
}

.status-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--mono);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.badge-amber {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.badge-emerald {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.mega-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.mega-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mega-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.micro-tag {
  font-size: 0.72rem;
  background: rgba(226, 232, 240, 0.6);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Mega dropdown for Services */
.mega-services {
  width: min(880px, calc(100vw - 2.5rem));
  right: -60px;
  left: auto;
  transform: translateY(12px);
}

.nav-item:hover .mega-services {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.mega-service-col h4 {
  font-size: 0.82rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--light-border);
}

.mega-service-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mega-service-link:hover {
  background: #F1F5F9;
}

.mega-service-link i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.mega-service-link strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.mega-service-link em {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: normal;
}

.mega-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-border);
  font-size: 0.88rem;
}

.mega-footer a {
  color: var(--primary);
  font-weight: 600;
}

.mega-footer a:hover {
  text-decoration: underline;
}

/* Header CTAs */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* ── 3. HERO SECTION (Modern Executive Enterprise Hero) ── */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 15%, #EBF4FE 0%, #F8FAFC 55%, #FFFFFF 100%);
  color: var(--text-main);
  padding: 2.75rem 0 3rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--light-border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at center, rgba(12, 93, 187, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 65%, transparent 100%);
}

.hero-ambient-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.ambient-orb-1 {
  position: absolute;
  width: 550px;
  height: 550px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(12, 93, 187, 0.14) 0%, rgba(0, 180, 216, 0.07) 50%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  animation: floatOrbA 16s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  position: absolute;
  width: 450px;
  height: 450px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, rgba(16, 185, 129, 0.06) 50%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  animation: floatOrbB 18s ease-in-out infinite alternate;
}

@keyframes floatOrbA {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(1.1); }
}

@keyframes floatOrbB {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -30px) scale(1.08); }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 630px;
}

/* Modern Unified Badge Bar */
.hero-badge-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-status-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(12, 93, 187, 0.2);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(12, 93, 187, 0.06);
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-status-capsule:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 93, 187, 0.12);
}

.capsule-category {
  font-family: var(--sans-heading);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.capsule-divider {
  color: #CBD5E1;
  font-size: 0.7rem;
}

.capsule-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.capsule-arrow {
  font-size: 0.68rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.hero-status-capsule:hover .capsule-arrow {
  transform: translateX(3px);
}

.hero-status-capsule .pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: beaconPulse 2s infinite;
}

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

.slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-pill);
  font-family: var(--sans-heading);
  font-size: 0.74rem;
  font-weight: 700;
  color: #0F172A;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.slogan-badge i {
  color: #D97706;
}

.hero-title {
  font-size: clamp(1.48rem, 2.15vw, 1.95rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: #0F172A;
  margin-bottom: 0.85rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #0C5DBB 0%, #0284C7 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 0.92rem;
  line-height: 1.64;
  color: #64748B;
  margin-bottom: 1.35rem;
  max-width: 540px;
  font-weight: 400;
}

.hero-desc strong {
  color: #0F172A;
  font-weight: 600;
}

/* Modern Showcase Switcher Chips */
.hero-quick-switch {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.45rem;
}

.quick-switch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.quick-switch-chip:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(12, 93, 187, 0.12);
  background: #F8FAFC;
}

.chip-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.chip-icon-box.blue {
  background: #E0F2FE;
  color: #0284C7;
}

.chip-icon-box.emerald {
  background: #DCFCE7;
  color: #059669;
}

.chip-text {
  display: flex;
  flex-direction: column;
}

.chip-text strong {
  font-family: var(--sans-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}

.chip-text span {
  font-size: 0.70rem;
  color: #64748B;
  font-weight: 500;
}

.chip-arrow {
  font-size: 0.70rem;
  color: #94A3B8;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 0.2rem;
}

.quick-switch-chip:hover .chip-arrow {
  transform: translateX(3px);
  color: var(--primary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-actions .btn-lg {
  padding: 0.72rem 1.45rem;
  font-size: 0.90rem;
  font-weight: 600;
  border-radius: var(--radius-md);
}

/* Modern Trust Metrics Cards */
.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E2E8F0;
}

.metric-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.metric-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.metric-item:nth-child(2)::before {
  background: var(--accent-cyan);
}

.metric-item:nth-child(3)::before {
  background: var(--accent-emerald);
}

.metric-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.metric-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.metric-header strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  font-family: var(--sans-heading);
}

.metric-icon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.metric-icon-dot.blue { background: #0284C7; }
.metric-icon-dot.cyan { background: #00B4D8; }
.metric-icon-dot.emerald { background: #10B981; }

.metric-item span:not(.metric-icon-dot) {
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.35;
  font-weight: 500;
  display: block;
}

/* Modern Visual Frame with Browser Bar & Floating Micro Pills */
.hero-visual {
  position: relative;
}

.hero-visual-frame {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 48px -12px rgba(12, 93, 187, 0.16);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-visual-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px -10px rgba(12, 93, 187, 0.22);
}

.visual-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.frame-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #EF4444; }
.dot-amber { background: #F59E0B; }
.dot-green { background: #10B981; }

.frame-url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.8rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #64748B;
}

.frame-url i {
  color: var(--primary);
  font-size: 0.68rem;
}

.frame-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-family: var(--sans-heading);
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: beaconPulse 2s infinite;
}

.visual-graphic-wrap {
  padding: 0.75rem;
  background: #FAFAFC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-graphic-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Micro Feature Pills */
.hero-floating-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12);
  z-index: 3;
  pointer-events: none;
}

.float-pill-1 {
  top: -16px;
  right: 20px;
  animation: floatPillA 6s ease-in-out infinite alternate;
}

.float-pill-2 {
  bottom: -16px;
  left: 20px;
  animation: floatPillB 7s ease-in-out infinite alternate;
}

@keyframes floatPillA {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

@keyframes floatPillB {
  0% { transform: translateY(0px); }
  100% { transform: translateY(8px); }
}

.float-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.float-pill-icon.blue {
  background: #E0F2FE;
  color: #0284C7;
}

.float-pill-icon.emerald {
  background: #DCFCE7;
  color: #059669;
}

.float-pill-info {
  display: flex;
  flex-direction: column;
}

.float-pill-info strong {
  font-family: var(--sans-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.float-pill-info span {
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 500;
}

@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-badge-bar,
  .hero-quick-switch,
  .hero-actions {
    justify-content: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-floating-pill {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.5rem 0;
  }
  .hero-trust-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ── ENTERPRISE ECOSYSTEM MARQUEE RIBBON ── */
.marquee-section {
  background: #FFFFFF;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  padding: 1.75rem 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-header-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 1.2rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  gap: 1.5rem;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.25rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--sans-heading);
  color: #334155;
  white-space: nowrap;
  transition: var(--transition);
}

.marquee-item:hover {
  background: #FFFFFF;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(12, 93, 187, 0.12);
}

.marquee-item i {
  font-size: 1.15rem;
  color: var(--primary);
}

/* ── 4. FLAGSHIP PRODUCTS SPOTLIGHT (Bizzler SBMS & Bizzler Jsecure) ── */
.products-spotlight {
  padding: 6rem 0;
  background: #FFFFFF;
}

.spotlight-cards-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.spotlight-card {
  background: #FFFFFF;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.spotlight-card-hero {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
  padding: 1.8rem;
  border-bottom: 1px solid var(--light-border);
  position: relative;
}

.spotlight-card-hero img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.spotlight-card-body {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.spotlight-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.product-code-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.spotlight-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.spotlight-subtitle {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.spotlight-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.feature-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
  padding: 1.2rem;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.feature-check-item i {
  color: var(--accent-emerald);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.spotlight-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--light-border);
}

/* ── Interactive Feature Tabs for Bizzler SBMS ── */
.product-interactive-wrap {
  margin: 1.2rem 0;
  background: #F8FAFC;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.product-subtabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 0.75rem;
}

.prod-subtab-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--sans-heading);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.prod-subtab-btn:hover,
.prod-subtab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(12, 93, 187, 0.25);
}

.prod-tab-content-panel {
  display: none;
  animation: fadeInPane 0.25s ease;
}

.prod-tab-content-panel.active {
  display: block;
}

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

.prod-panel-kpi {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  margin-bottom: 0.45rem;
}

.prod-panel-kpi i {
  color: var(--accent-emerald);
}

.prod-panel-kpi strong {
  color: var(--primary-dark);
}

.prod-panel-kpi span {
  color: #64748B;
  font-size: 0.8rem;
}

.sbms-disclaimer-banner {
  background: rgba(12, 93, 187, 0.05);
  border: 1px solid rgba(12, 93, 187, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.sbms-disclaimer-banner i {
  color: var(--primary);
  margin-top: 0.2rem;
}

/* ── Interactive Bytecode Fortifier for Bizzler Jsecure ── */
.jsecure-interactive-box {
  margin: 1.2rem 0;
  background: #090E1A;
  border: 1.5px solid #1E293B;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  color: #FFFFFF;
}

.jsec-toggle-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.jsec-toggle-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--mono);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94A3B8;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.jsec-toggle-btn.active.vuln {
  background: rgba(239, 68, 68, 0.22);
  border-color: #EF4444;
  color: #FCA5A5;
}

.jsec-toggle-btn.active.shield {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10B981;
  color: #6EE7B7;
}

.jsec-code-display {
  background: #050811;
  border: 1px solid #1F2937;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
  max-height: 180px;
  overflow-y: auto;
  display: none;
}

.jsec-code-display.active {
  display: block;
}

/* ── 5. FULL SERVICES SUITE (Inspired by Celestial & SytronSoft) ── */
.services-section {
  background-color: #F8FAFC;
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-box {
  background: #FFFFFF;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 2.2rem;
  right: 2.2rem;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.service-box:hover {
  transform: translateY(-6px);
  border-color: var(--light-border-hover);
  box-shadow: var(--shadow-lg);
}

.service-box:hover::after {
  opacity: 1;
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #EFF6FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-box:hover .service-icon-wrap {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 86, 210, 0.3);
}

.service-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.service-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

.service-capsules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.capsule {
  font-size: 0.75rem;
  font-family: var(--mono);
  background: #F1F5F9;
  color: #334155;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.service-learn-more:hover {
  gap: 0.7rem;
}

/* ── 6. TECHNOLOGY STACK TABS (Clean Light Theme) ── */
.tech-stack-section {
  background-color: #F8FAFC;
  color: var(--text-main);
  padding: 6rem 0;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.tech-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tech-tab-btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #475569;
  border: 1.5px solid #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
}

.tech-tab-btn:hover,
.tech-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.tech-grid-content {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tech-card i {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  display: block;
}

.tech-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--primary-dark);
}

.tech-card span {
  font-size: 0.75rem;
  color: #64748B;
}

/* ── 7. DELIVERY METHODOLOGY (Agile Lifecycle) ── */
.methodology-section {
  padding: 6rem 0;
  background: #FFFFFF;
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.methodology-step {
  background: #F8FAFC;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.35;
  margin-bottom: 0.5rem;
}

.methodology-step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.methodology-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 8. WHY CHOOSE TEREXSOFT ── */
.why-us-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 6rem 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.why-us-card {
  background: #FFFFFF;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  text-align: left;
  transition: var(--transition);
}

.why-us-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 86, 210, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.why-us-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.why-us-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 9. INTERACTIVE PROJECT ESTIMATOR TOOL (Clean Light Theme) ── */
.estimator-section {
  padding: 6rem 0;
  background: #FFFFFF;
  color: var(--text-main);
  border-bottom: 1px solid var(--light-border);
}

.estimator-box {
  background: #F8FAFC;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.estimator-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-option {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  cursor: pointer;
  transition: var(--transition);
}

.pill-option:hover,
.pill-option.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-primary);
}

.estimator-result-card {
  background: #FFFFFF;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.estimator-result-card h4 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.est-highlight-time {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.8rem 0;
}

.estimator-result-card p {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

/* ── 10. CALL TO ACTION BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0056D2 0%, #0084FF 100%);
  color: #FFFFFF;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.cta-text h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.cta-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* ── 11. FOOTER ── */
.site-footer {
  background-color: #050A18;
  color: #94A3B8;
  padding: 5rem 0 2rem 0;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 46px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-contact-info p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact-info i {
  color: var(--accent-cyan);
  margin-top: 0.25rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

/* ── 12. WAITLIST & CONTACT MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 24, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--primary-dark);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--light-border);
  background: #FFFFFF;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.12);
}

.form-input.input-error, .form-select.input-error, .form-textarea.input-error {
  border-color: #DC2626 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

/* Toast alert notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #065F46;
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 2100;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s ease;
}

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

/* ══════════════════════════════════════════════════════════
   13. MODERN ANIMATION ENGINE & MICRO-INTERACTIONS
   ══════════════════════════════════════════════════════════ */

/* Scroll-triggered reveal animations */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  transform: none;
}
[data-animate="fade-in"].is-visible {
  opacity: 1;
}

[data-animate="slide-right"] {
  transform: translateX(-40px);
}
[data-animate="slide-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-left"] {
  transform: translateX(40px);
}
[data-animate="slide-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="scale-up"] {
  transform: scale(0.92);
}
[data-animate="scale-up"].is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay classes */
.stagger-1 { transition-delay: 0.08s !important; }
.stagger-2 { transition-delay: 0.16s !important; }
.stagger-3 { transition-delay: 0.24s !important; }
.stagger-4 { transition-delay: 0.32s !important; }
.stagger-5 { transition-delay: 0.40s !important; }
.stagger-6 { transition-delay: 0.48s !important; }
.stagger-7 { transition-delay: 0.56s !important; }
.stagger-8 { transition-delay: 0.64s !important; }

/* Floating micro-badges around Hero Graphic */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 30px -6px rgba(12, 93, 187, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
  z-index: 5;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.floating-badge strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.floating-badge em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 500;
}

.floating-badge.badge-top-right {
  top: 6%;
  right: -2%;
  animation: floatBadgeA 5.5s ease-in-out infinite;
}

.floating-badge.badge-bottom-left {
  bottom: 8%;
  left: -3%;
  animation: floatBadgeB 6.5s ease-in-out infinite 0.8s;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-dot.pulse-emerald {
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseAnim 2s infinite;
}

.badge-dot.pulse-cyan {
  background: #00D2FF;
  box-shadow: 0 0 10px #00D2FF;
  animation: pulseAnim 2s infinite 0.7s;
}

/* Keyframe Animations */
@keyframes floatBadgeA {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes floatBadgeB {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(-1deg);
  }
}

@keyframes ambientAuraShift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(30px, -20px) scale(1.12);
    opacity: 1;
  }
}

@keyframes buttonShimmer {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  100% {
    transform: translateX(250%) skewX(-20deg);
  }
}

/* Enhanced Hover on Services and Products */
.service-box {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(12, 93, 187, 0.16);
  border-color: rgba(12, 93, 187, 0.4);
}

.service-box:hover .service-icon-wrap {
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 8px 20px -4px rgba(12, 93, 187, 0.3);
}

.service-icon-wrap {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

/* Spotlight Card Hover Depth */
.spotlight-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(12, 93, 187, 0.14);
}

/* Shimmer on Primary CTA Buttons */
.btn-primary, .btn-cyan {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary::after, .btn-cyan::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
}

.btn-primary:hover::after, .btn-cyan:hover::after {
  animation: buttonShimmer 1.1s ease-in-out infinite;
}

.btn-primary:hover, .btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(12, 93, 187, 0.38);
}

/* Metric Item Animated Glow */
.metric-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.metric-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px -6px rgba(12, 93, 187, 0.12);
}

/* ── BENTO GRID & DIAGRAMS ── */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.bento-card-wide {
  grid-column: span 2;
  background: #FFFFFF;
}

.bento-visual-diagram {
  margin-top: 1.35rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid var(--light-border);
  border-left: 3.5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.03);
}

.bento-node {
  flex: 1 1 0;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  font-family: var(--sans-heading);
  font-size: clamp(0.7rem, 0.76vw, 0.76rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-dark);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  transition: var(--transition);
}

.bento-node span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bento-node i {
  color: var(--primary);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.bento-node:hover {
  border-color: var(--primary);
  background: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(12, 93, 187, 0.12);
}

.bento-arrow {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0.85;
}

/* ── METHODOLOGY TIMELINE CONNECTOR ── */
@media (min-width: 1025px) {
  .methodology-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: linear-gradient(90deg, #0C5DBB 0%, #00B4D8 50%, #059669 100%);
    z-index: 1;
    pointer-events: none;
  }
}

.methodology-step {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border: 1.5px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.methodology-step:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 2px solid #BFDBFE;
  font-family: var(--sans-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 1;
  margin-bottom: 1rem;
}

/* ── ESTIMATOR TEAM CHIPS ── */
.estimator-team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.team-chip {
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 0.3rem 0.65rem;
  background: #EFF6FF;
  color: var(--primary);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ── FLOATING QUICK ACTION WIDGET & BACK-TO-TOP ── */
.floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 1050;
}

.floating-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--sans-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px -4px rgba(12, 93, 187, 0.45);
  transition: var(--transition);
  text-decoration: none;
}

.floating-cta-pill:hover {
  background: #0045A8;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(12, 93, 187, 0.55);
}

.back-to-top-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--light-border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

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

.back-to-top-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   16. MODERN SUBPAGE HERO (.page-hero)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 2.25rem 1.25rem 1.75rem;
  background: 
    radial-gradient(circle at 50% -20%, rgba(12, 93, 187, 0.10) 0%, rgba(2, 132, 199, 0.04) 45%, transparent 75%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid #E2E8F0;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12, 93, 187, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.7;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.8rem;
  background: #FFFFFF;
  border: 1px solid rgba(12, 93, 187, 0.16);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 6px rgba(12, 93, 187, 0.05);
  margin-bottom: 0.75rem;
}

.page-hero-badge-wrap .badge-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
  display: inline-block;
}

.page-hero-badge-text {
  font-family: var(--sans-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0C5DBB;
}

.page-hero-badge-divider {
  color: #CBD5E1;
  font-size: 0.7rem;
}

.page-hero-badge-slogan {
  font-family: var(--sans-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

.page-hero-badge-slogan i {
  color: #D97706;
  margin-right: 2px;
}

.page-hero-title {
  font-family: var(--sans-heading);
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #0F172A;
  margin: 0 auto 0.55rem;
  max-width: 760px;
}

.page-hero-title .gradient-text {
  background: linear-gradient(135deg, #0C5DBB 0%, #0284C7 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748B;
  max-width: 620px;
  margin: 0 auto 0.9rem;
}

.page-hero-quick-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.page-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-pill);
  font-family: var(--sans-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.page-hero-chip:hover {
  background: #0C5DBB;
  color: #FFFFFF;
  border-color: #0C5DBB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 93, 187, 0.2);
}

.page-hero-chip i {
  font-size: 0.74rem;
  color: #0284C7;
  transition: color 0.2s ease;
}

.page-hero-chip:hover i {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 1.85rem 1rem 1.4rem;
  }
  .page-hero-badge-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.25rem 0.65rem;
  }
  .page-hero-title {
    font-size: 1.45rem;
  }
  .page-hero-desc {
    font-size: 0.88rem;
  }
}

/* ── 22. BIZZLER JSECURE FEATURE FLAG STYLES ── */
/* Default / Compact Mode (Flag Disabled: Mention as upcoming product without detailed obfuscation info) */
html.jsecure-compact-mode .jsecure-full-details,
body.jsecure-compact-mode .jsecure-full-details {
  display: none !important;
}

html.jsecure-compact-mode .jsecure-compact-summary,
body.jsecure-compact-mode .jsecure-compact-summary {
  display: block !important;
}

html.jsecure-compact-mode span.jsecure-compact-summary,
body.jsecure-compact-mode span.jsecure-compact-summary {
  display: inline !important;
}

/* Full Details Mode (Flag Enabled: Display complete website with all technical specs) */
html.jsecure-full-mode .jsecure-full-details,
body.jsecure-full-mode .jsecure-full-details {
  display: block !important;
}

html.jsecure-full-mode span.jsecure-full-details,
body.jsecure-full-mode span.jsecure-full-details {
  display: inline !important;
}

html.jsecure-full-mode div.spotlight-card-footer.jsecure-full-details {
  display: flex !important;
}

html.jsecure-full-mode .jsecure-compact-summary,
body.jsecure-full-mode .jsecure-compact-summary {
  display: none !important;
}

/* Initial fallback state before JS runs */
.jsecure-compact-summary {
  display: none;
}
html.jsecure-compact-mode .jsecure-compact-summary {
  display: block;
}
