/* ==========================================================================
   CLASSIC SOFTWARE DOWNLOAD PORTAL STYLESHEET
   Clean, authentic retro/classic software portal layout (Old-school style)
   ========================================================================== */

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

body {
  font-family: Tahoma, Verdana, Arial, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #222222;
  background-color: #eef2f6;
  min-height: 100vh;
}

/* Header bar */
.header-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #dce1e7;
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-title {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  color: #2b3a4a;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: all 0.15s ease-in-out;
}

.nav-item:hover {
  color: #0b3d6e;
  background-color: #f1f4f8;
  border-color: #d2dae2;
  text-decoration: none;
}

.nav-item.active {
  color: #0d3b75;
  background-color: #e3effd;
  border-color: #b7d5fb;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* Main Container */
.main-container {
  max-width: 900px;
  margin: 24px auto 40px;
  padding: 0 15px;
}

/* Box Panels (Classic bordered software cards) */
.box-panel {
  background-color: #ffffff;
  border: 1px solid #c7d0d9;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 22px;
}

.panel-header {
  background: linear-gradient(180deg, #f7f9fa 0%, #e9ecf0 100%);
  border-bottom: 1px solid #ccd4dc;
  padding: 10px 16px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.panel-header h2 {
  font-size: 16px;
  font-weight: bold;
  color: #1f3750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.flex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #ffffff;
  border: 1px solid #bcc8d4;
  color: #174b83;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.12s ease-in-out;
}

.btn-back-link:hover {
  background-color: #e8f1fc;
  border-color: #9cbde4;
  color: #0b3764;
  text-decoration: none;
}

.panel-body {
  padding: 18px 20px;
}

/* App Info Grid (Left meta table, right download button) */
.app-info-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.app-meta-left {
  flex: 1;
  min-width: 320px;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
}

.meta-table tr td {
  padding: 5px 8px;
  vertical-align: middle;
}

.meta-table tr:nth-child(even) {
  background-color: #fafbfc;
}

.meta-label {
  color: #556270;
  font-weight: bold;
  width: 120px;
  font-size: 12px;
}

.meta-value {
  color: #111111;
  font-size: 13px;
}

.meta-value code {
  background: #f1f4f8;
  border: 1px solid #d4dbe4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Consolas, monospace;
  font-size: 12px;
  color: #0b3d6e;
}

.badge-version {
  background: #e8f0fe;
  color: #1a73e8;
  border: 1px solid #c2dbfe;
  padding: 1px 7px;
  border-radius: 3px;
  font-weight: bold;
  font-size: 12px;
}

.safe-badge {
  color: #1e7e34;
  font-weight: bold;
  font-size: 12px;
}

/* Download Button Right */
.app-download-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 260px;
}

/* Classic Big Green Download Button */
.btn-download-classic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #3db54a 0%, #299335 100%);
  border: 1px solid #207a2a;
  border-radius: 5px;
  padding: 14px 22px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  width: 100%;
  max-width: 290px;
  transition: all 0.15s ease-in-out;
}

.btn-download-classic:hover {
  background: linear-gradient(180deg, #44c653 0%, #2ea73c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-download-classic:active {
  background: linear-gradient(180deg, #24812f 0%, #1e6d27 100%);
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dl-icon {
  font-size: 26px;
  line-height: 1;
}

.dl-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dl-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dl-subtitle {
  font-size: 11px;
  font-weight: normal;
  opacity: 0.95;
}

/* HARDWARE SPECIFICATIONS / System Requirements */
.specs-subtitle {
  font-size: 15px;
  color: #2b3a4a;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e2e7ec;
}

.requirements-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 680px) {
  .requirements-container {
    grid-template-columns: 1fr;
  }
}

.req-box {
  border: 1px solid #c7d2de;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.req-box-header {
  background: #eef3f8;
  border-bottom: 1px solid #c7d2de;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: bold;
  color: #1e3a5f;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rec-req-box {
  border-color: #a4c2e6;
}

.rec-req-box .req-box-header {
  background: #e3effd;
  color: #0d3b75;
}

.rec-badge {
  background: #1b63bd;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
  text-transform: uppercase;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
}

.req-table tr {
  border-bottom: 1px solid #edf1f5;
}

.req-table tr:nth-child(even) {
  background-color: #fafbfc;
}

.req-table tr:last-child {
  border-bottom: none;
}

.req-table th {
  text-align: left;
  padding: 8px 12px;
  font-weight: bold;
  color: #4b5866;
  width: 40%;
  font-size: 12px;
  vertical-align: top;
}

.req-table td {
  padding: 8px 12px;
  color: #1a1a1a;
  font-size: 12px;
}

/* ==========================================================================
   HELP CENTER & FAQ STYLES (Classic old-school theme consistent)
   ========================================================================== */

.search-intro {
  color: #4b5866;
  font-size: 13px;
  margin-bottom: 12px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.faq-search-box {
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13px;
  border: 1px solid #b4c0cc;
  border-radius: 3px;
  background-color: #ffffff;
  color: #111111;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.faq-search-box:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.btn-clear-search {
  position: absolute;
  right: 8px;
  background: #eef2f6;
  border: 1px solid #ccd4dc;
  color: #556270;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
}

.btn-clear-search:hover {
  background: #e1e7ee;
  color: #111111;
}

.category-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.category-btn {
  background-color: #f1f4f8;
  border: 1px solid #ccd5e0;
  color: #2b3a4a;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.12s ease-in-out;
}

.category-btn:hover {
  background-color: #e3effd;
  border-color: #b0cfee;
  color: #0b3d6e;
}

.category-btn.active {
  background-color: #1b63bd;
  border-color: #134e96;
  color: #ffffff;
  font-weight: bold;
}

.faq-counter-note {
  font-size: 11px;
  color: #697787;
  font-style: italic;
  margin-top: 4px;
}

/* FAQ Accordion Elements */
.faq-category-group {
  margin-bottom: 20px;
}

.faq-category-group:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-size: 14px;
  font-weight: bold;
  color: #18324f;
  background-color: #eef3f8;
  border-left: 4px solid #1b63bd;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 0 3px 3px 0;
}

.faq-item {
  border: 1px solid #d5dde6;
  border-radius: 3px;
  margin-bottom: 8px;
  background-color: #ffffff;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: #9abde4;
}

.faq-question {
  padding: 9px 12px;
  font-weight: bold;
  font-size: 13px;
  color: #19314c;
  cursor: pointer;
  user-select: none;
  background-color: #fbfcfd;
  display: list-item;
}

.faq-question:hover {
  background-color: #f0f5fb;
  color: #0d4b8e;
}

.faq-item[open] .faq-question {
  background-color: #eaf2fb;
  border-bottom: 1px solid #d2e1f2;
}

.faq-answer {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #2b3a4a;
  background-color: #ffffff;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ol,
.faq-answer ul {
  margin-left: 20px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.faq-answer li {
  margin-bottom: 4px;
}

.faq-answer code {
  background: #f1f4f8;
  border: 1px solid #d4dbe4;
  padding: 1px 5px;
  border-radius: 3px;
  font-family: Consolas, monospace;
  font-size: 12px;
  color: #0b3d6e;
}

.faq-answer a {
  color: #1a73e8;
  text-decoration: underline;
}

.faq-answer a:hover {
  color: #0b3d6e;
}

.no-results-box {
  background-color: #fff9e6;
  border: 1px solid #ffe299;
  border-radius: 4px;
  padding: 18px;
  text-align: center;
  color: #7a5800;
  margin: 10px 0;
}

.no-results-box h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: #593e00;
}

.no-results-box p {
  font-size: 12px;
}

/* Contact Support Section */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.support-card {
  border: 1px solid #c7d2de;
  border-radius: 4px;
  background-color: #fafbfc;
  overflow: hidden;
}

.support-card-header {
  background: #eef3f8;
  border-bottom: 1px solid #c7d2de;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-card-icon {
  font-size: 16px;
}

.support-card-header h4 {
  font-size: 13px;
  color: #1e3a5f;
  margin: 0;
}

.support-card-content {
  padding: 12px 14px;
  font-size: 12px;
  color: #2b3a4a;
  line-height: 1.6;
}

.phone-highlight {
  font-size: 15px;
  font-weight: bold;
  margin: 6px 0;
}

.phone-highlight a {
  color: #0d5ea6;
  text-decoration: none;
}

.phone-highlight a:hover {
  text-decoration: underline;
}

.support-hours-note {
  color: #697787;
  font-size: 11px;
  margin-bottom: 6px;
}

.social-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #ccd6e0;
  padding: 6px 10px;
  border-radius: 3px;
  text-decoration: none;
  color: #222222;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.12s ease-in-out;
}

.social-link:hover {
  background-color: #f0f5fc;
  border-color: #9cbfe8;
  color: #0b3d6e;
}

.social-badge {
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 2px;
  color: #ffffff;
  text-transform: uppercase;
}

.yt-link .social-badge { background-color: #cc181e; }
.insta-link .social-badge { background-color: #c13584; }
.fb-link .social-badge { background-color: #1877f2; }

