@import url("matrix.css");

/* ===== HERO ===== */
.launch-zone { padding: 64px 0 24px; }
.launch-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .launch-grid { grid-template-columns: 1fr; } }
.launch-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.pulse-tag { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding: 13px 18px; background: var(--void-900); border: 1px solid var(--void-700); border-radius: var(--curve-md); width: fit-content; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--spark-400); box-shadow: 0 0 12px var(--spark-400); animation: pulse-kf 1.7s ease-in-out infinite; }
@keyframes pulse-kf { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.pulse-text { font-size: 13px; color: var(--dim-soft); }
.pulse-text b { color: var(--bright); }

/* scanner mockup */
.scan-frame {
  width: min(340px, 90vw); margin: 0 auto; border-radius: 26px;
  background: var(--blend-well); border: 1px solid var(--void-600); padding: 22px;
  box-shadow: 0 32px 84px rgba(216,30,91,0.22);
  position: relative; overflow: hidden;
}
.scan-frame::before {
  content: ""; position: absolute; left: 0; right: 0; height: 3px;
  background: var(--blend-core); box-shadow: 0 0 16px var(--spark-500);
  animation: scan-move-kf 2.6s ease-in-out infinite;
}
@keyframes scan-move-kf { 0%,100% { top: 8%; } 50% { top: 88%; } }
.scan-top { display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--void-700); margin-bottom: 15px; }
.scan-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blend-core); display: grid; place-items: center; font-weight: 900; color: var(--void-950); font-size: 12px; }
.scan-title { font-size: 13px; font-weight: 700; color: var(--bright); }
.scan-sub { font-size: 11px; color: var(--spark-400); }
.scan-meter { height: 8px; border-radius: 6px; background: var(--void-800); overflow: hidden; margin-bottom: 11px; }
.scan-meter-fill { height: 100%; background: var(--blend-core); border-radius: 6px; animation: meter-fill-kf 2.2s ease-in-out infinite alternate; }
@keyframes meter-fill-kf { from { width: 18%; } to { width: 94%; } }
.scan-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim-soft); margin-bottom: 7px; }
.scan-row b { color: var(--bright); }

/* ===== Q&A EXPANDED FORMAT (page-defining pattern) ===== */
.answer-set { display: flex; flex-direction: column; gap: 18px; }
.answer-block { background: var(--void-900); border: 1px solid var(--void-700); border-radius: var(--curve-lg); padding: 30px 28px; }
.answer-block .q-num { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--spark-400); margin-bottom: 10px; }
.answer-block h2 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; color: var(--bright); margin-bottom: 14px; line-height: 1.3; }
.answer-block p { font-size: 15px; color: var(--dim-soft); line-height: 1.7; margin-bottom: 12px; }
.answer-block p:last-child { margin-bottom: 0; }
.answer-block .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.answer-block .tag-pill { font-size: 12px; padding: 5px 12px; border-radius: 20px; background: var(--void-800); color: var(--dim-soft); border: 1px solid var(--void-700); }

/* short FAQ accordion (used on secondary pages) */
.fold-stack { display: flex; flex-direction: column; gap: 10px; max-width: 780px; margin: 0 auto; }
.fold-item { background: var(--void-900); border: 1px solid var(--void-700); border-radius: var(--curve-md); overflow: hidden; }
.fold-head { width: 100%; text-align: left; padding: 18px 22px; font-size: 15px; font-weight: 600; color: var(--bright); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fold-mark { color: var(--spark-400); font-size: 20px; font-weight: 400; flex-shrink: 0; transition: transform var(--shift-fast) ease; }
.fold-item.open .fold-mark { transform: rotate(45deg); }
.fold-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.fold-item.open .fold-body { max-height: 320px; }
.fold-body p { padding: 0 22px 18px; font-size: 14px; color: var(--dim-soft); }

/* sequence steps (used sparingly, not the page skeleton) */
.route { display: grid; gap: 22px; }
.route-node { display: flex; gap: 18px; align-items: flex-start; }
.route-node-num { width: 34px; height: 34px; border-radius: 10px; background: var(--blend-core); color: var(--void-950); font-weight: 900; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; }
.route-node h3 { font-size: 16px; color: var(--bright); margin-bottom: 4px; }
.route-node p { font-size: 14px; color: var(--dim-soft); }

/* cross-links */
.portal-tile { display: block; background: var(--void-900); border: 1px solid var(--void-700); border-radius: var(--curve-lg); padding: 24px; text-align: center; transition: border-color var(--shift-fast) ease, transform var(--shift-fast) ease; }
.portal-tile:hover { border-color: var(--spark-500); transform: translateY(-3px); }
.portal-glyph { font-size: 26px; margin-bottom: 10px; }
.portal-tile h3 { font-size: 15px; color: var(--bright); margin-bottom: 4px; }
.portal-tile p { font-size: 13px; color: var(--dim-soft); margin-bottom: 14px; }

/* closer CTA */
.wrap-up { text-align: center; padding: 54px 24px; background: var(--blend-well); border-radius: var(--curve-lg); max-width: 1140px; margin: 0 auto; border: 1px solid var(--void-600); }
.wrap-up h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--bright); margin-bottom: 10px; }
.wrap-up p { color: var(--dim-soft); margin-bottom: 26px; }
.wrap-up-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* testimony */
.echo-card { background: var(--void-900); border: 1px solid var(--void-700); border-radius: var(--curve-lg); padding: 24px; }
.echo-card .stars { color: var(--spark-400); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.echo-card p { font-size: 14px; color: var(--dim); margin-bottom: 16px; }
.echo-source { display: flex; align-items: center; gap: 10px; }
.echo-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--void-700); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--spark-300); }
.echo-name { font-size: 13px; font-weight: 700; color: var(--bright); }
.echo-tag { font-size: 12px; color: var(--dim-faint); }

/* blog cards */
.entry-card { display: block; background: var(--void-900); border: 1px solid var(--void-700); border-radius: var(--curve-lg); overflow: hidden; transition: border-color var(--shift-fast) ease, transform var(--shift-fast) ease; }
.entry-card:hover { border-color: var(--spark-500); transform: translateY(-3px); }
.entry-cover { height: 4px; background: var(--blend-core); }
.entry-body { padding: 22px; }
.entry-date { font-size: 12px; color: var(--dim-faint); margin-bottom: 8px; }
.entry-body h3 { font-size: 17px; color: var(--bright); margin-bottom: 8px; line-height: 1.35; }
.entry-body p { font-size: 14px; color: var(--dim-soft); }
