/* Zero Prompt Landing v3 — Anime Cyberpunk Styles */

/* ==================== CSS Custom Properties ==================== */
:root {
  --bg-main: #0a0a1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3a;
  --border-subtle: #1e1e3e;
  --text-primary: #ededed;
  --text-muted: #888899;
  --neon-pink: #ff2d7b;
  --neon-blue: #00d4ff;
  --neon-green: #39ff14;
  --neon-purple: #9b59b6;
  --neon-orange: #ff6b35;
  --neon-amber: #ffaa00;
  --agent-coordinator: #FFB800;
  --agent-copywriter: #FF4444;
  --agent-designer: #CC44FF;
  --agent-marketer: #00CC44;
  --agent-tech: #00CCFF;
  --agent-archivist: #8844FF;
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes strikethrough {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { border-color: var(--neon-green); }
  50% { border-color: transparent; }
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 45, 123, 0.3), 0 0 40px rgba(155, 89, 182, 0.15); }
  50% { box-shadow: 0 0 30px rgba(255, 45, 123, 0.5), 0 0 60px rgba(155, 89, 182, 0.25); }
}

@keyframes neonPulseGreen {
  0%, 100% { box-shadow: 0 0 20px rgba(57, 255, 20, 0.15); }
  50% { box-shadow: 0 0 40px rgba(57, 255, 20, 0.3); }
}

@keyframes urgencyPulse {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.15; }
}

@keyframes counterUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* ==================== Neon text effects ==================== */
.neon-text-blue {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
}

.neon-text-green {
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5), 0 0 20px rgba(57, 255, 20, 0.3);
}

.neon-text-pink {
  text-shadow: 0 0 10px rgba(255, 45, 123, 0.5), 0 0 20px rgba(255, 45, 123, 0.3);
}

/* ==================== Neon buttons ==================== */
.btn-neon-primary {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: neonPulse 3s ease infinite;
}

.btn-neon-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 45, 123, 0.5), 0 0 60px rgba(155, 89, 182, 0.3);
}

.btn-neon-outline {
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  transition: all 0.3s ease;
}

.btn-neon-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

/* ==================== Scroll reveal ==================== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }
[data-animate][data-delay="5"] { transition-delay: 0.5s; }
[data-animate][data-delay="6"] { transition-delay: 0.6s; }

/* ==================== Section glow effects ==================== */
.section-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.15;
}

.section-glow-pink {
  background: var(--neon-pink);
  top: -200px;
  right: -200px;
}

.section-glow-blue {
  background: var(--neon-blue);
  bottom: -200px;
  left: -200px;
}

.section-glow-green {
  background: var(--neon-green);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
}

.section-glow-purple {
  background: var(--neon-purple);
  top: -100px;
  left: -200px;
}

.section-glow-amber {
  background: var(--neon-amber);
  bottom: -200px;
  right: -200px;
  opacity: 0.1;
}

/* ==================== Terminal ==================== */
.terminal {
  background: #080818;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  overflow: hidden;
}

.terminal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: #0e0e24;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  padding: 10px 14px;
}

.terminal-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: block;
}

.terminal-body {
  padding: 16px 20px 20px;
  font-size: 14px;
  line-height: 1.8;
}

.terminal-line {
  opacity: 0;
  white-space: nowrap;
}

.terminal-line.is-typed {
  opacity: 1;
}

.terminal-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--neon-green);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

.terminal-card {
  position: relative;
}

.terminal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top left, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* ==================== Hero ==================== */
.hero-glow {
  position: absolute;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -30%);
  animation: glowFloat 6s ease infinite;
}

/* Strike-through animation */
.strike-animated {
  position: relative;
  display: inline-block;
}

.strike-animated::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  background: var(--neon-pink);
  width: 0;
  box-shadow: 0 0 8px rgba(255, 45, 123, 0.5);
}

