/* -------------------------------------------
   KUNDADANCE LANDING PAGE STYLES
   Colors:
   Red:       #FF0204
   Charcoal:  #0D0D0F
   Off-white: #F3F2F0
-------------------------------------------- */

/* Import Montserrat from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

:root {
  --red: #FF0204;
  --black: #0D0D0F;
  --offwhite: #F3F2F0;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

/* ---------- Layout ---------- */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--offwhite);
  color: var(--black);
  margin: 0;
  padding: 0 1rem; /* consistent spacing on mobile */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  line-height: 1.6;
  animation: fadeInBody 1.5s ease;
}

@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Card layout ---------- */
main {
  max-width: 720px;
  width: 100%;
  background: #ffffff;
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 4rem;
  animation: fadeInUp 1.2s ease both;
}

/* ---------- Typography ---------- */
h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  color: var(--black);
  font-weight: 600;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: var(--black);
  font-weight: 500;
}

p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* ---------- Form ---------- */
form {
  margin-top: 1.5rem;
}

input[type="email"] {
  padding: 0.8rem;
  font-size: 1rem;
  width: 70%;
  max-width: 320px;
  margin-right: 0.5rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  background: #fff;
  transition: var(--transition);
  font-family: inherit;
}

input[type="email"]:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 2, 4, 0.15);
}

button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--red);
  color: var(--offwhite);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  font-family: inherit;
}

button:hover {
  background-color: #e00405;
  transform: translateY(-1px);
}

/* ---------- Poster ---------- */
.poster-image {
  display: block;
  width: 75%;
  max-width: 480px;
  margin: 1.5rem auto 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 1; /* always visible by default */
  animation: fadeInUp 1.8s ease forwards;
  animation-delay: 0.5s;
}

/* ---------- Footer ---------- */
footer {
  max-width: 720px;      /* match main card */
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: var(--black);
  margin: 1.5rem 0 3rem; /* closer spacing from poster */
  opacity: 0.8;
  line-height: 1.5;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1rem;
  animation: fadeInUp 2s ease both;
  animation-delay: 0.8s;
}
