/* Final kinetic product preview */
.product {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 50%,rgba(243,161,169,.23),transparent 28%),
    #181716;
}
.product__heading,
.product-stage { position: relative; z-index: 1; }
.product__heading h2 { color: #fff; }
.product__heading h2 em { color: var(--accent-text); }
.product__heading .section-index { color: var(--accent-text); }
.concept-pill { color: var(--accent-text); border-color: var(--accent-text); }
.workbook-stack { display: none; }

.product-stage {
  min-height: 1010px;
  perspective: 1500px;
}
.product-stage::before {
  position: absolute;
  right: -8%;
  top: -2%;
  width: 680px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(232,175,189,.2);
  border-radius: 50%;
  box-shadow: inset 0 0 0 72px rgba(243,161,169,.025),inset 0 0 0 145px rgba(232,175,189,.025);
  animation: product-campaign-ring 24s linear infinite;
}
.product-stage::after {
  position: absolute;
  right: 10%;
  bottom: 9%;
  width: 260px;
  height: 260px;
  content: "";
  background: radial-gradient(circle,rgba(243,161,169,.2),transparent 68%);
  filter: blur(24px);
  animation: product-ambient-pulse 5s ease-in-out infinite;
}
.dashboard-mockup {
  top: 78px;
  left: 3%;
  width: 78%;
  min-height: 740px;
  grid-template-columns: 66px 1fr;
  transform-origin: center;
  animation: product-kinetic-dashboard 9s cubic-bezier(.65,0,.35,1) infinite;
}
.dashboard-mockup::after {
  position: absolute;
  right: -1px;
  bottom: -40px;
  padding: 11px 16px;
  content: "LIVE PRACTICE / 18";
  color: #181716;
  background: var(--accent-text);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
}
.dashboard-mockup aside { gap: 24px; }
.dashboard-mockup aside b { margin-bottom: 18px; }
.dashboard-mockup aside .active { animation: product-nav-pulse 2.6s ease-in-out infinite; }
.dash-main { padding: 30px; }
.dash-main h3 { font-size: 32px; }
.mini-avatar { animation: product-avatar 2.8s ease-in-out infinite; }

.progress-card {
  margin-top: 24px;
  padding: 27px 28px;
}
.progress-card h4 { max-width: 540px; font-size: 31px; }
.progress-card button { position: relative; overflow: hidden; }
.progress-card button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg,transparent 20%,rgba(255,255,255,.28) 48%,transparent 76%);
  transform: translateX(-120%);
  animation: product-button-sheen 4s ease-in-out infinite;
}
.progress-ring {
  width: 86px;
  border-width: 8px;
  animation: product-ring 9s linear infinite;
}
.dash-grid { margin-top: 12px; gap: 10px; }
.dash-grid > div { min-height: 105px; padding: 16px; }
.dash-grid strong { font-size: 35px; }
.dash-grid .wide i {
  transform-origin: bottom;
  animation: product-bars 2.7s ease-in-out infinite;
}
.dash-grid .wide i:nth-of-type(2) { animation-delay: -.6s; }
.dash-grid .wide i:nth-of-type(3) { animation-delay: -1.2s; }
.dash-grid .wide i:nth-of-type(4) { animation-delay: -1.7s; }
.dash-grid .wide i:nth-of-type(5) { animation-delay: -2.2s; }

.dash-activity {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 10px;
}
.evidence-feed,
.streak-card {
  min-height: 150px;
  padding: 17px;
  background: #2a2928;
  border: 1px solid #403d3a;
}
.evidence-feed ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.evidence-feed li {
  min-height: 31px;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 9px;
  align-items: center;
  color: #ddd4cf;
  border-top: 1px solid #403d3a;
  font-size: 9px;
  animation: product-feed 4.8s ease-in-out infinite;
}
.evidence-feed li:nth-child(2) { animation-delay: -1.6s; }
.evidence-feed li:nth-child(3) { animation-delay: -3.2s; }
.evidence-feed li i {
  width: 6px;
  aspect-ratio: 1;
  background: var(--accent-text);
  border-radius: 50%;
}
.evidence-feed li b {
  color: #8f8883;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
}
.streak-card { display: flex; flex-direction: column; }
.streak-card > strong {
  margin: auto 0 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}
