/* DepCrumbs */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #0EA5E9;
  --accent-light: rgba(14, 165, 233, 0.12);
  --dark: #0F172A;
  --text: #334155;
  --text-light: #64748B;
  --border: #E2E8F0;
  --bg: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --code-bg: #1E1E1E;
  --code-green: #4EC9B0;
  --code-yellow: #DCDCAA;
  --code-blue: #9CDCFE;
  --code-orange: #CE9178;
  --code-gray: #6A9955;
  --code-white: #D4D4D4;
  --radius: 8px;
  --max-width: 1120px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Navbar ---- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
}

.navbar-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F1F5F9;
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.navbar-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  text-decoration: none;
  color: #94A3B8;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.navbar-links a:hover {
  color: #F1F5F9;
}

.navbar-hamburger {
  display: none;
}

/* ---- Section shared ---- */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-light);
  max-width: 600px;
  font-size: 1.05rem;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #0C1222 0%, #0F172A 40%, #0C2D48 100%);
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 40%, #06B6D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #38BDF8;
  opacity: 0.7;
  margin-bottom: 20px;
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: #F1F5F9;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: #94A3B8;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #0EA5E9, #06B6D4);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.55);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Terminal mockup */
.terminal {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.terminal-bar {
  background: #1E293B;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red    { background: #EF4444; }
.dot-yellow { background: #EAB308; }
.dot-green  { background: #22C55E; }

.terminal-body {
  background: #0F172A;
  padding: 20px 24px;
}

.terminal pre {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--code-white);
  white-space: pre;
  margin: 0;
}

.terminal .prompt {
  color: #22D3EE;
}

.terminal .cmd {
  color: #F1F5F9;
  font-weight: 600;
}

.terminal .success {
  color: #4ADE80;
}

.terminal .info {
  color: #38BDF8;
  font-weight: 600;
}

.terminal .output {
  color: #4ADE80;
}

/* ---- Package managers ---- */
.pkg-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pkg-section .section-heading,
.pkg-section .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.pkg-section .section-label {
  text-align: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.pill {
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--dark);
}

/* ---- How it works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
  margin-top: 48px;
}

.step {
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  /* make number use accent at low opacity */
  color: rgba(14, 165, 233, 0.18);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---- What gets tracked ---- */
.tracked-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tracked-section .section-heading,
.tracked-section .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.tracked-section .section-label {
  text-align: center;
}

.code-block {
  background: var(--code-bg);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 640px;
  margin: 32px auto 0;
  overflow-x: auto;
}

.code-block pre {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--code-white);
  white-space: pre;
  margin: 0;
}

.code-block .key {
  color: var(--code-blue);
}

.code-block .string {
  color: var(--code-orange);
}

.code-block .bool {
  color: var(--code-green);
}

/* ---- Install ---- */
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.install-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--bg);
}

.install-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.install-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.install-card code {
  display: block;
  background: var(--code-bg);
  color: var(--code-white);
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 0.82rem;
  padding: 14px 18px;
  border-radius: 6px;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ---- Roadmap ---- */
.roadmap-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.timeline {
  max-width: 640px;
  margin: 48px auto 0;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #0EA5E9, #06B6D4, #38BDF8);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #06B6D4);
  border: 3px solid var(--bg-subtle);
  box-shadow: 0 0 0 2px #0EA5E9;
}

.timeline-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .tagline {
    font-size: 1.05rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

  .navbar-links {
    display: none;
  }

  .navbar-hamburger {
    display: block;
    font-size: 1.25rem;
    background: none;
    border: none;
    color: #F1F5F9;
    cursor: pointer;
  }

  .section {
    padding: 56px 20px;
  }

  .hero {
    padding: 80px 20px 56px;
  }

  .terminal-body {
    padding: 16px;
  }

  .code-block {
    padding: 18px 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .pill-row {
    gap: 8px;
  }

  .pill {
    font-size: 0.78rem;
    padding: 6px 14px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}
