/* Reset / base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #020617;
  color: #f9fafb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(5, 7, 17, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.logo-symbol {
  font-family: "Consolas", "Fira Code", monospace;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 153, 0.5);
  font-size: 0.85rem;
  color: #00ff99;
}

.logo-text {
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  color: #d7dde5;
}

.main-nav a:hover {
  background: rgba(0, 255, 153, 0.08);
  color: #ffffff;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.18), transparent 55%),
    #020617;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 32rem;
  color: #c6cfe3;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.1s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #00ff99, #00c3ff);
  color: #050711;
  font-weight: 600;
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: #e0e7ff;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #9ca3c7;
}

.hero-meta span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Terminal card */
.hero-terminal {
  background: radial-gradient(circle at top, #020617, #020617);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.95),
    0 0 35px rgba(45, 212, 191, 0.25);
  overflow: hidden;
  font-family: "Fira Code", "Consolas", monospace;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-terminal:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 1),
    0 0 45px rgba(45, 212, 191, 0.4);
  border-color: rgba(45, 212, 191, 0.8);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  background: linear-gradient(to right, #020617, #020617, #020617);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
}

.terminal-header .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #4b5563;
}

.terminal-header .dot:nth-child(1) {
  background: #ef4444;
}
.terminal-header .dot:nth-child(2) {
  background: #f97316;
}
.terminal-header .dot:nth-child(3) {
  background: #22c55e;
}

.terminal-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: #9ca3af;
}

.terminal-body {
  padding: 1rem 1.1rem 1.2rem;
  background: radial-gradient(circle at top left, #020617, #020617);
  color: #e5e7eb;
  font-size: 0.8rem;
  max-height: 270px;
  overflow: auto;
}

.cli {
  white-space: pre;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #030814;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section h2::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #0ea5e9);
}

.section p {
  color: #cbd5f5;
}

.section-intro {
  margin-bottom: 2rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.about-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.about-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.about-card ul {
  list-style: disc;
  padding-left: 1.3rem;
  color: #cbd5f5;
}

/* Guides */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.guide-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.guide-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.guide-card p {
  margin-bottom: 0.8rem;
  color: #cbd5f5;
}
/* Guides layout with sidebar */
.guides-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.docs-sidebar {
  position: sticky;
  top: 88px; /* keeps sidebar fixed below header */
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
}

.docs-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.docs-sidebar-intro {
  color: #9ca3c7;
  margin-bottom: 0.9rem;
}

.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
}

.docs-link {
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #e5e7eb;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
    transform 0.1s ease;
}

.docs-link:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.65);
  transform: translateX(1px);
}

.docs-link.active {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  border-color: transparent;
  font-weight: 500;
}

.docs-meta {
  border-top: 1px solid rgba(51, 65, 85, 0.9);
  padding-top: 0.8rem;
  margin-top: 0.4rem;
}

.docs-meta-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3c7;
  margin-bottom: 0.4rem;
}

.docs-meta ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: #cbd5f5;
  font-size: 0.83rem;
}

.docs-main {
  min-width: 0;
}

/* CLI blocks inside guides */
.guide-card pre {
  background: #020617;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 1);
  overflow: auto;
  font-size: 0.78rem;
}
pre,
code,
.cli {
  font-family: "Fira Code", "Consolas", monospace;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.8rem;
  margin-top: 1.75rem;
}

.contact-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.contact-form .form-group {
  margin-bottom: 0.9rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.8);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #22c55e;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #9ca3c7;
}

.contact-list {
  list-style: none;
  font-size: 0.92rem;
  color: #d1d5db;
}

.contact-list li + li {
  margin-top: 0.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  background: #020617;
  padding: 1.4rem 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-sub {
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-terminal {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .guides-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .docs-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none; /* simple: hide nav on very small screens for now */
  }

  .hero {
    padding-top: 4rem;
  }
}
/* Card hover effects */
.guide-card,
.about-card,
.contact-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

.guide-card:hover,
.about-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.7);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
}

