/* Beta-specific styles for Remode */

/* Beta primary button - enhanced with depth */
.beta-primary-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    color: white;
    text-decoration: none;
    border-radius: 28px;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.beta-primary-btn:hover {
    box-shadow: 0 6px 20px rgba(180, 75, 255, 0.35);
    color: white !important; /* Keep text white on hover */
}

.beta-primary-btn:active {
    transform: translateY(0);
}

/* Beta disclaimer text */
.beta-disclaimer {
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Beta CTA section styles */
.section-cta .beta-primary-btn {
    margin-top: 24px;
}



/* Mobile responsiveness */
@media (max-width: 768px) {
    .beta-primary-btn {
        font-size: 16px;
        padding: 14px 28px;
    }
}

@media (max-width: 375px) {
    .beta-primary-btn {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .beta-disclaimer {
        font-size: 0.75rem !important;
    }
}

/* Remove download subtitle in beta */
.beta-version .download-subtitle {
    display: none;
}



/* Spacing adjustments */
.hero-brands-inline {
    margin-top: 48px !important; /* Reduce space between CTA and logos */
}

/* Mobile spacing adjustments */
@media (max-width: 768px) {
    .hero-headline {
        margin-bottom: 20px !important; /* Add space after title on mobile */
    }
    
    .hero-brands-inline {
        margin-top: 36px !important; /* Even less space on mobile */
    }
}

/* iPhone SE specific adjustments */
@media screen and (max-width: 375px) and (max-height: 667px) {
    .hero-content {
        padding-top: 40px !important; /* Move content higher */
    }
    
    .hero-headline {
        margin-top: 0 !important;
        margin-bottom: 16px !important; /* More space between title and subline */
    }
    
    .hero-subheadline {
        margin-bottom: 24px !important; /* Adjust space after subline */
    }
}

/* Section CTA styling */
.section-cta .beta-primary-btn {
    margin-top: 24px;
}

/* ─────────────────────────────────────────────────────────────
   Waitlist modal (Netlify Forms) — Vogue x Apple
   ───────────────────────────────────────────────────────────── */

.waitlist-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.waitlist-modal.is-open {
  display: block;
}

.waitlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.waitlist-dialog {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  margin: 7vh auto;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.965);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 28px 84px rgba(0, 0, 0, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.waitlist-dialog::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(157, 95, 222, 0.08), transparent 46%),
    radial-gradient(circle at 86% 16%, rgba(235, 72, 153, 0.05), transparent 52%);
  pointer-events: none;
}

.waitlist-content {
  position: relative;
  padding: 28px 28px 22px;
}

.waitlist-close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 44px;            /* proper iOS tap target */
  height: 44px;           /* proper iOS tap target */
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(0,0,0,0.78);
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}

.waitlist-close::after {
  content: '';
  position: absolute;
  inset: 4px;             /* 44 -> 36px visual */
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  z-index: 0;
}

.waitlist-close-icon {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
}

.waitlist-close:focus-visible {
  outline: 2px solid rgba(147, 51, 234, 0.55);
  outline-offset: 2px;
}

@media (hover: hover) {
  .waitlist-close:hover::after { background: rgba(255,255,255,0.90); }
}

.waitlist-kicker {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 10px;
}

.waitlist-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: #0b0b0f;
  margin: 0 0 10px;
}

.waitlist-sub {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(0,0,0,0.68);
  margin: 0 0 18px;
  max-width: 34ch;
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

.waitlist-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-field {
  display: grid;
  gap: 7px;
}

.waitlist-field > span {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,0.62);
}

.waitlist-field input,
.waitlist-field select {
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.09);
  background: rgba(255,255,255,0.94);
  padding: 0 14px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.03);
}

.waitlist-field input:focus,
.waitlist-field select:focus {
  border-color: rgba(147, 51, 234, 0.35);
  box-shadow: 0 0 0 6px rgba(147, 51, 234, 0.10);
}

/* Primary button in modal: slightly more premium depth */
.waitlist-submit.beta-primary-btn {
  height: 56px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 40px rgba(147, 51, 234, 0.26);
}

