/* ============================================
   �u(7 (home.css)
   ============================================ */

/* ============================================
   Hero :�
   ============================================ */
.section-banner-app {
  min-height: calc(100vh - 80px);
  padding: 60px 0 45px 0;
  background: #FAFAFA;
  display: flex;
  align-items: flex-start;
}

.inner-banner-app {
  width: 100%;
}

.inner-banner-app-left {
  padding-right: 40px;
}

.hero-platform {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #212529;
  margin-bottom: 16px;
  text-transform: uppercase;
  text-align: left;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #4E7EFE;
  font-weight: 700;
  text-align: left;
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #212529;
  margin-bottom: 32px;
  text-align: left;
}

/* 	�� */
.button-control {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rst-button {
  background: var(--primary-gradient);
  color: white;
  padding: 16px 40px;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(78, 126, 254, 0.4);
}

.rst-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(78, 126, 254, 0.5);
  color: white;
}

.video-tutorials {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

/* 背景渐变动画 */
.video-tutorials::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 122, 204, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.video-tutorials:hover::after {
  left: 100%;
}

.video-tutorials::before {
  content: '';
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  background-image: url('/img/hero/play_2.png');
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 122, 204, 0.3);
}

.video-tutorials:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 122, 204, 0.3);
}

.video-tutorials:hover::before {
  background-color: white;
  transform: scale(1.1);
}

/* Hero �G: */
.inner-banner-app-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 40px;
}

.inner-banner-app-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ============================================
   ��U:: (����)
   ============================================ */
.section-list-img-text {
  padding: 45px 0;
}

.rst-item-img-text {
  margin-bottom: 180px;
}

.rst-item-img-text:last-child {
  margin-bottom: 0;
}

.rst-item-img-text img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.rst-item-content-text {
  padding: 0 60px;
  text-align: left;
}

.rst-item-content-text .icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.rst-item-content-text h3 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #212529;
  text-align: left;
}

.rst-item-content-text h3 span {
  color: #4E7EFE;
}

.rst-item-content-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: left;
}

/* ============================================
   ƑY:
   ============================================ */
.section-video {
  padding: 45px 0;
  background-color: #FAFAFA;
}

.inner-videos {
  padding: 40px 0;
}

/* �Ƒh */
.list-title-videos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-title-videos li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-color);
}

.list-title-videos li:last-child {
  border-bottom: none;
}

.video-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s;
}

.video-nav-link span {
  color: var(--primary-color);
  font-weight: 700;
  min-width: 24px;
}

.video-nav-link:hover {
  background-color: rgba(78, 126, 254, 0.05);
  color: var(--primary-color);
}

.video-nav-link.active {
  background-color: rgba(78, 126, 254, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

/* �Ƒ�>: */
.list-show-videos {
  position: relative;
}

.container-videos {
  display: none;
}

.container-videos.active {
  display: block;
}

.show-videos {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ԋ */
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.bilibili-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.title-videos h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: var(--text-color);
}

.title-videos p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   FAQ 8��:
   ============================================ */
.section-faq {
  padding: 45px 0;
  background-color: #FAFAFA;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-color);
  font-weight: 700;
}

.faq-header p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.faq-header p a {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s;
}

.faq-header p a:hover {
  opacity: 0.8;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.rst-list-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rst-item-faq {
  overflow: hidden;
  background-color: transparent;
  border-bottom: 1px solid #333;
}

.rst-item-faq:last-child {
  border-bottom: none;
}

.rst-title-faq {
  padding: 24px 60px 24px 24px;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
  user-select: none;
  text-align: left;
}

.rst-title-faq:hover {
  /* 移除悬停背景色 */
}

.rst-title-faq::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--primary-color);
  transition: transform 0.3s;
}

.rst-item-faq.active .rst-title-faq::after {
  content: '−';
  transform: translateY(-50%);
}

.rst-content-faq {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.rst-item-faq.active .rst-content-faq {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.rst-content-faq p {
  padding: 0 24px 24px 24px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: left;
}

/* ============================================
   ͔�� - �u(
   ============================================ */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .rst-item-content-text h3 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .inner-banner-app-left,
  .inner-banner-app-img,
  .rst-item-content-text {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-top: 20px;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .inner-banner-app-img {
    margin-top: 40px;
  }

  .rst-item-content-text h3 {
    font-size: 1.8rem;
  }

  .rst-item-img-text {
    margin-bottom: 60px;
  }

  .rst-button {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .section-faq h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }
}
