.hero-demo-showcase {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
}
.demo-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  display: flex;
}
.demo-label {
  letter-spacing: 0.1em;
  color: #00d9ff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}
.demo-tabs,
.preview-tabs,
.install-tabs {
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  background: #0f111acc;
  border: 1px solid #33333380;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  gap: 0.25rem;
  margin-bottom: 0;
  padding: 0.5rem 0.5rem 0;
  display: flex;
  position: relative;
}
.hero-demo-showcase .demo-tabs {
  border-bottom: 1px solid #33333380;
  border-radius: 8px 8px 0 0;
  margin-bottom: -1px;
}
.demo-tab,
.preview-tab,
.install-tab {
  color: #9ca3af;
  cursor: pointer;
  white-space: nowrap;
  background: 0 0;
  border: none;
  border-bottom: 2px solid #0000;
  border-radius: 6px 6px 0 0;
  flex-shrink: 0;
  padding: 0.625rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.demo-tab:hover,
.preview-tab:hover,
.install-tab:hover {
  color: #e5e7eb;
  background: #ffffff08;
}
.demo-tab.active,
.preview-tab.active,
.install-tab.active {
  color: #00d9ff;
  background: #00d9ff14;
  border-bottom-color: #00d9ff;
  box-shadow: 0 -2px 8px #00d9ff26;
}
.demo-tab.active:after,
.preview-tab.active:after,
.install-tab.active:after {
  content: "";
  background: linear-gradient(90deg, #00d9ff, #8b5cf6);
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  box-shadow: 0 0 8px #00d9ff80;
}
.demo-tab.active:before,
.preview-tab.active:before,
.install-tab.active:before {
  content: "";
  opacity: 0;
  pointer-events: none;
  opacity: 1;
  background: linear-gradient(135deg, #00d9ff1a 0%, #8b5cf60d 100%);
  border-radius: 6px 6px 0 0;
  transition: opacity 0.3s;
  position: absolute;
  inset: 0;
}
.demo-tab:active,
.preview-tab:active,
.install-tab:active {
  transition-duration: 0.1s;
  transform: translateY(1px);
}
.terminal-container {
  opacity: 1;
  background: #0f111a;
  border: 1px solid #333;
  border-top: none;
  border-radius: 0 0 6px 6px;
  flex-direction: column;
  width: 100%;
  height: 600px;
  font-family:
    JetBrains Mono,
    Fira Code,
    Consolas,
    monospace;
  display: flex;
  position: relative;
  overflow: hidden;
  transform: none;
  box-shadow: 0 10px 30px #0009;
}
@keyframes terminalReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    box-shadow: 0 5px 15px #0000004d;
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow:
      0 15px 40px #0009,
      0 0 60px #00d9ff14;
  }
}
.terminal-container:hover {
  transition: box-shadow 0.4s;
  box-shadow:
    0 20px 50px #000000b3,
    0 0 80px #00d9ff1f;
}
.terminal-header {
  background: #1a1c25;
  border-bottom: 1px solid #333;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  height: 48px;
  min-height: 48px;
  padding: 8px 12px;
  display: flex;
}
.terminal-header .dot {
  border-radius: 50%;
  width: 10px;
  height: 10px;
}
.terminal-header .dot.red {
  background: #ff5f56;
}
.terminal-header .dot.yellow {
  background: #ffbd2e;
}
.terminal-header .dot.green {
  background: #27ca40;
}
.terminal-title {
  color: #888;
  margin-left: 0;
  font-family: inherit;
  font-size: 12px;
}
.terminal-meta {
  color: #9ca3af;
  gap: 0.75rem;
  margin-left: auto;
  font-size: 11px;
  display: flex;
}
.terminal-body {
  color: #e5e7eb;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
  font-family:
    JetBrains Mono,
    Fira Code,
    Consolas,
    monospace;
  font-size: 14px;
  line-height: 1.7;
  display: flex;
  overflow: hidden;
}
.terminal-body .terminal-stream {
  white-space: normal !important;
  display: block !important;
}
.terminal-stream {
  white-space: normal;
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 1.5rem 1.75rem;
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  overflow: hidden auto;
  color: #e5e7eb !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: 0 0 !important;
  display: block !important;
}
#demo-output {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
#demo-output * {
  opacity: 1 !important;
  visibility: visible !important;
}
.typing-cursor {
  color: #00d9ff;
  margin-left: 2px;
  animation: 1s infinite blink;
  display: inline-block;
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  to {
    opacity: 0;
  }
}
.demo-section,
.demo-command,
.tool-execution,
.tool-output,
.demo-verdict {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  display: block !important;
  transform: none !important;
}
.loading-spinner {
  display: none !important;
}
.terminal-footer {
  background: #0c0f17;
  border-top: 1px solid #2b2f3a;
  flex-shrink: 0;
  align-items: center;
  height: 40px;
  min-height: 40px;
  padding: 0.5rem 1rem;
  display: flex;
}
.terminal-stream::-webkit-scrollbar {
  width: 8px;
}
.terminal-stream::-webkit-scrollbar-track {
  background: #0f111a;
}
.terminal-stream::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
.terminal-stream::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.demo-command {
  color: #fff;
  border-bottom: 1px dashed #3339;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  display: block;
}
.exec-badge {
  letter-spacing: 0.08em;
  color: #00d9ff;
  background: #00d9ff14;
  border: 1px solid #00d9ff66;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 10px;
}
.tool-step {
  color: #9ca3af;
  background: #11131c;
  border: 1px solid #94a3b84d;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
}
.tool-status {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
}
.command-prompt {
  color: #00d9ff;
  margin-right: 8px;
  font-weight: 700;
}
.tool-execution {
  color: #9ca3af;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 13px;
  line-height: 1.6;
  display: flex;
}
.demo-section {
  --tool-accent: 148, 163, 184;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
  padding-right: 0.5rem;
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  display: block !important;
  transform: none !important;
}
@keyframes sectionSlideIn {
  0% {
    opacity: 0;
    transform: translate(-10px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
.demo-section:before {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(var(--tool-accent), 0.5),
    rgba(var(--tool-accent), 0.08)
  );
  width: 1px;
  position: absolute;
  top: 0.6rem;
  bottom: 0.4rem;
  left: 0.65rem;
}
.demo-section[data-tool="gigathink"] {
  --tool-accent: 250, 204, 21;
}
.demo-section[data-tool="laserlogic"] {
  --tool-accent: 34, 211, 238;
}
.demo-section[data-tool="bedrock"] {
  --tool-accent: 249, 115, 22;
}
.demo-section[data-tool="proofguard"] {
  --tool-accent: 52, 211, 153;
}
.demo-section[data-tool="brutalhonesty"] {
  --tool-accent: 244, 63, 94;
}
.demo-section[data-tool] .tool-step {
  color: rgb(var(--tool-accent));
  border-color: rgba(var(--tool-accent), 0.6);
  box-shadow: 0 0 10px rgba(var(--tool-accent), 0.2);
}
.tool-header {
  color: #e5e7eb;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
}
.tool-name {
  font-weight: 700;
}
.tool-name.gigathink {
  color: #facc15;
}
.tool-name.laserlogic {
  color: #22d3ee;
}
.tool-name.bedrock {
  color: #f97316;
}
.tool-name.proofguard {
  color: #34d399;
}
.tool-name.brutalhonesty {
  color: #f43f5e;
}
.tool-output {
  color: #e5e7eb;
  width: 100%;
  margin-top: 0.75rem;
  font-size: 14px;
  line-height: 1.7;
  display: block;
}
.tool-output ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tool-output li {
  color: #e5e7eb;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  line-height: 1.7;
  display: block;
  position: relative;
}
.tool-output li:before {
  content: "•";
  color: #6b7280;
  font-size: 1.2em;
  font-weight: 700;
  position: absolute;
  left: 0.5rem;
}
.tool-output strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.flaw {
  background: #f43f5e0d;
  border-left: 2px solid #f43f5e80;
  border-radius: 0 4px 4px 0;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
}
.flaw strong {
  color: #f43f5e;
  font-weight: 600;
}
.flaw-detail {
  color: #9ca3af;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  display: block;
}
.bedrock-output {
  background: #f973160d;
  border: 1px solid #f9731633;
  border-radius: 6px;
  padding: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.bedrock-output .highlight {
  color: #f97316;
  background: #f973161a;
  border-radius: 3px;
  padding: 0.1rem 0.3rem;
  font-weight: 600;
}
.bedrock-output .detail {
  color: #9ca3af;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  display: block;
}
.brutal-output {
  background: #f43f5e14;
  border: 1px solid #f43f5e4d;
  border-radius: 6px;
  padding: 1rem;
}
.brutal-truth {
  color: #f43f5e;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  display: block;
}
.brutal-output .detail {
  color: #d1d5db;
  font-size: 0.8125rem;
  line-height: 1.6;
  display: block;
}
.verified-list {
  margin: 0;
  padding: 0 !important;
}
.verified-list li {
  background: #34d3990d;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}
.verified-list li:before {
  display: none !important;
}
.verified-list li.verified {
  border-left: 2px solid #34d399;
}
.verified-list li.unverified {
  background: #fbbf240d;
  border-left: 2px solid #fbbf24;
}
li.more {
  color: #6b7280;
  font-size: 0.75rem;
  font-style: italic;
}
.demo-verdict {
  background: linear-gradient(135deg, #00d9ff14 0%, #8b5cf60d 100%);
  border: 1px solid #00d9ff4d;
  border-radius: 8px;
  margin-top: 1.5rem;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}
.demo-verdict:before {
  content: "";
  background: linear-gradient(90deg, #00d9ff 0%, #8b5cf6 100%);
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.verdict-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00d9ff;
  margin-bottom: 0.5rem;
  font-size: 10px;
  font-weight: 700;
}
.verdict-main {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}
.verdict-detail {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.6;
}
#demo-output {
  transition: opacity 0.2s ease-in-out;
}
.loading-spinner {
  border: 2px solid #00d9ff33;
  border-top-color: #00d9ff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 2rem auto;
  animation: 0.8s linear infinite spin;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.terminal-footer-info {
  color: #6b7280;
  justify-content: space-between;
  font-size: 11px;
  display: flex;
}
@media (width<=768px) {
  .demo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .demo-tabs,
  .preview-tabs,
  .install-tabs {
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.375rem 0.375rem 0;
  }
  .demo-tab,
  .preview-tab,
  .install-tab {
    flex: auto;
    min-width: calc(50% - 0.125rem);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .terminal-body {
    font-size: 11px;
  }
  .terminal-container {
    height: 500px;
  }
  .terminal-stream {
    padding: 0.875rem;
  }
  .demo-footer {
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }
}
.value-preview-container {
  -webkit-backdrop-filter: blur(10px);
  background: #11182780;
  border: 1px solid #4b55634d;
  border-radius: 14px;
  width: 100%;
  max-width: 1000px;
  margin: 1.75rem auto;
  overflow: hidden;
  box-shadow:
    0 8px 24px #00000026,
    inset 0 1px #ffffff0d;
}
.preview-window {
  padding: 1.75rem;
}
.preview-question {
  letter-spacing: -0.02em;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  -webkit-text-fill-color: transparent;
  color: #f9fafb;
  filter: drop-shadow(0 1px 2px #0000004d);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1.75rem;
  font-family:
    Playfair Display,
    Georgia,
    serif;
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
}
.preview-question:before,
.preview-question:after {
  content: '"';
  color: #8a5cf680;
  -webkit-text-fill-color: #8a5cf680;
  font-family:
    Playfair Display,
    serif;
  font-weight: 400;
}
.preview-comparison {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  display: grid;
}
@media (width>=640px) {
  .preview-comparison {
    grid-template-columns: 1fr 1fr;
  }
}
.preview-side {
  border: 1px solid #0000;
  border-radius: 12px;
  flex-direction: column;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  position: relative;
}
.preview-side.typical {
  backdrop-filter: blur(10px);
  background: #ffffff08;
  border-color: #ffffff14;
}
.preview-side.reasonkit {
  background: linear-gradient(135deg, #8a5cf61a 0%, #22d3ee0d 100%);
  border-color: #8a5cf64d;
  box-shadow:
    0 0 0 1px #8a5cf61a,
    0 4px 24px #8a5cf626,
    inset 0 1px #ffffff0d;
}
.preview-side:hover {
  z-index: 1;
  transform: translateY(-3px);
}
.preview-side.typical:hover {
  border-color: #ffffff26;
  box-shadow: 0 4px 20px #0003;
}
.preview-side.reasonkit:hover {
  border-color: #8a5cf680;
  box-shadow: 0 0 40px #8a5cf633;
}
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.preview-side {
  animation: 0.6s ease-out forwards slideUpFade;
}
.preview-side.typical {
  animation-delay: 0.1s;
}
.preview-side.reasonkit {
  animation-delay: 0.2s;
}
.preview-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
}
.label-text {
  opacity: 0.9;
}
.label-badge {
  color: #22d3ee;
  letter-spacing: 0.05em;
  background: #22d3ee26;
  border: 1px solid #22d3ee4d;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.625rem;
  font-weight: 600;
  box-shadow: 0 0 8px #22d3ee33;
}
.label-badge.badge-neutral {
  color: #9ca3af;
  box-shadow: none;
  background: #ffffff1a;
  border: 1px solid #ffffff1a;
}
.preview-side.reasonkit .preview-label {
  color: #22d3ee;
}
.preview-text {
  color: #e5e7eb;
  font-size: 0.95rem;
  line-height: 1.5;
}
.preview-side.reasonkit .preview-text {
  font-weight: 500;
}
@media (width<=768px), (prefers-reduced-transparency: reduce) {
  .value-preview-container {
    -webkit-backdrop-filter: none;
    background: #111827eb;
  }
  .preview-side {
    -webkit-backdrop-filter: none;
  }
  .preview-side.typical {
    background: #111827d9;
  }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-container,
  .demo-section,
  .preview-side,
  .demo-tab,
  .demo-tab:before {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .terminal-container,
  .demo-section,
  .preview-side {
    opacity: 1;
    transform: none;
  }
}
