
:root {
  --background: hsl(0, 0%, 7%);
  --foreground: hsl(0, 0%, 94%);
  --card: hsl(0, 0%, 12%);
  --card-foreground: hsl(0, 0%, 94%);
  --popover: hsl(0, 0%, 10%);
  --popover-foreground: hsl(0, 0%, 94%);
  --primary: hsl(142, 100%, 45%);
  --primary-foreground: hsl(0, 0%, 7%);
  --secondary: hsl(200, 97%, 48%);
  --secondary-foreground: hsl(0, 0%, 7%);
  --muted: hsl(0, 0%, 17%);
  --muted-foreground: hsl(0, 0%, 70%);
  --accent: hsl(0, 0%, 17%);
  --accent-foreground: hsl(0, 0%, 94%);
  --destructive: hsl(0, 63%, 50%);
  --destructive-foreground: hsl(0, 0%, 94%);
  --border: hsl(0, 0%, 20%);
  --input: hsl(0, 0%, 20%);
  --radius: 0.5rem;

  --neon-green: #00e676;
  --neon-green-20: rgba(0, 230, 118, 0.2);
  --neon-green-70: rgba(0, 230, 118, 0.7);
  --neon-blue: #03a9f4;
  --neon-purple: #7e57c2;
  --dark: #121212;
  --dark-secondary: #1e1e1e;
  --dark-tertiary: #2a2a2a;
  --yellow-400: #facc15;
  --yellow-600-20: rgba(202, 138, 4, 0.2);
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  background-color: var(--dark);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Utility Classes */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-grow {
  flex-grow: 1;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-mono {
  font-family: 'Courier New', monospace;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.pr-8 {
  padding-right: 2rem;
}

.border {
  border: 1px solid;
}

.border-t {
  border-top: 1px solid;
}

.border-b {
  border-bottom: 1px solid;
}

.border-neon-green-20 {
  border-color: var(--neon-green-20);
}

.border-yellow-600-20 {
  border-color: var(--yellow-600-20);
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.bg-dark {
  background-color: var(--dark);
}

.bg-dark-secondary {
  background-color: var(--dark-secondary);
}

.bg-dark-tertiary {
  background-color: var(--dark-tertiary);
}

.text-neon-green {
  color: var(--neon-green);
}

.text-neon-blue {
  color: var(--neon-blue);
}

.text-neon-purple {
  color: var(--neon-purple);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-yellow-400 {
  color: var(--yellow-400);
}

.relative {
  position: relative;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

/* Specific Components */
.animate-glow {
  animation: glow 1.5s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { 
    text-shadow: 0 0 4px rgba(0, 230, 118, 0.5), 0 0 8px rgba(0, 230, 118, 0.3) 
  }
  50% { 
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.8), 0 0 16px rgba(0, 230, 118, 0.6) 
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: var(--dark-secondary);
  border-radius: 0.5rem;
  border: 1px solid var(--neon-green-20);
}

.input-field {
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: var(--dark-secondary);
  border: 1px solid var(--neon-green-20);
  border-radius: 0.25rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}

.input-field:focus {
  border-color: var(--neon-green);
}

.radio-input {
  accent-color: var(--neon-green);
}

.shell-option {
  border: 1px solid var(--neon-green-20);
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  background-color: transparent;
  color: var(--foreground);
  cursor: pointer;
  font-size: 0.875rem;
}

.shell-option:hover {
  border-color: var(--neon-green);
  background-color: rgba(0, 230, 118, 0.1);
}

.shell-option.active {
  background-color: rgba(0, 230, 118, 0.2);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.tabs {
  width: 100%;
}

.tabs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
  background-color: var(--dark-tertiary);
  border-radius: 0.5rem;
  overflow: hidden;
}

.tab {
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  background-color: transparent;
  border: none;
  color: var(--foreground);
  transition: all 0.2s;
}

.tab.active {
  background-color: var(--dark-secondary);
  color: var(--neon-green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.card {
  background-color: var(--dark-secondary);
  border: 1px solid var(--neon-green-20);
  border-radius: 0.5rem;
}

.code-block {
  background-color: var(--dark-secondary);
  border-radius: 0.375rem;
  padding: 1rem;
  overflow-x: auto;
  position: relative;
  border: 1px solid var(--neon-green-20);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
  margin-bottom: 0;
}

.terminal-text {
  color: var(--neon-green);
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
  word-break: break-all;
}

.copy-button-container {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.copy-button {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--neon-green-20);
  border-radius: 0.25rem;
  background-color: transparent;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.copy-button:hover {
  border-color: var(--neon-green);
  background-color: rgba(0, 230, 118, 0.1);
  color: var(--neon-green);
}

/* Media Queries */
@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:inline {
    display: inline;
  }
}

@media (max-width: 767px) {
  .hidden {
    display: none;
  }
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--neon-green);
}
