/* Gneol Landing Page — console aesthetic */

:root {
  --bg: #0b0b0f;
  --bg-elev: #12121a;
  --border: #1f1f2e;
  --text: #e4e4e7;
  --text-dim: #8f8fa3;
  --accent: #6c5ce7;
  --accent-2: #00d9f5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
}

code,
pre {
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* --- syntax colors --- */
.t-prompt {
  color: var(--accent-2);
  font-weight: 700;
}
.t-key {
  color: var(--accent-2);
}
.t-str {
  color: #9fe8a8;
}
.t-dim {
  color: var(--text-dim);
}
.t-ok {
  color: #9fe8a8;
}

/* --- nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--text);
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: -2px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.85rem;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--accent-2);
}

/* --- hero --- */
.hero {
  padding: 170px 24px 90px;
  text-align: center;
}

.hero-prompt {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.hero-cmd {
  color: var(--text);
  animation: cursor 1.1s steps(1) infinite;
}

@keyframes cursor {
  50% {
    opacity: 0;
  }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}

.gradient {
  color: var(--accent-2);
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: 1rem;
  color: var(--text-dim);
}

.hero-sub code {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 2px 8px;
  color: var(--accent-2);
  font-size: 0.9em;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: box-shadow 0.15s, border-color 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--accent-2);
  color: #061214;
  border-radius: 0;
  box-shadow: 0 0 0 rgba(0, 217, 245, 0);
}

.btn-primary:hover {
  background: #2be6ff;
  box-shadow: 0 0 20px rgba(0, 217, 245, 0.35), 0 0 40px rgba(0, 217, 245, 0.15);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 0;
}

.btn-ghost:hover {
  border-color: var(--accent-2);
  box-shadow: 0 0 16px rgba(0, 217, 245, 0.15);
}

/* --- sections --- */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-title::before {
  content: "";
}

.section-title::after {
  content: " _";
  color: var(--accent-2);
  animation: cursor 1.1s steps(1) infinite;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 0.9rem;
}

.section-sub code {
  color: var(--accent-2);
}

/* --- about --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-text p strong {
  color: var(--text);
}

.about-text code {
  color: var(--accent-2);
}

/* --- deploy --- */
.deploy .terminal {
  max-width: 720px;
  margin: 0 auto;
}

/* --- terminals --- */
.terminal {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #0e0e15;
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--border);
  background: #1a1a26;
}

.terminal-dots span:first-child {
  background: #3a2d5c;
  border-color: var(--accent);
}

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.terminal-body {
  padding: 20px;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

.terminal-body code {
  color: var(--text);
}

/* --- install --- */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.install-block {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
}

.install-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.install-panel {
  display: none;
  padding: 20px;
}

.install-panel.active {
  display: block;
}

.install-panel pre {
  overflow-x: auto;
  font-size: 0.82rem;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.7;
}

/* --- features --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 24px 26px;
  border-left: 3px solid var(--border);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  border-color: var(--border);
  border-left-color: var(--accent-2);
  box-shadow: 0 0 20px rgba(0, 217, 245, 0.1);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card h3::before {
  content: "> ";
  color: var(--accent-2);
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --- footer --- */
.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer .section-inner {
  padding: 32px 24px;
}

.footer-links {
  margin-top: 6px;
}

.footer-links a {
  color: var(--accent-2);
  text-decoration: none;
}

/* --- responsive --- */
@media (max-width: 800px) {
  .about-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .nav-links a {
    margin-left: 14px;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 140px;
  }

  .section-inner {
    padding: 56px 16px;
  }
}
