/* ============================================================
   Chloe — Baby & Kids Skincare · Coming Soon
   Brand Colors: Pink #FD68C4 · Dark #4A3340 · Gold #C9962F
   Fonts: Quicksand · Mulish
   ============================================================ */

:root {
  --c-pink:         #FD68C4;
  --c-pink-hover:   #e85ab0;
  --c-pink-light:   #FFD0E7;
  --c-pink-lighter: #FFE7F2;
  --c-dark:         #4A3340;
  --c-gold:         #C9962F;
  --c-cream:        #F0E6DA;
  --c-warm-white:   #FFF8F1;
  --c-bg:           #FFFBF6;
  --c-text-muted:   #6B5F6A;
  --c-text-light:   #8a7f76;
  --c-border:       #F4ECE2;

  --f-heading: 'Quicksand', sans-serif;
  --f-body:    'Mulish', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.28s var(--ease-out);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: var(--f-body);
  color: var(--c-dark);
  background: linear-gradient(145deg, #FFE7F2 0%, #FFF0F7 30%, #FFFBF6 70%, #FFF8F1 100%);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== Background blobs ===== */
.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(253,208,231,0.55), transparent 65%);
  top: -150px; right: -150px;
}

.blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(240,230,218,0.6), transparent 65%);
  bottom: -100px; left: -100px;
}

.blob--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(253,104,196,0.12), transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ===== Sparkles ===== */
.sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sparkle {
  position: absolute;
  animation: sparkle-float 5s ease-in-out infinite;
  line-height: 1;
}

.sparkle--1 { top: 12%; left: 6%;   color: var(--c-gold); font-size: 1.2rem; animation-delay: 0s;    opacity: 0.65; }
.sparkle--2 { top: 10%; right: 8%;  color: var(--c-pink); font-size: 1.8rem; animation-delay: 0.7s;  opacity: 0.45; }
.sparkle--3 { top: 55%; left: 4%;   color: var(--c-pink); font-size: 0.9rem; animation-delay: 1.4s;  opacity: 0.5;  }
.sparkle--4 { top: 75%; right: 6%;  color: var(--c-gold); font-size: 1.4rem; animation-delay: 2s;    opacity: 0.6;  }
.sparkle--5 { top: 30%; right: 16%; color: var(--c-pink); font-size: 0.8rem; animation-delay: 0.4s;  opacity: 0.4;  }
.sparkle--6 { top: 85%; left: 14%;  color: var(--c-gold); font-size: 0.75rem;animation-delay: 1.8s;  opacity: 0.5;  }
.sparkle--7 { top: 40%; left: 12%;  color: var(--c-pink); font-size: 1.0rem; animation-delay: 3s;    opacity: 0.35; }

@keyframes sparkle-float {
  0%, 100% { transform: translateY(0)     rotate(0deg);  }
  50%       { transform: translateY(-16px) rotate(20deg); }
}

/* ===== Main page ===== */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 6vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: page-enter 0.9s var(--ease-out) both;
}

@keyframes page-enter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Logo ===== */
.logo-wrap {
  margin-bottom: 20px;
}

.logo-img {
  margin-inline: auto;
  max-width: min(300px, 70vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(253,104,196,0.2));
}

/* ===== Tagline ===== */
.tagline {
  font-family: var(--f-body);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 28px;
}

/* ===== Coming soon badge ===== */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--c-pink-light);
  border-radius: 50px;
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-pink);
  margin-bottom: 20px;
}

.coming-soon-dot {
  width: 7px;
  height: 7px;
  background: var(--c-pink);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ===== Headline ===== */
.headline {
  font-family: var(--f-heading);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* ===== Description ===== */
.description {
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  color: var(--c-text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 44px;
}

/* ===== Form ===== */
.form-wrap {
  width: 100%;
  margin-bottom: 36px;
}

.form-label-heading {
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

.interest-form { width: 100%; }

.honeypot-field {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.field-row {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--c-border);
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 4px 24px rgba(253,104,196,0.1);
  transition: border-color var(--t), box-shadow var(--t);
}

.field-row:focus-within {
  border-color: var(--c-pink-light);
  box-shadow: 0 4px 32px rgba(253,104,196,0.2);
}

.field-group { flex: 1; min-width: 0; }

.field-input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--c-dark);
  outline: none;
  border-radius: 12px;
}

.field-input::placeholder { color: var(--c-text-light); }

.submit-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--c-pink);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--t);
  box-shadow: 0 4px 16px rgba(253,104,196,0.35);
  white-space: nowrap;
}

.submit-btn:hover { background: var(--c-pink-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(253,104,196,0.45); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.form-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-status--success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.form-status--error   { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }

.form-privacy {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--c-text-light);
}

/* ===== Trust badges ===== */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.trust-sep { color: var(--c-border); font-size: 1rem; }

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--c-text-light);
  font-family: var(--f-body);
}

.site-footer a:hover { color: var(--c-pink); }

/* ===== Accessibility ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--c-pink); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Responsive ===== */
@media (max-width: 580px) {
  .field-row {
    flex-direction: column;
    border-radius: 16px;
    padding: 10px;
  }

  .field-input { padding: 10px 14px; }

  .submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
  }

  .trust-sep { display: none; }
  .trust-badges { gap: 8px 14px; }
}

/* ===== Admin page ===== */
.admin-page {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-dark);
  min-height: 100dvh;
  padding: 32px 24px;
}

.admin-header {
  max-width: 1100px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--c-border);
}

.admin-title {
  font-family: var(--f-heading);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-title .logo-star { color: var(--c-gold); }

.admin-count {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--c-pink-lighter);
  color: var(--c-pink);
  border-radius: 50px;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.admin-table-wrap {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--c-border);
  background: #fff;
  box-shadow: 0 2px 16px rgba(74,51,64,0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  text-align: left;
  padding: 14px 18px;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-light);
  background: var(--c-warm-white);
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  line-height: 1.5;
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td { background: var(--c-warm-white); }

.td-num { color: var(--c-text-light); font-size: 0.82rem; }
.td-name { font-weight: 600; color: var(--c-dark); }
.td-email a { color: var(--c-pink); }
.td-email a:hover { text-decoration: underline; }
.td-phone { color: var(--c-text-muted); }
.td-message { max-width: 320px; color: var(--c-text-muted); font-size: 0.88rem; }
.td-date { color: var(--c-text-light); font-size: 0.82rem; white-space: nowrap; }

.admin-empty {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 24px;
  color: var(--c-text-muted);
}
