/*
  FurnishBack — Coming Soon
  Premium, minimal "blank room" style
*/

:root {
  --bg: #ffffff;
  --text: #0f0f0f;
  --muted: #6b6b6b;
  --accent: #8b6b4f; /* subtle brown */
  --accent-weak: #b5957b1a; /* very faint wash */
  --ring: #8b6b4f33;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 7vh 4vw 4vh;
}

.hero {
  width: min(880px, 100%);
  text-align: center;
}

.headline {
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: 0.2px;
  margin: 0 0 16px;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp .7s ease-out .05s forwards;
}

.subtext {
  color: var(--muted);
  font-weight: 500;
  font-size: clamp(14px, 2.2vw, 18px);
  margin: 0 0 32px;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp .7s ease-out .12s forwards;
}

/* Countdown */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box,
              radial-gradient(120% 160% at 0% 0%, #00000008, #00000000 60%) border-box;
  border: 1px solid #eaeaea;
  box-shadow: 0 1px 0 #00000005, 0 20px 60px #00000008 inset;
  margin: 0 auto 28px;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp .7s ease-out .18s forwards;
}
.countdown .time { text-align: center; min-width: 70px; }
.countdown .time span {
  display: block;
  font-weight: 700;
  font-size: clamp(18px, 4vw, 28px);
}
.countdown .time span.tick {
  animation: pulse .18s ease-out;
}
.countdown .time label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.countdown .sep {
  color: var(--accent);
  font-weight: 700;
  opacity: 0.5;
}

/* Form */
.notify {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp .7s ease-out .26s forwards;
}
.input {
  width: min(420px, 86vw);
  appearance: none;
  background: #fff;
  color: var(--text);
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: #9a9a9a; }
.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}
@keyframes breatheRing {
  0% { box-shadow: 0 0 0 4px var(--ring); }
  50% { box-shadow: 0 0 0 5px var(--ring); }
  100% { box-shadow: 0 0 0 4px var(--ring); }
}
.input:focus { animation: breatheRing .8s ease-in-out infinite; }

.btn {
  appearance: none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 14px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .04s ease, filter .15s ease, box-shadow .2s ease;
  box-shadow: 0 6px 18px #8b6b4f33;
  position: relative;
  overflow: hidden;
}
.btn:hover { filter: brightness(1.03); }
.btn:active { transform: translateY(1px); }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 120%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, #ffffff44 30%, #ffffff66 50%, #ffffff44 70%, transparent 100%);
  transform: skewX(-20deg);
  opacity: 0;
}
.btn:hover::after {
  opacity: 1;
  animation: sheen 1.2s ease;
}

.form-message {
  width: 100%;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.form-message.success { color: #2d7a46; }
.form-message.error { color: #b02a2a; }

/* Footer */
.footer {
  text-align: center;
  padding: 20px 16px 28px;
  color: var(--accent);
  font-size: 13px;
  border-top: 1px solid #f2f2f2;
}

/* Premium whitespace "blank room" feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, #00000005, transparent 18%),
    radial-gradient(100% 70% at 50% -10%, #0000000a, transparent 40%),
    radial-gradient(60% 40% at 80% 120%, #8b6b4f08, transparent 40%);
  pointer-events: none;
  will-change: transform, background-position;
  transform: translate3d(var(--parallaxX, 0px), var(--parallaxY, 0px), 0);
  animation: ambientDrift 48s ease-in-out infinite alternate;
}

/* Custom cursor dot (desktop only) */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  margin-top: -5px; margin-left: -5px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 9999;
}
.cursor-dot.active { opacity: .7; }

/* Keyframes */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: .9; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes sheen {
  0% { left: -150%; }
  100% { left: 150%; }
}
@keyframes ambientDrift {
  0% { background-position: 0% 0%, 50% 0%, 80% 120%; }
  100% { background-position: 10% 5%, 48% 2%, 78% 118%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .headline, .subtext, .countdown, .notify { animation: none; opacity: 1; transform: none; }
  .input:focus { animation: none; }
  .countdown .time span.tick { animation: none; }
  body::before { animation: none; }
}

/* Hide cursor and parallax on touch devices */
@media (pointer: coarse) {
  .cursor-dot { display: none; }
}
