.pdf-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: .75rem;
}
.pdf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  min-width: 130px;
  flex: 1 1 130px;
  max-width: 160px;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.pdf-step-icon  { font-size: 2rem; margin-bottom: .5rem; }
.pdf-step-label { font-size: .82rem; font-weight: 600; color: var(--color-text); }
.pdf-step-arrow { color: var(--color-secondary); flex-shrink: 0; align-self: center; }
.pdf-step-arrow svg { width: 28px; height: 28px; }
@media (max-width: 767px) {
  .pdf-steps { flex-direction: column; align-items: center; }
  .pdf-step   { width: 100%; max-width: 300px; }
  .pdf-step-arrow { transform: rotate(90deg); }
}

.pdf-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
  box-shadow: 0 2px 14px var(--color-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pdf-card:hover { border-color: var(--color-primary); box-shadow: 0 8px 28px var(--color-shadow); }
.pdf-card-thumb {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
}
.pdf-card-thumb svg { width: 48px; height: 48px; color: var(--color-primary); }
.pdf-card-body {
  padding: .85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.pdf-card-title        { margin: 0 0 .2rem; font-family: system-ui, sans-serif; font-weight: 600; color: var(--color-text); overflow-wrap: break-word; }
.pdf-card-body .pdf-card-actions { margin-top: auto; padding-top: 1rem; }
.pdf-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(220, 38, 38, .12);
  color: #dc2626;
  border: 2px solid rgba(220, 38, 38, .3);
  border-radius: 12px;
  padding: .65rem 1.1rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
}
.pdf-badge-lg svg { width: 40px; height: 40px; }


#pdf-step-upload { cursor: pointer; }

@keyframes pdf-pulse {
  0%, 100% { box-shadow: 0 2px 12px var(--color-shadow); border-color: var(--color-border); }
  50% {
    box-shadow: 0 0 0 3px rgba(249, 179, 56, .3), 0 4px 20px rgba(249, 179, 56, .2);
    border-color: #F9B338;
  }
}
.pdf-step--pulsing { animation: pdf-pulse 2.5s ease-in-out infinite; }
html.reduce-motion .pdf-step--pulsing { animation: none; }
@media (prefers-reduced-motion: reduce) { .pdf-step--pulsing { animation: none; } }

.pdf-rocket-fly {
  position: fixed;
  top: 0; left: 0;
  font-size: 2rem;
  line-height: 1;
  pointer-events: none;
  z-index: 9999;
}

.section-downloads .analogy-box {
  background: var(--color-surface);
  border-left-color: var(--color-secondary);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ── Flip Clock ──────────────────────────────────────── */
.pdf-countdown-wrap {
  text-align: center;
}
.pdf-countdown-label {
  font-weight: 500;
  color: var(--color-text);
  opacity: .7;
  margin-bottom: .75rem;
}
.flip-clock {
  display: inline-flex;
  align-items: flex-start;
  gap: .85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.flip-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
}
.flip-card {
  position: relative;
  width: 72px;
  height: 90px;
  perspective: 320px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3);
}
.flip-upper, .flip-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45px;
  overflow: hidden;
  background: linear-gradient(to bottom, #2e2e46 0%, #252540 100%);
  border-radius: 10px 10px 0 0;
}
.flip-lower, .flip-btm {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45px;
  overflow: hidden;
  background: linear-gradient(to bottom, #1c1c30 0%, #1e1e34 100%);
  border-radius: 0 0 10px 10px;
}
.flip-divider {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,.8);
  z-index: 4;
  pointer-events: none;
}
.flip-upper .flip-digit,
.flip-top .flip-digit {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-family: 'Courier New', Courier, monospace;
  color: #f4e8c2;
  text-shadow: 0 0 18px rgba(244,232,194,.2);
  letter-spacing: -.02em;
}
.flip-lower .flip-digit,
.flip-btm .flip-digit {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-family: 'Courier New', Courier, monospace;
  color: #f4e8c2;
  text-shadow: 0 0 18px rgba(244,232,194,.2);
  letter-spacing: -.02em;
}
.flip-top {
  z-index: 2;
  transform-origin: center bottom;
  transform: rotateX(-90deg);
  backface-visibility: hidden;
}
.flip-btm {
  z-index: 2;
  transform-origin: center top;
  transform: rotateX(90deg);
  backface-visibility: hidden;
}
@keyframes flipTop {
  from { transform: rotateX(0deg); }
  to   { transform: rotateX(-90deg); }
}
@keyframes flipBtm {
  from { transform: rotateX(90deg); }
  to   { transform: rotateX(0deg); }
}
.flip-card.flipping .flip-top {
  animation: flipTop .27s ease-in forwards;
}
.flip-card.flipping .flip-btm {
  animation: flipBtm .27s ease-out .27s forwards;
}
.flip-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-secondary);
}
@media (max-width: 400px) {
  .flip-card            { width: 58px; height: 74px; }
  .flip-upper,.flip-top { height: 37px; }
  .flip-lower,.flip-btm { height: 37px; }
  .flip-upper .flip-digit, .flip-top .flip-digit,
  .flip-lower .flip-digit, .flip-btm .flip-digit { height: 74px; font-size: 2rem; }
}
html.reduce-motion .flip-card.flipping .flip-top,
html.reduce-motion .flip-card.flipping .flip-btm { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .flip-card.flipping .flip-top,
  .flip-card.flipping .flip-btm { animation: none; }
}
