/* Mindful Dining - Waitlist Styles */
:root {
  --wl-bg: #050505;
  --wl-surface: rgba(255, 255, 255, 0.04);
  --wl-border: rgba(255, 255, 255, 0.08);
  --wl-accent-1: #C59982;
  --wl-accent-2: #A0735F;
  --wl-text-primary: #FAF6EF;
  --wl-text-muted: rgba(250, 246, 239, 0.6);
  --wl-error: #E07070;
  --wl-success-text: #A8C5A0;
}

* {
  box-sizing: border-box;
}

body.wl-page,
body[data-theme="studio"].wl-page,
.wl-page {
  background-color: #050505 !important;
  min-height: 100vh;
  min-height: 100dvh;
  color: #FAF6EF !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Ambient background orbs */
.wl-orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .wl-orb {
    display: none;
  }
}

.wl-orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -150px;
  background: radial-gradient(circle, #C59982, transparent);
  animation: wl-float 12s ease-in-out infinite alternate;
}

.wl-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  right: -100px;
  background: radial-gradient(circle, #A0735F, transparent);
  animation: wl-float 12s ease-in-out infinite alternate-reverse;
}

/* Logo */
.wl-logo {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1rem 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: #FAF6EF;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Hero section */
.wl-hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Tagline */
.wl-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  font-style: italic;
  color: #FAF6EF;
  line-height: 1.25;
  margin: 0 0 0.8rem 0;
  text-align: center;
}

/* Subtitle */
.wl-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250, 246, 239, 0.65);
  margin: 0 0 1.2rem 0;
  text-align: center;
}

/* Counter */
.wl-counter {
  font-size: 0.9rem;
  color: #D4A853;
  letter-spacing: 0.08em;
  margin: 0 0 2rem 0;
  text-align: center;
  min-height: 1.4em;
}

/* Glassmorphic form card */
.wl-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

/* Inputs */
.wl-input {
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 0.95rem 1.1rem !important;
  color: #FAF6EF !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.85rem !important;
  outline: none !important;
  transition: border-color 0.2s, background 0.2s;
}

.wl-input:focus {
  border-color: #D4A853 !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

.wl-input::placeholder {
  color: rgba(250, 246, 239, 0.4) !important;
}

/* CTA button */
.wl-cta {
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  background: #ffffff !important;
  color: #050505 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 1rem !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: all 0.2s !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15) !important;
  margin-top: 0.5rem !important;
}

.wl-cta:hover {
  background: #e6e6e6 !important;
  color: #050505 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25) !important;
}

.wl-cta:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Perk hint below button */
.wl-perk-hint {
  font-size: 0.82rem;
  color: #D4A853;
  margin: 1rem 0 0 0;
  text-align: center;
  font-weight: 500;
}

.wl-trust-hint {
  font-size: 0.75rem;
  color: rgba(250, 246, 239, 0.5);
  margin: 0.4rem 0 0 0;
  text-align: center;
}

/* Error message */
.wl-error-msg {
  font-size: 0.85rem;
  color: #E07070;
  margin: 0.6rem 0 0 0;
  text-align: center;
}

/* Success state */
.wl-success {
  text-align: center;
}

.wl-success h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-style: italic;
  color: #FAF6EF;
  margin: 0 0 0.5rem 0;
}

.wl-success p {
  color: rgba(250, 246, 239, 0.65);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

/* Share section */
.wl-share {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wl-share p {
  font-size: 0.9rem;
  color: rgba(250, 246, 239, 0.65);
  margin: 0 0 0.85rem 0;
}

/* Share button */
.wl-share-btn {
  background: transparent !important;
  border: 1px solid #D4A853 !important;
  border-radius: 8px !important;
  color: #D4A853 !important;
  padding: 0.75rem 1.6rem !important;
  font-family: inherit !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.wl-share-btn:hover {
  background: #D4A853 !important;
  color: #050505 !important;
}

/* Footer */
footer.wl-footer,
body.wl-page footer.wl-footer,
body[data-theme="studio"] footer.wl-footer,
.wl-footer {
  position: relative !important;
  z-index: 1 !important;
  text-align: center !important;
  padding: 3rem 1.5rem 3.5rem !important;
  font-size: 0.82rem !important;
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.wl-footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.wl-footer-links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.wl-footer-demo {
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: all 0.25s ease !important;
}

.wl-footer-demo:hover {
  color: #FAF6EF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateY(-1px) !important;
}

.wl-footer-copy {
  font-size: 0.75rem !important;
  color: rgba(250, 246, 239, 0.4) !important;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
}

.wl-footer-copy a {
  color: rgba(250, 246, 239, 0.5) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.wl-footer-copy a:hover {
  color: #D4A853 !important;
}

.wl-dot {
  opacity: 0.4;
  display: inline-block;
  margin: 0 4px;
}

/* Keyframe animations */
@keyframes wl-float {
  from {
    transform: translateY(0px) scale(1);
  }
  to {
    transform: translateY(30px) scale(1.05);
  }
}
