.atv-hero {
  width: 100%;
  padding: 2rem 25px;
  background: linear-gradient(to bottom, #e3e8ef 0%, #ffffff 100%);
}
.atv-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 100%;
}
.atv-hero-left {
  text-align: center;
  flex: 1;
}
.atv-hero-title {
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #181818;
}
.atv-hero-title .accent {
  color: #7a62f0;
}
.atv-hero-desc {
  font-size: 0.95rem;
  color: #84828e;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.atv-hero-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.atv-btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s;
  width: 160px;
}
.atv-btn-google img {
  width: 100%;
  height: 100%;
}
.atv-btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.1rem 0.9rem;
  background: transparent;
  color: #181818;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #e3e8ef;
  text-decoration: none;
  transition: opacity 0.2s;
}
.atv-btn-amazon:hover {
  color: #181818;
  background: #edebfc;
}
.atv-btn-amazon:active {
  color: #181818;
  background: #e4e0fc;
}
.atv-btn-amazon .arrow {
  width: 0.8rem;
  height: 0.8rem;
}
.atv-hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.atv-hero-visual {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Stats section - 2x2 when < 1024 */
.atv-stats {
  width: 100%;
  padding: 2rem 25px;
  background: #fff;
}
.atv-stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.atv-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
}
.atv-stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #7a62f0;
}
.atv-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.atv-stat-icon img {
  width: 2.5rem;
  height: 2.5rem;
}
.atv-stat-label {
  font-size: 0.75rem;
  color: #84828e;
  text-align: center;
}
.atv-stat-item:nth-child(odd) {
  border-right: 1px solid rgba(0, 0, 0, 0.4);
}
/* 1024+: 1 row, 4 columns with separators */
@media screen and (min-width: 1024px) {
  .atv-stats {
    padding: 2rem 40px;
  }
  .atv-stats-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .atv-stat-item {
    flex-direction: column;
    padding: 0 1.5rem;
  }
  .atv-stat-item:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.4);
  }
  .atv-stat-value {
    font-size: 1.5rem;
  }
  .atv-stat-icon img {
    width: 2rem;
    height: 2rem;
  }
}

