:root {
  --bg: #050706;
  --glass: rgba(20, 30, 25, 0.55);
  --border: rgba(120, 255, 180, 0.12);
  --text: #e6f1eb;
  --muted: #9fb3a8;
  --accent: #6cffb1;
  --blur: blur(18px);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}



.window {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #febc2e;
}

.dot.green {
  background: #28c840;
}



canvas#space {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.topbar nav a {
  margin-left: 24px;
  color: var(--muted);
  text-decoration: none;
}

.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(108, 255, 177, 0.05);
}

.hero {
  padding: 48px;
  margin-bottom: 96px;
}

.pill {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 24px;
}

h1 {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 24px;
}

h1 span {
  color: var(--accent);
}

.subtitle {
  max-width: 640px;
  color: var(--muted);
}

.actions {
  margin-top: 32px;
}

button {
  border-radius: 999px;
  padding: 10px 18px;
  margin-right: 12px;
  font-size: 14px;
  cursor: pointer;
}

.primary {
  background: var(--accent);
  border: none;
  color: #062014;
}

.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.terminal {
  margin-top: 32px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--muted);
}

.section {
  margin-bottom: 96px;
}

.grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 24px;
}

.tag {
  font-size: 11px;
  color: var(--accent);
}

.outcome {
  display: block;
  margin-top: 12px;
  color: var(--accent);
}

footer {
  text-align: center;
  color: var(--muted);
  margin: 80px 0 40px;
}


.glass:hover {
  transform: translateY(-4px) scale(1.01);

  background: rgba(15, 25, 20, 0.55);
  border: 1px solid rgba(108, 255, 177, 0.35);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(108, 255, 177, 0.08);
}

/* text inside becomes sharper on hover */
.glass:hover h1,
.glass:hover h2,
.glass:hover h3 {
  color: #ffffff;
}

.glass:hover p {
  color: #cfe9dc;
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);

  z-index: 9999;
}

.hidden {
  display: none;
}

.modal-content {
  width: 320px;
  padding: 20px;
  border-radius: 16px;
  text-align: center;

  animation: pop 0.25s ease;
}

.modal-btn {
  margin-top: 15px;
  padding: 8px 16px;

  border: none;
  border-radius: 10px;

  background: rgba(108, 255, 177, 0.2);
  color: white;

  cursor: pointer;
}

.modal-btn:hover {
  background: rgba(108, 255, 177, 0.35);
}

@keyframes pop {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


.deploy-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);

  z-index: 99999;
}

.deploy-box {
  width: 360px;
  padding: 18px;
  border-radius: 16px;
  text-align: left;

  animation: pop 0.25s ease;
}

.deploy-title {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.log {
  font-family: monospace;
  font-size: 12px;
  line-height: 1.6;
}

.line {
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s ease;
}

.line.success {
  color: #50fa7b;
  font-weight: bold;
}

.deploy-btn {
  margin-top: 14px;
  padding: 8px 14px;
  border: none;
  border-radius: 10px;

  background: rgba(80, 250, 123, 0.2);
  color: white;

  cursor: pointer;
}

.deploy-btn:hover {
  background: rgba(80, 250, 123, 0.35);
}

.hidden {
  display: none;
}

@keyframes pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}