.punch-hero {
  height: 110vh;
  position: relative;
  background: #050810;
  color: #fff;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
  pointer-events: none;
}

.punch-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 80px;
  box-sizing: border-box;
  overflow: hidden;
}

.punch-sticky > .scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  white-space: normal;
  margin-top: 0;
  transform: none;
  z-index: 10;
}

.hero-headline {
  text-align: center;
  max-width: 480px;
  width: 100%;
  padding: 0 24px;
  margin-bottom: 0;
}

.hero-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(13,148,136,0.6));
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-h1 {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
  margin: 0 0 10px 0;
}

.hero-h2 {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  margin: 0;
}

.punch-sticky::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12), transparent 60%);
  pointer-events: none;
}

.punch-wrap {
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: none;
  flex: 1;
  width: 100%;
  padding-bottom: 52px;
  min-height: 0;
  overflow: hidden;
}

.clock-machine {
  width: min(92vw, 480px);
  border-radius: 32px;
  padding: 0;
  background: linear-gradient(175deg, #3a3a3a 0%, #1e1e1e 40%, #141414 100%);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -2px 10px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.clock-machine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.clock-header {
  text-align: center;
  padding: 12px 24px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.clock-brand {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.clock-title {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  background: linear-gradient(135deg, #0d9488, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.clock-screen {
  margin: 12px 24px;
  background: #060e0c;
  border-radius: 16px;
  padding: 16px 20px;
  position: relative;
  border: 1px solid rgba(13, 148, 136, 0.15);
  box-shadow:
    inset 0 2px 12px rgba(0,0,0,0.6),
    0 0 30px rgba(13, 148, 136, 0.05);
}

.clock-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13,148,136,0.03), transparent 50%);
  pointer-events: none;
}

.clock-date-display {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(13, 148, 136, 0.7);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 500;
}

.clock-time-display {
  text-align: center;
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
}

.clock-time-digits {
  background: linear-gradient(180deg, #14b8a6, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(13, 148, 136, 0.3));
}

.clock-time-seconds {
  font-size: 0.45em;
  vertical-align: super;
  opacity: 0.7;
}

.clock-time-ampm {
  font-size: 0.3em;
  vertical-align: super;
  margin-left: 4px;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.clock-status-line {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.clock-status-line.clocked-in {
  color: #10b981;
}

.clock-status-line.clocked-out {
  color: #f59e0b;
}

.clock-actions {
  display: flex;
  gap: 12px;
  padding: 0 24px 12px;
}

.clock-btn {
  flex: 1;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.clock-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

.clock-btn-in {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

.clock-btn-in:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(13, 148, 136, 0.4);
}

.clock-btn-in:active {
  transform: translateY(0);
}

.clock-btn-out {
  background: linear-gradient(135deg, #374151, #1f2937);
  color: #e5e7eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.clock-btn-out:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

.clock-btn-out:active {
  transform: translateY(0);
}

.clock-btn:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 3px;
}

.clock-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.clock-btn .btn-loading {
  display: none;
}

.clock-btn.loading .btn-text {
  visibility: hidden;
}

.clock-btn.loading .btn-loading {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.clock-card-slot {
  margin: 0 24px 12px;
  height: 8px;
  background: #0a0a0a;
  border-radius: 4px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
  overflow: hidden;
}

.clock-card-slot::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255,255,255,0.03);
  border-radius: 1px;
}

.clock-card-slot.punching::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,0.4), transparent);
  animation: card-slide 0.6s ease-out forwards;
}

@keyframes card-slide {
  to { left: 100%; }
}

.clock-footer {
  text-align: center;
  padding: 0 24px 10px;
}

.clock-footer-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-hint {
  margin-top: 14px;
  text-align: center;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  animation: hint-float 2.5s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.scroll-hint.faded {
  opacity: 0;
  pointer-events: none;
}

.scroll-hint-arrow {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  opacity: 0.5;
}

@keyframes hint-float {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.6; }
}

.clock-success-flash {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  animation: success-flash 0.8s ease-out;
}

@keyframes success-flash {
  0% { opacity: 0.6; }
  100% { opacity: 0; }
}

.clock-analog {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid rgba(13, 148, 136, 0.2);
  background: rgba(0, 0, 0, 0.3);
}

.clock-analog-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #14b8a6;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.clock-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 2px;
}

.clock-hand-hour {
  width: 3px;
  height: 22px;
  background: rgba(255,255,255,0.6);
  margin-left: -1.5px;
}

.clock-hand-minute {
  width: 2px;
  height: 28px;
  background: rgba(255,255,255,0.5);
  margin-left: -1px;
}

.clock-hand-second {
  width: 1px;
  height: 32px;
  background: #14b8a6;
  margin-left: -0.5px;
}

.clock-tick {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 1px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  transform-origin: 0 36px;
}

.clock-tick.major {
  height: 8px;
  width: 2px;
  background: rgba(255,255,255,0.3);
  margin-left: -0.5px;
}

@media (prefers-reduced-motion: reduce) {
  .punch-wrap { transition: none !important; }
  .scroll-hint { animation: none; }
  .clock-hand-second { transition: none; }
  .hero-video-bg { display: none; }
  .feature-card, .why-item, .security-card { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 480px) {
  .clock-machine { border-radius: 24px; }
  .clock-screen { margin: 10px 16px; padding: 12px 16px; }
  .clock-actions { padding: 0 16px 10px; }
  .clock-card-slot { margin: 0 16px 10px; }
  .clock-header { padding: 10px 16px 8px; }
}

/* ── Clock punch modal ──────────────────────────────────────────────────── */
.punch-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.punch-modal-card {
  background: #0f1928;
  border: 1px solid rgba(13, 148, 136, 0.35);
  border-radius: 20px;
  width: 100%;
  max-width: 380px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.punch-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
}
.punch-modal-close:hover { color: #fff; }
.punch-modal-header { text-align: center; margin-bottom: 20px; }
.punch-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.18);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: #0d9488;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.punch-modal-icon.out { background: rgba(220, 38, 38, 0.15); border-color: rgba(220,38,38,0.4); color: #ef4444; }
.punch-modal-title { font-size: 1.35rem; font-weight: 700; color: #fff; margin: 0 0 4px; }
.punch-modal-sub { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin: 0; }
.punch-modal-field { margin-bottom: 14px; }
.punch-modal-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}
.punch-modal-field input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  padding: 10px 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.punch-modal-field input:focus { border-color: rgba(13,148,136,0.7); }
.punch-modal-error {
  color: #f87171;
  font-size: 0.8rem;
  margin: 0 0 10px;
  min-height: 18px;
}
.punch-modal-submit {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  color: #fff;
  transition: opacity 0.15s, transform 0.1s;
}
.punch-modal-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.punch-modal-submit.out { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.punch-modal-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.punch-modal-success-wrap { text-align: center; padding: 12px 0 4px; }
.punch-modal-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16,185,129,0.5);
  color: #10b981;
  font-size: 2rem;
  margin-bottom: 16px;
}
.punch-modal-success-name { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.punch-modal-success-msg { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin: 0 0 14px; }
.punch-modal-countdown { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin: 0; }
.punch-modal-toggle {
  text-align: center;
  margin: 12px 0 0;
}
.punch-modal-toggle button {
  background: none;
  border: none;
  color: rgba(13,148,136,0.85);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.15s;
}

/* Multi-step choice buttons */
.punch-choice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.punch-choice-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.punch-choice-btn:hover { transform: translateY(-1px); }
.punch-choice-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.punch-choice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.punch-choice-label { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.punch-choice-desc { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.punch-choice-green  { border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.1); }
.punch-choice-green:hover  { background: rgba(16,185,129,0.2); border-color: rgba(16,185,129,0.6); }
.punch-choice-blue   { border-color: rgba(59,130,246,0.4); background: rgba(59,130,246,0.1); }
.punch-choice-blue:hover   { background: rgba(59,130,246,0.2); border-color: rgba(59,130,246,0.6); }
.punch-choice-teal   { border-color: rgba(13,148,136,0.4); background: rgba(13,148,136,0.1); }
.punch-choice-teal:hover   { background: rgba(13,148,136,0.2); border-color: rgba(13,148,136,0.6); }
.punch-choice-amber  { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.1); }
.punch-choice-amber:hover  { background: rgba(245,158,11,0.2); border-color: rgba(245,158,11,0.6); }
.punch-choice-red    { border-color: rgba(220,38,38,0.4); background: rgba(220,38,38,0.1); }
.punch-choice-red:hover    { background: rgba(220,38,38,0.2); border-color: rgba(220,38,38,0.6); }

.punch-back-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
  width: 100%;
  text-align: center;
}
.punch-back-btn:hover { color: rgba(255,255,255,0.7); }
.punch-modal-toggle button:hover { color: #0d9488; }

/* ── Short-screen: compact clock so everything stays above fold ─────────── */
@media (max-height: 780px) {
  .hero-h2 { display: none; }
  .hero-buttons { margin-top: 14px !important; }
  .clock-screen { margin: 8px 20px; padding: 10px 16px; }
  .clock-header { padding: 8px 20px 6px; }
  .clock-actions { padding: 0 20px 8px; }
  .clock-card-slot { margin: 0 20px 8px; }
  .clock-footer { padding: 0 20px 8px; }
  .clock-analog { width: 64px; height: 64px; margin-bottom: 8px; }
  .clock-hand-hour { height: 18px; }
  .clock-hand-minute { height: 22px; }
  .clock-hand-second { height: 26px; }
  .punch-wrap { gap: 2px; }
}
@media (max-height: 650px) {
  .clock-analog { display: none; }
  .clock-date-display { display: none; }
  .hero-logo-img { display: none; }
  .hero-h1 { font-size: 1.5rem; margin-bottom: 4px; }
}

/* ── Feature card & AI card: scroll-driven scale ────────────────────────── */
.feature-card,
.ai-card {
  scale: var(--scroll-scale, 0.86);
  transition-property: scale, opacity, transform, box-shadow, border-color;
  transition-duration: 0.35s;
  transition-timing-function: ease;
}
.feature-card:hover,
.ai-card:hover {
  scale: 1 !important;
}

/* ── Why PayLink number glitch ───────────────────────────────────────────── */
@keyframes glitch-shimmer {
  0%   { color: #f59e0b; text-shadow: -2px 0 #10b981, 2px 0 #ef4444; }
  20%  { color: #ec4899; text-shadow: 2px 0 #06b6d4, -2px 0 #f59e0b; }
  40%  { color: #10b981; text-shadow: -1px 0 #a855f7, 1px 0 #0d9488; }
  60%  { color: #3b82f6; text-shadow: 2px 0 #f59e0b, -2px 0 #ec4899; }
  80%  { color: #a855f7; text-shadow: -2px 0 #22d3ee, 2px 0 #10b981; }
  100% { color: #f59e0b; text-shadow: 2px 0 #3b82f6, -2px 0 #a855f7; }
}
.why-number.glitching {
  animation: glitch-shimmer 0.07s steps(1) infinite;
  font-family: 'Courier New', monospace !important;
  -webkit-text-fill-color: unset !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  letter-spacing: 0.05em;
  display: block;
}
.why-number.revealed {
  animation: none;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  transition: all 0.3s ease;
}

/* ── Security terminal card redesign ─────────────────────────────────────── */
.security-deep-card {
  background: rgba(0, 8, 3, 0.97) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  border-left: none !important;
  border-radius: 8px !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  font-family: 'Courier New', 'Consolas', monospace;
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.1),
    0 4px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(16, 185, 129, 0.08);
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s, border-color 0.3s;
}
.security-deep-card.sec-visible {
  opacity: 1;
  transform: translateX(0);
}
.security-deep-card:hover {
  border-color: rgba(16, 185, 129, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.2),
    0 8px 48px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(16, 185, 129, 0.1),
    inset 0 1px 0 rgba(16, 185, 129, 0.12);
}
.security-deep-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.5), transparent);
}
.security-deep-card::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(16,185,129,0.04), transparent);
  animation: sec-scanline 4s linear infinite;
  pointer-events: none;
}
@keyframes sec-scanline {
  0%   { top: -60%; }
  100% { top: 110%; }
}
.security-card-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.06);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(16, 185, 129, 0.7);
}
.security-card-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  flex-shrink: 0;
  animation: sec-pulse 2s ease-in-out infinite;
}
@keyframes sec-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(16,185,129,0.8); }
  50%       { opacity: 0.4; box-shadow: 0 0 2px rgba(16,185,129,0.3); }
}
.security-card-body {
  padding: 16px 18px 18px;
}
.security-deep-card h4 {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  color: #10b981 !important;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.security-deep-card h4::before {
  content: '▶';
  font-size: 0.6rem;
  color: rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
}
.security-deep-card p {
  font-size: 0.78rem !important;
  color: rgba(180, 240, 210, 0.7) !important;
  line-height: 1.7 !important;
  font-family: 'Courier New', monospace;
}
.security-card-hex {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.55rem;
  color: rgba(16, 185, 129, 0.18);
  letter-spacing: 0.08em;
  font-family: 'Courier New', monospace;
  pointer-events: none;
  white-space: nowrap;
}
/* Override fade-up so security cards only use sec-visible */
.security-deep-card.fade-up,
.security-deep-card.fade-up.visible {
  opacity: 0;
  transform: translateX(-28px);
}

