/* ═══ MARKETING.CSS — Phase 32 Motion + Layout ═══ */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Need cards */
.need-card {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.need-card:hover {
  border-color: rgba(0,229,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,229,255,0.06);
}
.need-card .card-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,229,255,0.08);
}
.need-card .card-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.need-card.expanded .card-reveal {
  max-height: 120px;
  opacity: 1;
}

/* System21 flow map */
.system-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 24px 0;
}
.system-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  min-width: 100px;
  text-align: center;
}
.system-node:hover {
  background: rgba(0,229,255,0.04);
  transform: scale(1.05);
}
.system-node .node-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.system-node .node-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #F5F7FA;
}
.system-node .node-benefit {
  font-size: 11px;
  color: #9CA3AF;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.system-node:hover .node-benefit {
  max-height: 40px;
}
.system-arrow {
  color: rgba(255,255,255,0.15);
  font-size: 20px;
  margin: 0 4px;
}
@media (max-width: 768px) {
  .system-map { flex-direction: column; gap: 8px; }
  .system-arrow { transform: rotate(90deg); }
}

/* Explainer sections */
.explainer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}
.explainer-row.reverse { direction: rtl; }
.explainer-row.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .explainer-row { grid-template-columns: 1fr; gap: 24px; }
  .explainer-row.reverse { direction: ltr; }
}

/* Video placeholder */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-container video,
.video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
.video-placeholder .play-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,229,255,0.1);
  border: 2px solid rgba(0,229,255,0.3);
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder .preview-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Diagnosis quiz */
.quiz-step {
  display: none;
  animation: fadeIn 0.3s ease;
}
.quiz-step.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 16px 20px;
  color: #F5F7FA;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 8px;
}
.quiz-option:hover {
  border-color: #00E5FF;
  background: rgba(0,229,255,0.04);
}
.quiz-option.selected {
  border-color: #00E5FF;
  background: rgba(0,229,255,0.08);
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Flexible payments */
.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.payment-card {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.payment-card:hover { border-color: rgba(0,229,255,0.2); }

/* Hero video container */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .hero-layout { grid-template-columns: 1fr; }
}

/* Trust badges */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6B7280;
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
}
