/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
  --bg-color: #0b0f19;         /* 60% Dominant */
  --bg-secondary: rgba(248, 250, 252, 0.02);
  --text-color: #f8fafc;       /* 30% Secondary Header / Text */
  --text-muted: #94a3b8;
  --accent-color: #0052ff;     /* 10% Accent */
  --accent-hover: #1e66ff;
  --border-color: rgba(248, 250, 252, 0.1);
  --border-hover: rgba(248, 250, 252, 0.25);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Colors the word "Smart" */
.logo .accent-word {
  color: var(--accent-color);
}

/* Colors the trailing period "." */
.logo > span:last-child {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 82, 255, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-color);
  background-color: rgba(248, 250, 252, 0.05);
}

/* ==========================================================================
   HERO SECTION WITH VIDEO BACKGROUND
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--bg-color);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(11,15,25,0.4) 0%, rgba(11,15,25,0.95) 90%);
}

.hero-content {
  max-width: 900px;
  text-align: center;
  padding: 2rem;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   UTILITY CONTAINER & SECTIONS
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

/* ==========================================================================
   VALUE PROPOSITION GRID & BLOCK FORMATS
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: rgba(248, 250, 252, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  background-color: rgba(248, 250, 252, 0.04);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  stroke: currentColor;
  fill: none;
}

.card h3 {
  margin-bottom: 1rem;
}

/* ==========================================================================
   SLIDER / CAROUSEL GALLERY
   ========================================================================== */
.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16/9;
  background-color: #121824;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(11,15,25,0.95) 0%, rgba(11,15,25,0) 100%);
  color: var(--text-color);
}

.slide-caption span {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-color);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* ==========================================================================
   SOLUTIONS PAGE SPECIFIC LAYOUTS & REVISIONS (POLISHED & ACCENTED)
   ========================================================================== */
/* Solves the fixed-header collision by specifically overriding the standard container padding rules */
.container.solutions-top-container {
  padding-top: 180px;
  padding-bottom: 2rem;
  background: radial-gradient(120% 40% at 50% 0%, rgba(0, 82, 255, 0.08) 0%, rgba(11, 15, 25, 0) 100%);
}

.solutions-hero-split {
  display: flex;
  gap: 4rem;
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4rem;
  align-items: flex-start;
}

.solutions-hero-split .split-left {
  flex: 1;
}

.solutions-hero-split .eyebrow {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 1rem;
}

.solutions-hero-split .hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: var(--text-color);
}

.solutions-hero-split .split-right {
  flex: 1.2;
  padding-top: 1.5rem;
}

.solutions-hero-split .hero-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Interactive Directory Indexes */
.fleet-directory-index {
  margin-bottom: 8rem;
}

.fleet-directory-index .directory-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 1.5rem;
}

.fleet-directory-index .index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fleet-directory-index .index-card {
  text-decoration: none;
  background: rgba(248, 250, 252, 0.01);
  border: 1px solid var(--border-color);
  padding: 1.8rem;
  display: block;
  border-radius: 6px;
  transition: var(--transition);
}

.fleet-directory-index .index-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  background: rgba(0, 82, 255, 0.03);
  box-shadow: inset 0 0 12px rgba(0, 82, 255, 0.05);
}

.fleet-directory-index .index-num {
  font-family: var(--font-family);
  font-weight: 800;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.fleet-directory-index .index-name {
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
}

.fleet-directory-index .index-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
}

.fleet-directory-index .index-card:hover .index-arrow {
  color: var(--text-color);
}

/* Category Content Styling */
.solution-block {
  margin-bottom: 8rem;
  scroll-margin-top: 100px;
}

.solution-block .category-heading {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.solution-block .category-desc {
  margin-bottom: 2.5rem;
  max-width: 800px;
  color: var(--text-muted);
  line-height: 1.6;
}

.solution-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.main-video-block {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  aspect-ratio: 16/9;
}

.main-video-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-photos-block {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
}

.sub-photo-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}

.sub-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.sub-photo-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   DEPLOYMENT PROCESS TIMELINE (HORIZONTAL)
   ========================================================================== */
.deployment-section {
  border-top: 1px solid var(--border-color);
  background-color: rgba(248, 250, 252, 0.01);
  padding-top: 80px;
  padding-bottom: 80px;
}

.timeline {
  display: flex;
  gap: 2.5rem;
  position: relative;
  margin-top: 4rem;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-step {
  flex: 1;
  position: relative;
  z-index: 2;
}

.timeline-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 2px solid var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px var(--bg-color);
}

.timeline-step h3 {
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   ABOUT & CONTACT PAGE HUB
   ========================================================================== */
.about-hero {
  max-width: 900px;
  margin-bottom: 5rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.industry-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(248, 250, 252, 0.02);
}

.industry-image {
  aspect-ratio: 16/10;
  background-color: #121824;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-content {
  padding: 1.5rem;
}

.industry-content h3 {
  margin-bottom: 0.5rem;
}

/* Contact Module Dashboard */
.contact-dashboard {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  background-color: rgba(248, 250, 252, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4rem;
  margin-top: 4rem;
}

.contact-action-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-action-pane h3 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contact-action-pane p {
  margin-bottom: 2rem;
}

.btn-contact-hub {
  padding: 1.25rem 2.5rem;
  font-size: 1.15rem;
  border-radius: 8px;
  text-align: center;
  width: fit-content;
}

.contact-info-pane {
  border-left: 1px solid var(--border-color);
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-item span {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-color);
}

.info-item a, .info-item address {
  font-size: 1.35rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text-color);
}

.info-item a:hover {
  color: var(--accent-color);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  background-color: rgba(11, 15, 25, 0.5);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1024px) {
  .contact-dashboard {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
  .contact-info-pane {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .solutions-hero-split {
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    margin-bottom: 3rem;
  }
  .solutions-hero-split .split-right {
    padding-top: 0;
  }
  .index-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .timeline {
    flex-direction: column;
    gap: 3rem;
  }
  .timeline::after {
    left: 30px;
    top: 0;
    width: 2px;
    height: 100%;
  }
  .solution-gallery {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}