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

:root {
  --black: #000;
  --orange: #FF7300;
  --gray: #888;
  --white: #fff;
  --error: #FF7272;
  --success: #51D23A;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
}

/* ══════════════════════════════════════
   COMING SOON PAGE
══════════════════════════════════════ */

/* ── Main content ── */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  text-align: center;
}

/* ── Desktop & Tablet: name + "coming soon" side by side ── */
.hero {
  display: flex;
  align-items: flex-start;
  gap: 1px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 336px;
}

.name,
.tagline {
  font-weight: 600;
  font-size: 34px;
  line-height: 38px;
}

.name {
  color: var(--black);
  text-align: left;
}

.tagline {
  color: var(--orange);
  text-align: right;
}

/* ── Skills row ── */
.skills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 336px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background-color: var(--orange);
  opacity: 1;
}

/* ── Footer link ── */
.footer {
  margin-top: auto;
  padding-bottom: 8px;
}

.footer a {
  font-size: 12px;
  font-weight: 400;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--orange);
}

/* ══════════════════════════════════════
   DOWNLOAD PAGE
══════════════════════════════════════ */

body.download .container {
  flex: unset;
  text-align: left;
  justify-content: flex-start;
}

body.download .hero {
  flex-direction: column;
  gap: 0;
  max-width: 360px;
  margin-bottom: 0;
}

body.download h1 {
  font-size: 34px;
  font-weight: 600;
  line-height: 38px;
  margin-bottom: 20px;
}

body.download h1 .black  { color: var(--black); }
body.download h1 .orange { color: var(--orange); }

.description {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin-bottom: 12px;
}

/* ── Form row ── */
.form-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

/* ── Input ── */
input[type="email"] {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}

input[type="email"]::placeholder {
  color: #bbb;
}

input[type="email"]:focus {
  border-color: var(--black);
}

/* ── Button ── */
button {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--black);
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

button:disabled {
  opacity: 0.3;
  cursor: default;
}

button:not(:disabled):hover {
  opacity: 0.8;
}

/* ── Feedback ── */
.feedback {
  font-size: 14px;
  font-weight: 400;
  margin-top: 10px;
  min-height: 20px;
}

.feedback.error   { color: var(--error); }
.feedback.success { color: var(--success); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.container {
  animation: fadeIn 0.8s ease both;
}

.footer {
  animation: fadeIn 0.8s ease 0.3s both;
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 480px)
══════════════════════════════════════ */

@media (max-width: 480px) {
  body {
    align-items: center;
    justify-content: flex-start;
    padding: 56px 0 40px;
  }

  /* Coming soon */
  .container {
    align-items: center;
    text-align: left;
    flex: unset;
    width: 240px;
  }

  .hero {
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
    width: 240px;
    max-width: 240px;
  }

  .tagline {
    text-align: left;
  }

  .skills {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 240px;
    max-width: 240px;
  }

  .sep {
    display: inline-block;
    width: 14px;
    height: 1px;
    background-color: var(--orange);
  }

  .footer {
    margin-top: 48px;
    padding-bottom: 0;
    width: 240px;
    display: flex;
    justify-content: flex-start;
  }

  /* Download */
  body.download {
    justify-content: flex-start;
    padding-top: 56px;
    padding-bottom: 40px;
  }

  body.download .container {
    align-items: center;
    width: 240px;
  }

  body.download .hero {
    width: 240px;
    max-width: 240px;
  }

  body.download h1 {
    font-size: 34px;
    line-height: 38px;
    margin-bottom: 16px;
  }

  body.download h1 .black,
  body.download h1 .orange {
    display: block;
  }

  .form-row {
    flex-direction: column;
    gap: 8px;
  }

  input[type="email"] {
    width: 100%;
  }

  button {
    width: 100%;
    padding: 14px;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — DESKTOP (≥ 481px)
══════════════════════════════════════ */

@media (min-width: 481px) {
  body {
    padding-bottom: 20%;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (481px – 1023px)
══════════════════════════════════════ */

@media (min-width: 481px) and (max-width: 1023px) {
  body {
    justify-content: center;
  }

  .hero {
    gap: 1px;
  }
}
