/* ==========================================================
   ABONEH (ابنيه) - Official Design System & Stylesheet
   Fonts: GE SS Two (Light, Medium, Bold)
   Domain: aboneh.envapress.org
   ========================================================== */

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/GE_SS_Two_Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/GE_SS_Two_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/GE_SS_Two_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: 'GE SS Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Brand Palette from ABONEH Logo & Van */
  --primary: #10B981;          /* Pin Green */
  --primary-hover: #059669;
  --primary-dark: #047857;
  --primary-light: #34D399;
  --primary-glow: rgba(16, 185, 129, 0.35);
  
  --accent-lime: #84CC16;
  --accent-amber: #F59E0B;
  --accent-sky: #0284C7;
  --danger: #EF4444;
  --success: #10B981;

  /* Neutrals & Dark Theme Base */
  --bg-dark: #090D16;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(31, 41, 55, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(16, 185, 129, 0.4);

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #0d281e 0%, #090D16 65%);
  background-attachment: fixed;
}

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

p, span, label, input, button, select, textarea {
  font-family: var(--font-main);
}

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

/* Glassmorphic Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9, 13, 22, 0.95);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: nowrap;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
  display: block;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--primary-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: block;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  display: inline-block;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

#userNavActions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.nav-actions .btn {
  padding: 8px 16px;
  font-size: 0.88rem;
  height: 40px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile Toggle Hamburger Button */
.btn-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.btn-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.btn-mobile-toggle:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #0B1120;
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 35px rgba(0,0,0,0.85);
  z-index: 10001;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

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

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
}

.mobile-nav-links a {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  color: #FFFFFF;
  background: rgba(16, 185, 129, 0.12);
  border-right: 3px solid var(--primary);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  outline: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-live-pulse {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  position: relative;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero Section */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(9, 13, 22, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.hero-title .highlight-text {
  background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #A7F3D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan-en {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #38BDF8;
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.5px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
}

.stat-item h4 {
  font-size: 1.8rem;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Media Card */
.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--bg-card);
}

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

.hero-image-card:hover .hero-main-img {
  transform: scale(1.02);
}

/* Floating Glass Badges on Hero Image */
.float-card {
  position: absolute;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatAnim 4s ease-in-out infinite;
}

.float-top {
  top: 24px;
  left: 20px;
}

.float-bottom {
  bottom: 24px;
  right: 20px;
  animation-delay: 2s;
}

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

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-light);
}

.float-text h5 {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

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

/* Sections Global */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #FFFFFF;
}

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

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 78, 59, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Live GPS Simulation Showcase Box */
.tracking-showcase-box {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 13, 22, 0.98) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.telemetry-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.telemetry-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.metric-card strong {
  font-size: 1.3rem;
  color: var(--primary-light);
}

.map-simulation-viewport {
  height: 420px;
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-header-bar {
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  z-index: 10;
}

.map-canvas-area {
  flex: 1;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #090d16 100%);
  overflow: hidden;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
}

.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
  transform: translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.pricing-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.price-box {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.price-currency {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li i {
  color: var(--primary-light);
  margin-top: 3px;
}

/* Calculator Section */
.calculator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.calc-results-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Modal System (Auth, Portals, Booking) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #0f172a;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.tab-btn {
  padding: 8px 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
}

/* Footer */
.footer {
  background: #060911;
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 30px;
  position: relative;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-right: 6px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .desktop-nav {
    display: none !important;
  }
  .btn-mobile-toggle {
    display: flex !important;
  }
  .header-container {
    height: 70px;
    padding: 0 16px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tracking-showcase-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-main-img {
    height: 380px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .calc-inputs-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-container {
    height: 64px;
    padding: 0 12px;
    gap: 8px;
  }
  .brand-logo-img {
    height: 34px;
  }
  /* On small mobile screens, keep header strictly on ONE line */
  .nav-pulse-btn {
    display: none !important;
  }
  #userNavActions .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    height: 36px;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-desc {
    font-size: 0.98rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}

