/* ===================================================
   GT DataHub — Landing Page Styles
   Dark minimal theme | Pure CSS | No JavaScript
   =================================================== */

/* ----- Reset & Base -------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #0d0d0d;
  color: #e8e8e8;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  line-height: 1.7;
}

/* ----- Hero Image ---------------------------------- */
.hero {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-image {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 12px;
  /* Replace src in index.html with your Copilot library image */
}

/* ----- Content Card -------------------------------- */
.card {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

/* ----- Branding ------------------------------------ */
.logo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #e02020;
  margin-bottom: 2rem;
}

/* ----- Headline ------------------------------------ */
.headline {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.headline span {
  color: #e02020;
}

/* ----- Body Text ----------------------------------- */
.body-text {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: #a0a0a0;
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ----- Email Form ---------------------------------- */
.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.email-input {
  flex: 1 1 220px;
  max-width: 320px;
  padding: 0.75rem 1rem;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  background-color: #1a1a1a;
  color: #e8e8e8;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.email-input::placeholder {
  color: #555;
}

.email-input:focus {
  border-color: #e02020;
}

.submit-btn {
  padding: 0.75rem 1.5rem;
  background-color: #e02020;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  background-color: #c01818;
}

.submit-btn:active {
  transform: scale(0.97);
}

/* ----- Footer -------------------------------------- */
footer {
  margin-top: 3rem;
  font-size: 0.75rem;
  color: #3a3a3a;
  text-align: center;
}

/* ----- Responsive ---------------------------------- */
@media (max-width: 480px) {
  .email-form {
    flex-direction: column;
    align-items: center;
  }

  .email-input,
  .submit-btn {
    width: 100%;
    max-width: 100%;
  }
}