@media (max-width: 420px) {
  .waitlist-dialog { margin: 6vh auto; }
  .waitlist-content { padding: 26px 22px 20px; }
  .waitlist-title { font-size: 30px; }
}

.waitlist-submit {
  width: 100%;
  justify-content: center;
}

.waitlist-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: rgba(255,255,255,1);
  border-radius: 999px;
  margin-left: 10px;
  animation: waitlistSpin 0.8s linear infinite;
}

.waitlist-modal.is-loading .waitlist-submit-spinner {
  display: inline-block;
}

@keyframes waitlistSpin {
  to { transform: rotate(360deg); }
}

.waitlist-fineprint {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(0,0,0,0.52);
  margin-top: 4px;
}

/* Proof stack */
.proof-stack {
  padding: 44px 0 10px;
  background: transparent;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-item {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.proof-kicker {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 10px;
}

.proof-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(0,0,0,0.9);
  margin-bottom: 6px;
}

.proof-desc {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0,0,0,0.62);
}

.proof-note {
  margin-top: 14px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  color: rgba(0,0,0,0.55);
}

/* FAQ */
.faq {
  padding: 90px 0 80px;
  background: #fff;
}

.faq-header {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.faq-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.faq-sub {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(0,0,0,0.6);
  margin: 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.92);
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  color: rgba(0,0,0,0.85);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  float: right;
  color: rgba(0,0,0,0.55);
}

.faq-item[open] summary::after { content: '–'; }

.faq-item p {
  margin: 10px 0 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(0,0,0,0.62);
  line-height: 1.6;
}

.bottom-cta {
  margin-top: 30px;
}

.bottom-cta-card {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.10), rgba(235, 72, 153, 0.08));
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.bottom-cta-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: rgba(0,0,0,0.88);
}

.bottom-cta-sub {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 8px 0 14px;
  color: rgba(0,0,0,0.62);
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
  .waitlist-dialog { margin: 10vh auto; }
}

.waitlist-error {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.18);
  color: rgba(0, 0, 0, 0.75);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
}

.waitlist-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.18) !important;
}

