/* src/styles.css */
*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0c;
  --surface: #111115;
  --border: #1e1e24;
  --text: #fafafa;
  --mid: #6e6e7a;
  --dim: #3e3e47;
  --faint: #2a2a32;
  --accent: #a78bfa;
  --mono: "JetBrains Mono", monospace;
  --sans: "Inter", system-ui, sans-serif;
  --sym-y: #facc15;
  --sym-g: #4ade80;
  --sym-r: #fb7185;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: #a78bfa22;
}

.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 32px;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.hero {
  padding: 180px 0 48px;
}

.hero-logo {
  font-family: var(--mono);
  color: var(--mid);
  letter-spacing: -.5px;
  margin-bottom: 64px;
  font-size: 16px;
  font-weight: 600;
}

.hero-logo span {
  color: var(--accent);
}

.hero-tagline {
  font-family: var(--mono);
  color: var(--mid);
  letter-spacing: -.3px;
  font-size: 14px;
  font-weight: 400;
}

.problem {
  padding: 0 0 100px;
}

.problem p {
  font-family: var(--mono);
  color: var(--dim);
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.1;
}

.problem p:last-child {
  margin-bottom: 0;
}

.problem em {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
}

.pivot {
  text-align: center;
  padding: 80px 0;
}

.pivot-text {
  font-family: var(--mono);
  color: var(--text);
  letter-spacing: -.5px;
  font-size: 22px;
  font-weight: 600;
}

.terminal-scroll-container {
  position: relative;
  height: 250vh;
}

.terminal-sticky {
  position: sticky;
  display: flex;
  justify-content: center;
  align-items:  center;
  height: 100vh;
  padding: 0 32px;
  top: 0;
}

.terminal-wrapper {
  width: 100%;
  max-width: 600px;
}

.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 8px;
}

.terminal-chrome {
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items:  center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
}

.terminal-circle {
  background: var(--faint);
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.terminal-body {
  font-family: var(--mono);
  color: var(--mid);
  min-height: 380px;
  padding: 24px;
  font-size: 13.5px;
  line-height: 2;
}

.t-white {
  color: var(--text);
  font-weight: 600;
}

.t-bright {
  color: var(--mid);
}

.t-dim {
  color: var(--dim);
}

.line {
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: translateY(4px);
}

.line.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.typing-text {
  display: inline;
}

.actions-section {
  padding: 80px 0;
}

.actions-label {
  font-family: var(--mono);
  color: var(--mid);
  margin-bottom: 32px;
  font-size: 16px;
  font-weight: 500;
}

.actions-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.action-row {
  display: flex;
  border-bottom: 1px solid var(--faint);
  font-family: var(--mono);
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  font-size: 14px;
}

.action-row:first-child {
  border-top: 1px solid var(--faint);
}

.action-cmd {
  color: var(--mid);
}

.action-desc {
  color: var(--dim);
  font-size: 13px;
}

.configure-section {
  padding: 80px 0;
}

.config-value {
  color: var(--sym-g);
}

.config-sub {
  font-family: var(--mono);
  color: var(--dim);
  font-size: 13px;
  line-height: 1.7;
}

.config-examples {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.config-example {
  display: flex;
  border-bottom: 1px solid var(--faint);
  font-family: var(--mono);
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  font-size: 13px;
}

.config-example:first-child {
  border-top: 1px solid var(--faint);
}

.config-example-label {
  color: var(--dim);
  flex-shrink: 0;
  width: 100px;
}

.config-example-value {
  color: var(--mid);
  text-align: right;
}

.cta {
  text-align: center;
  padding: 100px 0;
}

.cta-heading {
  font-family: var(--mono);
  color: var(--mid);
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 500;
}

.cta-install {
  display: flex;
  font-family: var(--mono);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 8px;
  justify-content: space-between;
  align-items:  center;
  padding: 18px 20px;
  transition: border-color .2s;
  font-size: 15px;
}

.cta-install:hover {
  border-color: var(--faint);
}

.cta-install .prompt {
  color: var(--dim);
}

.cta-install .cmd {
  color: var(--sym-g);
}

.cta-install .copy-btn {
  font-family: var(--mono);
  color: var(--dim);
  border: 1px solid var(--border);
  cursor: pointer;
  background: none;
  border-radius: 4px;
  padding: 4px 10px;
  transition: all .2s;
  font-size: 11px;
}

.cta-install .copy-btn:hover {
  color: var(--mid);
  border-color: var(--faint);
}

.cta-install .copy-btn.copied {
  color: var(--sym-g);
  border-color: var(--sym-g);
}

footer {
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  padding: 48px 0 80px;
  font-size: 14px;
}

footer a {
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}

footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 20px;
}