/* Tutorial section */
.atv-tutorial {
  padding: 2rem 25px;
  background: #fff;
}
.atv-tutorial-inner {
  max-width: 100%;
}
.atv-tutorial-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #181818;
  text-align: center;
  margin-bottom: 0.5rem;
}
.atv-tutorial-subtitle {
  font-size: 0.9rem;
  color: #84828e;
  text-align: center;
  margin-bottom: 1.5rem;
}
.atv-tutorial-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.atv-tutorial-visual {
  display: flex;
  justify-content: center;
}
.atv-tutorial-img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}
.atv-tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.atv-tutorial-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.atv-tutorial-step.active {
  background: linear-gradient(#f5f3ff, #f5f3ff) padding-box,
    linear-gradient(90deg, #913ccb, #3885f0) border-box;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  border: 1px solid transparent;
}
.atv-tutorial-step .atv-step-title {
  color: rgba(24, 24, 24, 0.4);
  font-weight: 600;
  font-size: 0.9rem;
}
.atv-tutorial-step.active .atv-step-title {
  color: #5618a7;
}
.atv-step-num {
  font-size: 2rem;
  font-weight: bold;
  color: rgba(24, 24, 24, 0.4);
  line-height: 1;
  flex-shrink: 0;
}
.atv-tutorial-step.active .atv-step-num {
  color: #7a62f0;
}
.atv-step-body {
  flex: 1;
}
.atv-step-desc {
  font-size: 0.75rem;
  color: rgba(24, 24, 24, 0.4);
  line-height: 1.5;
  margin-top: 0.25rem;
}
.atv-tutorial-step.active .atv-step-desc {
  color: #5618a7;
}
.atv-tutorial-btn-wrap {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
}
.atv-tutorial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #913ccb, #3885f0) border-box;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  border: 1px solid transparent;
  border-radius: 1.5rem;
  color: #7a62f0;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.atv-tutorial-btn:hover {
  color: #7a62f0;
  opacity: 0.9;
}

/* 1024+: horizontal layout (image left, steps right) */
@media screen and (min-width: 1024px) {
  .atv-tutorial {
    padding: 2rem 40px;
  }
  .atv-tutorial-title {
    font-size: 1.25rem;
  }
  .atv-tutorial-subtitle {
    margin-bottom: 2rem;
  }
  .atv-tutorial-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .atv-tutorial-visual {
    flex: 0 1 50%;
    justify-content: flex-start;
  }
  .atv-tutorial-img {
    max-width: 100%;
  }
  .atv-tutorial-steps {
    flex: 0 1 50%;
  }
}

@media screen and (min-width: 1740px) {
  .atv-tutorial-inner {
    margin: 0 auto;
  }
}

/* Works with Leading Android TV Brands */
.atv-brands {
  width: 100%;
  padding: 2rem 25px;
  background: #fff;
}
.atv-brands-card {
  max-width: 100%;
  padding: 1rem 2rem;
  background: #fff;
  border-radius: 1rem;
  background: linear-gradient(90deg, #fff, #faf9ff) padding-box,
    linear-gradient(180deg, #01e3eb, #e202fd) border-box;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  border: 1px solid transparent;
  overflow: hidden;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
}
.atv-brands-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #181818;
  text-align: center;
  margin-bottom: 0.5rem;
}
.atv-brands-desc {
  font-size: 0.85rem;
  color: #84828e;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.atv-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  justify-items: center;
  min-width: 0;
}
.atv-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  min-width: 0;
  overflow: hidden;
}
.atv-brand-item img {
  max-width: 100%;
  max-height: 2.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
}
:not(.banner-downloads) .download-btn {
  font-size: 0.732rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(to right, #a229f5 0%, #5695ec 100%);
  border-radius: 1.524rem;
  padding: 0.732rem 2.744rem;
  cursor: pointer;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  column-gap: 0.305rem;
}
@media screen and (max-width: 767.9px) {
  .download-btn .download-btn-img {
    width: 14px;
  }
  .cta-button {
    padding: 24px 60px;
    min-width: 320px;
    font-size: 18px;
  }
}
@media screen and (min-width: 1740px) {
  .atv-brands-card {
    margin: 0 auto;
  }
}

/* Mirror Any Device section - vertical layout by default (< 1024px) */
.atv-mirror {
  padding: 2rem 25px;
  background: #fff;
}
.atv-mirror-inner {
  max-width: 100%;
}

.atv-mirror-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #181818;
  text-align: center;
  margin-bottom: 0.5rem;
}
.atv-mirror-subtitle {
  font-size: 0.9rem;
  color: #84828e;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}
.atv-mirror-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.atv-mirror-block:last-child {
  margin-bottom: 0;
}
.atv-mirror-visual {
  display: flex;
  justify-content: center;
  order: 1;
}
.atv-mirror-visual img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}
.atv-mirror-content {
  order: 2;
}
.atv-mirror-block-title {
  font-size: 0.976rem;
  font-weight: 600;
  margin-bottom: 0.976rem;
}
.atv-mirror-block-desc {
  display: flex;
  align-items: start;
  font-size: 0.61rem;
}
.atv-mirror-block-desc:not(:last-child) {
  margin-bottom: 0.61rem;
}
/* 1024px+: horizontal layout */
@media screen and (min-width: 1024px) {
  .atv-mirror {
    padding: 2rem 40px;
  }
  .atv-mirror-title {
    font-size: 1.25rem;
  }
  .atv-mirror-subtitle {
    margin-bottom: 2.5rem;
  }
  .atv-mirror-block {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  .atv-mirror-block--iphone .atv-mirror-visual {
    order: 1;
    flex: 0 1 50%;
    justify-content: flex-start;
  }
  .atv-mirror-block--iphone .atv-mirror-content {
    order: 2;
    flex: 0 1 50%;
  }
  .atv-mirror-block--pc .atv-mirror-content {
    order: 1;
    flex: 0 1 50%;
  }
  .atv-mirror-block--pc .atv-mirror-visual {
    order: 2;
    flex: 0 1 50%;
    justify-content: flex-end;
  }
  .atv-mirror-block-title {
    font-size: 0.976rem;
    font-weight: 600;
    margin-bottom: 0.976rem;
  }
  .atv-mirror-block-desc {
    display: flex;
    align-items: start;
    font-size: 0.61rem;
  }
  .atv-mirror-block-desc:not(:last-child) {
    margin-bottom: 0.61rem;
  }
}

.atv-possibilities {
  margin-top: 2.5rem;
}
.atv-possibilities-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #181818;
  text-align: center;
  margin-bottom: 0.5rem;
}
.atv-possibilities-accent {
  color: #7a62f0;
}
.atv-possibilities-subtitle {
  font-size: 0.9rem;
  color: #84828e;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.atv-possibilities-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.atv-possibilities-card {
  background: #f7f6ff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.atv-possibilities-card-img {
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem 0.75rem 0 0;
}
.atv-possibilities-card-img img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}
@media screen and (min-width: 1740px) {
  .atv-possibilities-card-img {
    height: auto;
  }
  .atv-possibilities-card-img img {
    aspect-ratio: auto;
  }
}
.atv-possibilities-card-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #181818;
  margin: 1rem 1rem 0.5rem;
}
.atv-possibilities-card-desc {
  font-size: 0.65rem;
  color: #84828e;
  line-height: 1.5;
  margin: 0 1rem 1rem;
}
@media screen and (min-width: 1740px) {
  .atv-possibilities-cards {
    flex-direction: row;
    gap: 1.5rem;
  }
  .atv-possibilities-card {
    flex: 1;
  }
}

