/* ===== Coming Soon — The Taste Company ===== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #A43321;
  --primary-hover: #ad0b30;
  --dark: #151F37;
  --bg-light: #FFFAF3;
  --gold: #FEEB9D;
  --pink: #FFDFE7;
  --gradient1: linear-gradient(307deg, #FEEB9D 1.9%, #FFDFE7 67.57%);
  --gradient2: linear-gradient(135deg, #A43321 0%, #ad0b30 50%, #151F37 100%);
  --font-body: 'DM Sans', sans-serif;
  --font-title: 'Lufga', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
  color: var(--dark);
}

/* ---------- Animated Background ---------- */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite alternate;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: -10%;
  left: -8%;
  animation-duration: 20s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  bottom: -12%;
  right: -6%;
  animation-duration: 16s;
  animation-delay: -4s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: rgba(164, 51, 33, 0.18);
  top: 40%;
  left: 55%;
  animation-duration: 22s;
  animation-delay: -8s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -30px) scale(1.08);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  100% {
    transform: translate(10px, -10px) scale(1.03);
  }
}

/* ---------- Glass Card ---------- */
.coming-soon-wrapper {
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: 580px;
  text-align: center;
  padding: 56px 40px 48px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  box-shadow:
    0 8px 32px rgba(164, 51, 33, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  animation: cardIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Logo ---------- */
.logo-box {
  margin-bottom: 32px;
}

.logo-box img {
  max-width: 200px;
  height: auto;
  animation: logoIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- Headings ---------- */
.coming-soon-wrapper h1 {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  animation: fadeUp 1s ease 0.3s both;
}

.coming-soon-wrapper .tagline {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 36px;
  animation: fadeUp 1s ease 0.45s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  animation: fadeUp 1s ease 0.55s both;
}

.countdown .cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
}

.countdown .cd-val {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  background: rgba(164, 51, 33, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  transition: transform 0.3s ease;
}

.countdown .cd-block:hover .cd-val {
  transform: scale(1.08);
}

.countdown .cd-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- Notify Form ---------- */
.notify-form {
  display: flex;
  gap: 10px;
  animation: fadeUp 1s ease 0.65s both;
}

.notify-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(164, 51, 33, 0.15);
  border-radius: 50px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.7);
  color: var(--dark);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.notify-form input[type="email"]::placeholder {
  color: #aaa;
}

.notify-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(164, 51, 33, 0.1);
}

.notify-form button {
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.notify-form button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(164, 51, 33, 0.25);
}

.notify-form button:active {
  transform: translateY(0);
}

/* ---------- Divider ---------- */
.divider {
  width: 48px;
  height: 3px;
  background: var(--gradient1);
  border-radius: 3px;
  margin: 28px auto 24px;
  animation: fadeUp 1s ease 0.75s both;
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: fadeUp 1s ease 0.8s both;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(164, 51, 33, 0.07);
  color: var(--primary);
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Footer Text ---------- */
.cs-footer {
  margin-top: 28px;
  font-size: 0.78rem;
  color: #999;
  animation: fadeUp 1s ease 0.9s both;
}

.cs-footer a {
  color: var(--primary);
  text-decoration: none;
}

.cs-footer a:hover {
  text-decoration: underline;
}

/* ---------- Sparkle Decorations ---------- */
.sparkle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  animation: sparkle 4s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 25%; left: 80%; animation-delay: 1.2s; }
.sparkle:nth-child(3) { top: 70%; left: 12%; animation-delay: 2.4s; }
.sparkle:nth-child(4) { top: 80%; left: 75%; animation-delay: 0.6s; }
.sparkle:nth-child(5) { top: 45%; left: 90%; animation-delay: 3s; }
.sparkle:nth-child(6) { top: 8%; left: 60%; animation-delay: 1.8s; }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 0.6; transform: scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .coming-soon-wrapper {
    padding: 40px 24px 36px;
    border-radius: 22px;
  }

  .coming-soon-wrapper h1 {
    font-size: 2.2rem;
  }

  .coming-soon-wrapper .tagline {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .countdown {
    gap: 10px;
  }

  .countdown .cd-val {
    font-size: 1.6rem;
    padding: 12px 10px;
    border-radius: 10px;
  }

  .countdown .cd-block {
    min-width: 56px;
  }

  .countdown .cd-label {
    font-size: 0.65rem;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    padding: 14px;
  }

  .logo-box img {
    max-width: 150px;
  }

  .blob-1 { width: 300px; height: 300px; }
  .blob-2 { width: 250px; height: 250px; }
  .blob-3 { width: 200px; height: 200px; }
}

@media (max-width: 380px) {
  .coming-soon-wrapper {
    padding: 32px 18px 28px;
  }

  .coming-soon-wrapper h1 {
    font-size: 1.85rem;
  }

  .countdown .cd-val {
    font-size: 1.35rem;
    padding: 10px 8px;
  }

  .countdown .cd-block {
    min-width: 48px;
  }
}
