/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dk);
}

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg-hover);
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  background: #D4CEBD;
}

/* ── 1. Hero ── */
.hero {
  min-height: calc(100svh - 60px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 12vh, 200px) 24px 80px;
  position: relative;
  overflow: hidden;
  background-image: url('katelyn-warner-hOs35YIYiCU-unsplash.jpg');
  background-size: cover;
  background-position: top;
}

.hero-credit {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 1.0);
  cursor: default;
  z-index: 1;
}

.hero-credit .tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  pointer-events: none;
}

.hero-credit:hover .tooltip {
  display: block;
}

.hero-credit a {
  color: #fff;
  text-decoration: underline;
  pointer-events: auto;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(242, 242, 230, 0);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero h1 {
  font-size: 36pt;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text);
  max-width: 540px;
  margin: 0 auto 44px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.platform-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-pill {
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* ── 2. Problem ── */
.problem {
  padding: 100px 24px;
  text-align: center;
}

.problem p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.6;
  color: var(--text);
  opacity: 0.85;
}

/* ── 3. Features + Screenshots ── */
.feature-showcase {
  padding: 80px 24px 120px;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-header {
  text-align: center;
  margin-bottom: 36px;
}

.features-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* ── Carousel ── */
.carousel-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.carousel-slide img {
  width: 55vw;
  max-width: 860px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: block;
}

.carousel-caption {
  text-align: center;
  max-width: 520px;
  padding: 0 8px;
}

.carousel-caption h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  margin-bottom: 10px;
}

.carousel-caption p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.carousel-chevron {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}

.carousel-chevron:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
}

.carousel-chevron svg {
  width: 22px;
  height: 22px;
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  padding-bottom: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
  background: var(--muted);
}

@media (max-width: 640px) {
  .carousel-slide img {
    width: 85vw;
  }

  .carousel-chevron {
    width: 40px;
    height: 40px;
  }

  .carousel-chevron svg {
    width: 18px;
    height: 18px;
  }

  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
}

/* ── 5. Integrations ── */
.integrations {
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.integrations h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 40px;
}

.integration-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.integration-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--bg-raised);
  transition: background 0.1s;
}

.integration-pill:hover {
  background: var(--bg-hover);
}

.integration-pill svg {
  width: 20px;
  height: 20px;
}

/* ── 6. FAQ ── */
.faq {
  padding: 100px 24px;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 48px;
}

.faq-list {
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q:hover {
  background: color-mix(in srgb, var(--border) 40%, transparent);
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.25s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;

}

.faq-a-inner {
  padding: 18px 20px ;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

/* ── 7. About ── */
.about {
  padding: 100px 24px;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 860px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

.about h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 28px;
}

.about p {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-photo {
  flex-shrink: 0;
}

.about-photo img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

@media (max-width: 640px) {
  .about-inner {
    flex-direction: column;
  }
  .about-photo img {
    width: 160px;
    height: 200px;
  }
}

/* ── 8. Waitlist ── */
#waitlist {
  padding: 100px 24px;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

#waitlist h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

#waitlist .sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.email-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
}

.email-form input {
  flex: 1 1 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input:focus {
  border-color: var(--accent);
}

.email-form input::placeholder {
  color: var(--muted);
}

.email-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.email-form button:hover {
  background: var(--accent-dk);
}

.waitlist-thanks {
  display: none;
  color: var(--accent);
  font-size: 0.95rem;
  margin-top: 16px;
}

/* ── 9. Download ── */
#download {
  padding: 80px 24px;
  text-align: center;
}

#download h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 32px;
}

.store-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 22px;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--bg-raised);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.store-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--bg-hover);
}

.store-btn svg {
  width: 20px;
  height: 20px;
}
