:root {
  --bluvesta-blue: #11cfff;
  --bluvesta-blue-soft: rgba(17, 207, 255, 0.18);
  --ink: #02080e;
  --panel: rgba(4, 22, 32, 0.72);
  --panel-border: rgba(17, 207, 255, 0.26);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(17, 207, 255, 0.72) rgba(2, 8, 14, 0.9);
  scrollbar-width: thin;
}

body {
  background: var(--ink);
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 0.5rem;
}

body::-webkit-scrollbar-track {
  background: rgba(2, 8, 14, 0.92);
}

body::-webkit-scrollbar-thumb {
  border: 1px solid rgba(2, 8, 14, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(17, 207, 255, 0.95), rgba(0, 143, 196, 0.72));
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #11cfff, #00aeef);
}

.site-shell {
  min-height: 100%;
}

.coming-soon {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 72%, rgba(17, 207, 255, 0.26), transparent 25%),
    linear-gradient(90deg, rgba(2, 8, 14, 0.98) 0%, rgba(2, 8, 14, 0.74) 30%, rgba(2, 8, 14, 0.18) 60%, rgba(2, 8, 14, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.02) 48%, rgba(0, 0, 0, 0.26)),
    url("../assets/hero/bluvesta-coming-soon-hero-base.png") center / cover no-repeat;
}

.coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 44%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 34%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.brand-mark {
  position: absolute;
  left: -7rem;
  bottom: -8rem;
  width: 31rem;
  max-width: 46vw;
  opacity: 0.2;
  filter: drop-shadow(0 0 4.5rem rgba(17, 207, 255, 0.62));
  z-index: 1;
}

.hero-copy {
  position: absolute;
  left: 6.5rem;
  bottom: 6rem;
  width: min(44rem, calc(100% - 13rem));
  z-index: 2;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 2.1rem;
  filter: drop-shadow(0 0.75rem 1.8rem rgba(0, 0, 0, 0.46));
}

.brand-symbol {
  display: block;
  width: 4.75rem;
  height: 4.75rem;
  object-fit: contain;
  filter: drop-shadow(0 0 1.6rem rgba(17, 207, 255, 0.44));
}

.brand-wordmark-frame {
  display: block;
  width: 17.25rem;
  max-width: 58vw;
  overflow: hidden;
}

.brand-wordmark {
  display: block;
  width: 21.875rem;
  max-width: none;
  height: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 3.4rem;
  height: 0.1875rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bluvesta-blue), rgba(17, 207, 255, 0.15));
  box-shadow: 0 0 1.6rem rgba(17, 207, 255, 0.75);
}

h1 {
  margin: 0;
  font-size: 5.375rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 1.1rem 2.9rem rgba(0, 0, 0, 0.55);
}

.headline-accent {
  color: var(--bluvesta-blue);
  text-shadow:
    0 0 1.35rem rgba(17, 207, 255, 0.6),
    0 1.1rem 2.9rem rgba(0, 0, 0, 0.55);
}

.lead {
  max-width: 42.5rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.36;
  text-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.64);
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8125rem;
  margin: 2.1rem 0 0;
  padding: 0;
  list-style: none;
}

.signals li {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border: 1px solid rgba(17, 207, 255, 0.45);
  border-radius: 999px;
  background: rgba(4, 22, 32, 0.58);
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 1.875rem var(--bluvesta-blue-soft);
  backdrop-filter: blur(1rem);
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.64);
  animation: subtle-bob 2.6s ease-in-out infinite;
  will-change: transform;
}

.contact-cta::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.7rem;
  border-top: 2px solid var(--bluvesta-blue);
  border-right: 2px solid var(--bluvesta-blue);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  color: var(--white);
}

.contact-cta:hover::after,
.contact-cta:focus-visible::after {
  transform: translateX(0.2rem) rotate(45deg);
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 0.72fr);
  align-items: center;
  gap: 4rem;
  min-height: 100vh;
  min-height: 100svh;
  padding: 7rem 6.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 34%, rgba(17, 207, 255, 0.22), transparent 25%),
    linear-gradient(90deg, rgba(2, 8, 14, 0.95), rgba(2, 8, 14, 0.8) 46%, rgba(2, 8, 14, 0.9)),
    url("../assets/hero/bluvesta-coming-soon-hero-base.png") center / cover no-repeat;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 14, 0.78), rgba(2, 8, 14, 0.48) 40%, rgba(2, 8, 14, 0.86)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 45%, rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-copy {
  max-width: 45rem;
}

.contact-copy h2 {
  max-width: 42rem;
  margin: 0;
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1.1rem 2.9rem rgba(0, 0, 0, 0.55);
}

