:root {
  --bg-1: #0b1016;
  --bg-2: #141f2b;
  --line: #2e435a;
  --snow: #eaf3fb;
  --accent: #e65025;
  --accent-dark: #b53615;
  --text: #f4f8fc;
  --muted: #adc0d1;
  --card: rgba(11, 16, 22, 0.68);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 80% -15%, #344e68 0%, transparent 60%),
    radial-gradient(800px 420px at 10% 0%, #22374d 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 58%, #0a0f15 100%);
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-layer-top {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 18px
  );
  opacity: 0.26;
}

.bg-layer-bottom {
  background: radial-gradient(
    75% 45% at 50% 100%,
    rgba(234, 243, 251, 0.2) 0%,
    transparent 80%
  );
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 10vh 1.2rem 3rem;
  text-align: center;
}

.domain-pill {
  display: inline-block;
  margin: 0;
  padding: 0.38rem 0.9rem;
  border: 1px solid rgba(173, 192, 209, 0.38);
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(11, 16, 22, 0.48);
  backdrop-filter: blur(4px);
}

h1 {
  margin: 1.1rem 0 0;
  font-family: "Teko", sans-serif;
  font-size: clamp(2.5rem, 7.2vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.subtitle {
  margin: 1rem auto 0;
  max-width: 44ch;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
}

.contact-line {
  margin: 0.7rem 0 0;
  color: #c6d6e3;
  font-size: 0.98rem;
}

.contact-line a {
  color: #f3fbff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(243, 251, 255, 0.55);
}

.contact-line a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.95);
}

.car-stage {
  margin: 2rem auto 1.35rem;
  width: min(100%, 680px);
  border: 1px solid rgba(173, 192, 209, 0.26);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transform-style: preserve-3d;
}

.car-image {
  display: block;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 280ms ease-out;
}

.notify {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin: 1rem auto 0;
  max-width: 560px;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(173, 192, 209, 0.3);
  background: rgba(11, 16, 22, 0.65);
}

.notify input {
  min-width: 0;
  border: 1px solid rgba(173, 192, 209, 0.45);
  border-radius: 8px;
  padding: 0.86rem 0.95rem;
  font: inherit;
  color: var(--text);
  background: rgba(13, 22, 31, 0.85);
}

.notify input::placeholder {
  color: #7f95a8;
}

.notify input:focus {
  outline: 2px solid rgba(230, 80, 37, 0.7);
  outline-offset: 1px;
}

.notify button {
  border: 0;
  border-radius: 8px;
  padding: 0.86rem 1rem;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 130ms ease, filter 130ms ease;
}

.notify button:hover {
  filter: brightness(1.05);
}

.notify button:active {
  transform: translateY(1px);
}

.notify button[disabled] {
  opacity: 0.74;
  cursor: wait;
}

.message {
  margin: 0.7rem 0 0;
  min-height: 1.2rem;
  color: var(--muted);
}

.message.error {
  color: #ff9b8f;
}

.message.success {
  color: #9de5b6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero > * {
  animation: riseIn 700ms ease both;
}

.hero > *:nth-child(2) {
  animation-delay: 110ms;
}

.hero > *:nth-child(3) {
  animation-delay: 190ms;
}

.hero > *:nth-child(4) {
  animation-delay: 280ms;
}

.hero > *:nth-child(5) {
  animation-delay: 360ms;
}

.hero > *:nth-child(6) {
  animation-delay: 440ms;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 8vh;
  }

  .notify {
    grid-template-columns: 1fr;
  }

  .notify button {
    width: 100%;
  }
}
