*,
*::before,
*::after {
  box-sizing: border-box;
}
body, h1, p, a, button { margin: 0; padding: 0; }
body {
  font-family: system-ui, sans-serif;
  line-height: 1.4;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
body {
  animation: fadeIn 0.8s ease-out forwards;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.logo {
  font-weight: bold;
  font-size: 1.2rem;
}
.login-btn {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
}

.hero {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 40px;
  gap: 30px;
}
.hero__text {
  max-width: 600px;
  text-align: center;
}
.hero__text h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.hero__text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}
.cta-btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border-radius: 4px;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,123,255,.3);
}

.hero__image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  background: linear-gradient(135deg,#ff7e5f 0%,#feb47b 100%);
  border-radius: 8px;
}

/* 320 */
@media only screen and (min-width: 320px) and (orientation: portrait) {
    .hero {
        flex-direction: column;
    }
}

/* 1366 */
@media (min-width: 1366px) {
  .hero {
    flex-direction: row;
    padding-top: 120px;
    justify-content: space-between;
  }
  .hero__text {
    text-align: left;
  }
}
