/* ── Shared: all templates ─────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transition: all 0.2s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
  transform: translateY(-1px);
}

/* ── index.html only ───────────────────────────────────────────────────── */
.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem;
  background: #ffffff;
  transition: all 0.25s;
}
.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #2596be;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}
.feature-card:hover::before {
  transform: scaleY(1);
}
.feature-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.feature-watermark {
  position: absolute;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 900;
  font-size: 5rem;
  opacity: 0.04;
  top: -0.25rem;
  right: 1.25rem;
  color: #070d1a;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.speed-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,150,190,0.4), transparent);
}
.footer-link {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-link:hover {
  color: rgba(255,255,255,0.95);
}
.pos-card-active {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}
.pos-card-active:hover {
  border-color: #2596be;
  box-shadow: 0 0 0 3px rgba(37,150,190,0.12), 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.pos-card-inactive {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── success.html only ─────────────────────────────────────────────────── */
.check-ring {
  background: conic-gradient(from 0deg, #22c55e, #4ade80, #22c55e);
  border-radius: 50%;
  padding: 4px;
  animation: spin-slow 4s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes fade-up {
  0%   { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}
.check-inner { background: white; border-radius: 50%; }
.step-item { animation: fade-up 0.4s ease both; }
.step-item:nth-child(1) { animation-delay: 0.3s; }
.step-item:nth-child(2) { animation-delay: 0.45s; }
.step-item:nth-child(3) { animation-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) {
  .check-ring { animation: none; }
  .step-item  { animation: none; }
  [style*="fade-up"] { animation: none !important; opacity: 1 !important; }
}