/* 768-1024: keep vertical layout same as < 768 */
@media screen and (min-width: 768px) and (max-width: 1023.9px) {
  .atv-hero {
    padding: 2.5rem 40px;
  }
  .atv-btn-google {
    width: 248px;
  }
  .download-btn .download-btn-img {
    width: 14px;
  }
}

/* 1024+: side-by-side layout */
@media screen and (min-width: 1024px) {
  .atv-hero {
    padding: 1rem 40px;
  }
  .atv-hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .atv-hero-left {
    text-align: left;
    max-width: 500px;
  }
  .atv-hero-title {
    font-size: 2.1rem;
  }
  .atv-hero-btns {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .atv-hero-desc {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  .atv-btn-google {
    width: 248px;
  }
  .atv-hero-right {
    flex: 0 1 55%;
    max-width: 450px;
  }
}

@media screen and (min-width: 1740px) {
  .atv-hero {
    padding: 1rem 0;
  }
  .atv-hero-inner {
    gap: 0;
    max-width: 1440px;
    margin: 0 auto;
  }
  .atv-hero-title {
    font-size: 1.65rem;
  }
  .atv-hero-left {
    flex: 1;
    max-width: none;
  }
  .atv-hero-desc {
    font-size: 0.86rem;
    margin-bottom: 2rem;
  }
  .atv-btn-google {
    width: 248px;
  }
  .atv-btn-amazon {
    padding: 0.1rem 0.9rem;
    font-size: 0.63rem;
  }
  .atv-hero-right {
    max-width: 600px;
  }
}
/* Section */
.atv-features {
  padding: 3rem 25px;
}

.atv-features-inner {
  max-width: 100%;
}

.atv-features-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 0.5rem;
}

.atv-features-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #8c8c96;
  margin-bottom: 2.5rem;
}

/* Grid */
.atv-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media screen and (min-width: 768px) {
  .atv-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1740px) {
  .atv-features-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10vw;
  }

  .atv-features-inner {
    margin: 0 auto;
  }
}

.atv-feature-card {
  background: #eceaf6;
  border-radius: 20px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.2s ease;
}

.atv-feature-card.is-dashed {
  background: #fff;
  border-radius: 20px;
  position: relative;
}

.atv-feature-card.is-dashed::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;

  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect x='1' y='1' width='calc(100%25 - 2px)' height='calc(100%25 - 2px)' rx='20' ry='20' fill='none' stroke='%23b9aef5' stroke-width='2' stroke-dasharray='10 12'/%3E%3C/svg%3E");
}
.atv-feature-icon {
  margin-bottom: 1.25rem;
}

