.terminal {
  background: #1a1b26;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: #24283b;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #a9b1d6;
  min-height: 60px;
}

.prompt::before {
  content: '$ ';
  color: #9ece6a;
}

.command {
  color: #7dcfff;
}

.output {
  color: #787c99;
  padding-left: 0;
}

.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 18px;
  background: #a9b1d6;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% { opacity: 0; }
}

.tab-button {
  transition: all 0.2s ease;
}

.tab-button.active {
  border-bottom: 2px solid currentColor;
}

.download-tab {
  display: none;
}

.download-tab.active {
  display: block;
}

/* Smooth transitions for dark mode */
html {
  transition: background-color 0.3s, color 0.3s;
}

/* Copy button */
.copy-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.copy-row .prompt {
  flex: 1;
  min-width: 0;
  word-break: break-all;
}

.copy-btn {
  flex-shrink: 0;
  padding: 4px;
  border-radius: 4px;
  color: #787c99;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.copy-btn:hover {
  color: #a9b1d6;
  background: #24283b;
}

.copy-btn.copied {
  color: #9ece6a;
}

.download-link {
  color: #7dcfff;
  text-decoration: none;
}

.download-link:hover {
  text-decoration: underline;
}

/* Navigation */
.nav-link {
  transition: color 0.2s;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 0;
  }

  .pricing-card {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0s;
  }

  .pricing-card-side {
    z-index: 1;
  }

  .pricing-card-side:hover {
    z-index: 20;
    transform: scale(1.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  }

  .pricing-card-center {
    z-index: 10;
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }

  .pricing-card-center:hover {
    z-index: 20;
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  }
}

@media (prefers-color-scheme: dark) {
  .pricing-card-side:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  }

  .pricing-card-center {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }

  .pricing-card-center:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  }
}
