* {
  box-sizing: border-box;
  transition: all 0.5s ease;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: #0f0f0f;
  color: #e6e6e6;
  min-height: 100vh;
}

/* Header */
.header {
  background-color: #0f0f0f;
  border-bottom: 1px solid #1f1f1f;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 40px;
  width: auto;
}

.company-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  max-width: fit-content;
  background: linear-gradient(200deg, #ffffff 0%, #d9d9d9 60%, #bfbfbf 100%);
  color: #0f0f0f;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.5s ease, color 0.5s ease, transform 0.3s ease;
  will-change: background, color, transform;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 50%, #e6e6e6 100%);
  color: #0f0f0f;
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  background-color: #0f0f0f;
}

.hero-content {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 6rem;
  text-align: left;
}

/* Titles */
.hero-title,
.hero-title-mobile {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title {
  font-size: 3rem;
}

.hero-title-mobile {
  font-size: 2rem;
  text-align: center;
}

/* Subtitles */
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #a0a0a0;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-subtitle-mobile {
  font-size: 1rem;
  text-align: center;
  margin: 0 auto 2rem auto;
}

.hero-video-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hero-video-container {
  position: relative;
  max-width: 1400px;
  max-height: 600px;
  width: 100%;
  transform-origin: top;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.hover-prompt {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.hero-video {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-video-cropper {
  position: relative;
  /* top: -45px; 👈 crop the top of the video */
}

.hero-video-container.muted:hover .hover-prompt {
  opacity: 1;
}

.hero-video.loaded {
  opacity: 1;
}

.video-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #0f0f0f8c 100%); */
  pointer-events: none;
  z-index: 1;
}

.mute-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 0.5rem 0.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.hero-video-container.clicked .mute-overlay {
  opacity: 1;
}


.mute-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.2rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.2s ease, border 0.2s ease;
}

.hero-video-container:hover .mute-button {
  opacity: 1;
  pointer-events: auto;
}

.mute-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.services {
  padding: 6rem 2rem;
  text-align: center;
  background: #0f0f0f;
  border-top: 1px solid #1f1f1f;
}

.services-title {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.services-subtitle {
  font-size: 1.1rem;
  color: #a0a0a0;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: #1a1a1a;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card-text {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Trusted By Section */
.trusted-by {
  padding: 4rem 0;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  background-color: #0f0f0f;
}

.trusted-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #ffffff;
}

.logo-marquee {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  animation: scroll 25s linear infinite;
}

.logo {
  width: 140px;
  height: 60px;
  margin: 0 2rem;
  border-radius: 8px;
  background-color: #ffffff;
  object-fit: contain;
  filter: grayscale(1);
}

.final-cta {
  padding: 6rem 2rem;
  border-top: 1px solid #1f1f1f;
  background-color: #0f0f0f;
}

.final-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.final-cta-title {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  flex: 1;
  min-width: 220px;
}


.footer {
  padding: 2rem 2rem;
  border-top: 1px solid #1f1f1f;
  background-color: #0f0f0f;
  font-size: 0.9rem;
  color: #888;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #fff;
}

/* Utility classes for responsive visibility */
.show-desktop {
  display: block;
}

.show-mobile {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .show-desktop {
    display: none;
  }

  .show-mobile {
    display: block;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-video-wrapper {
    margin-left: 0;
    max-height: 200px;
    min-width: 400px;
    /* min-width: 500px; */
  }

  .final-cta-inner {
    flex-direction: column;
  }

  .final-cta-title {
    text-align: center;
    margin-bottom: 1rem;
  }
}

/* Fade in animation used across the page */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
