/* ==========================================================================
   INTELLIFLEET SOLUTIONS - MASTER DESIGN SYSTEM (LIGHT THEME)
   "Intelligence in Every Mile..!"
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Brand Palette from Logo */
  --color-brand-primary: #00A84D;
  --color-brand-primary-light: #059669;
  --color-brand-primary-dark: #047857;
  --color-brand-primary-glow: rgba(0, 168, 77, 0.2);

  --color-brand-cyan: #0284C7;
  --color-brand-cyan-glow: rgba(2, 132, 199, 0.2);
  --color-brand-amber: #D97706;
  --color-brand-rose: #DC2626;

  /* Surface & Background Light Mode */
  --bg-main: #F8FAFC;
  --bg-surface-1: #FFFFFF;
  --bg-surface-2: #F1F5F9;
  --bg-surface-3: #E2E8F0;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-card: #FFFFFF;
  --border-glass: #E2E8F0;
  --border-glass-hover: #00A84D;

  /* Typography Colors */
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  /* Layout & Measurements */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --header-height: 88px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 35px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-neon: 0 4px 20px rgba(0, 168, 77, 0.15);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Typography & Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* --- Reusable Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-emerald { color: var(--color-brand-primary) !important; }
.text-cyan { color: var(--color-brand-cyan) !important; }
.full-width { width: 100%; }

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

.glass-panel {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.glass-panel:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-lg);
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-primary-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--color-brand-primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00C853 0%, var(--color-brand-primary) 100%);
  box-shadow: 0 6px 20px rgba(0, 168, 77, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid #CBD5E1;
}

.btn-outline:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  background: rgba(0, 168, 77, 0.05);
}

.btn-glass {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20BA56;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* --- Section Formatting --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-primary);
  background: rgba(0, 168, 77, 0.1);
  border: 1px solid rgba(0, 168, 77, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: #0F172A;
}

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

/* ==========================================================================
   HEADER & NAVIGATION (LIGHT THEME & PROMINENT LOGO)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(0, 168, 77, 0.2);
}

.header-container {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.brand-logo-img-sm {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.15rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-brand-primary);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
  margin-top: 1px;
}

.dropdown-parent:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 390px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
  transition: all var(--transition-fast);
}

.dropdown-parent:hover .dropdown-panel {
  display: flex;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
}

.dropdown-item:hover {
  background: #F8FAFC;
}

.dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ets-icon { background: rgba(0, 168, 77, 0.12); color: var(--color-brand-primary); }
.vm-icon { background: rgba(2, 132, 199, 0.12); color: var(--color-brand-cyan); }
.gps-icon { background: rgba(217, 119, 6, 0.12); color: var(--color-brand-amber); }

.dropdown-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.dropdown-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  line-height: 1;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.header-phone-btn svg {
  flex-shrink: 0;
  color: var(--color-brand-primary);
}

.header-phone-btn:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  background: rgba(0, 168, 77, 0.08);
}

.demo-modal-btn {
  height: 44px;
  padding: 0 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #0F172A;
  transition: var(--transition-fast);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid #E2E8F0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2000;
  transition: right var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.mobile-close-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
  overflow-y: auto;
}

.mobile-nav-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  color: var(--text-main);
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

/* ==========================================================================
   HERO SECTION (LIGHT THEME)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #F8FAFC;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.85;
  filter: saturate(1.1) brightness(1.02);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.72) 48%, rgba(248, 250, 252, 0.15) 100%),
              linear-gradient(180deg, rgba(248, 250, 252, 0.2) 0%, transparent 60%, var(--bg-main) 100%);
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 168, 77, 0.1);
  border: 1px solid rgba(0, 168, 77, 0.25);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-brand-primary);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-brand-primary);
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #0F172A;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.hero-stat-card {
  text-align: left;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F172A;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: #E2E8F0;
}

/* Hero HUD Card (Clean Light Tech Console) */
.telemetry-hud-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 168, 77, 0.1);
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-brand-primary);
  font-weight: 700;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: var(--color-brand-primary);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.hud-timestamp {
  color: var(--text-muted);
}