.hero-supporting {
  margin-top: 14px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.hero-microtrust {
  margin-top: 14px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}


/* ─────────────────────────────────────────────────────────────
   Remode v1.0 Design Constitution Overrides
   (authoritative: keep calm, editorial, minimal)
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #0E0E11;
  --paper: #FFFFFF;
  --warm-bg: #F6F5F3;
  --accent: #7C3AED;
}

/* HERO: breathe more, feel less 'landing page' */
.hero-text-section {
  padding-left: 8px;
  max-width: 660px;
}


.hero-brands-row {
  gap: 52px !important;
}

.brand-ticker-section {
  padding-top: 68px !important; /* nudge row lower */
}

/* Curated Discovery: keep all 3 mockups aligned (perfect visual hierarchy) */
.how-flow .how-step:nth-child(1) .premium-mockup { margin-top: 6px; }
.how-flow .how-step:nth-child(3) .premium-mockup { margin-top: 0; }

/* Step 1 mockup runs slightly lower visually (asset padding). Nudge only the bottom up
   without changing the top alignment by scaling from the top edge. */
.how-flow .how-step:nth-child(1) .mockup-complete {
  transform-origin: top center;
  transform: scale(0.985);
}

/* Card rhythm: pull focus upward */
.how-step {
  padding-top: 44px !important;
  padding-bottom: 34px !important;
}

/* Captions: less componenty */
.step-label { margin-top: 38px !important; }
.step-title { font-weight: 600 !important; }
.step-desc { font-weight: 400 !important; }

/* Feature triad: less generic, more editorial */
.new-standard-section { position: relative; }
.new-standard-section::before {
  content: '';
  display: block;
  height: 1px;
  max-width: 1240px;
  margin: 0 auto 44px;
  background: rgba(14, 14, 17, 0.08);
}

.standard-grid { gap: 44px !important; }
.standard-card p { max-width: 300px; }

/* Testimonial: subtle asymmetry */
@media (min-width: 900px) {
  .editorial-quote-section .container { transform: translateX(-24px); }
  .quote-author { font-size: 13px !important; opacity: 0.70; }
}

/* FAQ: fashion energy (less SaaS) */
.faq-list { gap: 14px !important; }
.faq-item {
  border: 1px solid rgba(0,0,0,0.05) !important;
  background: rgba(255,255,255,0.96) !important;
}

.faq-item summary::after { opacity: 0.35; }

/* Footer tagline */
.footer-tagline { max-width: 360px; }

/* Interaction rules: hover = opacity only (no movement, no glow) */
.how-step:hover { transform: none !important; box-shadow: none !important; }
.how-step:hover .premium-mockup { transform: none !important; filter: none !important; opacity: 0.96; }

/* Remove CalAI-style hover sweep + reflection animation */
.phone-screen-wrapper::after {
  opacity: 0.10 !important;
  transition: none !important;
  transform: skewX(-20deg) !important;
  left: -10% !important;
}

.how-step:hover .phone-screen-wrapper::after {
  opacity: 0.10 !important;
  transform: skewX(-20deg) !important;
}

/* Tone down grain to true editorial (1.5–2%) */
.how-works::after {
  opacity: 0.02 !important;
}

/* Remove colored glow behind mockups (keep shadows only) */
.premium-mockup::before,
.premium-mockup::after {
  display: none !important;
}


/* Logos: equal perceived weight (quiet editorial) */
.brand-ticker-section .brand-logo {
  opacity: 0.68 !important;
  height: 22px !important;
  width: auto !important;
  max-width: none !important;
}

/* Reduce Farfetch dominance (slightly smaller + slightly quieter) */
.brand-ticker-section img[alt="Farfetch"],
.brand-ticker-section img[src*="farfetch"] {
  opacity: 0.58 !important;
  transform: scale(0.92);
  transform-origin: center center;
}


/* No-JS fallback: open waitlist modal via hash */
.waitlist-modal:target {
  display: block;
}

/* =================================================================
   MIC DROP POLISH — 10/10 Improvements
   ================================================================= */

/* Fix: Hero subheadline spacing to CTAs */
.hero-subheadline {
  margin-bottom: 40px !important; /* Restore proper breathing room before CTAs */
}

/* Fix: Hero content left positioning (more balanced) */
.hero-content {
  padding-left: 60px !important; /* Slightly less than 80px for better balance */
}

@media (max-width: 1200px) {
  .hero-content {
    padding-left: 48px !important;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  
  .hero-subheadline {
    margin-bottom: 32px !important;
  }
}

/* 1. Step descriptions: stronger contrast + weight */
.step-desc {
  font-weight: 500 !important;
  color: #4b5563 !important; /* Darker gray for better readability */
  font-size: 15px !important;
  line-height: 1.55 !important;
  max-width: 280px !important;
  margin: 0 auto !important;
}

/* 2. Subtle scroll indicator in hero */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  animation: scrollPulse 2.5s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

.hero-scroll-indicator::before {
  content: '';
  width: 24px;
  height: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(-45deg);
  margin-bottom: -8px;
}

.hero-scroll-indicator::after {
  content: '';
  width: 24px;
  height: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(-45deg);
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.85;
    transform: translateX(-50%) translateY(6px);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-indicator {
    animation: none;
    opacity: 0.6;
  }
}

/* Hide scroll indicator on mobile (less vertical space) */
@media (max-width: 768px) {
  .hero-scroll-indicator {
    display: none;
  }
}

/* 3. Ensure all 3 mockups align at the top */
.how-flow {
  align-items: flex-start !important;
}

.how-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* 4. Feature icons row: better visibility */
.why-feature-icon {
  width: 56px !important;
  height: 56px !important;
  margin-bottom: 16px !important;
}

.why-feature h4 {
  font-weight: 700 !important;
  color: #1f2937 !important;
  font-size: 1.1rem !important;
}

.why-feature p {
  color: #4b5563 !important;
  font-weight: 450 !important;
}
