/* =========================================================
   COMING SOON PAGE STYLING
   Theme: Everyday, Elevated (Antigravity Storefront)
   ========================================================= */

:root {
  --cs-bg: #faf7f2;
  --cs-card-bg: #ffffff;
}

body.coming-soon-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--cs-bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Atmospheric Ambient Blobs */
.cs-ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.cs-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: cs-float-blob 16s ease-in-out infinite alternate;
}

.cs-blob-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(237, 28, 42, 0.22) 0%, rgba(237, 28, 42, 0) 70%);
  top: -100px;
  left: -80px;
  animation-duration: 18s;
}

.cs-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 166, 83, 0.20) 0%, rgba(8, 166, 83, 0) 70%);
  bottom: -150px;
  right: -100px;
  animation-duration: 22s;
  animation-delay: -5s;
}

.cs-blob-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(217, 205, 184, 0.6) 0%, rgba(217, 205, 184, 0) 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 26s;
  animation-delay: -10s;
}

@keyframes cs-float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* Subtle Grid Background Overlay */
.cs-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

/* Main Container */
.cs-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: space-between;
}

/* ==================== 1. ANIMATED LOGO ==================== */
.cs-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.cs-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(233, 230, 226, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  animation: cs-logo-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, cs-logo-float 6s ease-in-out infinite 1.2s;
}

.cs-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(237, 28, 42, 0.3), rgba(8, 166, 83, 0.3), transparent 70%);
  z-index: -1;
  opacity: 0.6;
  filter: blur(4px);
}

.cs-logo {
  height: 52px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cs-logo-wrap:hover .cs-logo {
  transform: scale(1.05);
}

@keyframes cs-logo-entrance {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cs-logo-float {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  }
}

/* ==================== 2. ANIMATED TITLE & HERO ==================== */
.cs-hero {
  text-align: center;
  max-width: 860px;
  margin: 32px auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  opacity: 0;
  animation: cs-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.cs-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 0 rgba(237, 28, 42, 0.7);
  animation: cs-pulse-dot 2s infinite;
}

@keyframes cs-pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 28, 42, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(237, 28, 42, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(237, 28, 42, 0);
  }
}

/* Animated Title */
.cs-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.32em;
  row-gap: 0.1em;
}

.cs-word {
  display: inline-flex;
  overflow: hidden;
}

.cs-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%) rotateX(-45deg);
  animation: cs-char-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

/* Highlight word styling */
.cs-word-highlight {
  background: linear-gradient(135deg, var(--brand-red) 0%, #ff5252 50%, var(--brand-red-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

@keyframes cs-char-reveal {
  0% {
    opacity: 0;
    transform: translateY(115%) rotateX(-45deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.cs-subtitle {
  font-size: clamp(15px, 1.8vw, 19px);
  color: #555555;
  max-width: 580px;
  line-height: 1.6;
  margin: 0 auto 28px;
  opacity: 0;
  animation: cs-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes cs-fade-up {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== 3. ANIMATED IMAGES SHOWCASE ==================== */
.cs-showcase {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 20px auto 36px;
  perspective: 1200px;
}

.cs-cards-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 20px 0;
}

/* Floating product cards */
.cs-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cs-card-bg);
  box-shadow: 0 18px 45px rgba(28, 35, 30, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
  will-change: transform;
}

.cs-card:hover {
  z-index: 10 !important;
  box-shadow: 0 25px 60px rgba(28, 35, 30, 0.22);
}

.cs-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cs-card:hover .cs-card-img {
  transform: scale(1.08);
}

.cs-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cs-card:hover .cs-card-overlay {
  opacity: 1;
}

.cs-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.cs-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}

/* Card Specific Positions and Staggered Floating Animations */
/* 1. Left Card (Angled & Drifting) */
.cs-card-left {
  width: 230px;
  height: 310px;
  left: 8%;
  z-index: 2;
  transform: rotate(-7deg) translateY(0);
  animation: cs-float-left 7s ease-in-out infinite alternate, cs-card-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.cs-card-left:hover {
  transform: rotate(-2deg) translateY(-12px) scale(1.04);
}

@keyframes cs-float-left {
  0% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-16px); }
  100% { transform: rotate(-8deg) translateY(6px); }
}

/* 2. Center Card (Hero, Front & Floating) */
.cs-card-center {
  width: 290px;
  height: 380px;
  z-index: 5;
  transform: rotate(0deg) translateY(0);
  box-shadow: 0 24px 60px rgba(28, 35, 30, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.95);
  animation: cs-float-center 6s ease-in-out infinite alternate, cs-card-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.cs-card-center:hover {
  transform: translateY(-16px) scale(1.05);
}

@keyframes cs-float-center {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.01); }
  100% { transform: translateY(4px) scale(0.99); }
}

/* 3. Right Card (Angled & Drifting) */
.cs-card-right {
  width: 240px;
  height: 320px;
  right: 8%;
  z-index: 3;
  transform: rotate(6deg) translateY(0);
  animation: cs-float-right 8s ease-in-out infinite alternate, cs-card-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s backwards;
}

.cs-card-right:hover {
  transform: rotate(2deg) translateY(-12px) scale(1.04);
}

@keyframes cs-float-right {
  0% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-14px); }
  100% { transform: rotate(4deg) translateY(8px); }
}