.hud-visual-display {
  position: relative;
  height: 200px;
  margin: 1.25rem 0;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at center, rgba(0, 168, 77, 0.08) 0%, #EEF4F8 75%);
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.radar-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.radar-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  margin-top: -125px;
  margin-left: -125px;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(0, 168, 77, 0.35) 0deg, transparent 60deg, transparent 360deg);
  animation: radar-rotate 4s linear infinite;
}

@keyframes radar-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-ping {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-brand-primary);
}

.ping-tag {
  position: absolute;
  left: 14px;
  top: -6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hud-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.hud-stat-cell {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
}

.cell-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cell-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 0.2rem;
}

.hud-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.hud-simulator-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.hud-simulator-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   COMPANY PROFILE SECTION (LIGHT THEME)
   ========================================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.profile-info-card {
  padding: 2.25rem;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.profile-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 168, 77, 0.1);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.profile-info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #0F172A;
}

.profile-info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.profile-pillars-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
}

.pillars-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #E2E8F0;
}

.pillars-header h3 {
  font-size: 1.4rem;
  color: #0F172A;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.pillar-item {
  position: relative;
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(0, 168, 77, 0.25);
  margin-bottom: 0.5rem;
}

.pillar-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #0F172A;
}

.pillar-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   PRODUCTS & SOLUTIONS SHOWCASE (LIGHT THEME)
   ========================================================================== */
.product-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.product-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  color: #475569;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.product-tab-btn:hover {
  color: var(--text-main);
  border-color: #94A3B8;
}

.product-tab-btn.active {
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-primary-dark) 100%);
  border-color: var(--color-brand-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--color-brand-primary-glow);
}

.product-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.product-panel.active {
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.product-label-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.ets-tag { background: rgba(0, 168, 77, 0.1); color: var(--color-brand-primary); border: 1px solid rgba(0, 168, 77, 0.25); }
.vm-tag { background: rgba(2, 132, 199, 0.1); color: var(--color-brand-cyan); border: 1px solid rgba(2, 132, 199, 0.25); }
.gps-tag { background: rgba(217, 119, 6, 0.1); color: var(--color-brand-amber); border: 1px solid rgba(217, 119, 6, 0.25); }

.product-heading {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  color: #0F172A;
}

.product-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 168, 77, 0.12);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check-item strong {
  display: block;
  color: #0F172A;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.feature-check-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.product-visual {
  position: relative;
}

.product-image-frame {
  position: relative;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.product-img {
  width: 100%;
  border-radius: var(--radius-md);
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--color-brand-primary);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.badge-top-right {
  top: 1.5rem;
  right: 1.5rem;
}

.badge-bottom-left {
  bottom: 1.5rem;
  left: 1.5rem;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR SECTION (LIGHT THEME)
   ========================================================================== */
.simulator-console {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-lg);
}

.sim-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #E2E8F0;
}

.sim-vehicle-select {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #0F172A;
}

.sim-select {
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  cursor: pointer;
}

.sim-playback-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-icon:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
}

.sim-alert-triggers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-btn-alert {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sim-btn-alert:hover {
  background: #FECACA;
}

.sim-display-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.5rem;
}

.sim-map-wrapper {
  position: relative;
  background: #EEF4F8;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 460px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

#sim-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.map-overlay-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid #00A84D;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00A84D;
  animation: pulse-ring 1.5s infinite;
}

.map-coordinates-box {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #475569;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sim-gauges-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gauge-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 1rem;
  border-radius: var(--radius-md);
}

.gauge-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.speed-dial-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.speed-value {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0284C7;
}

.speed-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.speed-bar-track, .fuel-bar-track {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.speed-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-brand-primary) 0%, var(--color-brand-cyan) 100%);
  transition: width 0.3s ease;
}

