/* ==========================================================================
   SLOW HOUR BY AKSHI CHANDNA — LUXURY COMING SOON DESIGN SYSTEM
   ========================================================================== */

:root {
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Didot, Georgia, serif;
  --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Color Palette */
  --color-bg-dark: #070605;
  --color-text-main: #fbf7f0;
  --color-text-muted: #d0c4b4;
  --color-text-subtle: #988d80;
  --color-gold-accent: #d9b88f;
  --color-gold-glow: rgba(217, 184, 143, 0.25);
  --color-border-subtle: rgba(255, 255, 255, 0.18);
  --color-border-light: rgba(255, 255, 255, 0.45);
  --color-border-focus: #ffffff;
  --color-error: #ff7676;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fade: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dynamic Background Layers */
.bg-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: right 35% center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), transform 10s ease-out;
  will-change: opacity, transform;
}

.bg-layer.active {
  opacity: 1;
  transform: scale(1);
}

/* Dual Luxury Gradient Overlays for Warm Ambient Glow & High Readability */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      to right,
      rgba(13, 10, 8, 0.78) 0%,
      rgba(13, 10, 8, 0.65) 30%,
      rgba(13, 10, 8, 0.40) 58%,
      rgba(13, 10, 8, 0.12) 85%,
      rgba(13, 10, 8, 0.05) 100%
    );
  z-index: 1;
}

.ambient-glow {
  position: absolute;
  top: 15%;
  left: -5%;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(circle, rgba(220, 185, 140, 0.15) 0%, rgba(200, 160, 110, 0.04) 50%, rgba(0, 0, 0, 0) 80%);
  filter: blur(90px);
  z-index: 2;
  pointer-events: none;
}

/* Page Layout */
.page-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 64px 36px 72px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Brand Header */
.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.brand-link:hover {
  opacity: 0.88;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}

.vip-badge {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-accent);
  padding: 6px 14px;
  border: 1px solid rgba(217, 184, 143, 0.3);
  border-radius: 20px;
  background: rgba(15, 12, 10, 0.45);
  backdrop-filter: blur(8px);
}

/* Content Area */
.content-wrapper {
  margin: auto 0;
  max-width: 580px;
  padding: 24px 0;
}

/* Form Container */
.lead-form {
  position: relative;
  width: 100%;
}

/* Step Panels */
.step-panel {
  display: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Hero Typography */
.step-header {
  margin-bottom: 34px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-text-main);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  display: inline-block;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.hero-desc {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 480px;
  letter-spacing: 0.2px;
}

/* Input Fields (Clean Luxury Minimalist Underline) */
.input-block {
  margin-bottom: 28px;
  position: relative;
}

.input-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-subtle);
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.minimal-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.2px solid var(--color-border-light);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  padding: 10px 0 12px 0;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.minimal-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 300;
}

.minimal-input:focus {
  border-bottom-color: #ffffff;
  box-shadow: 0 1px 0 #ffffff;
}

.minimal-input.has-error {
  border-bottom-color: var(--color-error);
  box-shadow: 0 1px 0 var(--color-error);
}

.input-error-msg {
  display: none;
  font-size: 0.78rem;
  color: var(--color-error);
  margin-top: 6px;
  letter-spacing: 0.3px;
  animation: shake 0.3s ease;
}

.input-error-msg.visible {
  display: block;
}

/* Step 3: Ritual Question & Options */
.ritual-question {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-main);
  margin-top: 24px;
  margin-bottom: 18px;
}

.rituals-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ritual-item {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
}

.ritual-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ritual-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border: 1px solid var(--color-border-light);
  background: rgba(16, 13, 11, 0.4);
  backdrop-filter: blur(8px);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  text-align: center;
  letter-spacing: 0.3px;
  transition: var(--transition-smooth);
}