/* ── Comparison table: center + improve ─────────────────────────────────── */
.comparison-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.comparison-table {
  max-width: 920px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 48px rgba(0,0,0,0.4);
}
.comparison-table thead tr {
  background: rgba(255,255,255,0.03);
}
.comparison-table th {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 14px 18px;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.comparison-table th.col-feature {
  text-align: left;
  width: 200px;
  color: rgba(255,255,255,0.4);
}
.comparison-table th.paylink-col-header {
  background: linear-gradient(180deg, rgba(13,148,136,0.22), rgba(6,182,212,0.08));
  color: #10b981;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-left: 1px solid rgba(13,148,136,0.3);
  border-right: 1px solid rgba(13,148,136,0.3);
  position: relative;
}
.comparison-table th.paylink-col-header::after {
  content: '★ BEST';
  display: block;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: rgba(16,185,129,0.6);
  font-weight: 600;
  margin-top: 2px;
}
.comparison-table td {
  padding: 13px 18px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comparison-table td.col-feature {
  text-align: left;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.85rem;
}
.comparison-table td.col-paylink {
  background: rgba(13,148,136,0.07);
  border-left: 1px solid rgba(13,148,136,0.18);
  border-right: 1px solid rgba(13,148,136,0.18);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.03); }
.comparison-table tr:hover td.col-paylink { background: rgba(13,148,136,0.12); }
.comparison-note {
  max-width: 920px;
  width: 100%;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 14px;
  text-align: right;
  padding-right: 4px;
}
.check-yes {
  color: #10b981;
  font-size: 1.1rem;
  font-weight: 800;
  display: inline-block;
  transition: transform 0.2s;
}
.check-no {
  color: rgba(255,255,255,0.18);
  font-size: 1rem;
  display: inline-block;
}
.check-partial {
  color: #f59e0b;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Check/X matrix flip animation ──────────────────────────────────────── */
@keyframes check-matrix {
  0%   { opacity: 1; }
  20%  { opacity: 0.3; transform: scale(0.7) rotate(-20deg); }
  40%  { opacity: 0.6; transform: scale(1.15) rotate(10deg); }
  70%  { opacity: 0.8; transform: scale(0.95) rotate(-5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.ch-matrix {
  animation: check-matrix 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── AI mascot robot ─────────────────────────────────────────────────────── */
.ai-mascot-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  height: 80px;
  position: relative;
}
.ai-mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: ai-float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(13,148,136,0.5));
}
@keyframes ai-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.ai-mascot-antenna {
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, #10b981, #0d9488);
  border-radius: 2px;
  position: relative;
}
.ai-mascot-antenna::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.9);
  animation: sec-pulse 1.5s ease-in-out infinite;
}
.ai-mascot-head {
  width: 48px;
  height: 38px;
  background: linear-gradient(135deg, rgba(13,148,136,0.25), rgba(6,182,212,0.1));
  border: 1.5px solid rgba(13,148,136,0.55);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.ai-mascot-head::before {
  content: '';
  position: absolute;
  top: 0; left: 8px; right: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.5), transparent);
}
.ai-mascot-eye {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,0.8);
  animation: ai-blink 4s ease-in-out infinite;
}
.ai-mascot-eye:last-child { animation-delay: 0.15s; }
@keyframes ai-blink {
  0%, 90%, 100% { transform: scaleY(1); opacity: 1; }
  95%            { transform: scaleY(0.1); opacity: 0.5; }
}
.ai-mascot-body {
  width: 36px;
  height: 22px;
  background: linear-gradient(135deg, rgba(13,148,136,0.2), rgba(6,182,212,0.08));
  border: 1.5px solid rgba(13,148,136,0.4);
  border-top: none;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}
.ai-typing-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(16,185,129,0.7);
  animation: ai-dot-bounce 1.2s ease-in-out infinite;
}
.ai-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-dot-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(-3px); opacity: 1; }
}

/* ── AI typewriter heading ───────────────────────────────────────────────── */
.ai-typewriter-target {
  min-height: 1.3em;
}
.ai-typewriter-cursor {
  display: inline-block;
  color: #10b981;
  animation: tw-blink 0.8s step-start infinite;
  font-weight: 300;
  margin-left: 2px;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.ai-typewriter-target.tw-done .ai-typewriter-cursor {
  animation: none;
  opacity: 0;
}

/* ── Dashboard count-up flash ────────────────────────────────────────────── */
.dash-countup.counting {
  color: #10b981 !important;
  transition: color 0.3s;
}
.dash-countup.done {
  color: inherit;
  transition: color 0.6s;
}
