/* ===========================
   Star Care — Coming Soon
   Colors matched to logo:
   - Sage green (#8BAF96)
   - Dark charcoal (#3D3B35)
   - Warm cream (#F5F1EB)
   =========================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F5F1EB;
  color: #3D3B35;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  padding: 24px 48px;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 110px;
  width: auto;
  display: block;
}

.nav-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: #7A9E84;
  background: rgba(122, 158, 132, 0.08);
  border: 1px solid rgba(122, 158, 132, 0.22);
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ---- HERO ---- */
.hero {
  padding: 0 48px;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

/* Left: Text */
.hero-text {
  max-width: 540px;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7A9E84;
  margin-bottom: 20px;
}

.headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: #3D3B35;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.headline em {
  font-style: italic;
  color: #6B8E78;
}

.body-text {
  font-size: 1.18rem;
  line-height: 1.75;
  color: #6B665F;
  margin-bottom: 32px;
}

/* Waitlist form */
.waitlist {
  margin-bottom: 0;
}

.input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.waitlist-input {
  flex: 1;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #3D3B35;
  background: #FDFBF7;
  border: 1.5px solid #D8D2C8;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.waitlist-input::placeholder {
  color: #A8A198;
}

.waitlist-input:focus {
  border-color: #7A9E84;
  box-shadow: 0 0 0 3px rgba(122, 158, 132, 0.12);
}

.waitlist-input.error {
  border-color: #C87864;
}

.waitlist-btn {
  padding: 16px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #F5F1EB;
  background: #3D3B35;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, transform 0.15s;
}

.waitlist-btn:hover {
  background: #5A7D62;
}

.waitlist-btn:active {
  transform: scale(0.98);
}

.form-note {
  font-size: 0.78rem;
  color: #A8A198;
}

/* Success message */
.success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(122, 158, 132, 0.08);
  border: 1px solid rgba(122, 158, 132, 0.22);
  border-radius: 10px;
  color: #6B8E78;
  font-weight: 500;
  font-size: 0.95rem;
}

.success-check {
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---- Right: Floating Logo Graphic ---- */
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

/* ---- FOOTER ---- */
.footer {
  padding: 32px 48px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 0.78rem;
  color: #B8B2A8;
}

.footer a {
  font-size: 0.78rem;
  color: #B8B2A8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #6B8E78;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav {
    padding: 20px 24px;
  }

  .logo-img {
    height: 56px;
  }

  .hero {
    padding: 24px 24px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .hero-text {
    max-width: 100%;
  }

  .headline {
    font-size: 2.6rem;
  }

  .hero-logo {
    max-width: 280px;
  }

  .footer {
    padding: 24px;
  }
}

@media (max-width: 540px) {
  .headline {
    font-size: 2.2rem;
  }

  .body-text {
    font-size: 1rem;
  }

  .input-row {
    flex-direction: column;
  }

  .hero-logo {
    max-width: 220px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
