/* SEE IT IN ACTION — platform.html */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Syne:wght@600;700;800&display=swap');

.see-it-in-action {
  --see-navy: #1a1040;
  --see-purple: #534ab7;
  --see-amber: #f5a623;
  --see-muted: #5c5678;
  --see-phone-w: 220px;
  --see-card-gap: 28px;
  font-family: 'DM Sans', var(--font-family), sans-serif;
  overflow: hidden;
}

.see-it-in-action .see-it-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--see-amber);
  margin-bottom: 12px;
}

.see-it-in-action .see-it-headline {
  font-family: 'Syne', var(--font-family), sans-serif;
  font-weight: 800;
  color: var(--see-navy);
  max-width: 720px;
}

.see-it-in-action .see-it-subtitle {
  font-size: 1.05rem;
  color: var(--see-muted);
  max-width: 640px;
  margin-top: 16px;
  line-height: 1.65;
}

.see-it-carousel {
  position: relative;
  margin-top: 48px;
}

.see-it-carousel.is-spotlight .see-it-track-wrap {
  filter: blur(2px);
  opacity: 0.4;
  pointer-events: none;
  transition: filter 0.45s ease, opacity 0.45s ease;
}

.see-it-track-wrap {
  position: relative;
  transition: filter 0.45s ease, opacity 0.45s ease;
}

.see-it-track {
  display: flex;
  gap: var(--see-card-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 24px 8px 32px;
  margin: 0 -8px;
  scrollbar-width: none;
}

.see-it-track::-webkit-scrollbar {
  display: none;
}

.see-it-track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .see-it-track:not(.is-dragging) {
    cursor: grab;
  }
}

@media (min-width: 1024px) {
  .see-it-track {
    padding-left: 4px;
    padding-right: 4px;
  }
}

.see-it-card {
  flex: 0 0 auto;
  width: min(280px, 78vw);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #ebe8f2;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.45s ease,
    opacity 0.5s ease;
  opacity: 0;
  transform: translateY(48px);
  cursor: pointer;
}

.see-it-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.see-it-card:hover:not(.is-spotlight-active) {
  transform: translateY(-12px);
  box-shadow: 0 20px 48px rgba(26, 16, 64, 0.12);
}

.see-it-card.is-spotlight-active {
  cursor: default;
}

/* Phone frame */
.see-it-phone {
  width: var(--see-phone-w);
  background: var(--see-navy);
  border-radius: 36px;
  padding: 10px 10px 0;
  box-shadow:
    0 2px 4px rgba(26, 16, 64, 0.15),
    0 12px 28px rgba(26, 16, 64, 0.22),
    0 28px 56px rgba(83, 74, 183, 0.18);
  transition: box-shadow 0.45s cubic-bezier(0.34, 1.45, 0.64, 1);
  margin-bottom: 20px;
}

.see-it-card:hover .see-it-phone,
.see-it-card.is-spotlight-active .see-it-phone {
  box-shadow:
    0 4px 8px rgba(26, 16, 64, 0.2),
    0 18px 40px rgba(26, 16, 64, 0.28),
    0 32px 64px rgba(83, 74, 183, 0.35);
}

.see-it-notch {
  width: 72px;
  height: 22px;
  background: var(--see-navy);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 6px;
  position: relative;
  z-index: 2;
}

.see-it-screen {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 9 / 19.5;
  line-height: 0;
}

.see-it-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.see-it-tabbar {
  height: 28px;
  margin-top: 8px;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
  position: relative;
}

.see-it-tabbar::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

.see-it-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--see-purple);
  background: rgba(83, 74, 183, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  position: relative;
}

.see-it-card.is-active .see-it-pill::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(83, 74, 183, 0.45);
  animation: see-it-pill-ring 1.8s ease-out infinite;
}

@keyframes see-it-pill-ring {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.12);
    opacity: 0;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

.see-it-card h3 {
  font-family: 'Syne', var(--font-family), sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--see-navy);
  margin-bottom: 10px;
}

.see-it-card .see-it-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--see-muted);
  max-height: 4.8em;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.see-it-card.is-spotlight-active .see-it-desc {
  max-height: 12em;
}

/* Nav arrows */
.see-it-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--see-navy);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(26, 16, 64, 0.25);
  transition: opacity 0.35s ease, transform 0.25s ease, background 0.2s;
}

.see-it-nav:hover:not(:disabled) {
  background: var(--see-purple);
  transform: translateY(-50%) scale(1.06);
}

.see-it-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.see-it-nav--prev {
  left: -8px;
}

.see-it-nav--next {
  right: -8px;
}

@media (max-width: 768px) {
  .see-it-nav--prev {
    left: 0;
  }
  .see-it-nav--next {
    right: 0;
  }
}

/* Dots */
.see-it-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.see-it-dot {
  height: 8px;
  width: 8px;
  border: none;
  border-radius: 999px;
  background: #d4d0e4;
  padding: 0;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), background 0.3s ease;
}

.see-it-dot.is-active {
  width: 28px;
  background: var(--see-purple);
}

/* Spotlight overlay */
.see-it-spotlight {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 16, 64, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.see-it-spotlight.is-open {
  opacity: 1;
  visibility: visible;
}

.see-it-spotlight-panel {
  background: #fff;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 32px 28px 36px;
  text-align: center;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.5s cubic-bezier(0.34, 1.45, 0.64, 1);
  box-shadow: 0 32px 80px rgba(26, 16, 64, 0.35);
}

.see-it-spotlight.is-open .see-it-spotlight-panel {
  transform: scale(1);
}

.see-it-spotlight .see-it-phone {
  --see-phone-w: 260px;
  margin: 0 auto 16px;
}

.see-it-spotlight-pill {
  margin-bottom: 14px;
}

.see-it-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f3f1f8;
  color: var(--see-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.see-it-close:hover {
  background: #e8e4f0;
  transform: scale(1.05);
}

.see-it-spotlight-title {
  font-family: 'Syne', var(--font-family), sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--see-navy);
  margin-bottom: 12px;
}

.see-it-spotlight-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--see-muted);
}

@media (min-width: 900px) {
  .see-it-card {
    width: 300px;
  }
  .see-it-phone {
    --see-phone-w: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .see-it-card,
  .see-it-track,
  .see-it-spotlight,
  .see-it-dot,
  .see-it-phone {
    transition: none;
    animation: none;
  }
  .see-it-card {
    opacity: 1;
    transform: none;
  }
}
