/* ============================================================
   Enterprise Mobility Solutions - Unique Styling
   Theme: Light, Corporate Dashboard, High Security Layout
   ============================================================ */

/* --- ENTERPRISE HERO --- */
.ent-hero {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-surface-2);
  padding-top: 5rem;
}

.ent-hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(26,46,68,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(26,46,68,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

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

.ent-hero-content {
  flex: 1;
  max-width: 800px;
}

.ent-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--clr-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(26,46,68,0.2);
}

.ent-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.ent-title span {
  color: var(--clr-accent);
}

.ent-desc {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}



/* --- DASHBOARD VISUALIZATION --- */
.ent-dash-sec {
  padding: 6rem 0;
  background: var(--clr-surface);
}

.ent-dash-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.ent-dash-header h2 {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  color: var(--clr-primary);
  margin-bottom: 1rem;
}

.ent-dash-header p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
}

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

.ent-card {
  background: var(--clr-surface-2);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ent-card:hover {
  background: var(--clr-surface);
  box-shadow: 0 20px 40px rgba(26,46,68,0.08);
  transform: translateY(-5px);
}

.ent-card:hover::before {
  transform: scaleX(1);
}

.ent-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(26,46,68,0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
}

.ent-card:hover .ent-card-icon {
  background: var(--clr-primary);
  color: white;
}

.ent-card h3 {
  font-size: 1.3rem;
  color: var(--clr-primary);
  margin-bottom: 1rem;
}

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

/* --- SECURE ARCHITECTURE --- */
.ent-arch-sec {
  padding: 6rem 0;
  background: var(--clr-primary);
  color: white;
}

.ent-arch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ent-arch-content h2 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.ent-arch-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.ent-arch-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ent-arch-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.ent-arch-list i {
  font-size: 1.5rem;
  color: var(--clr-accent-light);
  background: rgba(255,255,255,0.1);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
}

.ent-arch-list strong {
  display: block;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 0.3rem;
}

.ent-arch-list p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.ent-arch-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.ent-arch-frame img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* --- LEGACY INTEGRATION PIPELINE --- */
.ent-legacy-sec {
  padding: 6rem 0;
  background: var(--clr-surface-2);
}

.ent-legacy-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.ent-legacy-header h2 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  color: var(--clr-primary);
  margin-bottom: 1rem;
}

.ent-legacy-header p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
}

.ent-legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.ent-legacy-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: dashed 2px var(--clr-border);
  z-index: 0;
}

.ent-legacy-step {
  background: var(--clr-surface);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(26,46,68,0.03);
  border: 1px solid var(--clr-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ent-legacy-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(26,46,68,0.08);
  border-color: var(--clr-primary);
}

.ent-ls-num {
  width: 60px;
  height: 60px;
  background: var(--clr-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem auto;
  font-family: var(--font-headings);
  box-shadow: 0 0 0 8px var(--clr-surface);
}

.ent-legacy-step h3 {
  font-size: 1.3rem;
  color: var(--clr-primary);
  margin-bottom: 1rem;
}

.ent-legacy-step p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- GLOBAL FLEET MANAGEMENT --- */
.ent-fleet-sec {
  padding: 6rem 0;
  background: var(--clr-surface);
}

.ent-fleet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ent-fleet-visual {
  background: var(--clr-primary);
  border-radius: var(--radius-xl);
  padding: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ent-fleet-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.ent-fleet-map {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 50" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="50" fill="none"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="15" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="50" cy="35" r="1" fill="rgba(255,255,255,0.3)"/></svg>') center/contain no-repeat;
}

.ent-fleet-pulse {
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--clr-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(181, 36, 106, 0.7);
  animation: pulseAccent 2s infinite;
}

.p-1 { top: 30%; left: 20%; animation-delay: 0s; }
.p-2 { top: 20%; right: 25%; animation-delay: 0.5s; }
.p-3 { bottom: 30%; left: 50%; animation-delay: 1s; }

@keyframes pulseAccent {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(181, 36, 106, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(181, 36, 106, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(181, 36, 106, 0); }
}

.ent-fleet-content h2 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
}

.ent-fleet-content p {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.ent-fleet-stats {
  display: flex;
  gap: 2rem;
}

.ef-stat {
  padding: 1.5rem;
  background: var(--clr-surface-2);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--clr-primary);
  flex: 1;
}

.ef-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--clr-primary);
  margin-bottom: 0.3rem;
}

.ef-stat span {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .ent-hero-container, .ent-arch-layout, .ent-fleet-layout {
    flex-direction: column;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ent-dash-grid, .ent-legacy-grid {
    grid-template-columns: 1fr;
  }
  .ent-legacy-grid::before {
    display: none;
  }
  .ent-arch-list li {
    text-align: left;
  }
}
