/* ─── ANIMATED PRODUCT WALKTHROUGH ──────────────────────── */
.walkthrough-phone {
  position: relative;
  width: 300px;
  height: 620px;
  background: #2a2a2d;
  border-radius: 45px;
  padding: 8px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.walkthrough-screen {
  width: 100%;
  height: 100%;
  background: #363437;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

.walkthrough-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #2a2a2d;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.walkthrough-steps {
  width: 300%;
  height: 100%;
  display: flex;
  animation: walkthrough-slide 10s ease-in-out infinite;
}

.walkthrough-step {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 1.5rem;
}

.wt-scan {
  background: #363437;
}

.wt-scan-frame {
  width: 180px;
  height: 180px;
  border: 3px solid var(--accent);
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: wt-pulse 2s ease-in-out infinite;
}

.wt-scan-frame::before,
.wt-scan-frame::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid var(--accent);
}

.wt-scan-frame::before {
  top: -3px; left: -3px;
  border-right: none; border-bottom: none;
  border-radius: 12px 0 0 0;
}

.wt-scan-frame::after {
  bottom: -3px; right: -3px;
  border-left: none; border-top: none;
  border-radius: 0 0 12px 0;
}

.wt-qr-icon { width: 80px; height: 80px; opacity: 0.6; }

.wt-scan-line {
  position: absolute;
  width: 80%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: wt-scan-move 2s ease-in-out infinite;
}

@keyframes wt-scan-move {
  0%, 100% { top: 20%; }
  50% { top: 80%; }
}

@keyframes wt-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(73,205,254,0.2); }
  50% { box-shadow: 0 0 0 12px rgba(73,205,254,0); }
}

.wt-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}

.wt-sublabel {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  color: #8C8C8C;
  margin-top: 0.35rem;
  text-align: center;
}

.wt-amount {
  background: #363437;
}

.wt-employee-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
}

.wt-employee-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #4a4a4d;
  box-shadow: 0 0 16px rgba(73,205,254,0.2);
}

.wt-employee-avatar svg { stroke: #8C8C8C; }

.wt-employee-info {
  text-align: center;
}

.wt-employee-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8C8C8C;
}

.wt-employee-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.wt-employee-venue {
  font-size: 0.7rem;
  color: #8C8C8C;
  margin-top: 0.15rem;
}

.wt-employee-rating {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #F59E0B;
  display: none;
}

.wt-amount-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Amount input area mimicking real app */
.wt-feedback-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid #8C8C8C;
  border-radius: 14px;
  padding: 0.6rem 1rem;
  margin-bottom: 0.75rem;
  width: 100%;
}

.wt-feedback-icon {
  font-size: 0.85rem;
  color: #8C8C8C;
}

.wt-feedback-text {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  font-style: normal;
}

.wt-amounts {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.wt-amount-btn {
  flex: 1;
  padding: 0.6rem 0;
  border-radius: 10px;
  border: 1.5px solid #8C8C8C;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.3s ease;
}

.wt-amount-btn.wt-selected {
  border-color: var(--accent);
  background: rgba(73,205,254,0.15);
  color: var(--accent);
  animation: wt-select-pop 0.4s ease-out 3.5s both;
}

@keyframes wt-select-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.wt-applepay-btn {
  width: 100%;
  padding: 0.7rem;
  background: #000000;
  border: none;
  border-radius: 14px;
  font-family: -apple-system, 'SF Pro', 'Helvetica Neue', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  cursor: default;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.wt-tip-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--gradient-accent);
  border: none;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f0f11;
  cursor: default;
  letter-spacing: 0.02em;
}

.wt-done {
  background: #363437;
}

.wt-check-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(74,222,128,0.15);
  border: 3px solid #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: wt-check-in 0.5s ease-out 7s both;
}

@keyframes wt-check-in {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.wt-check-circle svg {
  width: 48px;
  height: 48px;
  stroke: #4ADE80;
  stroke-width: 3;
  fill: none;
}

.wt-done-amount {
  font-family: 'Space Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #4ADE80;
  margin-bottom: 0.5rem;
}

.wt-done-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.wt-done-sublabel {
  font-size: 0.8rem;
  color: #8C8C8C;
  margin-top: 0.25rem;
}

@keyframes walkthrough-slide {
  0%, 28%   { transform: translateX(0); }
  33%, 61%  { transform: translateX(-33.333%); }
  66%, 94%  { transform: translateX(-66.666%); }
  100%      { transform: translateX(0); }
}

.wt-indicators {
  display: flex;
  gap: 8px;
  margin-top: 1.5rem;
}

.wt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.wt-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.wt-dot:nth-child(1) { animation: wt-dot1 10s ease-in-out infinite; }
.wt-dot:nth-child(2) { animation: wt-dot2 10s ease-in-out infinite; }
.wt-dot:nth-child(3) { animation: wt-dot3 10s ease-in-out infinite; }

@keyframes wt-dot1 {
  0%, 28%   { background: var(--accent); width: 24px; border-radius: 4px; }
  33%, 100% { background: rgba(255,255,255,0.3); width: 8px; border-radius: 50%; }
}
@keyframes wt-dot2 {
  0%, 28%   { background: rgba(255,255,255,0.3); width: 8px; border-radius: 50%; }
  33%, 61%  { background: var(--accent); width: 24px; border-radius: 4px; }
  66%, 100% { background: rgba(255,255,255,0.3); width: 8px; border-radius: 50%; }
}
@keyframes wt-dot3 {
  0%, 61%   { background: rgba(255,255,255,0.3); width: 8px; border-radius: 50%; }
  66%, 94%  { background: var(--accent); width: 24px; border-radius: 4px; }
  100%      { background: rgba(255,255,255,0.3); width: 8px; border-radius: 50%; }
}

@media (max-width: 768px) {
  .walkthrough-phone { width: 260px; height: 540px; border-radius: 38px; }
  .walkthrough-screen { border-radius: 34px; }
  .walkthrough-screen::before { width: 100px; height: 24px; border-radius: 0 0 14px 14px; }
  .walkthrough-step { padding: 2.5rem 1rem 1rem; }
  .wt-scan-frame { width: 120px; height: 120px; }
  .wt-qr-icon { width: 60px; height: 60px; }
  .wt-label { font-size: 0.9rem; }
  .wt-sublabel { font-size: 0.7rem; }
  .wt-employee-avatar { width: 48px; height: 48px; }
  .wt-employee-avatar svg { width: 22px; height: 22px; }
  .wt-employee-card { gap: 0.25rem; margin-bottom: 0.5rem; }
  .wt-employee-label { font-size: 0.75rem; }
  .wt-employee-name { font-size: 0.95rem; }
  .wt-feedback-row { padding: 0.4rem 0.75rem; margin-bottom: 0.5rem; }
  .wt-feedback-text { font-size: 0.95rem; }
  .wt-amounts { gap: 0.3rem; margin-bottom: 0.75rem; }
  .wt-amount-btn { padding: 0.45rem 0; font-size: 0.75rem; border-radius: 8px; }
  .wt-applepay-btn { padding: 0.55rem; font-size: 0.8rem; margin-bottom: 0.35rem; border-radius: 10px; }
  .wt-tip-btn { padding: 0.55rem; font-size: 0.8rem; border-radius: 10px; }
  .wt-check-circle { width: 70px; height: 70px; margin-bottom: 1rem; }
  .wt-check-circle svg { width: 36px; height: 36px; }
  .wt-done-amount { font-size: 1.4rem; }
  .wt-done-label { font-size: 0.9rem; }
  .wt-done-sublabel { font-size: 0.7rem; }
}
