/* ============================================================
   KVOLT - COMPONENTS & ANIMATIONS
   ============================================================ */

/* ── How We Work Steps ──────────────────────────────────────── */
.nv-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.nv-step { text-align: center; }
.nv-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-dim); border: 2px solid rgba(245,158,11,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 1.25rem; font-weight: 700;
  color: var(--accent); margin: 0 auto 1.25rem;
}
.nv-step-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.nv-step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.nv-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.nv-step-connector {
  display: none;
}

/* ── How We Work Section ────────────────────────────────────── */
.nv-how-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.nv-how-visual {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
  position: relative; overflow: hidden;
}
.nv-strategy-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.nv-strategy-item:last-child { border-bottom: none; }
.nv-strategy-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: var(--bg-glass); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.nv-strategy-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; }
.nv-strategy-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ── Transparency Section ───────────────────────────────────── */
.nv-transparency-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.nv-trans-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; text-align: center;
  backdrop-filter: blur(20px);
}
.nv-trans-card__val {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}
.nv-trans-card__label { font-size: 0.8rem; color: var(--text-muted); }

/* ── Admin CSS ──────────────────────────────────────────────── */
.nexvest-admin .nv-admin-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem; margin: 1.5rem 0;
}
.nexvest-admin .nv-admin-card {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 1.25rem; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.nexvest-admin .nv-admin-card.alert { border-color: #f59e0b; background: #fffbeb; }
.nexvest-admin .nv-card-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.nexvest-admin .nv-admin-card h3 { font-size: 1.75rem; font-weight: 700; margin: 0; }
.nexvest-admin .nv-admin-card p { color: #64748b; font-size: 0.875rem; margin: 0.25rem 0 0; }
.nexvest-admin .nv-filter-bar { margin: 1rem 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Entrance animations */
.nv-animate-up {
  animation: slideUp 0.6s var(--ease-out) both;
}
.nv-animate-up:nth-child(1) { animation-delay: 0.05s; }
.nv-animate-up:nth-child(2) { animation-delay: 0.1s; }
.nv-animate-up:nth-child(3) { animation-delay: 0.15s; }
.nv-animate-up:nth-child(4) { animation-delay: 0.2s; }
.nv-animate-up:nth-child(5) { animation-delay: 0.25s; }

.nv-animate-fade { animation: fadeIn 0.5s var(--ease-out) both; }

/* ── Responsive Misc ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nv-how-grid { grid-template-columns: 1fr; }
  .nv-transparency-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nv-transparency-grid { grid-template-columns: 1fr; }
  .nv-steps { grid-template-columns: 1fr; }
}
