/* =========================================================
   LUMORA — Coming Soon
   Easy-to-edit theme variables live in :root below.
   Swap colors, fonts, and the brand name to rebrand fast.
   ========================================================= */

:root {
  --bg:        #f6f1ea;            /* warm linen base */
  --ink:       #2b2622;            /* primary text */
  --muted:     #7a716a;            /* secondary text */
  --accent:    #b08968;            /* warm caramel accent */
  --accent-2:  #d8c3a5;            /* soft sand */
  --card:      rgba(255, 255, 255, 0.55);
  --line:      rgba(43, 38, 34, 0.12);
  --shadow:    0 20px 50px -20px rgba(43, 38, 34, 0.35);
  --radius:    16px;
  --maxw:      720px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* ---------- Animated background ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% -10%, #fffdf9 0%, var(--bg) 60%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: var(--accent-2); top: -120px; left: -100px; }
.blob-2 { width: 360px; height: 360px; background: var(--accent);   bottom: -140px; right: -90px; animation-delay: -6s; opacity: 0.4; }
.blob-3 { width: 300px; height: 300px; background: #efe3d3;          top: 40%; left: 60%; animation-delay: -12s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -40px) scale(1.08); }
  66%      { transform: translate(-25px, 25px) scale(0.95); }
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Top bar ---------- */
.topbar {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(176, 137, 104, 0.18);
}
.brand-name {
  font-weight: 600;
  letter-spacing: 0.25em;
  font-size: 0.95rem;
}

.badge {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  padding: 40px 24px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  animation: rise 0.9s ease both;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.headline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.accent {
  color: var(--accent);
  font-style: italic;
}

.subhead {
  color: var(--muted);
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  font-weight: 300;
  max-width: 540px;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 72px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.count-item .num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count-item .label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.count-sep {
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 300;
  opacity: 0.5;
}

/* ---------- Notify form ---------- */
.notify {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  margin-top: 10px;
}
.notify-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.notify-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(176, 137, 104, 0.15);
}
.notify-btn {
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  white-space: nowrap;
}
.notify-btn:hover { background: var(--accent); transform: translateY(-1px); }
.notify-btn:active { transform: translateY(0); }

.form-msg {
  font-size: 0.85rem;
  min-height: 1.2em;
  color: var(--accent);
}

/* ---------- Features ---------- */
.features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}
.features li {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--card);
  backdrop-filter: blur(6px);
}

/* ---------- Footer ---------- */
.footer {
  width: 100%;
  max-width: var(--maxw);
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.socials { display: flex; gap: 22px; }
.social {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s;
}
.social::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s;
}
.social:hover { color: var(--accent); }
.social:hover::after { width: 100%; }

.copyright { font-size: 0.74rem; color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .topbar { padding: 20px 18px; }
  .hero { padding: 24px 18px 40px; gap: 18px; }

  .countdown { gap: 4px; }
  .count-item { min-width: 0; flex: 1; padding: 12px 6px; }
  .count-sep { display: none; }

  .notify { flex-direction: column; }
  .notify-btn { width: 100%; }

  .socials { gap: 16px; flex-wrap: wrap; justify-content: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .blob, .hero { animation: none; }
}