.streak-card > span { color: #aaa39d; font-size: 8px; }
.streak-card > div {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 4px;
}
.streak-card > div i {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #181716;
  background: var(--accent-text);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
  animation: product-streak 3.5s ease-in-out infinite;
}
.streak-card > div i:nth-child(2) { animation-delay: -.3s; }
.streak-card > div i:nth-child(3) { animation-delay: -.6s; }
.streak-card > div i:nth-child(4) { animation-delay: -.9s; }
.streak-card > div i:nth-child(5) { animation-delay: -1.2s; }
.streak-card > div i:nth-child(6) { animation-delay: -1.5s; }
.streak-card > div i:last-child { color: #8f8883; background: #403d3a; }

.phone-mockup {
  top: 100px;
  right: 2%;
  width: 270px;
  min-height: 690px;
  padding: 19px 20px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.48),0 0 0 1px rgba(232,175,189,.2);
  animation: product-kinetic-phone 6.8s cubic-bezier(.65,0,.35,1) infinite;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  color: #181716;
  font-family: var(--mono);
  font-size: 7px;
}
.phone-status i { font-size: 6px; font-style: normal; letter-spacing: 2px; }
.phone-speaker {
  width: 56px;
  height: 6px;
  margin: 7px auto 18px;
}
.phone-progress {
  margin-bottom: 17px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--accent-button);
  font-family: var(--mono);
  font-size: 7px;
}
.phone-progress span b { font-size: 11px; }
.phone-progress > i {
  height: 3px;
  overflow: hidden;
  background: #d9cec4;
  border-radius: 4px;
}
.phone-progress > i b {
  width: 45%;
  height: 100%;
  display: block;
  background: var(--accent-text);
  animation: product-phone-progress 4.5s ease-in-out infinite;
}
.phone-mockup h4 {
  margin: 9px 0 16px;
  font-size: 27px;
}
.phone-art {
  height: 104px;
  padding: 16px;
}
.phone-art i {
  transform-origin: bottom;
  animation: product-phone-bars 2.4s ease-in-out infinite;
}
.phone-art i:nth-child(2) { animation-delay: -.8s; }
.phone-art i:nth-child(3) { animation-delay: -1.5s; }
.phone-mockup p { margin: 16px 0; font-size: 10px; }
.phone-checklist {
  display: grid;
  gap: 5px;
}
.phone-checklist span {
  min-height: 27px;
  padding: 6px 7px;
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 5px;
  align-items: center;
  color: #716760;
  background: #f3eadf;
  font-size: 8px;
}
.phone-checklist span i {
  width: 15px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid #d9cec4;
  border-radius: 50%;
  font-size: 7px;
  font-style: normal;
}
.phone-checklist .done i { background: var(--accent-button); border-color: var(--accent-button); }
.phone-mockup button {
  margin-top: 13px;
  min-height: 38px;
  animation: product-button-pulse 2.5s ease-in-out infinite;
}
.phone-nav {
  margin-top: 12px;
  padding-top: 10px;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #d9cec4;
}
.phone-nav i {
  width: 7px;
  aspect-ratio: 1;
  background: #b7aaa3;
  border-radius: 50%;
}
.phone-nav i.active {
  width: 20px;
  border-radius: 8px;
  background: var(--accent-text);
  animation: product-phone-nav 3s ease-in-out infinite;
}

@keyframes product-campaign-ring { to { transform: rotate(360deg) scale(1.04); } }
@keyframes product-ambient-pulse { 0%,100% { opacity: .45; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes product-kinetic-dashboard { 0%,100% { transform: rotateY(-5deg) rotateZ(-1.4deg) translateY(0); } 50% { transform: rotateY(1deg) rotateZ(.5deg) translateY(-16px); } }
@keyframes product-kinetic-phone { 0%,100% { transform: translate3d(0,0,40px) rotate(2.5deg); } 50% { transform: translate3d(-18px,22px,80px) rotate(-1.5deg); } }
@keyframes product-ring { to { transform: rotate(395deg); } }
@keyframes product-avatar { 0%,100% { box-shadow: 0 0 0 0 rgba(243,161,169,0); } 50% { box-shadow: 0 0 0 9px rgba(243,161,169,.14); } }
@keyframes product-nav-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(243,161,169,0); } 50% { box-shadow: 0 0 0 7px rgba(243,161,169,.16); } }
@keyframes product-button-sheen { 0%,30% { transform: translateX(-120%); } 65%,100% { transform: translateX(120%); } }
@keyframes product-bars { 0%,100% { transform: scaleY(.5); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes product-feed { 0%,100% { opacity: .48; transform: translateX(0); } 45%,65% { opacity: 1; transform: translateX(3px); } }
@keyframes product-streak { 0%,100% { transform: scale(.82); } 50% { transform: scale(1); } }
@keyframes product-phone-progress { 0%,100% { width: 38%; } 50% { width: 52%; } }
@keyframes product-phone-bars { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes product-button-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(243,161,169,0); } 50% { box-shadow: 0 0 0 7px rgba(243,161,169,.17); } }
@keyframes product-phone-nav { 0%,100% { opacity: .65; } 50% { opacity: 1; } }

@media (max-width: 800px) {
  .product { padding-right: 16px; padding-left: 16px; }
  .product__heading { grid-template-columns: 1fr; gap: 22px; }
  .product__heading h2 { font-size: 58px; }
  .concept-pill { width: max-content; }
  .product-stage { min-height: 1510px; }
  .product-stage::before { right: -78%; top: 630px; width: 470px; }
  .product-stage::after { right: -15%; bottom: 5%; }
  .dashboard-mockup {
    position: relative;
    top: 30px;
    left: 0;
    width: 100%;
    min-height: 800px;
    grid-template-columns: 48px 1fr;
  }
  .dashboard-mockup aside { gap: 18px; }
  .dashboard-mockup aside b { width: 30px; height: 30px; }
  .dashboard-mockup aside span { width: 28px; height: 28px; }
  .dash-main { padding: 18px 12px; }
  .dash-main h3 { font-size: 26px; }
  .progress-card { padding: 21px 15px; }
  .progress-card h4 { font-size: 27px; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid .wide { display: none; }
  .dash-activity { grid-template-columns: 1fr; }
  .streak-card { min-height: 120px; }
  .streak-card > strong { font-size: 30px; }
  .phone-mockup {
    position: absolute;
    top: 850px;
    right: 0;
    width: 225px;
    min-height: 625px;
    padding: 18px 17px;
  }
  .phone-mockup h4 { font-size: 24px; }
  .phone-art { height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-stage *, .product-stage::before, .product-stage::after { animation-play-state: paused !important; }
}