.ritual-item:hover .ritual-btn {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.ritual-item input[type="radio"]:checked + .ritual-btn {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 400;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Step Controls / Buttons */
.step-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  outline: none;
}

.btn-muted {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 400;
  padding: 10px 14px;
  letter-spacing: 0.5px;
}

.btn-muted:hover:not(:disabled) {
  color: #ffffff;
}

.btn-muted:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-outline {
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  padding: 11px 36px;
  letter-spacing: 0.6px;
  background: rgba(10, 8, 7, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: #ffffff;
  color: #080706;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-submit {
  min-width: 180px;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-submit.loading .btn-spinner {
  display: inline-block;
}

/* Pagination Dots */
.step-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.28);
  transition: all 0.35s ease;
}

.dot.active {
  background-color: #ffffff;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* ================= STEP 4: REWARD & COUPON STYLES ================= */
.reward-step {
  max-width: 540px;
}

.reward-header {
  margin-bottom: 30px;
}

.ritual-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-accent);
  margin-bottom: 12px;
}

.reward-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--color-text-main);
  letter-spacing: 0.4px;
  margin-bottom: 16px;
}

.reward-sub {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Dashed Luxury Coupon Card */
.coupon-wrapper {
  margin: 32px 0 24px 0;
  position: relative;
}

.coupon-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.7);
  padding: 8px 10px 8px 24px;
  background: rgba(18, 14, 11, 0.55);
  backdrop-filter: blur(10px);
  gap: 22px;
  transition: var(--transition-smooth);
}

.coupon-card:hover {
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(217, 184, 143, 0.2);
}

.coupon-code-text {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
  user-select: all;
}

.btn-copy {
  border: none;
  background: #fbf7f0;
  color: #070605;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 9px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-copy:hover {
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.copy-success-icon {
  display: none;
  color: #0a0a0a;
  font-weight: bold;
}

.btn-copy.copied {
  background: #d9b88f;
  color: #070605;
}

.btn-copy.copied .copy-success-icon {
  display: inline;
}

.copy-toast {
  font-size: 0.82rem;
  color: var(--color-gold-accent);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
  letter-spacing: 0.4px;
}

.copy-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.reward-footnote {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 440px;
  margin-bottom: 28px;
}

.btn-ghost {
  color: var(--color-text-subtle);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--color-text-main);
  border-bottom-color: var(--color-text-main);
}

/* Page Footer */
.page-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.5px;
  padding-top: 20px;
}

.page-footer .sep {
  opacity: 0.4;
}



/* Animations */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .page-container {
    padding: 36px 40px;
  }
  
  .bg-overlay {
    background: linear-gradient(
      to right,
      rgba(13, 10, 8, 0.85) 0%,
      rgba(13, 10, 8, 0.72) 50%,
      rgba(13, 10, 8, 0.35) 100%
    );
  }
}

@media (max-width: 768px) {
  html, body {
    min-height: 100dvh;
  }

  .page-container {
    min-height: 100dvh;
    padding: 22px 18px 20px 18px;
    justify-content: space-between;
  }

  .brand-logo {
    height: 38px;
  }

  .vip-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    letter-spacing: 1.2px;
  }

  .bg-layer {
    background-position: center 25%;
  }

  .bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(13, 10, 8, 0.55) 0%,
      rgba(13, 10, 8, 0.70) 38%,
      rgba(13, 10, 8, 0.88) 75%,
      rgba(13, 10, 8, 0.95) 100%
    );
  }

  .content-wrapper {
    margin: 18px 0;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 14px;
    line-height: 1.18;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .minimal-input {
    font-size: 16px; /* Prevents iOS auto-zoom */
    padding: 8px 0 10px 0;
  }

  .ritual-question {
    font-size: 1.4rem;
    margin-top: 18px;
    margin-bottom: 14px;
  }

  .rituals-list {
    gap: 10px;
    margin-bottom: 20px;
  }

  .ritual-btn {
    padding: 11px 14px;
    font-size: 0.88rem;
    border-radius: 2px;
  }

  .step-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 26px;
    margin-bottom: 20px;
    gap: 12px;
  }

  .btn-outline, .btn-submit {
    flex: 1;
    padding: 11px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .btn-muted {
    padding: 10px 8px;
    font-size: 0.95rem;
  }

  .coupon-card {
    width: 100%;
    justify-content: space-between;
    padding: 8px 10px 8px 16px;
    gap: 10px;
  }

  .coupon-code-text {
    font-size: 1.15rem;
    letter-spacing: 3px;
  }

  .btn-copy {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .page-footer {
    font-size: 0.7rem;
    padding-top: 14px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .coupon-code-text {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }

  .btn-copy {
    padding: 7px 10px;
    font-size: 0.72rem;
  }
}
