/* ============================= */
/* HEADER + NAVBAR RECOVERY CSS */
/* ============================= */

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #fafafa;
  color: #222;
}

/* ---------- Navbar Wrapper ---------- */

.navbar-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ---------- Navbar ---------- */

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

/* ---------- Navbar Container ---------- */

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Logo ---------- */

.navbar-logo img {
  height: 42px;
  width: auto;
  display: block;
}

/* ---------- Nav List ---------- */

.nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

/* ---------- Nav Links ---------- */

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 4px;
  border-radius: 6px;
}

.nav-list a:hover {
  background: #f0f4f8;
  color: #1565c0;
}

/* ---------- Mobile Stack (basic) ---------- */

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* ---------- Layout Base Fix ---------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ---------- Card Grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* ---------- Cards ---------- */

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

/* prevent nested card collapse bugs */
.card > .card {
  all: unset;
}

/* ---------- Card Content ---------- */

.card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.features-list {
  margin: 10px 0;
  padding-left: 18px;
}

.features-list li {
  margin-bottom: 6px;
}

/* ---------- Buttons ---------- */

.download-btn,
.info-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.download-btn {
  background: #2e7d32;
  color: white;
}

.download-btn:hover {
  background: #1b5e20;
}

.info-btn {
  background: #e3f2fd;
  color: #1565c0;
}

.info-btn:hover {
  background: #bbdefb;
}

.version {
  font-size: 13px;
  color: #666;
  margin: 8px 0;
}
.badge {
  display:inline-block;
  padding:4px 8px;
  border-radius:6px;
  font-size:12px;
  font-weight:bold;
  margin-bottom:8px;
  color:white;
}

/* Badge Types */

.badge-beta { background:#ff9800; }
.badge-new { background:#4caf50; }
.badge-stable { background:#2196f3; }
.badge-legacy { background:#777; }
.badge-preview { background:#9c27b0; }
.badge-deprecated { background:#c62828; }
.page-hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.card .badge {
  align-self: flex-start;
}

.page-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.page-hero p {
  color: #666;
  font-size: 16px;
}
.version-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
}

.version-table th,
.version-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}


.version-table th {
  background: #f5f5f5;
  font-weight: bold;
}

.version-section {
  margin-top: 40px;
}
/* ---------- Release History Table Fix ---------- */

.version-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;   /* IMPORTANT */
}

.version-table th:nth-child(1),
.version-table td:nth-child(1) {
  width: 140px;          /* Version */
}

.version-table th:nth-child(2),
.version-table td:nth-child(2) {
  width: 140px;          /* Date */
}

.version-table th:nth-child(3),
.version-table td:nth-child(3) {
  width: auto;           /* Changes takes remaining */
}

/* Better wrapping for long change logs */

.version-table td {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  vertical-align: top;
}

/* ---------- Product Hero ---------- */

.product-hero {
  position: relative;
  margin: 20px auto 30px;
  max-width: 1200px;
}

.product-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.product-hero-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0,0,0,0.45);
  color: white;
  padding: 16px 20px;
  border-radius: 10px;
}
/* ---------- Beta Block ---------- */

/* Special Info Blocks */
  .free-beta-block, .info-block, .discontinued-block {
    display: flex;
    align-items: center;
    gap: 1em;
    line-height: 1.6;
    font-size: 1.08rem;
    max-width: 850px;
    margin: 1.5rem auto;
    border-radius: 10px;
    font-family: inherit;
    padding: 1.1em 1.3em;
  }
  .free-beta-block {
    background: #e7f9ed;
    border: 1.5px solid #86e0b6;
    color: #237f4c;
    box-shadow: 0 2px 8px rgba(56,202,99,0.08);
  }
  .info-block {
    background: #fff5d7;
    border: 1.5px solid #ffd17c;
    color: #8a6d1b;
    box-shadow: 0 2px 8px rgba(250,200,60,0.04);
    font-size: 1rem;
    max-width: 650px;
  }
  .discontinued-block {
    background: #fff5f0;
    border: 1.5px solid #f5a089;
    color: #b64930;
    box-shadow: 0 2px 8px rgba(245,160,137,0.1);
  }
  .free-icon, .info-icon, .discontinued-icon {
    font-size: 1.7em;
    flex-shrink: 0;
  }
  .free-beta-block strong, .info-block strong, .discontinued-block strong {
    font-weight: 700;
  }

  /* Feature Cards */
  .features-card-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 2rem;
  }
  .feature-card {
    background: #fff;
    border: 1.5px solid #e8eaf6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(56, 202, 99, 0.09);
    display: flex;
    align-items: flex-start;
    gap: 1.2em;
    padding: 1.3em 1.2em;
    min-height: 160px;
    transition: box-shadow 0.18s;
  }
  .feature-card:hover {
    box-shadow: 0 6px 16px rgba(56,202,99,0.14);
  }
  .feature-icon {
    font-size: 1.9em;
    color: #478ac9;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-shrink: 0;
  }
  .feature-card h3 {
    font-size: 1.13em;
    color: #2b4a70;
    margin: 0 0 0.25em;
    font-weight: 650;
  }
  .feature-card p {
    color: #555;
    font-size: 0.97em;
    margin: 0;
  }



