/* ============================================================
   YellowJay Studio — Deck CSS
   Scroll-snap landing page styles (index.html only)
   Loaded after site.css
   ============================================================ */

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ---- Slide container ---- */
.slides-container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  scroll-behavior: auto;
  position: relative;
}

.slides-container::-webkit-scrollbar {
  display: none;
}

.slides-container {
  scrollbar-width: none;
}

/* ---- Slide base ---- */
.slide {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--pad-slide);
  transition: opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Slide surfaces ---- */
.slide-cream { background: var(--cream); }
.slide-turquoise { background: var(--turquoise); }
.slide-pink { background: var(--soft-pink); }
.slide-butter { background: var(--butter-dark); }
.slide-mint { background: var(--mint); }
.slide-lavender { background: var(--lavender); }
.slide-peach { background: var(--peach); }
.slide-sky { background: var(--sky); }

/* Headlines on saturated surfaces — only direct children, not inside white cards */
.slide-turquoise > h1, .slide-turquoise > h2,
.slide-mint > h1, .slide-mint > h2,
.slide-butter > h1, .slide-butter > h2,
.slide-peach > h1, .slide-peach > h2 {
  color: var(--white);
  text-shadow: var(--text-headline);
}

.slide-pink > h1, .slide-pink > h2,
.slide-lavender > h1, .slide-lavender > h2,
.slide-sky > h1, .slide-sky > h2 {
  color: var(--white);
  text-shadow: var(--text-headline-soft);
}

/* Text inside white cards on colored surfaces stays dark */
.slide .card-lg h1,
.slide .card-lg h2,
.slide .card-lg h3,
.slide .card-lg h4 {
  color: var(--text-dark);
  text-shadow: none;
}

.slide .card-lg p {
  color: var(--text-dark);
}

/* ---- Nav dots (right edge, within-deck navigation) ---- */
.nav-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: var(--border-thin) solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}

.nav-dot:hover {
  transform: scale(1.15);
}

.nav-dot.active {
  background: var(--butter);
  transform: scale(1.2);
}

/* ---- Slide counter (bottom center) ---- */
.slide-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   Slide-specific layouts
   ============================================================ */

/* ---- Slide 1: Hero ---- */
.slide-hero .hero-box {
  text-align: center;
  z-index: 2;
  position: relative;
}

.slide-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  margin-bottom: 12px;
}

.slide-hero .hero-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 32px;
}

.slide-hero .hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-dark);
  margin-bottom: 32px;
}

/* Hero entrance animation */
.slide-hero .hero-box {
  animation: hero-enter 0.8s ease-out;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- Slide 2: What it is ---- */
.slide-what .what-card {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 800px;
}

.slide-what .what-card h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}

.slide-what .what-card p {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ---- Slide 3: What you can do (feature teaser) ---- */
.slide-features-teaser h2 {
  text-align: center;
  margin-bottom: 32px;
  z-index: 2;
  position: relative;
}

.features-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-md);
  width: 100%;
  max-width: 800px;
  z-index: 2;
  position: relative;
}

/* ---- Slide 4: See it (app screenshot) ---- */
.slide-see-it h2 {
  text-align: center;
  margin-bottom: 28px;
  z-index: 2;
  position: relative;
}

.see-it-frame {
  z-index: 2;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ---- Slide 5: Pay-as-you-go ---- */
.slide-payg h2 {
  text-align: center;
  margin-bottom: 32px;
  z-index: 2;
  position: relative;
}

.payg-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 950px;
  z-index: 2;
  position: relative;
}

/* ---- Slide 6: Who we are ---- */
.slide-who .who-card {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 750px;
}

.slide-who .who-card h2 {
  margin-bottom: 20px;
}

.slide-who .who-card p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 12px;
}

.slide-who .who-card .who-extra {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--coral);
  margin-top: 16px;
}

/* ---- Slide 7: Get access (CTA) ---- */
.slide-access .access-card {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 700px;
}

.slide-access .access-card h2 {
  margin-bottom: 20px;
}

.slide-access .access-card p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 24px;
}

.access-contact-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.access-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 24px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 1rem;
}

.access-contact-item .contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .slide {
    padding: 24px 20px;
  }

  .features-teaser-grid {
    grid-template-columns: 1fr;
  }

  .payg-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: 0;
  }

  .nav-dots {
    display: none;
  }

  .deco {
    opacity: 0.6;
  }
}

@media (max-width: 480px) {
  .deco {
    opacity: 0.4;
  }

  .access-contact-row {
    flex-direction: column;
    align-items: center;
  }
}