.contact-copy p:not(.eyebrow) {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.45;
  text-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.64);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: min(100%, 31rem);
  justify-self: end;
  padding: 1.5rem;
  border: 1px solid var(--panel-border);
  border-radius: 0.5rem;
  background: var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 2rem 5rem rgba(0, 0, 0, 0.38),
    0 0 4rem rgba(17, 207, 255, 0.1);
  backdrop-filter: blur(1.15rem);
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.lead-source-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-group label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.45rem;
  background: rgba(2, 8, 14, 0.56);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  outline: none;
  padding: 0.85rem 0.95rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.field-group textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(17, 207, 255, 0.72);
  background: rgba(2, 8, 14, 0.76);
  box-shadow: 0 0 0 0.22rem rgba(17, 207, 255, 0.14);
}

.submit-button {
  min-height: 3rem;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, #00aeef, var(--bluvesta-blue));
  color: #00131c;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 1.2rem;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  filter: grayscale(0.35);
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.35;
}

.back-to-hero {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  grid-column: 2;
  margin-top: -2.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.64);
  animation: subtle-bob 2.6s ease-in-out infinite;
  animation-delay: 0.35s;
  will-change: transform;
}

.back-to-hero::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.65rem;
  border-top: 2px solid var(--bluvesta-blue);
  border-left: 2px solid var(--bluvesta-blue);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.back-to-hero:hover,
.back-to-hero:focus-visible {
  color: var(--white);
}

.back-to-hero:hover::before,
.back-to-hero:focus-visible::before {
  transform: translateY(-0.18rem) rotate(45deg);
}

@keyframes subtle-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.28rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact-cta,
  .back-to-hero {
    animation: none;
  }
}

.spark {
  position: absolute;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--bluvesta-blue);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  filter: drop-shadow(0 0 1.25rem rgba(17, 207, 255, 0.86));
  z-index: 2;
}

.spark-one {
  left: 43.8rem;
  bottom: 20.5rem;
  transform: rotate(11deg) scale(1.45);
  opacity: 0.9;
}

.spark-two {
  left: 52.5rem;
  bottom: 5rem;
  transform: rotate(-18deg);
  opacity: 0.62;
}

.spark-three {
  right: 8.75rem;
  top: 7.5rem;
  transform: rotate(14deg) scale(1.22);
  opacity: 0.72;
}

@media (min-width: 981px) {
  .contact-section {
    background-attachment: fixed;
  }
}

@media (max-width: 980px) {
  .coming-soon {
    background-position: 60% center;
  }

  .hero-copy {
    left: 2rem;
    right: 2rem;
    bottom: 3rem;
    width: auto;
  }

  h1 {
    font-size: 4.25rem;
  }

  .lead {
    font-size: 1.5rem;
  }

  .brand-mark {
    left: -8rem;
    bottom: -7rem;
    width: 26rem;
    max-width: 72vw;
  }

  .contact-section {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.5rem;
    padding: 5rem 2rem;
  }

  .contact-copy h2 {
    font-size: 3.35rem;
  }

  .contact-form {
    justify-self: stretch;
    width: 100%;
  }

  .back-to-hero {
    grid-column: 1;
    justify-self: start;
    margin-top: -1.1rem;
  }
}

@media (max-width: 640px) {
  .coming-soon {
    background-position: 67% center;
  }

  .coming-soon::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 78%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 25%, rgba(0, 0, 0, 0.72));
  }

  .hero-copy {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 2rem;
  }

  .brand-row {
    margin-bottom: 1.6rem;
  }

  .brand-symbol {
    width: 3.35rem;
    height: 3.35rem;
  }

  .brand-wordmark-frame {
    width: 13rem;
    max-width: calc(100vw - 7.75rem);
  }

  .brand-wordmark {
    width: 16.5rem;
  }

  .eyebrow {
    font-size: 0.875rem;
  }

  .eyebrow::before {
    width: 2.4rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  .lead {
    max-width: 22rem;
    margin-top: 1.25rem;
    font-size: 1.125rem;
  }

  .signals {
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .signals li {
    min-height: 2.35rem;
    padding: 0 0.875rem;
    font-size: 0.875rem;
  }

  .contact-cta {
    margin-top: 1.1rem;
    font-size: 0.9375rem;
  }

  .contact-section {
    padding: 4rem 1.25rem;
  }

  .contact-copy h2 {
    font-size: 2.55rem;
  }

  .contact-copy p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .back-to-hero {
    margin-top: -0.75rem;
    font-size: 0.9rem;
  }

  .brand-mark {
    opacity: 0.18;
  }

  .spark-one,
  .spark-two {
    display: none;
  }
}
