/* Typography */
:root {
  --bg: #f7ebe6;
  --ink: #2b2a2a;
  --muted: #6b6766;
  --accent: #c89fa1; /* Rose quartz */
  --accent-deep: #a46f74; /* Deeper rose */
  --card: rgba(255, 255, 255, 0.72);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, var(--bg) 0%, #fff 40%, #f9f1ef 100%);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 0fr 1fr;
  place-items: center;
  padding: 48px 20px 32px;
  overflow: hidden;
}

.overlay::before,
.overlay::after {
  content: "";
  position: absolute;
  inset: -20vmax;
  background: radial-gradient(50% 50% at 50% 50%, rgba(200, 159, 161, 0.18) 0%, rgba(200, 159, 161, 0) 60%),
    radial-gradient(40% 40% at 20% 20%, rgba(164, 111, 116, 0.15) 0%, rgba(164, 111, 116, 0) 70%),
    radial-gradient(30% 30% at 80% 30%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
  filter: blur(30px);
  z-index: 0;
  animation: glowDrift 22s ease-in-out infinite;
}

.overlay::after {
  animation: glowDriftAlt 28s ease-in-out infinite;
}

.content {
  position: relative;
  z-index: 1;
  width: min(960px, 92vw);
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 6px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  animation: popIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both;
}

.name {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.3px;
  animation: fadeUp 0.7s ease 0.15s both;
}

.headline {
  margin: 8px 0 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 13px;
  animation: fadeUp 0.7s ease 0.25s both;
}

.tagline {
  margin: 18px auto 26px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.6;
  color: #3a3939;
  width: min(700px, 90%);
  animation: fadeUp 0.7s ease 0.35s both;
}

.cta {
  display: grid;
  justify-content: center;
}

.notify {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: var(--card);
  border: 1px solid rgba(164, 111, 116, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  width: min(640px, 92vw);
}

.input {
  border: 0;
  outline: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--ink);
}

.input::placeholder {
  color: #8a8685;
}

.button {
  border: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 20px rgba(164, 111, 116, 0.25);
}

.button:hover {
  filter: brightness(1.03);
}
.button:active {
  transform: translateY(1px);
}

.note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.note.show {
  opacity: 1;
  transform: translateY(0);
}

.details {
  display: flex;
  gap: 16px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}
.details li {
  position: relative;
  padding: 0 10px;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.7s ease both;
}
.details li + li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent-deep);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
}

/* Stagger list items */
.details li:nth-child(1) {
  animation-delay: 0.25s;
}
.details li:nth-child(2) {
  animation-delay: 0.35s;
}
.details li:nth-child(3) {
  animation-delay: 0.45s;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 18px 24px;
  color: var(--muted);
  font-size: 13px;
  opacity: 0;
  animation: fadeIn 0.9s ease 0.6s both;
}

.footer a {
  color: inherit;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 540px) {
  .notify {
    grid-template-columns: 1fr;
  }
  .button {
    width: 100%;
  }
}

/* Keyframes */
@keyframes popIn {
  0% {
    transform: scale(0.85) translateY(10px);
    opacity: 0;
  }
  60% {
    transform: scale(1.05) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes glowDrift {
  0% {
    transform: translate3d(-2%, 0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate3d(3%, -2%, 0) rotate(8deg) scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-2%, 0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes glowDriftAlt {
  0% {
    transform: translate3d(2%, -1%, 0) rotate(0deg) scale(1.02);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(-3%, 2%, 0) rotate(-6deg) scale(1.06);
    opacity: 1;
  }
  100% {
    transform: translate3d(2%, -1%, 0) rotate(0deg) scale(1.02);
    opacity: 0.9;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
