.tas-title {
  font-size: 4rem;
  font-weight: bold;
  margin: 0 0 24px 0;
  color: #fff;
  text-align: center;
}

.tas-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tas-flex {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 28px;
  justify-content: center;
}

/* Placeholder logo box (swap for an <img> later) */
.tas-logo-box {
  width: 260px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tas-logo-box i {
  font-size: 8rem;
  color: #9146FF;
}

.section-title {
  font-size: 1.35rem;
  color: #9146FF;
  margin: 0 0 12px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.features-section,
.download-section,
.howto-box {
  background: #181818;
  border-radius: 10px;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.features-section {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}
.features-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-buttons {
  margin-bottom: 10px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #9146FF;
  color: #fff;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
  margin-bottom: 8px;
}

.download-btn:hover {
  background: #772ce8;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.download-dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  border: none;
}

.dropdown-toggle .chevron {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.2s;
  margin-left: 2px;
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #111;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, max-height 0.2s, visibility 0.2s;
  z-index: 20;
}

.dropdown-list.open {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-list a:last-child {
  border-bottom: none;
}

.dropdown-list a:hover {
  background: rgba(145,70,255,0.15);
  color: #b98bff;
}

.version-info {
  color: #c9b8ff;
  font-size: 1.0rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.howto-box ol {
  margin: 0;
  padding-left: 1.2em;
}
.howto-box li {
  margin-bottom: 6px;
}

.features-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 260px;
  flex: 1;
}

.intro-box {
  background: #181818;
  color: #c9b8ff;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 1.08rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

@media (max-width: 900px) {
  .tas-flex {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .features-section {
    width: 100%;
    min-width: unset;
  }
  .tas-logo-box {
    width: 70vw;
    max-width: 320px;
    aspect-ratio: 1 / 1;
  }
  /* Uniform card width on tablet/mobile */
  .intro-box,
  .features-section,
  .howto-box,
  .download-section,
  .tas-logo-box {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .download-buttons { text-align: center; }
}

@media (max-width: 560px) {
  .intro-box,
  .features-section,
  .howto-box,
  .download-section,
  .tas-logo-box {
    max-width: 500px;
  }
  .tas-title {
    font-size: 2.6rem;
  }
}
