:root {
  --bg: #08090b;
  --bg-panel: #101216;
  --blue: #1d4fd8;
  --blue-light: #4d78e8;
  --silver: #e4e6ea;
  --cream: #d9b88a;
  --text-muted: #9aa0ab;
  --border: rgba(228, 230, 234, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--silver);
  font-family: 'Georgia', 'Times New Roman', serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6vh 5vw;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/trailer-hero.png');
  background-size: cover;
  background-position: center 60%;
  filter: saturate(0.85);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8, 9, 11, 0.72) 0%, rgba(8, 9, 11, 0.88) 55%, rgba(8, 9, 11, 0.97) 100%);
  z-index: -1;
}

.logo {
  width: min(300px, 55vw);
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.6));
  margin-bottom: 1.75rem;
}

.eyebrow {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--blue-light);
  font-family: 'Trebuchet MS', sans-serif;
  margin-bottom: 0.75rem;
}

.headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0.06em;
  color: var(--silver);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.line-rule {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  margin: 0.5rem auto 1.5rem;
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.signup {
  width: 100%;
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.signup-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.signup input[type="email"] {
  flex: 1 1 12rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--silver);
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.signup input[type="email"]::placeholder {
  color: var(--text-muted);
}

.signup input[type="email"]:focus {
  border-color: var(--blue-light);
}

.signup button {
  flex: 0 0 auto;
  padding: 0.9rem 1.75rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.signup button:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.signup-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Trebuchet MS', sans-serif;
}

.form-message {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.9rem;
  color: var(--blue-light);
  min-height: 1.2rem;
}

.socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.socials a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  color: var(--silver);
  border-color: var(--blue);
}

footer {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .signup-row {
    flex-direction: column;
  }
  .signup button {
    width: 100%;
  }
}
