/* Junto Montreal - Landing Page Styles */

/* Self-hosted fonts for faster LCP */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-serif-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --honey: #ffc629;
  --honey-light: #fff4d1;
  --honey-dark: #e6a800;
  --cream: #fffbf0;
  --cream-dark: #f5f0e1;
  --coral: #ff6b5b;
  --coral-dark: #d64a3a; /* Darker coral for better text contrast */
  --lavender: #e8deff;
  --sage: #c8e6c9;
  --sky: #e3f2fd;
  --navy: #1a1a2e;
  --text: #2d2d2d;
  --text-soft: #5a5a5a;
  --text-muted: #6a6a6a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

.serif { font-family: 'DM Serif Display', serif; }

/* Better tap behavior on mobile */
a, button { touch-action: manipulation; }
a { -webkit-tap-highlight-color: transparent; }

/* Visible focus rings (keyboard + accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 198, 41, 0.75);
  outline-offset: 3px;
}

/* ===== NAV ===== */
/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 251, 240, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--navy);
  text-decoration: none;
}

.logo span { color: var(--honey); }

.nav-cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--honey);
  padding: 12px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--honey-dark);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 140px 48px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-dark);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--honey) 60%);
}

.hero-sub {
  font-size: 19px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Event Card */
.event-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  border: 3px solid var(--honey);
}

.event-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  cursor: default; /* Prevent dead clicks */
}

.event-emoji {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--honey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: default; /* Prevent dead clicks */
}

.event-title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--navy);
}

.event-meta {
  font-size: 15px;
  color: var(--text-soft);
}

/* Group Preview - People First */
.group-preview {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 16px;
}

.group-avatars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 2px dashed var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.avatar-circle.you {
  background: var(--honey);
  border: 2px solid var(--honey-dark);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.group-preview:hover .avatar-circle:not(.you) {
  border-style: solid;
  border-color: var(--honey);
  background: var(--honey-light);
}

.group-text {
  font-size: 14px;
  color: var(--text-soft);
}

.event-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 20px;
}

.event-detail-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.event-detail {
  text-align: center;
}

.event-detail-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.event-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.event-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-tag {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--navy);
  cursor: default; /* Prevent dead clicks */
}

.price-note {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-primary {
  font-size: 16px;
  font-weight: 600;
  padding: 18px 36px;
  background: var(--honey);
  color: var(--navy);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--honey-dark);
  transform: translateY(-2px);
}

.spots-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral);
  color: white;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: default; /* Prevent dead clicks */
}

.spots-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Hero Visual */
.hero-visual {
  position: relative;
  width: 420px;
  flex-shrink: 0;
}

.hero-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  background: var(--honey-light);
  border-radius: 60% 40% 50% 50% / 50% 50% 40% 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.preview-cards {
  position: relative;
  z-index: 1;
  width: 340px;
  height: 380px;
}

.photo-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.photo-card {
  position: absolute;
  width: 140px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: white;
  transform-origin: bottom center;
  /* Make it clear this is interactive */
  -webkit-tap-highlight-color: rgba(255, 198, 41, 0.3);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rainbow fan spread - cards arranged in an arc */
.photo-card:nth-child(1) {
  z-index: 4;
  left: 20px;
  top: 60px;
  transform: rotate(-18deg);
}
.photo-card:nth-child(2) {
  z-index: 3;
  left: 80px;
  top: 20px;
  transform: rotate(-6deg);
}
.photo-card:nth-child(3) {
  z-index: 2;
  left: 140px;
  top: 10px;
  transform: rotate(6deg);
}
.photo-card:nth-child(4) {
  z-index: 1;
  left: 190px;
  top: 40px;
  transform: rotate(18deg);
}

/* Hover lift effect */
.photo-card:hover {
  transform: translateY(-12px) rotate(0deg) scale(1.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  z-index: 10;
}

.photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 8px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

/* Legacy styles kept for compatibility */
.preview-card { display: none; }
.preview-person { display: none; }
.preview-avatar { display: none; }
.preview-name { display: none; }
.preview-info { display: none; }
.preview-badge { display: none; }

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 48px;
  background: white;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--navy);
  margin-bottom: 60px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  text-align: center;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--honey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--navy);
}

