/* Home hero */
.hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
}
.hero .hero-title {
  display: block;
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin: 0;
  border: none;
}
.hero .tagline {
  display: block;
  color: var(--bs-secondary-color);
  font-size: 1.25rem;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

/* Three link cards on the home page */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.tile {
  display: block;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 10px;
  text-decoration: none;
  color: var(--bs-body-color);
  transition: border-color 0.15s ease;
}
.tile:hover {
  border-color: var(--bs-primary);
  color: var(--bs-body-color);
}
.tile h3 {
  margin: 0 0 0.35rem;
  color: var(--bs-primary);
}
.tile p {
  margin: 0;
  color: var(--bs-secondary-color);
  font-size: 0.95rem;
}

/* Accent button */
.btn-tt {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--bs-primary);
  color: var(--bs-body-bg) !important;
  font-weight: 700;
  text-decoration: none;
}
.btn-tt:hover { filter: brightness(1.08); }

/* Responsive video and dashboard embeds */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 1.5rem 0;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}
.dashboard-frame {
  width: 100%;
  height: 85vh;
  min-height: 600px;
  border: 1px solid var(--bs-border-color);
  border-radius: 10px;
  background: #151922;
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 0.4rem;
  max-width: 560px;
  margin: 1.5rem 0;
}
.contact-form label {
  font-weight: 600;
  margin-top: 0.6rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--bs-body-color);
  font: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--bs-primary);
}
.contact-form select option {
  background: var(--bs-body-bg);
}
.contact-form button {
  justify-self: start;
  margin-top: 1rem;
  border: 0;
  cursor: pointer;
}
.contact-form button:disabled { opacity: 0.6; cursor: default; }
.contact-form .cf-trap { position: absolute; left: -9999px; }
.cf-status { margin: 0.25rem 0 0; color: var(--bs-secondary-color); }