.fuel-bar-fill {
  height: 100%;
  background: var(--color-brand-primary);
  transition: width 0.3s ease;
}

.gauge-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.readout-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
}

.readout-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.engine-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.engine-metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.engine-metric span {
  color: var(--text-secondary);
}

.engine-metric strong {
  font-family: var(--font-mono);
  color: #0F172A;
}

.event-log-card {
  flex-grow: 1;
}

.event-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 110px;
  overflow-y: auto;
}

.event-row {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 0.35rem 0.5rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  border-left: 3px solid var(--text-muted);
}

.event-row.success { border-left-color: var(--color-brand-primary); }
.event-row.warning { border-left-color: var(--color-brand-amber); color: #B45309; }
.event-row.danger { border-left-color: var(--color-brand-rose); color: #B91C1C; }

.event-time {
  color: var(--text-muted);
  margin-right: 0.4rem;
}

/* ==========================================================================
   ROI CALCULATOR SECTION (LIGHT THEME)
   ========================================================================== */
.roi-calculator-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-lg);
}

.roi-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.roi-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.roi-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
  color: #0F172A;
}

.roi-val-badge {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  background: rgba(0, 168, 77, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 168, 77, 0.25);
}

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #E2E8F0;
  outline: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--color-brand-primary-glow);
  border: 2px solid #FFFFFF;
  transition: transform var(--transition-fast);
}

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

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.roi-results-col {
  display: flex;
  align-items: center;
}

.roi-result-card {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.result-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-secondary);
}

.result-highlight-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-brand-primary);
  margin: 0.5rem 0;
  line-height: 1.1;
}

.result-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #E2E8F0;
}

.roi-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.roi-breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.roi-breakdown-item span {
  color: var(--text-secondary);
}

.roi-breakdown-item strong {
  font-family: var(--font-mono);
  color: #0F172A;
}

/* ==========================================================================
   FEATURES / ADVANTAGE GRID (LIGHT THEME)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-box {
  padding: 2.25rem;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
}

.feat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 168, 77, 0.1);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #0F172A;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   INDUSTRIES SECTION (LIGHT THEME)
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.ind-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.industry-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #0F172A;
}

.industry-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT SECTION & CHENNAI HQ (LIGHT THEME)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-panel {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: #0F172A;
}

.contact-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-brand-primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 168, 77, 0.1);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.address-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.phone-link {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-brand-primary);
}

.phone-link:hover {
  text-decoration: underline;
}

.direct-contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form-panel {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0F172A;
}

.contact-form-panel p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.form-control {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-brand-primary);
  background: #FFFFFF;
  box-shadow: 0 0 10px var(--color-brand-primary-glow);
}

/* ==========================================================================
   FOOTER (RICH HIGH CONTRAST ANCHOR)
   ========================================================================== */
.site-footer {
  background: #0F172A;
  color: #F8FAFC;
  border-top: 1px solid #1E293B;
  padding: 5rem 0 2rem 0;
}

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

