/* index overrides --green-dim to a solid color for badges/buttons */
:root {
  --green-dim: #00cc00;
}

body {
  font-family: var(--Code);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-family: var(--Tech);
  border: 1px solid var(--green-dim);
  color: var(--green-dim);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  animation: var(--anim-down);
}

.badge:last-of-type {
  margin-bottom: 2.5rem;
}

h1 {
  font-family: var(--Code);
  font-size: clamp(2.2rem, 8vw, 3.8rem);
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(0, 255, 0, 0.3);
  animation: var(--anim-down);
}

h1 span {
  color: #fff;
}

.tagline {
  font-family: var(--Tech);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: var(--anim-down);
}

.terminal {
  background: var(--bg2);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
  position: relative;
  animation: var(--anim-up);
}

.terminal-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: var(--rust); }
.dot.y { background: var(--py);}
.dot.g { background: var(--green); }

.install-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.install-cmd {
  color: var(--green);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 0.02em;
}

.install-cmd .prompt {
  color: rgba(0, 255, 0, 0.4);
  margin-right: 0.5rem;
}

.copy-btn {
  background: none;
  border: 1px solid rgba(0, 255, 0, 0.3);
  color: var(--green-dim);
  font-family: var(--Tech);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--green-muted);
  border-color: var(--green);
  color: var(--green);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
  text-align: left;
  animation: var(--anim-up);
}

.feature {
  border: 1px solid rgba(0, 255, 0, 0.1);
  border-radius: 4px;
  padding: 1rem;
  background: var(--green-muted);
}

.feature-icon {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.feature-title {
  color: var(--green);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.feature-desc {
  font-family: var(--Tech);
  font-size: 0.75rem;
  color: #888;
  line-height: 1.5;
}

.security {
  font-family: var(--Tech);
  font-size: 0.72rem;
  color: rgba(0, 255, 0, 0.4);
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  animation: var(--anim-up);
}

.security::before {
  content: '◈ ';
}

.links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: var(--anim-up);
}

.links a {
  font-family: var(--Tech);
  color: #555;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.links a:hover {
  color: var(--green);
}

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