/* ============================================================
   COMPONENTS
   ============================================================ */

.btn-white-r1{
    background-color: white;
    border-radius: 2em;
    padding: 0.6em 1.4em;
    margin-right: 1em;
    cursor:pointer;
    border: none;
    font-family: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-white-r1:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 16px var(--matrix-green-glow);
}

.btn-outline{
  background: transparent;
  border: 1px solid var(--matrix-green);
  color: var(--matrix-green);
  border-radius: 2em;
  padding: 0.55em 1.3em;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-outline:hover{
  background-color: var(--matrix-green);
  color: var(--terminal-black);
}

/* ---- Signature element: every content block is a "terminal
   window" — same chrome, same three controls, different path.
   This is the one repeated motif that ties hero + sections + cards
   into a single coherent brand idea. ---- */

.window{
  background-color: #101210;
  border: 1px solid #232623;
  border-radius: 0.6em;
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.8);
}

.window-chrome{
  background-color: var(--terminal-chrome);
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.75em;
}

.window-chrome .window-path{
  font-size: 0.8rem;
  color: #d8d3d3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-chrome ul{
  list-style: none;
  display: flex;
  gap: 0.6em;
  margin: 0;
  padding: 0;
  height: 100%;
}

.window-chrome ul li{
  height: 100%;
  display: flex;
  align-items: center;
}

.window-chrome button{
  background-color: var(--terminal-chrome);
  border-style: none;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 60%;
  width: 2.2em;
  border-radius: 0.3em;
  color: #d8d3d3;
}

.window-body{
  padding: 1.6em 1.8em;
}

/* ---- Service / offering cards ---- */

.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2em;
  margin-top: 1.2em;
}

.card{
  background-color: #101210;
  border: 1px solid #232623;
  border-left: 3px solid var(--matrix-green);
  border-radius: 0.4em;
  padding: 1.1em 1.3em;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover{
  transform: translateY(-3px);
  border-color: var(--matrix-green);
}

.card h3{
  font-size: 0.95rem;
  color: var(--snow-white);
  margin: 0 0 0.4em 0;
}

.card h3::before{
  content: "> ";
  color: var(--matrix-green);
}

.card p{
  color: #bdb7b7;
  font-size: 0.85rem;
  margin: 0;
}

/* ---- Blog / news cards ---- */

.post-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2em;
  margin-top: 1.2em;
}

.post-card{
  background-color: #101210;
  border: 1px solid #232623;
  border-radius: 0.5em;
  padding: 1.2em 1.3em;
}

.post-card .post-date{
  font-size: 0.75rem;
  color: var(--matrix-green);
  margin-bottom: 0.4em;
  display: block;
}

.post-card h3{
  font-size: 0.95rem;
  margin: 0 0 0.5em 0;
  color: var(--snow-white);
}

.post-card p{
  font-size: 0.85rem;
  color: #bdb7b7;
}

.post-card a{
  font-size: 0.8rem;
  color: var(--matrix-green);
  text-decoration: none;
}

.post-card a:hover{
  text-decoration: underline;
}