/* Ambient Floating Accents around cards */
.cs-card-badge-floating {
  position: absolute;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 6;
  border: 1px solid var(--line);
  pointer-events: none;
  animation: cs-badge-bob 5s ease-in-out infinite alternate;
}

.cs-badge-top-left {
  top: 10px;
  left: 24%;
  color: var(--brand-green-dark);
  animation-delay: -1.5s;
}

.cs-badge-bottom-right {
  bottom: 12px;
  right: 22%;
  color: var(--brand-red);
  animation-delay: -3.5s;
}

@keyframes cs-badge-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes cs-card-in {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.85);
  }
  100% {
    opacity: 1;
  }
}

/* Drifting Marquee / Infinite Filmstrip for Extra Motion */
.cs-ticker-wrap {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 14px;
  overflow: hidden;
  position: relative;
  padding-block: 10px;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.cs-ticker {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: cs-ticker-scroll 32s linear infinite;
}

.cs-ticker:hover {
  animation-play-state: paused;
}

.cs-ticker-item {
  width: 110px;
  height: 75px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

.cs-ticker-item:hover {
  transform: scale(1.1) translateY(-4px);
}

.cs-ticker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes cs-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== 4. COUNTDOWN & INTERACTIVE NOTIFY ==================== */
.cs-interactive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 520px;
  margin: 10px auto 0;
  opacity: 0;
  animation: cs-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

/* Countdown Clock */
.cs-countdown {
  display: flex;
  gap: 12px;
}

.cs-time-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 64px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cs-time-num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.cs-time-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

/* Notify Email Form */
.cs-notify-form {
  display: flex;
  width: 100%;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cs-notify-form:focus-within {
  border-color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cs-notify-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13.5px;
  font-family: var(--font-body);
  color: var(--ink);
  background: transparent;
  min-width: 0;
}

.cs-notify-input::placeholder {
  color: #999999;
}

.cs-notify-btn {
  background: var(--ink);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cs-notify-btn:hover {
  background: var(--brand-red);
  transform: scale(1.02);
}

/* Bottom Action Links */
.cs-footer {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 12.5px;
  color: var(--muted);
  opacity: 0;
  animation: cs-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.cs-footer-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.cs-footer-link:hover {
  color: var(--brand-red);
}

/* Toast Message */
.cs-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--ink);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 860px) {
  .cs-cards-stage {
    min-height: 330px;
  }
  .cs-card-left {
    width: 180px;
    height: 250px;
    left: 2%;
  }
  .cs-card-center {
    width: 230px;
    height: 310px;
  }
  .cs-card-right {
    width: 190px;
    height: 260px;
    right: 2%;
  }
  .cs-badge-top-left {
    left: 12%;
  }
  .cs-badge-bottom-right {
    right: 10%;
  }
}

@media (max-width: 600px) {
  .cs-wrapper {
    padding: 20px 16px 36px;
  }
  .cs-logo {
    height: 42px;
  }
  .cs-title {
    font-size: 38px;
    letter-spacing: -0.01em;
  }
  .cs-subtitle {
    font-size: 14.5px;
    padding-inline: 10px;
  }
  .cs-cards-stage {
    min-height: 280px;
  }
  .cs-card-left {
    width: 140px;
    height: 190px;
    left: 0;
    transform: rotate(-9deg);
  }
  .cs-card-center {
    width: 190px;
    height: 255px;
  }
  .cs-card-right {
    width: 145px;
    height: 200px;
    right: 0;
    transform: rotate(9deg);
  }
  .cs-card-badge-floating {
    display: none;
  }
  .cs-countdown {
    gap: 8px;
  }
  .cs-time-box {
    padding: 8px 10px;
    min-width: 52px;
  }
  .cs-time-num {
    font-size: 18px;
  }
  .cs-time-lbl {
    font-size: 9px;
  }
  .cs-notify-form {
    padding: 3px 3px 3px 14px;
  }
  .cs-notify-btn {
    padding: 10px 16px;
    font-size: 11.5px;
  }
}