.strike-animated.is-struck::after {
  animation: strikethrough 0.6s ease forwards;
}

.hero-headline,
.hero-subtitle,
.hero-cta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-headline.is-visible,
.hero-subtitle.is-visible,
.hero-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Quiz ==================== */
.quiz-btn {
  transition: all 0.3s ease;
  position: relative;
}

.quiz-btn::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border: 2px solid var(--border-subtle);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.quiz-btn.is-checked {
  border-color: var(--neon-pink) !important;
  background: rgba(255, 45, 123, 0.05);
  box-shadow: 0 0 20px rgba(255, 45, 123, 0.1);
}

.quiz-btn.is-checked::after {
  border-color: var(--neon-pink);
  background: var(--neon-pink);
  box-shadow: inset 0 0 0 2px var(--bg-main);
}

/* ==================== Enemy cards ==================== */
.enemy-card {
  transition: all 0.3s ease;
}

.enemy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 123, 0.3);
  box-shadow: 0 0 30px rgba(255, 45, 123, 0.1);
}

.enemy-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 45, 123, 0.15);
  color: var(--neon-pink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ==================== Timeline / Before-After ==================== */
.timeline-col {
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.timeline-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  width: 48px;
  padding-top: 12px;
}

.timeline-content {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 12px 16px;
  border-left: 3px solid;
  flex: 1;
}

/* ==================== Counter animation ==================== */
.counter.is-counting {
  animation: counterUp 0.3s ease;
}

/* ==================== Agent cards ==================== */
.agent-card {
  transition: all 0.3s ease;
}

.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ==================== Calculator ==================== */
.calc-option {
  transition: all 0.3s ease;
  cursor: pointer;
}

.calc-option.is-selected {
  border-color: var(--neon-blue) !important;
  background: rgba(0, 212, 255, 0.1) !important;
  color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

/* ==================== Pricing ==================== */
.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card-featured {
  position: relative;
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 30px rgba(255, 45, 123, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ==================== Objection / FAQ ==================== */
.objection-card {
  transition: all 0.3s ease;
}

.objection-card:hover {
  border-color: rgba(255, 45, 123, 0.3);
}

.faq-toggle {
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-toggle.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  transition: all 0.3s ease;
}

/* ==================== Guarantee ==================== */
.guarantee-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ==================== Urgency ==================== */
.urgency-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 170, 0, 0.1) 0%, transparent 70%);
  animation: urgencyPulse 3s ease infinite;
  pointer-events: none;
}

/* ==================== Final CTA ==================== */
.cta-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255, 45, 123, 0.06) 0%, transparent 70%);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ==================== Mobile menu ==================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-main);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ==================== Nav scroll state ==================== */
.nav-scrolled {
  border-bottom: 1px solid var(--border-subtle) !important;
  background: rgba(10, 10, 26, 0.95) !important;
}

/* ==================== Team diagram responsive ==================== */
.team-diagram-svg {
  display: none;
}

@media (min-width: 768px) {
  .team-diagram-svg {
    display: flex;
  }
  .team-diagram-mobile {
    display: none;
  }
}

/* ==================== Reduced motion ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .terminal-line {
    opacity: 1;
  }

  .hero-headline,
  .hero-subtitle,
  .hero-cta {
    opacity: 1;
    transform: none;
  }

  .hero-glow {
    animation: none;
  }
}

/* ==================== Responsive tweaks ==================== */
@media (max-width: 640px) {
  .terminal-body {
    font-size: 11px;
    padding: 12px 14px 16px;
    overflow-x: auto;
  }

  .terminal-line {
    white-space: pre-wrap;
    word-break: break-word;
  }

  .timeline-time {
    font-size: 11px;
    width: 40px;
  }

  .section-glow {
    width: 300px;
    height: 300px;
  }
}

/* ==================== Scrollbar ==================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==================== Selection ==================== */
::selection {
  background: rgba(255, 45, 123, 0.3);
  color: #fff;
}