.atv-feature-icon img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.atv-feature-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #181818;
  margin-bottom: 0.3rem;
}
.atv-feature-desc {
  font-size: 0.67rem;
  line-height: 1.6;
  color: rgba(24, 24, 24, 0.7);
}

/* 容器与标题 */
.sys-updates {
  padding: 3rem 25px;
}

.sys-updates-inner {
  max-width: 100%;
}

@media screen and (min-width: 1740px) {
  .sys-updates-inner {
    margin: 0 auto;
  }
  .cta-button {
    padding: 24px 80px;
  }
}

.sys-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 2.5rem;
}

/* 响应式网格：小于768px一行一个 */
.sys-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media screen and (min-width: 768px) {
  .sys-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 卡片基础样式（虚线边框继承自你的逻辑） */
.sys-card-dashed {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  min-height: 200px;
}

.sys-card-dashed::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect x='1' y='1' width='calc(100%25 - 2px)' height='calc(100%25 - 2px)' rx='20' ry='20' fill='none' stroke='%23b9aef5' stroke-width='2' stroke-dasharray='10 12'/%3E%3C/svg%3E");
}

.sys-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.2rem;
}

.sys-header-icon {
  width: 1em;
  height: 1em;
}

.sys-header-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #181818;
}

.sys-spec-item {
  margin-bottom: 1rem;
}

.sys-spec-label {
  display: block;
  font-size: 0.8rem;
  color: #181818;
  margin-bottom: 0.4rem;
}

.sys-spec-value {
  font-size: 0.75rem;
  color: rgba(24, 24, 24, 0.6);
}

/* 更新日志样式 */
.sys-log-block {
  margin-bottom: 1rem;
}

.sys-version-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #181818;
  margin-bottom: 0.4rem;
}

.sys-log-list {
  padding-left: 1rem;
  margin: 0;
}

.sys-log-list li {
  font-size: 0.72rem;
  color: rgba(24, 24, 24, 0.6);
  line-height: 1.6;
  margin-bottom: 2px;
}
.faq-container {
  background-color: #fff;
  padding-top: 2.927rem;
  padding-bottom: 2.927rem;
}
.faq-title {
  text-align: center;
  color: #000;
  font-weight: 600;
  font-size: 1.463rem;
  margin-bottom: 1.951rem;
}
.faq-item {
  padding: 0.305rem 0;
}
.faq-item a:hover {
  color: #9747ff !important;
}
.faq-question {
  font-size: 0.732rem;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fbfafe;
  padding: 0.732rem 1.524rem;
  border-radius: 0.976rem;
}
.faq-icon {
  width: 1.098rem;
  height: 1.098rem;
  transition: transform 0.3s ease;
  user-select: none;
}
.faq-answer {
  font-size: 0.732rem;
  overflow: hidden;
  height: 0;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  color: #181818;
  background-color: #fbfafe;
  padding: 0 1.524rem;
  transition: all 0.3s ease;
  border-radius: 0.976rem;
}
.faq-item.active .faq-question {
  font-weight: bold;
}
.faq-item.active .faq-answer {
  padding: 0.732rem 1.524rem;
  margin-top: 0.732rem;
  height: auto;
  transform: scaleY(1);
  opacity: 1;
}
.faq-item .faq-answer ul {
  padding: 0 !important;
  margin: 0 !important;
}
.faq-item .faq-answer li {
  list-style: decimal inside !important;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
/* CTA Section */
.cta-section {
  margin-top: 100px;
  margin-bottom: 60px;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-header {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 14px;
  margin-bottom: 20px;
}
.cta-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.cta-title {
  font-weight: bold;
  font-size: 1.28rem;
  text-align: left;
}
.cta-subtitle {
  color: #000;
  text-align: left;
}
.cta-desc {
  color: #666572;
  font-weight: 500;
  font-size: 1.098rem;
  margin: 16px 0 80px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(90deg, #8a2ff7 0%, #5a93ff 100%);
  border-radius: 999px;
  padding: 24px 80px;
  font-size: 24px;
}
.cta-button:hover {
  color: #ffffff !important;
}
.cta-button-icon {
  width: 1em;
  height: 1em;
}