.step h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ===== WHAT YOU GET ===== */
.features {
  padding: 100px 48px;
  background: var(--cream);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.features-inner {
  max-width: 800px;
  margin: 0 auto;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 24px;
  border-radius: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--honey-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 14px;
  color: var(--text-soft);
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 100px 48px;
  background: var(--cream);
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.social-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.proof-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.proof-item:hover {
  transform: translateY(-4px);
}

.proof-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-item.tall {
  aspect-ratio: 3/4;
  grid-row: span 1;
}

.proof-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
}

.proof-caption p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.proof-caption .caption-name {
  font-weight: 600;
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.9;
}

.proof-highlight {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: var(--honey-light);
  border-radius: 12px;
}

.proof-highlight p {
  font-size: 18px;
  color: var(--text);
  margin: 0;
}

.proof-highlight strong {
  color: var(--navy);
}

@media (max-width: 900px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .social-proof { padding: 80px 24px; }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .proof-caption { padding: 16px 12px 12px; }
  .proof-caption p { font-size: 12px; }
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 48px;
  background: white;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
}

.faq-question:hover {
  color: var(--navy);
}

.faq-icon {
  font-size: 24px;
  color: var(--honey-dark);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-soft);
  line-height: 1.7;
}

.faq-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: var(--honey);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-cta:hover {
  background: var(--honey-dark);
  transform: translateY(-1px);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 48px;
  background: var(--navy);
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  color: white;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.cta .btn-primary {
  font-size: 18px;
  padding: 20px 48px;
}

/* ===== FOOTER ===== */
footer {
  padding: 40px 48px;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-text {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal.active { display: flex; }

.modal-box {
  background: white;
  border-radius: 32px;
  max-width: 440px;
  width: 100%;
  padding: 40px;
  position: relative;
  animation: modalIn 0.3s ease-out;
  margin: auto 0;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
  will-change: transform, opacity;
  contain: layout style paint;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--cream-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: var(--coral); color: white; }

.modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.modal-sub {
  color: var(--text-soft);
  text-align: center;
  margin-bottom: 24px;
  font-size: 15px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  color: var(--navy);
  transition: border-color 0.2s;
}

.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus { outline: none; border-color: var(--honey); }

.modal-btn {
  width: 100%;
  padding: 18px;
  background: var(--honey);
  color: var(--navy);
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}

.modal-btn:hover:not(:disabled) { background: var(--honey-dark); }

.modal-btn:disabled {
  background: var(--cream-dark);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

/* Loading spinner - keep honey background for visibility */
.btn-loading {
  position: relative;
  color: transparent !important;
  background: var(--honey) !important;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -12px;
  border: 3px solid rgba(26, 26, 46, 0.3);
  border-radius: 50%;
  border-top-color: var(--navy);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Shake animation for validation errors */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.shake {
  animation: shake 0.4s ease-out;
}

/* Error input pulse */
.input-error {
  animation: error-pulse 0.3s ease-out;
}

@keyframes error-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Required field indicator */
.required-indicator {
  color: var(--coral);
  margin-left: 2px;
}

/* Hide number input spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }

/* Screen reader only */
.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;
}

.modal-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.event-summary {
  background: var(--honey-light);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}

.event-summary-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.event-summary-details {
  font-size: 14px;
  color: var(--text-soft);
}

.event-summary-price {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin-top: 8px;
}

/* Success State */
.success-icon {
  width: 72px;
  height: 72px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: #2e7d32;
}

.success-text {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 24px;
  line-height: 1.6;
}

.success-box {
  background: var(--cream);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.success-box h4 {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.success-box p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.success-box strong {
  color: var(--navy);
}

/* Input validation error state */
.form-group input.input-error {
  border-color: var(--coral);
  background: #fff5f5;
}

/* Modal exit animation */
.modal.closing .modal-box {
  animation: modalOut 0.2s ease-in forwards;
}

@keyframes modalOut {
  from { opacity: 1; transform: scale(1) translateY(0); }
  to { opacity: 0; transform: scale(0.95) translateY(20px); }
}

/* Spots loading spinner */
.spots-loading {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

/* ===== PRINT STYLES ===== */
@media print {
  nav, .hero-visual, .cta, footer, .modal { display: none !important; }
  .hero { min-height: auto; padding: 20px; }
  .event-card { box-shadow: none; border: 1px solid #ccc; }
  body { background: white; font-size: 12pt; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .hero { flex-direction: column; padding: 120px 24px 80px; }
  .hero-content { max-width: 100%; }
  .hero-visual { width: 100%; max-width: 340px; margin-top: 40px; }
  .hero-blob { width: 260px; height: 260px; }
  .preview-cards { width: 300px; height: 280px; margin: 0 auto; }
  .photo-card { width: 100px; height: 130px; }
  .photo-card:nth-child(1) { left: 10px; top: 50px; transform: rotate(-18deg); }
  .photo-card:nth-child(2) { left: 60px; top: 15px; transform: rotate(-6deg); }
  .photo-card:nth-child(3) { left: 115px; top: 5px; transform: rotate(6deg); }
  .photo-card:nth-child(4) { left: 165px; top: 30px; transform: rotate(18deg); }
  .photo-label { font-size: 9px; padding: 8px 4px 4px; }
  .event-details { grid-template-columns: 1fr; gap: 12px; }
  .group-avatars { gap: 6px; }
  .avatar-circle { width: 40px; height: 40px; font-size: 14px; }
  .avatar-circle.you { font-size: 10px; }
  .group-text { font-size: 13px; }
  .how { padding: 80px 24px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .features { padding: 80px 24px; }
  .faq { padding: 80px 24px; }
  .faq-question { font-size: 16px; padding: 20px 0; }
  .cta { padding: 80px 24px; }
  footer { padding: 32px 24px; }
  .modal-box {
    padding: 28px 20px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: 16px 0;
    border-radius: 24px;
    overflow-y: auto !important;
  }
  .modal {
    padding: 16px;
    align-items: flex-start;
  }
  .event-summary {
    padding: 12px;
    margin-bottom: 16px;
  }
  .event-summary-price {
    font-size: 24px;
  }
  .form-group {
    margin-bottom: 12px;
  }
  .form-group input {
    padding: 14px 16px;
  }
  .modal-btn {
    padding: 16px;
  }
}

@media (max-width: 420px) {
  nav { padding: 12px 16px; }
  .logo { font-size: 24px; }
  .nav-cta { padding: 10px 18px; font-size: 14px; }
  .hero { padding: 112px 16px 64px; gap: 44px; }
  .hero-sub { font-size: 18px; }
  .event-card { padding: 20px; border-radius: 20px; }
  .event-header { gap: 12px; }
  .event-emoji { width: 48px; height: 48px; font-size: 24px; border-radius: 14px; }
  .event-title { font-size: 22px; }
  .price-tag { font-size: 28px; }
  .btn-primary { width: 100%; text-align: center; padding: 16px 20px; }
  .event-price { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ===== HERO SOCIAL PROOF BADGE ===== */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 20px;
  background: var(--honey-light);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text);
}

.proof-avatars {
  display: flex;
  margin-right: 4px;
}

.proof-avatar {
  width: 24px;
  height: 24px;
  background: var(--honey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: -8px;
  border: 2px solid var(--honey-light);
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-text strong {
  color: var(--navy);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: var(--honey);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(255, 198, 41, 0.3);
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  background: var(--honey-dark);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 198, 41, 0.4);
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

.scroll-indicator span {
  font-size: 18px;
  animation: bounce-arrow 1.5s infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@media (max-width: 900px) {
  .scroll-indicator {
    bottom: 20px;
    font-size: 12px;
    padding: 12px 20px;
  }
  .hero-social-proof {
    padding: 10px 16px;
    font-size: 13px;
  }
  .proof-avatar {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
}

/* ===== EMBEDDED CHECKOUT (Step 3) ===== */
.checkout-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-trust {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--cream);
  border-radius: 16px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--honey-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
}

.trust-item p {
  font-size: 12px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.4;
}

.checkout-form {
  min-height: 300px;
}

#checkout-element {
  min-height: 280px;
}

.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-soft);
}

.checkout-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--cream-dark);
  border-radius: 50%;
  border-top-color: var(--honey);
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

.checkout-loading p {
  font-size: 14px;
  margin: 0;
}

/* Wider modal for checkout step */
.modal-box.checkout-mode {
  max-width: 500px;
}

/* Checkout error state */
.checkout-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 16px;
}

.checkout-error p {
  margin: 0 0 12px 0;
  font-size: 14px;
}

.checkout-error button {
  background: #dc2626;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.checkout-error button:hover {
  background: #b91c1c;
}

@media (max-width: 600px) {
  .checkout-trust {
    padding: 16px;
    gap: 12px;
  }

  .trust-item {
    gap: 10px;
  }

  .trust-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .trust-item strong {
    font-size: 13px;
  }

  .trust-item p {
    font-size: 11px;
  }
}

/* ===== MYSTERY BOX - "Where" Section ===== */
.mystery-box {
  position: relative;
  background: linear-gradient(135deg, var(--honey-light) 0%, #fff8e7 100%);
  border: 2px dashed var(--honey);
  border-radius: 16px;
  padding: 16px 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mystery-box:hover {
  transform: scale(1.03);
  border-style: solid;
  box-shadow: 0 8px 24px rgba(255, 198, 41, 0.3);
  background: linear-gradient(135deg, var(--honey) 0%, #ffdb70 100%);
}

.mystery-box:hover .mystery-icon {
  animation: wiggle 0.5s ease-in-out;
}

.mystery-box:hover .mystery-main {
  color: var(--navy);
}

.mystery-box:active {
  transform: scale(0.98);
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

@keyframes mystery-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 12px 32px rgba(255, 198, 41, 0.4); }
  100% { transform: scale(1); }
}

.mystery-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-align: center;
}

.mystery-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.mystery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.mystery-icon {
  font-size: 22px;
}

.mystery-hint {
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 6px;
}

.mystery-hint span {
  color: var(--coral);
  font-weight: 600;
}

/* Mystery tooltip on click */
.mystery-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--navy);
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.mystery-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--navy);
}

.mystery-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.mystery-tooltip strong {
  color: var(--honey);
}

/* Adjust event-details grid for mystery box */
.event-details.has-mystery {
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: stretch;
}

@media (max-width: 600px) {
  .event-details.has-mystery {
    grid-template-columns: 1fr;
  }

  .mystery-box {
    padding: 14px 12px;
  }

  .mystery-main {
    font-size: 14px;
  }

  .mystery-tooltip {
    left: 0;
    right: 0;
    transform: translateX(0) scale(0.9);
    white-space: normal;
    text-align: center;
  }

  .mystery-tooltip.show {
    transform: translateX(0) scale(1);
  }
}

/* ===== WHO'S JOINING (Dynamic Social Proof) ===== */
.whos-joining {
  background: linear-gradient(135deg, var(--sage) 0%, #b8e0b9 100%);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.joining-avatars {
  display: flex;
  align-items: center;
}

.joining-dot {
  width: 10px;
  height: 10px;
  background: #2e7d32;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.joining-text {
  font-size: 14px;
  color: #1b5e20;
  font-weight: 500;
}

.joining-text strong {
  font-weight: 700;
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: white;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-cta-info {
  display: flex;
  flex-direction: column;
}

.sticky-price {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--navy);
  line-height: 1;
}

.sticky-spots {
  font-size: 12px;
  color: var(--coral);
  font-weight: 600;
}

.sticky-cta-btn {
  background: var(--honey);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sticky-cta-btn:hover {
  background: var(--honey-dark);
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }

  /* Add padding to footer so sticky doesn't cover content */
  footer {
    padding-bottom: 100px;
  }
}

/* Hide sticky when modal is open */
body.modal-open .sticky-cta {
  display: none !important;
}

/* ===== GUARANTEE BOX ===== */
.guarantee-box {
  background: linear-gradient(135deg, var(--sage) 0%, #b8e0b9 100%);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guarantee-icon {
  width: 28px;
  height: 28px;
  background: #2e7d32;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.guarantee-text {
  font-size: 14px;
  color: #1b5e20;
  line-height: 1.4;
}

.guarantee-text strong {
  font-weight: 700;
}

/* ===== FEEDBACK BANNER ===== */
.feedback-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--cream-dark);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.feedback-banner.active {
  transform: translateY(0);
}

.feedback-banner-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.feedback-banner-close:hover {
  background: var(--cream-dark);
}

/* Collapsed state */
.feedback-collapsed {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.feedback-collapsed-icon {
  font-size: 20px;
}

.feedback-collapsed-text {
  font-size: 15px;
  color: var(--text-soft);
  flex: 1;
  min-width: 150px;
}

.feedback-collapsed-text strong {
  color: var(--navy);
}

.feedback-expand-btn {
  padding: 10px 20px;
  background: var(--honey);
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.feedback-expand-btn:hover {
  background: var(--honey-dark);
  transform: translateY(-1px);
}

/* Expanded state */
.feedback-expanded {
  padding-right: 30px;
}

.feedback-expanded-header {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.feedback-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.feedback-chip {
  cursor: pointer;
}

.feedback-chip input {
  display: none;
}

.feedback-chip span {
  display: inline-block;
  padding: 8px 14px;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 100px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s;
  white-space: nowrap;
}

.feedback-chip:hover span {
  border-color: var(--honey);
}

.feedback-chip input:checked + span {
  background: var(--honey-light);
  border-color: var(--honey);
  font-weight: 600;
  color: var(--navy);
}

.feedback-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.feedback-input:focus {
  outline: none;
  border-color: var(--honey);
}

.feedback-email-row {
  display: flex;
  gap: 10px;
}

.feedback-email-row .feedback-input {
  flex: 1;
  margin-bottom: 0;
}

.feedback-submit-btn {
  padding: 12px 24px;
  background: var(--navy);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.feedback-submit-btn:hover {
  background: #2a2a4e;
  transform: translateY(-1px);
}

.feedback-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.feedback-success {
  text-align: center;
  font-size: 15px;
  color: var(--navy);
  padding: 8px 0;
}

/* Mobile optimizations */
@media (max-width: 600px) {
  .feedback-banner {
    padding: 14px 16px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .feedback-collapsed {
    gap: 8px;
    flex-wrap: wrap;
  }

  .feedback-collapsed-icon {
    font-size: 18px;
  }

  .feedback-collapsed-text {
    font-size: 14px;
    flex: 1;
    min-width: 0;
  }

  .feedback-expand-btn {
    width: 100%;
    padding: 12px 20px;
  }

  .feedback-chips {
    gap: 6px;
  }

  .feedback-chip span {
    padding: 8px 12px;
    font-size: 13px;
  }

  .feedback-email-row {
    flex-direction: column;
  }

  .feedback-submit-btn {
    width: 100%;
    padding: 14px 24px;
  }

  .feedback-banner-close {
    top: 8px;
    right: 8px;
  }
}

/* ==========================================
   Urgency Badge Animation (Step 2)
   ========================================== */
@keyframes pulse-urgency {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(255, 107, 91, 0.3);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 91, 0.5);
  }
}

.urgency-badge {
  font-size: 15px;
  letter-spacing: 0.3px;
}

/* ==========================================
   Exit Intent Popup
   ========================================== */
.exit-intent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.exit-intent-box {
  background: white;
  border-radius: 20px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