.footer-logo {
  height: 54px;
  width: auto;
  max-width: 220px;
  background: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-brand-desc {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-tagline-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: #22C55E;
  font-style: italic;
  font-weight: 600;
}

.footer-links-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links-col a:hover {
  color: #22C55E;
}

.footer-contact-item {
  color: #94A3B8;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-contact-item strong {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #64748B;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal-links a:hover {
  color: #22C55E;
}

/* ==========================================================================
   MODALS & TOAST NOTIFICATIONS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-profile-card {
  max-width: 800px;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: #0F172A;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Profile Modal Print Layout */
.profile-modal-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-modal-logo {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.profile-modal-tagline h3 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
  color: #0F172A;
}

.profile-modal-tagline p {
  color: var(--color-brand-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-hr {
  border: none;
  height: 1px;
  background: #E2E8F0;
  margin: 1.25rem 0;
}

.profile-section-block {
  margin-bottom: 1.5rem;
}

.profile-section-block h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--color-brand-primary);
}

.profile-section-block p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.profile-table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.profile-table th, .profile-table td {
  padding: 0.75rem;
  border: 1px solid #E2E8F0;
  text-align: left;
}

.profile-table th {
  background: #F1F5F9;
  color: #0F172A;
}

.profile-table td {
  color: var(--text-secondary);
}

.profile-contact-summary {
  background: #F8FAFC;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid #E2E8F0;
}

.profile-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E2E8F0;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-msg {
  background: #FFFFFF;
  border: 1px solid var(--color-brand-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  color: #0F172A;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInUp 0.3s ease-out;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS & MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 1280px) {
  .header-container {
    padding: 0 1.25rem;
    gap: 1.25rem;
  }
  .nav-menu {
    gap: 1.25rem;
  }
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .header-phone-btn {
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }
  .demo-modal-btn {
    padding: 0 1.1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .hero-content-wrapper,
  .product-grid,
  .sim-display-grid,
  .roi-calculator-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

@media (max-width: 960px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-phone-btn .phone-text {
    display: none;
  }

  .header-phone-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .header-container {
    padding: 0 1rem;
  }

  .brand-logo-img {
    height: 44px;
    max-width: 170px;
  }

  .demo-modal-btn {
    display: none;
  }

  /* Hero Mobile */
  .hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

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

  .hero-stats-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .stat-num {
    font-size: 1.35rem;
  }

  /* Product Tabs Horizontal Swipe */
  .product-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0.35rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab-btn {
    white-space: nowrap;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .product-heading {
    font-size: 1.75rem;
  }

  .product-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .product-actions .btn {
    width: 100%;
  }

  .floating-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .badge-top-right {
    top: 1rem;
    right: 1rem;
  }

  .badge-bottom-left {
    bottom: 1rem;
    left: 1rem;
  }

  /* Simulator Mobile */
  .simulator-console {
    padding: 1.25rem;
  }

  .sim-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .sim-vehicle-select {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .sim-select {
    width: 100%;
  }

  .sim-playback-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .sim-alert-triggers {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .sim-btn-alert {
    flex: 1 1 auto;
    text-align: center;
  }

  .sim-map-wrapper {
    height: 320px;
  }

  /* ROI Calculator Mobile */
  .roi-calculator-wrapper {
    padding: 1.5rem;
    gap: 2rem;
  }

  .result-highlight-amount {
    font-size: 2.2rem;
  }

  .roi-result-card {
    padding: 1.5rem;
  }

  /* Company Profile & Cards Mobile */
  .profile-grid,
  .features-grid,
  .pillars-grid,
  .industries-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .profile-pillars-card {
    padding: 1.5rem;
  }

  .pillars-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .pillars-header .btn {
    width: 100%;
  }

  /* Contact & Form Mobile */
  .contact-info-panel,
  .contact-form-panel {
    padding: 1.5rem;
  }

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

  .direct-contact-actions {
    flex-direction: column;
    width: 100%;
  }

  .direct-contact-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .modal-card {
    padding: 1.5rem;
  }
}

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

  .section-title {
    font-size: 1.75rem;
  }

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

  .sim-map-wrapper {
    height: 280px;
  }

  .modal-card {
    padding: 1.25rem;
  }
}

/* Print Stylesheet for Profile */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .site-header, .site-footer, .hero-section, .products-section, .simulator-section, .roi-section, .features-section, .industries-section, .contact-section, .no-print, .modal-close-btn {
    display: none !important;
  }

  .modal-overlay {
    position: static;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .modal-card {
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 0 !important;
    color: #000000 !important;
    background: transparent !important;
  }

  .profile-table th {
    background: #F1F5F9 !important;
    color: #000000 !important;
  }

  .profile-table td {
    color: #334155 !important;
  }
}
