.navbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  padding: 0;
  background: rgba(8, 12, 19, 0.88);
  border-bottom: 1px solid rgba(242, 189, 99, 0.18);
  backdrop-filter: blur(8px);
}

.navbar .fp-container {
  max-width: 1100px;
  margin: auto;
  padding: 12px 20px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.75rem;
}

.navbar-brand {
  color: var(--brand-gold-soft);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.navbar nav {
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.9rem, 2.2vw, 1.75rem);
}

.nav-links a {
  color: var(--brand-gold-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffe6b9;
  border-bottom-color: rgba(255, 230, 185, 0.65);
}

.hero {
  position: relative;
  min-height: min(100vh, 54rem);
  display: flex;
  align-items: center;
  text-align: center;
  background-color: #000000;
  background-image: url("../images/hvac-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  z-index: 0;
}

.hero .fp-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  position: relative;
  z-index: 2;
}

.hero-logo {
  margin: 0 auto 30px;
  width: min(100%, 280px);
}

.hero-subtitle {
  font-size: clamp(1.03rem, 2.2vw, 1.28rem);
  color: #d8e0f0;
  margin-bottom: 1.7rem;
}

.hero-cta {
  margin-top: 0.25rem;
}

.hero-product {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-product img {
  max-width: 950px;
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 45%,
    rgba(0, 0, 0, 0.9) 60%,
    rgba(0, 0, 0, 0.6) 75%,
    rgba(0, 0, 0, 0) 95%
  );
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 45%,
    rgba(0, 0, 0, 0.9) 60%,
    rgba(0, 0, 0, 0.6) 75%,
    rgba(0, 0, 0, 0) 95%
  );
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

#demo .fp-container,
#video .fp-container,
#signup .fp-container,
#info .fp-container,
#contact .fp-container {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3.8vw, 2.5rem);
  box-shadow: var(--shadow);
}

.media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #31415f;
  border-radius: 0.9rem;
  background: #0c1320;
  margin-top: 1rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.fp-video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

#video-slate {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#video-slate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#video-player iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.45rem);
}

.feature-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%), #131d2f;
}

.feature-card p {
  margin-bottom: 0;
}

.info-copy {
  max-width: 820px;
}

.signup-form {
  max-width: 560px;
  margin-inline: auto;
  display: grid;
  gap: 0.95rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.92rem;
  color: #d6dded;
  font-weight: 600;
}

.form-field input {
  width: 100%;
  min-height: 2.9rem;
  border-radius: 0.7rem;
  border: 1px solid #334360;
  background: #0d1524;
  color: #eef3ff;
  padding: 0.65rem 0.8rem;
}

.contact-links {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.contact-links a {
  color: var(--brand-gold-soft);
  font-weight: 600;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: #ffe5b5;
}

@media (max-width: 980px) {
  .navbar .fp-container {
    padding: 10px 16px;
  }

  .navbar-inner {
    min-height: 4.2rem;
  }

  .nav-links {
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-logo {
    width: min(100%, 220px);
  }

  .hero-product img {
    max-width: 920px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    gap: 0.5rem;
    row-gap: 0.35rem;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-logo {
    width: min(100%, 180px);
  }

  .hero-product {
    margin-top: 50px;
  }
}
