:root {
  --bg-color: #000000;
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --border-color: #333333;
  --accent: #ffffff;
  
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 900px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.section {
  padding: 3rem 2rem;
}

.border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.border-right {
  border-right: 1px solid var(--border-color);
}

/* --- HEADER --- */
header h1 {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

header .subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

/* --- INSTALL ROW --- */
.flex-row {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.terminal-box {
  flex: 1;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  overflow-x: auto;
  border-right: 1px solid var(--border-color);
}

.terminal-box::-webkit-scrollbar {
  display: none;
}

.prompt {
  color: var(--text-secondary);
  font-weight: bold;
}

.command {
  white-space: nowrap;
}

.copy-btn {
  background: var(--bg-color);
  color: var(--text-primary);
  border: none;
  padding: 0 3rem;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--text-primary);
  color: var(--bg-color);
}

.copy-btn.copied {
  background: var(--text-primary);
  color: var(--bg-color);
}

/* --- FEATURES GRID --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}

.card {
  padding: 2rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .card.border-right {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .flex-row {
    flex-direction: column;
  }
  .terminal-box {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .copy-btn {
    padding: 2rem;
    width: 100%;
  }
}

/* --- CLI TABLE --- */
.cli-header h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.cli-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
}

.cli-row:last-child {
  padding-bottom: 0;
}

.cli-cmd {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: bold;
  flex: 0 0 200px;
}

.cli-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  flex: 1;
}

.cli-copy {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.1s;
}

.cli-copy:hover {
  color: var(--text-primary);
}

.cli-copy.copied {
  color: #27c93f;
}

@media (max-width: 600px) {
  .cli-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* --- FOOTER --- */
footer {
  text-align: center;
}

footer a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

footer a:hover {
  background: var(--text-primary);
  color: var(--bg-color);
}